@workflow/web 4.0.1-beta.13 → 4.0.1-beta.14

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 (128) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +6 -5
  3. package/.next/fallback-build-manifest.json +2 -2
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/server/app/_global-error/page/build-manifest.json +4 -3
  6. package/.next/server/app/_global-error.html +2 -2
  7. package/.next/server/app/_global-error.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  13. package/.next/server/app/_not-found/page/build-manifest.json +4 -3
  14. package/.next/server/app/_not-found/page/server-reference-manifest.json +2 -2
  15. package/.next/server/app/_not-found/page.js +1 -1
  16. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  17. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/.next/server/app/page/build-manifest.json +4 -3
  19. package/.next/server/app/page/server-reference-manifest.json +13 -13
  20. package/.next/server/app/page.js +2 -2
  21. package/.next/server/app/page.js.nft.json +1 -1
  22. package/.next/server/app/page_client-reference-manifest.js +1 -1
  23. package/.next/server/app/run/[runId]/page/build-manifest.json +4 -3
  24. package/.next/server/app/run/[runId]/page/server-reference-manifest.json +13 -13
  25. package/.next/server/app/run/[runId]/page.js +2 -2
  26. package/.next/server/app/run/[runId]/page.js.nft.json +1 -1
  27. package/.next/server/app/run/[runId]/page_client-reference-manifest.js +1 -1
  28. package/.next/server/app/run/[runId]/streams/[streamId]/page/build-manifest.json +4 -3
  29. package/.next/server/app/run/[runId]/streams/[streamId]/page/server-reference-manifest.json +13 -13
  30. package/.next/server/app/run/[runId]/streams/[streamId]/page.js +2 -2
  31. package/.next/server/app/run/[runId]/streams/[streamId]/page.js.nft.json +1 -1
  32. package/.next/server/app/run/[runId]/streams/[streamId]/page_client-reference-manifest.js +1 -1
  33. package/.next/server/chunks/ssr/{[root-of-the-server]__072d3021._.js → [root-of-the-server]__142197b5._.js} +9 -9
  34. package/.next/server/chunks/ssr/[root-of-the-server]__142197b5._.js.map +1 -0
  35. package/.next/server/chunks/ssr/{[root-of-the-server]__5601d14d._.js → [root-of-the-server]__2d9f44d7._.js} +2 -2
  36. package/.next/server/chunks/ssr/{[root-of-the-server]__5601d14d._.js.map → [root-of-the-server]__2d9f44d7._.js.map} +1 -1
  37. package/.next/server/chunks/ssr/[root-of-the-server]__6e56cd25._.js +1 -1
  38. package/.next/server/chunks/ssr/[root-of-the-server]__6e56cd25._.js.map +1 -1
  39. package/.next/server/chunks/ssr/[root-of-the-server]__cd719c14._.js +1 -1
  40. package/.next/server/chunks/ssr/[root-of-the-server]__cd719c14._.js.map +1 -1
  41. package/.next/server/chunks/ssr/[root-of-the-server]__d4909843._.js +1 -1
  42. package/.next/server/chunks/ssr/[root-of-the-server]__d4909843._.js.map +1 -1
  43. package/.next/server/chunks/ssr/{[root-of-the-server]__ef8720b3._.js → [root-of-the-server]__e8641565._.js} +2 -2
  44. package/.next/server/chunks/ssr/[root-of-the-server]__e8641565._.js.map +1 -0
  45. package/.next/server/chunks/ssr/[root-of-the-server]__fb5d0d13._.js +1 -1
  46. package/.next/server/chunks/ssr/[root-of-the-server]__fb5d0d13._.js.map +1 -1
  47. package/.next/server/chunks/ssr/_44299e3b._.js +3 -0
  48. package/.next/server/chunks/ssr/_44299e3b._.js.map +1 -0
  49. package/.next/server/chunks/ssr/_5b90181a._.js +3 -0
  50. package/.next/server/chunks/ssr/_5b90181a._.js.map +1 -0
  51. package/.next/server/chunks/ssr/_6e6035a6._.js +3 -0
  52. package/.next/server/chunks/ssr/_6e6035a6._.js.map +1 -0
  53. package/.next/server/chunks/ssr/_c1b9a69c._.js +3 -0
  54. package/.next/server/chunks/ssr/_c1b9a69c._.js.map +1 -0
  55. package/.next/server/chunks/ssr/_dc34084f._.js +3 -0
  56. package/.next/server/chunks/ssr/_dc34084f._.js.map +1 -0
  57. package/.next/server/chunks/ssr/_e512e808._.js +3 -0
  58. package/.next/server/chunks/ssr/_e512e808._.js.map +1 -0
  59. package/.next/server/chunks/ssr/_eaec8810._.js +7 -0
  60. package/.next/server/chunks/ssr/_eaec8810._.js.map +1 -0
  61. package/.next/server/chunks/ssr/packages_30c0733e._.js +2 -2
  62. package/.next/server/chunks/ssr/packages_30c0733e._.js.map +1 -1
  63. package/.next/server/chunks/ssr/packages_web_src_app_page_tsx_cd282e82._.js +1 -1
  64. package/.next/server/chunks/ssr/packages_web_src_app_page_tsx_cd282e82._.js.map +1 -1
  65. package/.next/server/chunks/ssr/packages_web_src_app_run_[runId]_page_tsx_c7d0b139._.js +6 -6
  66. package/.next/server/chunks/ssr/packages_web_src_app_run_[runId]_page_tsx_c7d0b139._.js.map +1 -1
  67. package/.next/server/chunks/ssr/packages_web_src_components_ui_dropdown-menu_tsx_5a66d33b._.js +3 -0
  68. package/.next/server/chunks/ssr/packages_web_src_components_ui_dropdown-menu_tsx_5a66d33b._.js.map +1 -0
  69. package/.next/server/middleware-build-manifest.js +4 -3
  70. package/.next/server/pages/500.html +2 -2
  71. package/.next/server/server-reference-manifest.js +1 -1
  72. package/.next/server/server-reference-manifest.json +14 -14
  73. package/.next/static/chunks/0ed5139e5ea234a2.js +1 -0
  74. package/.next/static/chunks/1d2c8777bccc047c.js +1 -0
  75. package/.next/static/chunks/2a98739d9a63e97a.css +3 -0
  76. package/.next/static/chunks/3fa8391aecab11cc.js +1 -0
  77. package/.next/static/chunks/40473c764b80d628.js +14 -0
  78. package/.next/static/chunks/4603d9c890f6838d.js +1 -0
  79. package/.next/static/chunks/4a3c3ff89add06d1.js +1 -0
  80. package/.next/static/chunks/4d848857526f8209.js +1 -0
  81. package/.next/static/chunks/656af8f18eca235f.js +4 -0
  82. package/.next/static/chunks/71eb20f6733192f7.js +1 -0
  83. package/.next/static/chunks/9ff541f87bdc6749.js +2 -0
  84. package/.next/static/chunks/{22122fa69a524cdf.js → b7c7c49bc91f0883.js} +1 -1
  85. package/.next/static/chunks/d157660c4270372c.js +1 -0
  86. package/.next/static/chunks/e815e2c1cb31fa75.css +1 -0
  87. package/.next/static/chunks/f3d1541c70912b58.js +1 -0
  88. package/.next/static/chunks/fa48c11b90b7d643.js +2 -0
  89. package/.next/static/chunks/turbopack-75fce1e736e294f0.js +3 -0
  90. package/.next/static/chunks/{turbopack-511fe75cd918d1a5.js → turbopack-b0c9d454f93f1f48.js} +1 -1
  91. package/.next/trace +1 -1
  92. package/.next/trace-build +1 -1
  93. package/package.json +10 -5
  94. package/.next/server/chunks/ssr/[root-of-the-server]__072d3021._.js.map +0 -1
  95. package/.next/server/chunks/ssr/[root-of-the-server]__ef8720b3._.js.map +0 -1
  96. package/.next/server/chunks/ssr/_65c9c827._.js +0 -6
  97. package/.next/server/chunks/ssr/_65c9c827._.js.map +0 -1
  98. package/.next/server/chunks/ssr/_e9cd0664._.js +0 -3
  99. package/.next/server/chunks/ssr/_e9cd0664._.js.map +0 -1
  100. package/.next/server/chunks/ssr/packages_906ab70b._.js +0 -3
  101. package/.next/server/chunks/ssr/packages_906ab70b._.js.map +0 -1
  102. package/.next/server/chunks/ssr/packages_9f053af5._.js +0 -3
  103. package/.next/server/chunks/ssr/packages_9f053af5._.js.map +0 -1
  104. package/.next/server/chunks/ssr/packages_web_src_app_layout-client_tsx_7f30673c._.js +0 -3
  105. package/.next/server/chunks/ssr/packages_web_src_app_layout-client_tsx_7f30673c._.js.map +0 -1
  106. package/.next/server/chunks/ssr/packages_web_src_components_5b4f203e._.js +0 -3
  107. package/.next/server/chunks/ssr/packages_web_src_components_5b4f203e._.js.map +0 -1
  108. package/.next/server/chunks/ssr/packages_web_src_components_d1065930._.js +0 -3
  109. package/.next/server/chunks/ssr/packages_web_src_components_d1065930._.js.map +0 -1
  110. package/.next/server/chunks/ssr/packages_web_src_components_ui_select_tsx_7c5238ef._.js +0 -3
  111. package/.next/server/chunks/ssr/packages_web_src_components_ui_select_tsx_7c5238ef._.js.map +0 -1
  112. package/.next/static/chunks/125dc6396d8c7614.js +0 -1
  113. package/.next/static/chunks/12738c56605f94bd.js +0 -1
  114. package/.next/static/chunks/1b2c32764beea8c6.js +0 -1
  115. package/.next/static/chunks/2677e69032fce46e.js +0 -1
  116. package/.next/static/chunks/33539167f963017b.js +0 -14
  117. package/.next/static/chunks/46d8d17fb5e804aa.js +0 -1
  118. package/.next/static/chunks/56cdd26d48375b9f.js +0 -4
  119. package/.next/static/chunks/5bfebbf730bb3cdc.js +0 -1
  120. package/.next/static/chunks/7d15ec806ba18b85.css +0 -3
  121. package/.next/static/chunks/8f0576d510d06c4c.js +0 -1
  122. package/.next/static/chunks/971151b2a72b5f24.css +0 -1
  123. package/.next/static/chunks/d5f104e0113bd49b.js +0 -2
  124. package/.next/static/chunks/e5b69a828ea58204.js +0 -1
  125. package/.next/static/chunks/turbopack-453c53e2accaa935.js +0 -3
  126. /package/.next/static/{dqfnmYEq_BK3Cb_-i5jnc → Czb_xOsYE4xo06qmTHonl}/_buildManifest.js +0 -0
  127. /package/.next/static/{dqfnmYEq_BK3Cb_-i5jnc → Czb_xOsYE4xo06qmTHonl}/_clientMiddlewareManifest.json +0 -0
  128. /package/.next/static/{dqfnmYEq_BK3Cb_-i5jnc → Czb_xOsYE4xo06qmTHonl}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
- module.exports=[87286,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored["react-ssr"].React},36393,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored["react-ssr"].ReactDOM},69794,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored.contexts.AppRouterContext},18411,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored["react-ssr"].ReactServerDOMTurbopackClient},7287,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored.contexts.HooksClientContext},95393,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored.contexts.ServerInsertedHtml},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},79777,(a,b,c)=>{"use strict";b.exports=a.r(18622)},81156,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored["react-ssr"].ReactJsxRuntime}];
1
+ module.exports=[87286,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored["react-ssr"].React},69794,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored.contexts.AppRouterContext},7287,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored.contexts.HooksClientContext},95393,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored.contexts.ServerInsertedHtml},36393,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored["react-ssr"].ReactDOM},18411,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored["react-ssr"].ReactServerDOMTurbopackClient},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},79777,(a,b,c)=>{"use strict";b.exports=a.r(18622)},81156,(a,b,c)=>{"use strict";b.exports=a.r(79777).vendored["react-ssr"].ReactJsxRuntime}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__5601d14d._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__2d9f44d7._.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/ssr/react.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-dom.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/module.compiled.js","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.ts"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.React\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.ReactDOM\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.ReactServerDOMTurbopackClient\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","if (process.env.NEXT_RUNTIME === 'edge') {\n module.exports = require('next/dist/server/route-modules/app-page/module.js')\n} else {\n if (process.env.__NEXT_EXPERIMENTAL_REACT) {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.prod.js')\n }\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.prod.js')\n }\n }\n }\n}\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.ReactJsxRuntime\n"],"names":["module","exports","require","vendored","React","ReactDOM","AppRouterContext","ReactServerDOMTurbopackClient","HooksClientContext","ServerInsertedHtml","process","env","NEXT_RUNTIME","__NEXT_EXPERIMENTAL_REACT","NODE_ENV","TURBOPACK","ReactJsxRuntime"],"mappings":"6CAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEC,KAAK,+BCF9BJ,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEE,QAAQ,+BCFjCL,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACG,gBAAgB,+BCFvCN,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEI,6BAA6B,6BCFtDP,GAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACK,kBAAkB,+BCFzCR,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACM,kBAAkB,+sBCwBjCT,EAAOC,OAAO,CAAGC,EAAQ,CAAA,CAAA,IAAA,iCC1BjCF,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEa,eAAe","ignoreList":[0,1,2,3,4,5,6,7]}
1
+ {"version":3,"sources":["../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/ssr/react.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-dom.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/module.compiled.js","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.ts"],"sourcesContent":["module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.React\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].AppRouterContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].HooksClientContext\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['contexts'].ServerInsertedHtml\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.ReactDOM\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.ReactServerDOMTurbopackClient\n","if (process.env.NEXT_RUNTIME === 'edge') {\n module.exports = require('next/dist/server/route-modules/app-page/module.js')\n} else {\n if (process.env.__NEXT_EXPERIMENTAL_REACT) {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page-experimental.runtime.prod.js')\n }\n }\n } else {\n if (process.env.NODE_ENV === 'development') {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.dev.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.dev.js')\n }\n } else {\n if (process.env.TURBOPACK) {\n module.exports = require('next/dist/compiled/next-server/app-page-turbo.runtime.prod.js')\n } else {\n module.exports = require('next/dist/compiled/next-server/app-page.runtime.prod.js')\n }\n }\n }\n}\n","module.exports = (\n require('../../module.compiled') as typeof import('../../module.compiled')\n).vendored['react-ssr']!.ReactJsxRuntime\n"],"names":["module","exports","require","vendored","React","AppRouterContext","HooksClientContext","ServerInsertedHtml","ReactDOM","ReactServerDOMTurbopackClient","process","env","NEXT_RUNTIME","__NEXT_EXPERIMENTAL_REACT","NODE_ENV","TURBOPACK","ReactJsxRuntime"],"mappings":"6CAAAA,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEC,KAAK,+BCF9BJ,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACE,gBAAgB,8BCFvCL,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACG,kBAAkB,+BCFzCN,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACI,kBAAkB,8BCFzCP,GAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEK,QAAQ,+BCFjCR,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEM,6BAA6B,+sBCwB9CT,EAAOC,OAAO,CAAGC,EAAQ,CAAA,CAAA,IAAA,iCC1BjCF,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,YAAY,CAAEa,eAAe","ignoreList":[0,1,2,3,4,5,6,7]}
@@ -1,4 +1,4 @@
1
1
  module.exports=[46716,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(82184)},2157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},44376,(a,b,c)=>{b.exports=a.x("node:module",()=>require("node:module"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},62001,(a,b,c)=>{"use strict";function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
2
- Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},83153,a=>{"use strict";var b=a.i(46716),c=a.i(2157),d=a.i(44376),e=a.i(50227);let f=[{id:"local",displayName:"Local",packageName:null,description:"Local file-based storage with no dependencies, ideal for development",isBuiltIn:!0},{id:"vercel",displayName:"Vercel",packageName:null,description:"Vercel-managed storage and queue",isBuiltIn:!0},{id:"postgres",displayName:"PostgreSQL",packageName:"@workflow/world-postgres",description:"PostgreSQL-based storage with pg-boss queue",isBuiltIn:!1}];var g=a.i(62001);let h=(0,d.createRequire)((0,e.join)(process.cwd(),"index.js"));async function i(){return f.map(a=>{let b={id:a.id,displayName:a.displayName,packageName:a.packageName,description:a.description,isBuiltIn:a.isBuiltIn,isInstalled:a.isBuiltIn};if(!a.isBuiltIn&&a.packageName)try{h.resolve(a.packageName),b.isInstalled=!0}catch{b.isInstalled=!1,b.installCommand=`npm install ${a.packageName}`}return b})}async function j(a){let b=[],d=a.backend||"local";if("local"===d){if(a.dataDir){let d=(0,e.resolve)(a.dataDir);(0,c.existsSync)(d)||b.push({field:"dataDir",message:`Data directory does not exist: ${d}`})}if(a.port){let c=Number.parseInt(a.port,10);(Number.isNaN(c)||c<1||c>65535)&&b.push({field:"port",message:"Port must be a number between 1 and 65535"})}}return"postgres"===d&&(a.postgresUrl?a.postgresUrl.startsWith("postgres://")||a.postgresUrl.startsWith("postgresql://")||b.push({field:"postgresUrl",message:"Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)"}):b.push({field:"postgresUrl",message:"PostgreSQL connection string is required"})),b}(0,g.ensureServerEntryExports)([i,j]),(0,b.registerServerReference)(i,"00e7090a0e9d10247dc00d78871326c406dba1eebd",null),(0,b.registerServerReference)(j,"4032537ab6a3ad9eba4df7793874685fe3aae4b8db",null),a.s(["checkWorldsAvailability",()=>i,"validateWorldConfig",()=>j],83153)},30474,a=>{"use strict";var b=a.i(83153);a.s([],56560),a.i(56560),a.s(["00e7090a0e9d10247dc00d78871326c406dba1eebd",()=>b.checkWorldsAvailability,"4032537ab6a3ad9eba4df7793874685fe3aae4b8db",()=>b.validateWorldConfig],30474)}];
2
+ Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},83153,a=>{"use strict";var b=a.i(46716),c=a.i(2157),d=a.i(44376),e=a.i(50227);let f=[{id:"local",displayName:"Local",packageName:null,description:"Local file-based storage with no dependencies, ideal for development",isBuiltIn:!0},{id:"vercel",displayName:"Vercel",packageName:null,description:"Vercel-managed storage and queue",isBuiltIn:!0},{id:"postgres",displayName:"PostgreSQL",packageName:"@workflow/world-postgres",description:"PostgreSQL-based storage with pg-boss queue",isBuiltIn:!1}];var g=a.i(62001);let h=(0,d.createRequire)((0,e.join)(process.cwd(),"index.js"));async function i(){return f.map(a=>{let b={id:a.id,displayName:a.displayName,packageName:a.packageName,description:a.description,isBuiltIn:a.isBuiltIn,isInstalled:a.isBuiltIn};if(!a.isBuiltIn&&a.packageName)try{h.resolve(a.packageName),b.isInstalled=!0}catch{b.isInstalled=!1,b.installCommand=`npm install ${a.packageName}`}return b})}async function j(a){let b=[],d=a.backend||"local";if("local"===d){if(a.dataDir){let d=(0,e.resolve)(a.dataDir);(0,c.existsSync)(d)||b.push({field:"dataDir",message:`Data directory does not exist: ${d}`})}if(a.port){let c=Number.parseInt(a.port,10);(Number.isNaN(c)||c<1||c>65535)&&b.push({field:"port",message:"Port must be a number between 1 and 65535"})}}return"postgres"===d&&(a.postgresUrl?a.postgresUrl.startsWith("postgres://")||a.postgresUrl.startsWith("postgresql://")||b.push({field:"postgresUrl",message:"Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)"}):b.push({field:"postgresUrl",message:"PostgreSQL connection string is required"})),b}(0,g.ensureServerEntryExports)([i,j]),(0,b.registerServerReference)(i,"00a97fda922ce43f9e315172e876280c7fec1a435d",null),(0,b.registerServerReference)(j,"40d86b6e96ebd802458d42c4383f0c2051756707d1",null),a.s(["checkWorldsAvailability",()=>i,"validateWorldConfig",()=>j],83153)},30474,a=>{"use strict";var b=a.i(83153);a.s([],56560),a.i(56560),a.s(["00a97fda922ce43f9e315172e876280c7fec1a435d",()=>b.checkWorldsAvailability,"40d86b6e96ebd802458d42c4383f0c2051756707d1",()=>b.validateWorldConfig],30474)}];
3
3
 
4
4
  //# sourceMappingURL=%5Broot-of-the-server%5D__6e56cd25._.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/build/webpack/loaders/next-flight-loader/server-reference.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/build/webpack/loaders/next-flight-loader/action-validate.ts","../../../../../../packages/web/src/lib/config-world.ts","../../../../../../packages/web/src/lib/known-worlds.ts","../../../../../../packages/web/.next-internal/server/app/_not-found/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["/* eslint-disable import/no-extraneous-dependencies */\nexport { registerServerReference } from 'react-server-dom-webpack/server'\n","// This function ensures that all the exported values are valid server actions,\n// during the runtime. By definition all actions are required to be async\n// functions, but here we can only check that they are functions.\nexport function ensureServerEntryExports(actions: any[]) {\n for (let i = 0; i < actions.length; i++) {\n const action = actions[i]\n if (typeof action !== 'function') {\n throw new Error(\n `A \"use server\" file can only export async functions, found ${typeof action}.\\nRead more: https://nextjs.org/docs/messages/invalid-use-server-value`\n )\n }\n }\n}\n","'use server';\n\nimport { existsSync } from 'node:fs';\nimport { createRequire } from 'node:module';\nimport { join, resolve } from 'node:path';\nimport { KNOWN_WORLDS, type KnownWorld } from './known-worlds';\n\nconst require = createRequire(join(process.cwd(), 'index.js'));\n\nexport interface WorldConfig {\n backend?: string;\n env?: string;\n authToken?: string;\n project?: string;\n team?: string;\n port?: string;\n dataDir?: string;\n // Postgres fields\n postgresUrl?: string;\n}\n\nexport interface ValidationError {\n field: string;\n message: string;\n}\n\nexport interface WorldAvailability {\n id: string;\n displayName: string;\n packageName: string | null;\n description: string;\n isBuiltIn: boolean;\n isInstalled: boolean;\n installCommand?: string;\n}\n\n/**\n * Check which world packages are installed.\n *\n * Built-in worlds (local, vercel) are always available.\n * Third-party worlds are checked by attempting to resolve their package.\n */\nexport async function checkWorldsAvailability(): Promise<WorldAvailability[]> {\n return KNOWN_WORLDS.map((world: KnownWorld) => {\n const availability: WorldAvailability = {\n id: world.id,\n displayName: world.displayName,\n packageName: world.packageName,\n description: world.description,\n isBuiltIn: world.isBuiltIn,\n isInstalled: world.isBuiltIn, // Built-in worlds are always installed\n };\n\n // For non-built-in worlds, try to resolve the package\n if (!world.isBuiltIn && world.packageName) {\n try {\n require.resolve(world.packageName);\n availability.isInstalled = true;\n } catch {\n availability.isInstalled = false;\n availability.installCommand = `npm install ${world.packageName}`;\n }\n }\n\n return availability;\n });\n}\n\n// Validate configuration and return errors if any\nexport async function validateWorldConfig(\n config: WorldConfig\n): Promise<ValidationError[]> {\n const errors: ValidationError[] = [];\n const backend = config.backend || 'local';\n\n if (backend === 'local') {\n // Check if data directory exists\n if (config.dataDir) {\n const resolvedPath = resolve(config.dataDir);\n if (!existsSync(resolvedPath)) {\n errors.push({\n field: 'dataDir',\n message: `Data directory does not exist: ${resolvedPath}`,\n });\n }\n }\n\n // Validate port if provided\n if (config.port) {\n const portNum = Number.parseInt(config.port, 10);\n if (Number.isNaN(portNum) || portNum < 1 || portNum > 65535) {\n errors.push({\n field: 'port',\n message: 'Port must be a number between 1 and 65535',\n });\n }\n }\n }\n\n if (backend === 'postgres') {\n // Validate postgres connection string\n if (!config.postgresUrl) {\n errors.push({\n field: 'postgresUrl',\n message: 'PostgreSQL connection string is required',\n });\n } else if (\n !config.postgresUrl.startsWith('postgres://') &&\n !config.postgresUrl.startsWith('postgresql://')\n ) {\n errors.push({\n field: 'postgresUrl',\n message:\n 'Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)',\n });\n }\n }\n\n return errors;\n}\n","/**\n * Registry of known world packages that the UI can work with.\n *\n * This file defines the metadata for worlds that can be selected in the\n * configuration UI. Worlds are dynamically loaded at runtime - they don't\n * need to be direct dependencies of the web package.\n */\n\nexport interface KnownWorld {\n /** Unique identifier used in the UI and query params */\n id: string;\n /** Human-readable display name */\n displayName: string;\n /** npm package name (or null for built-in worlds) */\n packageName: string | null;\n /** Short description of the world */\n description: string;\n /** Whether this world is bundled with @workflow/core */\n isBuiltIn: boolean;\n}\n\n/**\n * List of known worlds that can be configured in the UI.\n *\n * Built-in worlds (local, vercel) are always available as they're bundled\n * with @workflow/core. Third-party worlds need to be installed separately.\n */\nexport const KNOWN_WORLDS: KnownWorld[] = [\n {\n id: 'local',\n displayName: 'Local',\n packageName: null,\n description:\n 'Local file-based storage with no dependencies, ideal for development',\n isBuiltIn: true,\n },\n {\n id: 'vercel',\n displayName: 'Vercel',\n packageName: null,\n description: 'Vercel-managed storage and queue',\n isBuiltIn: true,\n },\n {\n id: 'postgres',\n displayName: 'PostgreSQL',\n packageName: '@workflow/world-postgres',\n description: 'PostgreSQL-based storage with pg-boss queue',\n isBuiltIn: false,\n },\n];\n","export {validateWorldConfig as '4032537ab6a3ad9eba4df7793874685fe3aae4b8db'} from 'ACTIONS_MODULE0'\nexport {checkWorldsAvailability as '00e7090a0e9d10247dc00d78871326c406dba1eebd'} from 'ACTIONS_MODULE0'\n"],"names":["registerServerReference","ensureServerEntryExports","actions","i","length","action","Error"],"mappings":"6CAAoD,OAAA,cAAA,CAAA,EAAA,aAAA,oCAC3CA,0BAAAA,qCAAAA,EAAAA,uBAAuB,YAAQ,CAAA,CAAA,IAAA,+OCEjC,SAASC,EAAyBC,CAAc,EACrD,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAQE,MAAM,CAAED,IAAK,CACvC,IAAME,EAASH,CAAO,CAACC,EAAE,CACzB,GAAsB,YAAlB,AAA8B,OAAvBE,EACT,MAAM,OAAA,cAEL,CAFK,AAAIC,MAC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AAA,AAAO,EAAC,EAAO,OAAO,CACvC,CAAC,CAAA,EAAA,EAAA,UAAA,AAAU,EAAC,IACd,EAAO,IAAI,CAAC,CACV,GAF2B,GAEpB,UACP,QAAS,CAAC,+BAA+B,EAAE,EAAA,CAAc,AAC3D,EAEJ,CAGA,GAAI,EAAO,IAAI,CAAE,CACf,IAAM,EAAU,OAAO,QAAQ,CAAC,EAAO,IAAI,CAAE,KACzC,OAAO,KAAK,CAAC,IAAY,EAAU,GAAK,EAAU,KAAA,GAAO,AAC3D,EAAO,IAAI,CAAC,CACV,MAAO,OACP,QAAS,2CACX,EAEJ,CACF,CAqBA,MAnBgB,YAAY,CAAxB,IAEG,EAAO,WAAW,CAMrB,AAAC,CANsB,CAMf,WAAW,CAAC,UAAU,CAAC,gBAC9B,EAAD,AAAQ,WAAW,CAAC,UAAU,CAAC,kBAC/B,AACA,EAAO,IAAI,CAAC,CACV,MAAO,cACP,QACE,4FACJ,GAZA,EAAO,IAAI,CAAC,CACV,MAAO,cACP,QAAS,0CACX,IAaG,CACT,iCA7EsB,EA2BA,IA3BA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,MA2BA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,uGErEtB,IAAA,EAAA,EAAA,CAAA,CAAA","ignoreList":[0,1]}
1
+ {"version":3,"sources":["../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/build/webpack/loaders/next-flight-loader/server-reference.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/build/webpack/loaders/next-flight-loader/action-validate.ts","../../../../../../packages/web/src/lib/config-world.ts","../../../../../../packages/web/src/lib/known-worlds.ts","../../../../../../packages/web/.next-internal/server/app/_not-found/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["/* eslint-disable import/no-extraneous-dependencies */\nexport { registerServerReference } from 'react-server-dom-webpack/server'\n","// This function ensures that all the exported values are valid server actions,\n// during the runtime. By definition all actions are required to be async\n// functions, but here we can only check that they are functions.\nexport function ensureServerEntryExports(actions: any[]) {\n for (let i = 0; i < actions.length; i++) {\n const action = actions[i]\n if (typeof action !== 'function') {\n throw new Error(\n `A \"use server\" file can only export async functions, found ${typeof action}.\\nRead more: https://nextjs.org/docs/messages/invalid-use-server-value`\n )\n }\n }\n}\n","'use server';\n\nimport { existsSync } from 'node:fs';\nimport { createRequire } from 'node:module';\nimport { join, resolve } from 'node:path';\nimport { KNOWN_WORLDS, type KnownWorld } from './known-worlds';\n\nconst require = createRequire(join(process.cwd(), 'index.js'));\n\nexport interface WorldConfig {\n backend?: string;\n env?: string;\n authToken?: string;\n project?: string;\n team?: string;\n port?: string;\n dataDir?: string;\n // Path to the workflow manifest file (defaults to app/.well-known/workflow/v1/manifest.json)\n manifestPath?: string;\n // Postgres fields\n postgresUrl?: string;\n}\n\nexport interface ValidationError {\n field: string;\n message: string;\n}\n\nexport interface WorldAvailability {\n id: string;\n displayName: string;\n packageName: string | null;\n description: string;\n isBuiltIn: boolean;\n isInstalled: boolean;\n installCommand?: string;\n}\n\n/**\n * Check which world packages are installed.\n *\n * Built-in worlds (local, vercel) are always available.\n * Third-party worlds are checked by attempting to resolve their package.\n */\nexport async function checkWorldsAvailability(): Promise<WorldAvailability[]> {\n return KNOWN_WORLDS.map((world: KnownWorld) => {\n const availability: WorldAvailability = {\n id: world.id,\n displayName: world.displayName,\n packageName: world.packageName,\n description: world.description,\n isBuiltIn: world.isBuiltIn,\n isInstalled: world.isBuiltIn, // Built-in worlds are always installed\n };\n\n // For non-built-in worlds, try to resolve the package\n if (!world.isBuiltIn && world.packageName) {\n try {\n require.resolve(world.packageName);\n availability.isInstalled = true;\n } catch {\n availability.isInstalled = false;\n availability.installCommand = `npm install ${world.packageName}`;\n }\n }\n\n return availability;\n });\n}\n\nexport interface ValidationWarning {\n field: string;\n message: string;\n}\n\nexport interface ValidationResult {\n errors: ValidationError[];\n warnings: ValidationWarning[];\n}\n\n// Validate configuration and return errors/warnings\nexport async function validateWorldConfig(\n config: WorldConfig\n): Promise<ValidationError[]> {\n const errors: ValidationError[] = [];\n const backend = config.backend || 'local';\n\n if (backend === 'local') {\n // Check if data directory exists\n if (config.dataDir) {\n const resolvedPath = resolve(config.dataDir);\n if (!existsSync(resolvedPath)) {\n errors.push({\n field: 'dataDir',\n message: `Data directory does not exist: ${resolvedPath}`,\n });\n }\n }\n\n // Validate port if provided\n if (config.port) {\n const portNum = Number.parseInt(config.port, 10);\n if (Number.isNaN(portNum) || portNum < 1 || portNum > 65535) {\n errors.push({\n field: 'port',\n message: 'Port must be a number between 1 and 65535',\n });\n }\n }\n // Note: dataDir and manifestPath are optional and don't require validation\n // The server action will try multiple paths and gracefully handle missing files\n }\n\n if (backend === 'postgres') {\n // Validate postgres connection string\n if (!config.postgresUrl) {\n errors.push({\n field: 'postgresUrl',\n message: 'PostgreSQL connection string is required',\n });\n } else if (\n !config.postgresUrl.startsWith('postgres://') &&\n !config.postgresUrl.startsWith('postgresql://')\n ) {\n errors.push({\n field: 'postgresUrl',\n message:\n 'Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)',\n });\n }\n }\n\n return errors;\n}\n","/**\n * Registry of known world packages that the UI can work with.\n *\n * This file defines the metadata for worlds that can be selected in the\n * configuration UI. Worlds are dynamically loaded at runtime - they don't\n * need to be direct dependencies of the web package.\n */\n\nexport interface KnownWorld {\n /** Unique identifier used in the UI and query params */\n id: string;\n /** Human-readable display name */\n displayName: string;\n /** npm package name (or null for built-in worlds) */\n packageName: string | null;\n /** Short description of the world */\n description: string;\n /** Whether this world is bundled with @workflow/core */\n isBuiltIn: boolean;\n}\n\n/**\n * List of known worlds that can be configured in the UI.\n *\n * Built-in worlds (local, vercel) are always available as they're bundled\n * with @workflow/core. Third-party worlds need to be installed separately.\n */\nexport const KNOWN_WORLDS: KnownWorld[] = [\n {\n id: 'local',\n displayName: 'Local',\n packageName: null,\n description:\n 'Local file-based storage with no dependencies, ideal for development',\n isBuiltIn: true,\n },\n {\n id: 'vercel',\n displayName: 'Vercel',\n packageName: null,\n description: 'Vercel-managed storage and queue',\n isBuiltIn: true,\n },\n {\n id: 'postgres',\n displayName: 'PostgreSQL',\n packageName: '@workflow/world-postgres',\n description: 'PostgreSQL-based storage with pg-boss queue',\n isBuiltIn: false,\n },\n];\n","export {validateWorldConfig as '40d86b6e96ebd802458d42c4383f0c2051756707d1'} from 'ACTIONS_MODULE0'\nexport {checkWorldsAvailability as '00a97fda922ce43f9e315172e876280c7fec1a435d'} from 'ACTIONS_MODULE0'\n"],"names":["registerServerReference","ensureServerEntryExports","actions","i","length","action","Error"],"mappings":"6CAAoD,OAAA,cAAA,CAAA,EAAA,aAAA,oCAC3CA,0BAAAA,qCAAAA,EAAAA,uBAAuB,YAAQ,CAAA,CAAA,IAAA,+OCEjC,SAASC,EAAyBC,CAAc,EACrD,IAAK,IAAIC,EAAI,EAAGA,EAAID,EAAQE,MAAM,CAAED,IAAK,CACvC,IAAME,EAASH,CAAO,CAACC,EAAE,CACzB,GAAsB,YAAlB,AAA8B,OAAvBE,EACT,MAAM,OAAA,cAEL,CAFK,AAAIC,MACR,CAAC,2DAA2D,EAAE,OAAOD,EAAO;AAAA,oEAAuE,CAAC,EADhJ,oBAAA,OAAA,mBAAA,eAAA,EAEN,EAEJ,CACF,0EATgBJ,2BAAAA,qCAAAA,8CCDhB,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OCuBO,IAAM,EAA6B,CACxC,CACE,GAAI,QACJ,YAAa,QACb,YAAa,KACb,YACE,uEACF,WAAW,CACb,EACA,CACE,GAAI,SACJ,YAAa,SACb,YAAa,KACb,YAAa,mCACb,WAAW,CACb,EACA,CACE,GAAI,WACJ,YAAa,aACb,YAAa,2BACb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,EAAO,WAAW,CAMrB,AAAC,CANsB,CAMf,WAAW,CAAC,UAAU,CAAC,gBAC9B,EAAD,AAAQ,WAAW,CAAC,UAAU,CAAC,kBAC/B,AACA,EAAO,IAAI,CAAC,CACV,MAAO,cACP,QACE,4FACJ,GAZA,EAAO,IAAI,CAAC,CACV,MAAO,cACP,QAAS,0CACX,IAaG,CACT,iCAzFsB,EAqCA,IArCA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,MAqCA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,uGEjFtB,IAAA,EAAA,EAAA,CAAA,CAAA","ignoreList":[0,1]}
@@ -1,4 +1,4 @@
1
1
  module.exports=[42532,(a,b,c)=>{"use strict";var d=Object.defineProperty,e=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,h={},i={VercelOidcTokenError:()=>k};for(var j in i)d(h,j,{get:i[j],enumerable:!0});b.exports=((a,b,c,h)=>{if(b&&"object"==typeof b||"function"==typeof b)for(let c of f(b))g.call(a,c)||void 0===c||d(a,c,{get:()=>b[c],enumerable:!(h=e(b,c))||h.enumerable});return a})(d({},"__esModule",{value:!0}),h);class k extends Error{constructor(a,b){super(a),this.name="VercelOidcTokenError",this.cause=b}toString(){return this.cause?`${this.name}: ${this.message}: ${this.cause}`:`${this.name}: ${this.message}`}}},46786,(a,b,c)=>{b.exports=a.x("os",()=>require("os"))},46716,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(82184)},2157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},44376,(a,b,c)=>{b.exports=a.x("node:module",()=>require("node:module"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},62001,(a,b,c)=>{"use strict";function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
2
- Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},83153,a=>{"use strict";var b=a.i(46716),c=a.i(2157),d=a.i(44376),e=a.i(50227);let f=[{id:"local",displayName:"Local",packageName:null,description:"Local file-based storage with no dependencies, ideal for development",isBuiltIn:!0},{id:"vercel",displayName:"Vercel",packageName:null,description:"Vercel-managed storage and queue",isBuiltIn:!0},{id:"postgres",displayName:"PostgreSQL",packageName:"@workflow/world-postgres",description:"PostgreSQL-based storage with pg-boss queue",isBuiltIn:!1}];var g=a.i(62001);let h=(0,d.createRequire)((0,e.join)(process.cwd(),"index.js"));async function i(){return f.map(a=>{let b={id:a.id,displayName:a.displayName,packageName:a.packageName,description:a.description,isBuiltIn:a.isBuiltIn,isInstalled:a.isBuiltIn};if(!a.isBuiltIn&&a.packageName)try{h.resolve(a.packageName),b.isInstalled=!0}catch{b.isInstalled=!1,b.installCommand=`npm install ${a.packageName}`}return b})}async function j(a){let b=[],d=a.backend||"local";if("local"===d){if(a.dataDir){let d=(0,e.resolve)(a.dataDir);(0,c.existsSync)(d)||b.push({field:"dataDir",message:`Data directory does not exist: ${d}`})}if(a.port){let c=Number.parseInt(a.port,10);(Number.isNaN(c)||c<1||c>65535)&&b.push({field:"port",message:"Port must be a number between 1 and 65535"})}}return"postgres"===d&&(a.postgresUrl?a.postgresUrl.startsWith("postgres://")||a.postgresUrl.startsWith("postgresql://")||b.push({field:"postgresUrl",message:"Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)"}):b.push({field:"postgresUrl",message:"PostgreSQL connection string is required"})),b}(0,g.ensureServerEntryExports)([i,j]),(0,b.registerServerReference)(i,"00e7090a0e9d10247dc00d78871326c406dba1eebd",null),(0,b.registerServerReference)(j,"4032537ab6a3ad9eba4df7793874685fe3aae4b8db",null),a.s(["checkWorldsAvailability",()=>i,"validateWorldConfig",()=>j],83153)},92232,a=>{"use strict";var b=a.i(83153),c=a.i(76527);a.s([],33521),a.i(33521),a.s(["00e7090a0e9d10247dc00d78871326c406dba1eebd",()=>b.checkWorldsAvailability,"4032537ab6a3ad9eba4df7793874685fe3aae4b8db",()=>b.validateWorldConfig,"6047ee636f7990a0196eaef756fb50484ae8d9593d",()=>c.cancelRun,"605182142f891d89e4c0555475fee27f9b074fdf8c",()=>c.fetchRuns,"60b4c80cdba6809b0e657b80f7bc428132df364129",()=>c.recreateRun,"60df0db10549a1f80823ff4952c35de9944489c7d9",()=>c.fetchHooks,"701c4be22594ab998772498ff3c555ed8217ff984e",()=>c.fetchSteps,"702b58cdb0e3fea4d5c166d12eb9a4d56514a7906f",()=>c.fetchRun,"707f335fc4756d24b28b1aecaf253ec3d3c360edd1",()=>c.readStreamServerAction,"70b07885a8aa3b0fb278296b7a04692db6b0769128",()=>c.fetchEvents,"70c0ec6d6d0c65573d206836358cd160f397a8d936",()=>c.fetchHook,"70f506d3e7ec39ae905a1f67a3a9dc7afe59188b90",()=>c.fetchEventsByCorrelationId,"786efa9ac298acede46c81f4b1f928ec71f039709f",()=>c.fetchStep],92232)},73191,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f5724172._.js"].map(b=>a.l(b))).then(()=>b(16885)))},74458,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__e786fe02._.js"].map(b=>a.l(b))).then(()=>b(20384)))},74052,a=>{a.v(a=>Promise.resolve().then(()=>a(51565)))}];
2
+ Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},83153,a=>{"use strict";var b=a.i(46716),c=a.i(2157),d=a.i(44376),e=a.i(50227);let f=[{id:"local",displayName:"Local",packageName:null,description:"Local file-based storage with no dependencies, ideal for development",isBuiltIn:!0},{id:"vercel",displayName:"Vercel",packageName:null,description:"Vercel-managed storage and queue",isBuiltIn:!0},{id:"postgres",displayName:"PostgreSQL",packageName:"@workflow/world-postgres",description:"PostgreSQL-based storage with pg-boss queue",isBuiltIn:!1}];var g=a.i(62001);let h=(0,d.createRequire)((0,e.join)(process.cwd(),"index.js"));async function i(){return f.map(a=>{let b={id:a.id,displayName:a.displayName,packageName:a.packageName,description:a.description,isBuiltIn:a.isBuiltIn,isInstalled:a.isBuiltIn};if(!a.isBuiltIn&&a.packageName)try{h.resolve(a.packageName),b.isInstalled=!0}catch{b.isInstalled=!1,b.installCommand=`npm install ${a.packageName}`}return b})}async function j(a){let b=[],d=a.backend||"local";if("local"===d){if(a.dataDir){let d=(0,e.resolve)(a.dataDir);(0,c.existsSync)(d)||b.push({field:"dataDir",message:`Data directory does not exist: ${d}`})}if(a.port){let c=Number.parseInt(a.port,10);(Number.isNaN(c)||c<1||c>65535)&&b.push({field:"port",message:"Port must be a number between 1 and 65535"})}}return"postgres"===d&&(a.postgresUrl?a.postgresUrl.startsWith("postgres://")||a.postgresUrl.startsWith("postgresql://")||b.push({field:"postgresUrl",message:"Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)"}):b.push({field:"postgresUrl",message:"PostgreSQL connection string is required"})),b}(0,g.ensureServerEntryExports)([i,j]),(0,b.registerServerReference)(i,"00a97fda922ce43f9e315172e876280c7fec1a435d",null),(0,b.registerServerReference)(j,"40d86b6e96ebd802458d42c4383f0c2051756707d1",null),a.s(["checkWorldsAvailability",()=>i,"validateWorldConfig",()=>j],83153)},92232,a=>{"use strict";var b=a.i(83153),c=a.i(76527);a.s([],33521),a.i(33521),a.s(["00a97fda922ce43f9e315172e876280c7fec1a435d",()=>b.checkWorldsAvailability,"40d86b6e96ebd802458d42c4383f0c2051756707d1",()=>b.validateWorldConfig,"6004f0fd7809f072d35e39e584a47ae25dfd557cac",()=>c.fetchHooks,"60ae2f7330615cfb4d1b7adbbb6f7df0e9735b64f8",()=>c.fetchRuns,"60bdce756c21f3ea3c6b86aadc9820c5e22fbf25f0",()=>c.cancelRun,"60c8a6c7f4ee51f67872eefa4cbac76360b913bc7b",()=>c.recreateRun,"70044f05675b66ab708aae3bbe3f3d6cb983ffa328",()=>c.readStreamServerAction,"70162e60c50fe5a5f045341b82ffdbd4b9d97e1874",()=>c.fetchEventsByCorrelationId,"703908c645fa86e5e39d59baac7650bc5017def27b",()=>c.fetchEvents,"708c4e62009e15a262ae73b3f6de4ed078245705e7",()=>c.fetchRun,"70a2aadfbd002d94309ec6b17d5cbfe480de543636",()=>c.fetchSteps,"70ef3ceccbe957f33871d286437c0681630fa9b812",()=>c.fetchHook,"78bf1af4e53aabd7e087fb91787bd1ba0f921c66fb",()=>c.fetchStep],92232)},73191,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f5724172._.js"].map(b=>a.l(b))).then(()=>b(16885)))},74458,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__e786fe02._.js"].map(b=>a.l(b))).then(()=>b(20384)))},74052,a=>{a.v(a=>Promise.resolve().then(()=>a(51565)))}];
3
3
 
4
4
  //# sourceMappingURL=%5Broot-of-the-server%5D__cd719c14._.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../node_modules/.pnpm/%40vercel%2Boidc%403.0.5/node_modules/%40vercel/oidc/dist/token-error.js","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/build/webpack/loaders/next-flight-loader/server-reference.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/build/webpack/loaders/next-flight-loader/action-validate.ts","../../../../../../packages/web/src/lib/config-world.ts","../../../../../../packages/web/src/lib/known-worlds.ts","../../../../../../packages/web/.next-internal/server/app/run/%5BrunId%5D/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar token_error_exports = {};\n__export(token_error_exports, {\n VercelOidcTokenError: () => VercelOidcTokenError\n});\nmodule.exports = __toCommonJS(token_error_exports);\nclass VercelOidcTokenError extends Error {\n constructor(message, cause) {\n super(message);\n this.name = \"VercelOidcTokenError\";\n this.cause = cause;\n }\n toString() {\n if (this.cause) {\n return `${this.name}: ${this.message}: ${this.cause}`;\n }\n return `${this.name}: ${this.message}`;\n }\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n VercelOidcTokenError\n});\n","/* eslint-disable import/no-extraneous-dependencies */\nexport { registerServerReference } from 'react-server-dom-webpack/server'\n","// This function ensures that all the exported values are valid server actions,\n// during the runtime. By definition all actions are required to be async\n// functions, but here we can only check that they are functions.\nexport function ensureServerEntryExports(actions: any[]) {\n for (let i = 0; i < actions.length; i++) {\n const action = actions[i]\n if (typeof action !== 'function') {\n throw new Error(\n `A \"use server\" file can only export async functions, found ${typeof action}.\\nRead more: https://nextjs.org/docs/messages/invalid-use-server-value`\n )\n }\n }\n}\n","'use server';\n\nimport { existsSync } from 'node:fs';\nimport { createRequire } from 'node:module';\nimport { join, resolve } from 'node:path';\nimport { KNOWN_WORLDS, type KnownWorld } from './known-worlds';\n\nconst require = createRequire(join(process.cwd(), 'index.js'));\n\nexport interface WorldConfig {\n backend?: string;\n env?: string;\n authToken?: string;\n project?: string;\n team?: string;\n port?: string;\n dataDir?: string;\n // Postgres fields\n postgresUrl?: string;\n}\n\nexport interface ValidationError {\n field: string;\n message: string;\n}\n\nexport interface WorldAvailability {\n id: string;\n displayName: string;\n packageName: string | null;\n description: string;\n isBuiltIn: boolean;\n isInstalled: boolean;\n installCommand?: string;\n}\n\n/**\n * Check which world packages are installed.\n *\n * Built-in worlds (local, vercel) are always available.\n * Third-party worlds are checked by attempting to resolve their package.\n */\nexport async function checkWorldsAvailability(): Promise<WorldAvailability[]> {\n return KNOWN_WORLDS.map((world: KnownWorld) => {\n const availability: WorldAvailability = {\n id: world.id,\n displayName: world.displayName,\n packageName: world.packageName,\n description: world.description,\n isBuiltIn: world.isBuiltIn,\n isInstalled: world.isBuiltIn, // Built-in worlds are always installed\n };\n\n // For non-built-in worlds, try to resolve the package\n if (!world.isBuiltIn && world.packageName) {\n try {\n require.resolve(world.packageName);\n availability.isInstalled = true;\n } catch {\n availability.isInstalled = false;\n availability.installCommand = `npm install ${world.packageName}`;\n }\n }\n\n return availability;\n });\n}\n\n// Validate configuration and return errors if any\nexport async function validateWorldConfig(\n config: WorldConfig\n): Promise<ValidationError[]> {\n const errors: ValidationError[] = [];\n const backend = config.backend || 'local';\n\n if (backend === 'local') {\n // Check if data directory exists\n if (config.dataDir) {\n const resolvedPath = resolve(config.dataDir);\n if (!existsSync(resolvedPath)) {\n errors.push({\n field: 'dataDir',\n message: `Data directory does not exist: ${resolvedPath}`,\n });\n }\n }\n\n // Validate port if provided\n if (config.port) {\n const portNum = Number.parseInt(config.port, 10);\n if (Number.isNaN(portNum) || portNum < 1 || portNum > 65535) {\n errors.push({\n field: 'port',\n message: 'Port must be a number between 1 and 65535',\n });\n }\n }\n }\n\n if (backend === 'postgres') {\n // Validate postgres connection string\n if (!config.postgresUrl) {\n errors.push({\n field: 'postgresUrl',\n message: 'PostgreSQL connection string is required',\n });\n } else if (\n !config.postgresUrl.startsWith('postgres://') &&\n !config.postgresUrl.startsWith('postgresql://')\n ) {\n errors.push({\n field: 'postgresUrl',\n message:\n 'Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)',\n });\n }\n }\n\n return errors;\n}\n","/**\n * Registry of known world packages that the UI can work with.\n *\n * This file defines the metadata for worlds that can be selected in the\n * configuration UI. Worlds are dynamically loaded at runtime - they don't\n * need to be direct dependencies of the web package.\n */\n\nexport interface KnownWorld {\n /** Unique identifier used in the UI and query params */\n id: string;\n /** Human-readable display name */\n displayName: string;\n /** npm package name (or null for built-in worlds) */\n packageName: string | null;\n /** Short description of the world */\n description: string;\n /** Whether this world is bundled with @workflow/core */\n isBuiltIn: boolean;\n}\n\n/**\n * List of known worlds that can be configured in the UI.\n *\n * Built-in worlds (local, vercel) are always available as they're bundled\n * with @workflow/core. Third-party worlds need to be installed separately.\n */\nexport const KNOWN_WORLDS: KnownWorld[] = [\n {\n id: 'local',\n displayName: 'Local',\n packageName: null,\n description:\n 'Local file-based storage with no dependencies, ideal for development',\n isBuiltIn: true,\n },\n {\n id: 'vercel',\n displayName: 'Vercel',\n packageName: null,\n description: 'Vercel-managed storage and queue',\n isBuiltIn: true,\n },\n {\n id: 'postgres',\n displayName: 'PostgreSQL',\n packageName: '@workflow/world-postgres',\n description: 'PostgreSQL-based storage with pg-boss queue',\n isBuiltIn: false,\n },\n];\n","export {validateWorldConfig as '4032537ab6a3ad9eba4df7793874685fe3aae4b8db'} from 'ACTIONS_MODULE0'\nexport {checkWorldsAvailability as '00e7090a0e9d10247dc00d78871326c406dba1eebd'} from 'ACTIONS_MODULE0'\nexport {cancelRun as '6047ee636f7990a0196eaef756fb50484ae8d9593d'} from 'ACTIONS_MODULE1'\nexport {fetchEvents as '70b07885a8aa3b0fb278296b7a04692db6b0769128'} from 'ACTIONS_MODULE1'\nexport {fetchEventsByCorrelationId as '70f506d3e7ec39ae905a1f67a3a9dc7afe59188b90'} from 'ACTIONS_MODULE1'\nexport {fetchHook as '70c0ec6d6d0c65573d206836358cd160f397a8d936'} from 'ACTIONS_MODULE1'\nexport {fetchHooks as '60df0db10549a1f80823ff4952c35de9944489c7d9'} from 'ACTIONS_MODULE1'\nexport {fetchRun as '702b58cdb0e3fea4d5c166d12eb9a4d56514a7906f'} from 'ACTIONS_MODULE1'\nexport {fetchRuns as '605182142f891d89e4c0555475fee27f9b074fdf8c'} from 'ACTIONS_MODULE1'\nexport {fetchStep as '786efa9ac298acede46c81f4b1f928ec71f039709f'} from 'ACTIONS_MODULE1'\nexport {fetchSteps as '701c4be22594ab998772498ff3c555ed8217ff984e'} from 'ACTIONS_MODULE1'\nexport {readStreamServerAction as '707f335fc4756d24b28b1aecaf253ec3d3c360edd1'} from 'ACTIONS_MODULE1'\nexport {recreateRun as '60b4c80cdba6809b0e657b80f7bc428132df364129'} from 'ACTIONS_MODULE1'\n"],"names":["registerServerReference","ensureServerEntryExports","actions","i","length","action","Error"],"mappings":"6CACA,IAAI,EAAY,OAAO,cAAc,CACjC,EAAmB,OAAO,wBAAwB,CAClD,EAAoB,OAAO,mBAAmB,CAC9C,EAAe,OAAO,SAAS,CAAC,cAAc,CAc9C,EAAsB,CAAC,EAbH,EAcM,CAC5B,qBAAsB,IAAM,CAC9B,EAfE,IAAK,IAAI,KAAQ,EACf,EAYK,EAZa,EAAM,CAAE,GAAhB,CAAqB,CAAG,CAAC,EAAK,CAAE,WAAY,EAAK,GAe/D,EAAO,OAAO,CALc,CARV,CAAC,AAaF,EAbM,IAAc,KACnC,GAAI,GAAwB,UAAhB,OAAO,GAAqC,YAAhB,AAA4B,OAArB,EAC7C,IAAK,IAAI,KAAO,EAAkB,GAC5B,AAAC,EAAa,CAAlB,GAAsB,CAAC,EAAI,SAHJ,IAGY,GACjC,EAAU,EAAI,CAD2B,CACtB,CAAE,IAAK,IAAM,CA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CACV,MAAO,OACP,QAAS,2CACX,EAEJ,CACF,CAqBA,MAnBgB,YAAY,CAAxB,IAEG,EAAO,WAAW,CAMrB,AAAC,CANsB,CAMf,WAAW,CAAC,UAAU,CAAC,gBAC9B,EAAD,AAAQ,WAAW,CAAC,UAAU,CAAC,kBAC/B,AACA,EAAO,IAAI,CAAC,CACV,MAAO,cACP,QACE,4FACJ,GAZA,EAAO,IAAI,CAAC,CACV,MAAO,cACP,QAAS,0CACX,IAaG,CACT,iCA7EsB,EA2BA,IA3BA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,MA2BA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,uGErEtB,IAAA,EAAA,EAAA,CAAA,CAAA,OAEA,EAAA,EAAA,CAAA,CAAA","ignoreList":[0,1,2]}
1
+ {"version":3,"sources":["../../../../../../node_modules/.pnpm/%40vercel%2Boidc%403.0.5/node_modules/%40vercel/oidc/dist/token-error.js","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/build/webpack/loaders/next-flight-loader/server-reference.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/build/webpack/loaders/next-flight-loader/action-validate.ts","../../../../../../packages/web/src/lib/config-world.ts","../../../../../../packages/web/src/lib/known-worlds.ts","../../../../../../packages/web/.next-internal/server/app/run/%5BrunId%5D/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar token_error_exports = {};\n__export(token_error_exports, {\n VercelOidcTokenError: () => VercelOidcTokenError\n});\nmodule.exports = __toCommonJS(token_error_exports);\nclass VercelOidcTokenError extends Error {\n constructor(message, cause) {\n super(message);\n this.name = \"VercelOidcTokenError\";\n this.cause = cause;\n }\n toString() {\n if (this.cause) {\n return `${this.name}: ${this.message}: ${this.cause}`;\n }\n return `${this.name}: ${this.message}`;\n }\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n VercelOidcTokenError\n});\n","/* eslint-disable import/no-extraneous-dependencies */\nexport { registerServerReference } from 'react-server-dom-webpack/server'\n","// This function ensures that all the exported values are valid server actions,\n// during the runtime. By definition all actions are required to be async\n// functions, but here we can only check that they are functions.\nexport function ensureServerEntryExports(actions: any[]) {\n for (let i = 0; i < actions.length; i++) {\n const action = actions[i]\n if (typeof action !== 'function') {\n throw new Error(\n `A \"use server\" file can only export async functions, found ${typeof action}.\\nRead more: https://nextjs.org/docs/messages/invalid-use-server-value`\n )\n }\n }\n}\n","'use server';\n\nimport { existsSync } from 'node:fs';\nimport { createRequire } from 'node:module';\nimport { join, resolve } from 'node:path';\nimport { KNOWN_WORLDS, type KnownWorld } from './known-worlds';\n\nconst require = createRequire(join(process.cwd(), 'index.js'));\n\nexport interface WorldConfig {\n backend?: string;\n env?: string;\n authToken?: string;\n project?: string;\n team?: string;\n port?: string;\n dataDir?: string;\n // Path to the workflow manifest file (defaults to app/.well-known/workflow/v1/manifest.json)\n manifestPath?: string;\n // Postgres fields\n postgresUrl?: string;\n}\n\nexport interface ValidationError {\n field: string;\n message: string;\n}\n\nexport interface WorldAvailability {\n id: string;\n displayName: string;\n packageName: string | null;\n description: string;\n isBuiltIn: boolean;\n isInstalled: boolean;\n installCommand?: string;\n}\n\n/**\n * Check which world packages are installed.\n *\n * Built-in worlds (local, vercel) are always available.\n * Third-party worlds are checked by attempting to resolve their package.\n */\nexport async function checkWorldsAvailability(): Promise<WorldAvailability[]> {\n return KNOWN_WORLDS.map((world: KnownWorld) => {\n const availability: WorldAvailability = {\n id: world.id,\n displayName: world.displayName,\n packageName: world.packageName,\n description: world.description,\n isBuiltIn: world.isBuiltIn,\n isInstalled: world.isBuiltIn, // Built-in worlds are always installed\n };\n\n // For non-built-in worlds, try to resolve the package\n if (!world.isBuiltIn && world.packageName) {\n try {\n require.resolve(world.packageName);\n availability.isInstalled = true;\n } catch {\n availability.isInstalled = false;\n availability.installCommand = `npm install ${world.packageName}`;\n }\n }\n\n return availability;\n });\n}\n\nexport interface ValidationWarning {\n field: string;\n message: string;\n}\n\nexport interface ValidationResult {\n errors: ValidationError[];\n warnings: ValidationWarning[];\n}\n\n// Validate configuration and return errors/warnings\nexport async function validateWorldConfig(\n config: WorldConfig\n): Promise<ValidationError[]> {\n const errors: ValidationError[] = [];\n const backend = config.backend || 'local';\n\n if (backend === 'local') {\n // Check if data directory exists\n if (config.dataDir) {\n const resolvedPath = resolve(config.dataDir);\n if (!existsSync(resolvedPath)) {\n errors.push({\n field: 'dataDir',\n message: `Data directory does not exist: ${resolvedPath}`,\n });\n }\n }\n\n // Validate port if provided\n if (config.port) {\n const portNum = Number.parseInt(config.port, 10);\n if (Number.isNaN(portNum) || portNum < 1 || portNum > 65535) {\n errors.push({\n field: 'port',\n message: 'Port must be a number between 1 and 65535',\n });\n }\n }\n // Note: dataDir and manifestPath are optional and don't require validation\n // The server action will try multiple paths and gracefully handle missing files\n }\n\n if (backend === 'postgres') {\n // Validate postgres connection string\n if (!config.postgresUrl) {\n errors.push({\n field: 'postgresUrl',\n message: 'PostgreSQL connection string is required',\n });\n } else if (\n !config.postgresUrl.startsWith('postgres://') &&\n !config.postgresUrl.startsWith('postgresql://')\n ) {\n errors.push({\n field: 'postgresUrl',\n message:\n 'Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)',\n });\n }\n }\n\n return errors;\n}\n","/**\n * Registry of known world packages that the UI can work with.\n *\n * This file defines the metadata for worlds that can be selected in the\n * configuration UI. Worlds are dynamically loaded at runtime - they don't\n * need to be direct dependencies of the web package.\n */\n\nexport interface KnownWorld {\n /** Unique identifier used in the UI and query params */\n id: string;\n /** Human-readable display name */\n displayName: string;\n /** npm package name (or null for built-in worlds) */\n packageName: string | null;\n /** Short description of the world */\n description: string;\n /** Whether this world is bundled with @workflow/core */\n isBuiltIn: boolean;\n}\n\n/**\n * List of known worlds that can be configured in the UI.\n *\n * Built-in worlds (local, vercel) are always available as they're bundled\n * with @workflow/core. Third-party worlds need to be installed separately.\n */\nexport const KNOWN_WORLDS: KnownWorld[] = [\n {\n id: 'local',\n displayName: 'Local',\n packageName: null,\n description:\n 'Local file-based storage with no dependencies, ideal for development',\n isBuiltIn: true,\n },\n {\n id: 'vercel',\n displayName: 'Vercel',\n packageName: null,\n description: 'Vercel-managed storage and queue',\n isBuiltIn: true,\n },\n {\n id: 'postgres',\n displayName: 'PostgreSQL',\n packageName: '@workflow/world-postgres',\n description: 'PostgreSQL-based storage with pg-boss queue',\n isBuiltIn: false,\n },\n];\n","export {validateWorldConfig as '40d86b6e96ebd802458d42c4383f0c2051756707d1'} from 'ACTIONS_MODULE0'\nexport {checkWorldsAvailability as '00a97fda922ce43f9e315172e876280c7fec1a435d'} from 'ACTIONS_MODULE0'\nexport {cancelRun as '60bdce756c21f3ea3c6b86aadc9820c5e22fbf25f0'} from 'ACTIONS_MODULE1'\nexport {fetchEvents as '703908c645fa86e5e39d59baac7650bc5017def27b'} from 'ACTIONS_MODULE1'\nexport {fetchEventsByCorrelationId as '70162e60c50fe5a5f045341b82ffdbd4b9d97e1874'} from 'ACTIONS_MODULE1'\nexport {fetchHook as '70ef3ceccbe957f33871d286437c0681630fa9b812'} from 'ACTIONS_MODULE1'\nexport {fetchHooks as '6004f0fd7809f072d35e39e584a47ae25dfd557cac'} from 'ACTIONS_MODULE1'\nexport {fetchRun as '708c4e62009e15a262ae73b3f6de4ed078245705e7'} from 'ACTIONS_MODULE1'\nexport {fetchRuns as '60ae2f7330615cfb4d1b7adbbb6f7df0e9735b64f8'} from 'ACTIONS_MODULE1'\nexport {fetchStep as '78bf1af4e53aabd7e087fb91787bd1ba0f921c66fb'} from 'ACTIONS_MODULE1'\nexport {fetchSteps as '70a2aadfbd002d94309ec6b17d5cbfe480de543636'} from 'ACTIONS_MODULE1'\nexport {readStreamServerAction as '70044f05675b66ab708aae3bbe3f3d6cb983ffa328'} from 'ACTIONS_MODULE1'\nexport {recreateRun as '60c8a6c7f4ee51f67872eefa4cbac76360b913bc7b'} from 'ACTIONS_MODULE1'\n"],"names":["registerServerReference","ensureServerEntryExports","actions","i","length","action","Error"],"mappings":"6CACA,IAAI,EAAY,OAAO,cAAc,CACjC,EAAmB,OAAO,wBAAwB,CAClD,EAAoB,OAAO,mBAAmB,CAC9C,EAAe,OAAO,SAAS,CAAC,cAAc,CAc9C,EAAsB,CAAC,EAbH,EAcM,CAC5B,qBAAsB,IAAM,CAC9B,EAfE,IAAK,IAAI,KAAQ,EACf,EAYK,EAZa,EAAM,CAAE,GAAhB,CAAqB,CAAG,CAAC,EAAK,CAAE,WAAY,EAAK,GAe/D,EAAO,OAAO,CALc,CARV,CAAC,AAaF,EAbM,IAAc,KACnC,GAAI,GAAwB,UAAhB,OAAO,GAAqC,YAAhB,AAA4B,OAArB,EAC7C,IAAK,IAAI,KAAO,EAAkB,GAC5B,AAAC,EAAa,CAAlB,GAAsB,CAAC,EAAI,SAHJ,IAGY,GACjC,EAAU,EAAI,CAD2B,CACtB,CAAE,IAAK,IAAM,CAAI,CAAC,EAAI,CAAE,WAAY,CAAC,CAAC,EAAO,EAAiB,EAAM,EAAA,CAAI,EAAK,EAAK,UAAU,AA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rB,AAAC,CANsB,CAMf,WAAW,CAAC,UAAU,CAAC,gBAC9B,EAAD,AAAQ,WAAW,CAAC,UAAU,CAAC,kBAC/B,AACA,EAAO,IAAI,CAAC,CACV,MAAO,cACP,QACE,4FACJ,GAZA,EAAO,IAAI,CAAC,CACV,MAAO,cACP,QAAS,0CACX,IAaG,CACT,iCAzFsB,EAqCA,IArCA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,MAqCA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,uGEjFtB,IAAA,EAAA,EAAA,CAAA,CAAA,OAEA,EAAA,EAAA,CAAA,CAAA","ignoreList":[0,1,2]}
@@ -1,4 +1,4 @@
1
1
  module.exports=[42532,(a,b,c)=>{"use strict";var d=Object.defineProperty,e=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,g=Object.prototype.hasOwnProperty,h={},i={VercelOidcTokenError:()=>k};for(var j in i)d(h,j,{get:i[j],enumerable:!0});b.exports=((a,b,c,h)=>{if(b&&"object"==typeof b||"function"==typeof b)for(let c of f(b))g.call(a,c)||void 0===c||d(a,c,{get:()=>b[c],enumerable:!(h=e(b,c))||h.enumerable});return a})(d({},"__esModule",{value:!0}),h);class k extends Error{constructor(a,b){super(a),this.name="VercelOidcTokenError",this.cause=b}toString(){return this.cause?`${this.name}: ${this.message}: ${this.cause}`:`${this.name}: ${this.message}`}}},46786,(a,b,c)=>{b.exports=a.x("os",()=>require("os"))},46716,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(82184)},2157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},44376,(a,b,c)=>{b.exports=a.x("node:module",()=>require("node:module"))},50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},62001,(a,b,c)=>{"use strict";function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
2
- Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},83153,a=>{"use strict";var b=a.i(46716),c=a.i(2157),d=a.i(44376),e=a.i(50227);let f=[{id:"local",displayName:"Local",packageName:null,description:"Local file-based storage with no dependencies, ideal for development",isBuiltIn:!0},{id:"vercel",displayName:"Vercel",packageName:null,description:"Vercel-managed storage and queue",isBuiltIn:!0},{id:"postgres",displayName:"PostgreSQL",packageName:"@workflow/world-postgres",description:"PostgreSQL-based storage with pg-boss queue",isBuiltIn:!1}];var g=a.i(62001);let h=(0,d.createRequire)((0,e.join)(process.cwd(),"index.js"));async function i(){return f.map(a=>{let b={id:a.id,displayName:a.displayName,packageName:a.packageName,description:a.description,isBuiltIn:a.isBuiltIn,isInstalled:a.isBuiltIn};if(!a.isBuiltIn&&a.packageName)try{h.resolve(a.packageName),b.isInstalled=!0}catch{b.isInstalled=!1,b.installCommand=`npm install ${a.packageName}`}return b})}async function j(a){let b=[],d=a.backend||"local";if("local"===d){if(a.dataDir){let d=(0,e.resolve)(a.dataDir);(0,c.existsSync)(d)||b.push({field:"dataDir",message:`Data directory does not exist: ${d}`})}if(a.port){let c=Number.parseInt(a.port,10);(Number.isNaN(c)||c<1||c>65535)&&b.push({field:"port",message:"Port must be a number between 1 and 65535"})}}return"postgres"===d&&(a.postgresUrl?a.postgresUrl.startsWith("postgres://")||a.postgresUrl.startsWith("postgresql://")||b.push({field:"postgresUrl",message:"Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)"}):b.push({field:"postgresUrl",message:"PostgreSQL connection string is required"})),b}(0,g.ensureServerEntryExports)([i,j]),(0,b.registerServerReference)(i,"00e7090a0e9d10247dc00d78871326c406dba1eebd",null),(0,b.registerServerReference)(j,"4032537ab6a3ad9eba4df7793874685fe3aae4b8db",null),a.s(["checkWorldsAvailability",()=>i,"validateWorldConfig",()=>j],83153)},47239,a=>{"use strict";var b=a.i(83153),c=a.i(76527);a.s([],74356),a.i(74356),a.s(["00e7090a0e9d10247dc00d78871326c406dba1eebd",()=>b.checkWorldsAvailability,"4032537ab6a3ad9eba4df7793874685fe3aae4b8db",()=>b.validateWorldConfig,"6047ee636f7990a0196eaef756fb50484ae8d9593d",()=>c.cancelRun,"605182142f891d89e4c0555475fee27f9b074fdf8c",()=>c.fetchRuns,"60b4c80cdba6809b0e657b80f7bc428132df364129",()=>c.recreateRun,"60df0db10549a1f80823ff4952c35de9944489c7d9",()=>c.fetchHooks,"701c4be22594ab998772498ff3c555ed8217ff984e",()=>c.fetchSteps,"702b58cdb0e3fea4d5c166d12eb9a4d56514a7906f",()=>c.fetchRun,"707f335fc4756d24b28b1aecaf253ec3d3c360edd1",()=>c.readStreamServerAction,"70b07885a8aa3b0fb278296b7a04692db6b0769128",()=>c.fetchEvents,"70c0ec6d6d0c65573d206836358cd160f397a8d936",()=>c.fetchHook,"70f506d3e7ec39ae905a1f67a3a9dc7afe59188b90",()=>c.fetchEventsByCorrelationId,"786efa9ac298acede46c81f4b1f928ec71f039709f",()=>c.fetchStep],47239)},73191,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f5724172._.js"].map(b=>a.l(b))).then(()=>b(16885)))},74458,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__e786fe02._.js"].map(b=>a.l(b))).then(()=>b(20384)))},74052,a=>{a.v(a=>Promise.resolve().then(()=>a(51565)))}];
2
+ Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},83153,a=>{"use strict";var b=a.i(46716),c=a.i(2157),d=a.i(44376),e=a.i(50227);let f=[{id:"local",displayName:"Local",packageName:null,description:"Local file-based storage with no dependencies, ideal for development",isBuiltIn:!0},{id:"vercel",displayName:"Vercel",packageName:null,description:"Vercel-managed storage and queue",isBuiltIn:!0},{id:"postgres",displayName:"PostgreSQL",packageName:"@workflow/world-postgres",description:"PostgreSQL-based storage with pg-boss queue",isBuiltIn:!1}];var g=a.i(62001);let h=(0,d.createRequire)((0,e.join)(process.cwd(),"index.js"));async function i(){return f.map(a=>{let b={id:a.id,displayName:a.displayName,packageName:a.packageName,description:a.description,isBuiltIn:a.isBuiltIn,isInstalled:a.isBuiltIn};if(!a.isBuiltIn&&a.packageName)try{h.resolve(a.packageName),b.isInstalled=!0}catch{b.isInstalled=!1,b.installCommand=`npm install ${a.packageName}`}return b})}async function j(a){let b=[],d=a.backend||"local";if("local"===d){if(a.dataDir){let d=(0,e.resolve)(a.dataDir);(0,c.existsSync)(d)||b.push({field:"dataDir",message:`Data directory does not exist: ${d}`})}if(a.port){let c=Number.parseInt(a.port,10);(Number.isNaN(c)||c<1||c>65535)&&b.push({field:"port",message:"Port must be a number between 1 and 65535"})}}return"postgres"===d&&(a.postgresUrl?a.postgresUrl.startsWith("postgres://")||a.postgresUrl.startsWith("postgresql://")||b.push({field:"postgresUrl",message:"Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)"}):b.push({field:"postgresUrl",message:"PostgreSQL connection string is required"})),b}(0,g.ensureServerEntryExports)([i,j]),(0,b.registerServerReference)(i,"00a97fda922ce43f9e315172e876280c7fec1a435d",null),(0,b.registerServerReference)(j,"40d86b6e96ebd802458d42c4383f0c2051756707d1",null),a.s(["checkWorldsAvailability",()=>i,"validateWorldConfig",()=>j],83153)},47239,a=>{"use strict";var b=a.i(83153),c=a.i(76527);a.s([],74356),a.i(74356),a.s(["00a97fda922ce43f9e315172e876280c7fec1a435d",()=>b.checkWorldsAvailability,"40d86b6e96ebd802458d42c4383f0c2051756707d1",()=>b.validateWorldConfig,"6004f0fd7809f072d35e39e584a47ae25dfd557cac",()=>c.fetchHooks,"60ae2f7330615cfb4d1b7adbbb6f7df0e9735b64f8",()=>c.fetchRuns,"60bdce756c21f3ea3c6b86aadc9820c5e22fbf25f0",()=>c.cancelRun,"60c8a6c7f4ee51f67872eefa4cbac76360b913bc7b",()=>c.recreateRun,"70044f05675b66ab708aae3bbe3f3d6cb983ffa328",()=>c.readStreamServerAction,"70162e60c50fe5a5f045341b82ffdbd4b9d97e1874",()=>c.fetchEventsByCorrelationId,"703908c645fa86e5e39d59baac7650bc5017def27b",()=>c.fetchEvents,"708c4e62009e15a262ae73b3f6de4ed078245705e7",()=>c.fetchRun,"70a2aadfbd002d94309ec6b17d5cbfe480de543636",()=>c.fetchSteps,"70ef3ceccbe957f33871d286437c0681630fa9b812",()=>c.fetchHook,"78bf1af4e53aabd7e087fb91787bd1ba0f921c66fb",()=>c.fetchStep],47239)},73191,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f5724172._.js"].map(b=>a.l(b))).then(()=>b(16885)))},74458,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__e786fe02._.js"].map(b=>a.l(b))).then(()=>b(20384)))},74052,a=>{a.v(a=>Promise.resolve().then(()=>a(51565)))}];
3
3
 
4
4
  //# sourceMappingURL=%5Broot-of-the-server%5D__d4909843._.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../node_modules/.pnpm/%40vercel%2Boidc%403.0.5/node_modules/%40vercel/oidc/dist/token-error.js","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/build/webpack/loaders/next-flight-loader/server-reference.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/build/webpack/loaders/next-flight-loader/action-validate.ts","../../../../../../packages/web/src/lib/config-world.ts","../../../../../../packages/web/src/lib/known-worlds.ts","../../../../../../packages/web/.next-internal/server/app/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar token_error_exports = {};\n__export(token_error_exports, {\n VercelOidcTokenError: () => VercelOidcTokenError\n});\nmodule.exports = __toCommonJS(token_error_exports);\nclass VercelOidcTokenError extends Error {\n constructor(message, cause) {\n super(message);\n this.name = \"VercelOidcTokenError\";\n this.cause = cause;\n }\n toString() {\n if (this.cause) {\n return `${this.name}: ${this.message}: ${this.cause}`;\n }\n return `${this.name}: ${this.message}`;\n }\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n VercelOidcTokenError\n});\n","/* eslint-disable import/no-extraneous-dependencies */\nexport { registerServerReference } from 'react-server-dom-webpack/server'\n","// This function ensures that all the exported values are valid server actions,\n// during the runtime. By definition all actions are required to be async\n// functions, but here we can only check that they are functions.\nexport function ensureServerEntryExports(actions: any[]) {\n for (let i = 0; i < actions.length; i++) {\n const action = actions[i]\n if (typeof action !== 'function') {\n throw new Error(\n `A \"use server\" file can only export async functions, found ${typeof action}.\\nRead more: https://nextjs.org/docs/messages/invalid-use-server-value`\n )\n }\n }\n}\n","'use server';\n\nimport { existsSync } from 'node:fs';\nimport { createRequire } from 'node:module';\nimport { join, resolve } from 'node:path';\nimport { KNOWN_WORLDS, type KnownWorld } from './known-worlds';\n\nconst require = createRequire(join(process.cwd(), 'index.js'));\n\nexport interface WorldConfig {\n backend?: string;\n env?: string;\n authToken?: string;\n project?: string;\n team?: string;\n port?: string;\n dataDir?: string;\n // Postgres fields\n postgresUrl?: string;\n}\n\nexport interface ValidationError {\n field: string;\n message: string;\n}\n\nexport interface WorldAvailability {\n id: string;\n displayName: string;\n packageName: string | null;\n description: string;\n isBuiltIn: boolean;\n isInstalled: boolean;\n installCommand?: string;\n}\n\n/**\n * Check which world packages are installed.\n *\n * Built-in worlds (local, vercel) are always available.\n * Third-party worlds are checked by attempting to resolve their package.\n */\nexport async function checkWorldsAvailability(): Promise<WorldAvailability[]> {\n return KNOWN_WORLDS.map((world: KnownWorld) => {\n const availability: WorldAvailability = {\n id: world.id,\n displayName: world.displayName,\n packageName: world.packageName,\n description: world.description,\n isBuiltIn: world.isBuiltIn,\n isInstalled: world.isBuiltIn, // Built-in worlds are always installed\n };\n\n // For non-built-in worlds, try to resolve the package\n if (!world.isBuiltIn && world.packageName) {\n try {\n require.resolve(world.packageName);\n availability.isInstalled = true;\n } catch {\n availability.isInstalled = false;\n availability.installCommand = `npm install ${world.packageName}`;\n }\n }\n\n return availability;\n });\n}\n\n// Validate configuration and return errors if any\nexport async function validateWorldConfig(\n config: WorldConfig\n): Promise<ValidationError[]> {\n const errors: ValidationError[] = [];\n const backend = config.backend || 'local';\n\n if (backend === 'local') {\n // Check if data directory exists\n if (config.dataDir) {\n const resolvedPath = resolve(config.dataDir);\n if (!existsSync(resolvedPath)) {\n errors.push({\n field: 'dataDir',\n message: `Data directory does not exist: ${resolvedPath}`,\n });\n }\n }\n\n // Validate port if provided\n if (config.port) {\n const portNum = Number.parseInt(config.port, 10);\n if (Number.isNaN(portNum) || portNum < 1 || portNum > 65535) {\n errors.push({\n field: 'port',\n message: 'Port must be a number between 1 and 65535',\n });\n }\n }\n }\n\n if (backend === 'postgres') {\n // Validate postgres connection string\n if (!config.postgresUrl) {\n errors.push({\n field: 'postgresUrl',\n message: 'PostgreSQL connection string is required',\n });\n } else if (\n !config.postgresUrl.startsWith('postgres://') &&\n !config.postgresUrl.startsWith('postgresql://')\n ) {\n errors.push({\n field: 'postgresUrl',\n message:\n 'Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)',\n });\n }\n }\n\n return errors;\n}\n","/**\n * Registry of known world packages that the UI can work with.\n *\n * This file defines the metadata for worlds that can be selected in the\n * configuration UI. Worlds are dynamically loaded at runtime - they don't\n * need to be direct dependencies of the web package.\n */\n\nexport interface KnownWorld {\n /** Unique identifier used in the UI and query params */\n id: string;\n /** Human-readable display name */\n displayName: string;\n /** npm package name (or null for built-in worlds) */\n packageName: string | null;\n /** Short description of the world */\n description: string;\n /** Whether this world is bundled with @workflow/core */\n isBuiltIn: boolean;\n}\n\n/**\n * List of known worlds that can be configured in the UI.\n *\n * Built-in worlds (local, vercel) are always available as they're bundled\n * with @workflow/core. Third-party worlds need to be installed separately.\n */\nexport const KNOWN_WORLDS: KnownWorld[] = [\n {\n id: 'local',\n displayName: 'Local',\n packageName: null,\n description:\n 'Local file-based storage with no dependencies, ideal for development',\n isBuiltIn: true,\n },\n {\n id: 'vercel',\n displayName: 'Vercel',\n packageName: null,\n description: 'Vercel-managed storage and queue',\n isBuiltIn: true,\n },\n {\n id: 'postgres',\n displayName: 'PostgreSQL',\n packageName: '@workflow/world-postgres',\n description: 'PostgreSQL-based storage with pg-boss queue',\n isBuiltIn: false,\n },\n];\n","export {validateWorldConfig as '4032537ab6a3ad9eba4df7793874685fe3aae4b8db'} from 'ACTIONS_MODULE0'\nexport {checkWorldsAvailability as '00e7090a0e9d10247dc00d78871326c406dba1eebd'} from 'ACTIONS_MODULE0'\nexport {cancelRun as '6047ee636f7990a0196eaef756fb50484ae8d9593d'} from 'ACTIONS_MODULE1'\nexport {fetchEvents as '70b07885a8aa3b0fb278296b7a04692db6b0769128'} from 'ACTIONS_MODULE1'\nexport {fetchEventsByCorrelationId as '70f506d3e7ec39ae905a1f67a3a9dc7afe59188b90'} from 'ACTIONS_MODULE1'\nexport {fetchHook as '70c0ec6d6d0c65573d206836358cd160f397a8d936'} from 'ACTIONS_MODULE1'\nexport {fetchHooks as '60df0db10549a1f80823ff4952c35de9944489c7d9'} from 'ACTIONS_MODULE1'\nexport {fetchRun as '702b58cdb0e3fea4d5c166d12eb9a4d56514a7906f'} from 'ACTIONS_MODULE1'\nexport {fetchRuns as '605182142f891d89e4c0555475fee27f9b074fdf8c'} from 'ACTIONS_MODULE1'\nexport {fetchStep as '786efa9ac298acede46c81f4b1f928ec71f039709f'} from 'ACTIONS_MODULE1'\nexport {fetchSteps as '701c4be22594ab998772498ff3c555ed8217ff984e'} from 'ACTIONS_MODULE1'\nexport {readStreamServerAction as '707f335fc4756d24b28b1aecaf253ec3d3c360edd1'} from 'ACTIONS_MODULE1'\nexport {recreateRun as '60b4c80cdba6809b0e657b80f7bc428132df364129'} from 'ACTIONS_MODULE1'\n"],"names":["registerServerReference","ensureServerEntryExports","actions","i","length","action","Error"],"mappings":"6CACA,IAAI,EAAY,OAAO,cAAc,CACjC,EAAmB,OAAO,wBAAwB,CAClD,EAAoB,OAAO,mBAAmB,CAC9C,EAAe,OAAO,SAAS,CAAC,cAAc,CAc9C,EAAsB,CAAC,EAbH,EAcM,CAC5B,qBAAsB,IAAM,CAC9B,EAfE,IAAK,IAAI,KAAQ,EACf,EAYK,EAZa,EAAM,CAAE,GAAhB,CAAqB,CAAG,CAAC,EAAK,CAAE,WAAY,EAAK,GAe/D,EAAO,OAAO,CALc,CARV,CAAC,AAaF,EAbM,IAAc,KACnC,GAAI,GAAwB,UAAhB,OAAO,GAAqC,YAAhB,AAA4B,OAArB,EAC7C,IAAK,IAAI,KAAO,EAAkB,GAC5B,AAAC,EAAa,CAAlB,GAAsB,CAAC,EAAI,SAHJ,IAGY,GACjC,EAAU,EAAI,CAD2B,CACtB,CAAE,IAAK,IAAM,CA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CACV,MAAO,OACP,QAAS,2CACX,EAEJ,CACF,CAqBA,MAnBgB,YAAY,CAAxB,IAEG,EAAO,WAAW,CAMrB,AAAC,CANsB,CAMf,WAAW,CAAC,UAAU,CAAC,gBAC9B,EAAD,AAAQ,WAAW,CAAC,UAAU,CAAC,kBAC/B,AACA,EAAO,IAAI,CAAC,CACV,MAAO,cACP,QACE,4FACJ,GAZA,EAAO,IAAI,CAAC,CACV,MAAO,cACP,QAAS,0CACX,IAaG,CACT,iCA7EsB,EA2BA,IA3BA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,MA2BA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,uGErEtB,IAAA,EAAA,EAAA,CAAA,CAAA,OAEA,EAAA,EAAA,CAAA,CAAA","ignoreList":[0,1,2]}
1
+ {"version":3,"sources":["../../../../../../node_modules/.pnpm/%40vercel%2Boidc%403.0.5/node_modules/%40vercel/oidc/dist/token-error.js","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/build/webpack/loaders/next-flight-loader/server-reference.ts","../../../../../../node_modules/.pnpm/next%4016.0.7_%40opentelemetry%2Bapi%401.9.0_react-dom%4019.1.0_react%4019.1.0__react%4019.1.0/node_modules/next/src/build/webpack/loaders/next-flight-loader/action-validate.ts","../../../../../../packages/web/src/lib/config-world.ts","../../../../../../packages/web/src/lib/known-worlds.ts","../../../../../../packages/web/.next-internal/server/app/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar token_error_exports = {};\n__export(token_error_exports, {\n VercelOidcTokenError: () => VercelOidcTokenError\n});\nmodule.exports = __toCommonJS(token_error_exports);\nclass VercelOidcTokenError extends Error {\n constructor(message, cause) {\n super(message);\n this.name = \"VercelOidcTokenError\";\n this.cause = cause;\n }\n toString() {\n if (this.cause) {\n return `${this.name}: ${this.message}: ${this.cause}`;\n }\n return `${this.name}: ${this.message}`;\n }\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n VercelOidcTokenError\n});\n","/* eslint-disable import/no-extraneous-dependencies */\nexport { registerServerReference } from 'react-server-dom-webpack/server'\n","// This function ensures that all the exported values are valid server actions,\n// during the runtime. By definition all actions are required to be async\n// functions, but here we can only check that they are functions.\nexport function ensureServerEntryExports(actions: any[]) {\n for (let i = 0; i < actions.length; i++) {\n const action = actions[i]\n if (typeof action !== 'function') {\n throw new Error(\n `A \"use server\" file can only export async functions, found ${typeof action}.\\nRead more: https://nextjs.org/docs/messages/invalid-use-server-value`\n )\n }\n }\n}\n","'use server';\n\nimport { existsSync } from 'node:fs';\nimport { createRequire } from 'node:module';\nimport { join, resolve } from 'node:path';\nimport { KNOWN_WORLDS, type KnownWorld } from './known-worlds';\n\nconst require = createRequire(join(process.cwd(), 'index.js'));\n\nexport interface WorldConfig {\n backend?: string;\n env?: string;\n authToken?: string;\n project?: string;\n team?: string;\n port?: string;\n dataDir?: string;\n // Path to the workflow manifest file (defaults to app/.well-known/workflow/v1/manifest.json)\n manifestPath?: string;\n // Postgres fields\n postgresUrl?: string;\n}\n\nexport interface ValidationError {\n field: string;\n message: string;\n}\n\nexport interface WorldAvailability {\n id: string;\n displayName: string;\n packageName: string | null;\n description: string;\n isBuiltIn: boolean;\n isInstalled: boolean;\n installCommand?: string;\n}\n\n/**\n * Check which world packages are installed.\n *\n * Built-in worlds (local, vercel) are always available.\n * Third-party worlds are checked by attempting to resolve their package.\n */\nexport async function checkWorldsAvailability(): Promise<WorldAvailability[]> {\n return KNOWN_WORLDS.map((world: KnownWorld) => {\n const availability: WorldAvailability = {\n id: world.id,\n displayName: world.displayName,\n packageName: world.packageName,\n description: world.description,\n isBuiltIn: world.isBuiltIn,\n isInstalled: world.isBuiltIn, // Built-in worlds are always installed\n };\n\n // For non-built-in worlds, try to resolve the package\n if (!world.isBuiltIn && world.packageName) {\n try {\n require.resolve(world.packageName);\n availability.isInstalled = true;\n } catch {\n availability.isInstalled = false;\n availability.installCommand = `npm install ${world.packageName}`;\n }\n }\n\n return availability;\n });\n}\n\nexport interface ValidationWarning {\n field: string;\n message: string;\n}\n\nexport interface ValidationResult {\n errors: ValidationError[];\n warnings: ValidationWarning[];\n}\n\n// Validate configuration and return errors/warnings\nexport async function validateWorldConfig(\n config: WorldConfig\n): Promise<ValidationError[]> {\n const errors: ValidationError[] = [];\n const backend = config.backend || 'local';\n\n if (backend === 'local') {\n // Check if data directory exists\n if (config.dataDir) {\n const resolvedPath = resolve(config.dataDir);\n if (!existsSync(resolvedPath)) {\n errors.push({\n field: 'dataDir',\n message: `Data directory does not exist: ${resolvedPath}`,\n });\n }\n }\n\n // Validate port if provided\n if (config.port) {\n const portNum = Number.parseInt(config.port, 10);\n if (Number.isNaN(portNum) || portNum < 1 || portNum > 65535) {\n errors.push({\n field: 'port',\n message: 'Port must be a number between 1 and 65535',\n });\n }\n }\n // Note: dataDir and manifestPath are optional and don't require validation\n // The server action will try multiple paths and gracefully handle missing files\n }\n\n if (backend === 'postgres') {\n // Validate postgres connection string\n if (!config.postgresUrl) {\n errors.push({\n field: 'postgresUrl',\n message: 'PostgreSQL connection string is required',\n });\n } else if (\n !config.postgresUrl.startsWith('postgres://') &&\n !config.postgresUrl.startsWith('postgresql://')\n ) {\n errors.push({\n field: 'postgresUrl',\n message:\n 'Invalid PostgreSQL connection string format (must start with postgres:// or postgresql://)',\n });\n }\n }\n\n return errors;\n}\n","/**\n * Registry of known world packages that the UI can work with.\n *\n * This file defines the metadata for worlds that can be selected in the\n * configuration UI. Worlds are dynamically loaded at runtime - they don't\n * need to be direct dependencies of the web package.\n */\n\nexport interface KnownWorld {\n /** Unique identifier used in the UI and query params */\n id: string;\n /** Human-readable display name */\n displayName: string;\n /** npm package name (or null for built-in worlds) */\n packageName: string | null;\n /** Short description of the world */\n description: string;\n /** Whether this world is bundled with @workflow/core */\n isBuiltIn: boolean;\n}\n\n/**\n * List of known worlds that can be configured in the UI.\n *\n * Built-in worlds (local, vercel) are always available as they're bundled\n * with @workflow/core. Third-party worlds need to be installed separately.\n */\nexport const KNOWN_WORLDS: KnownWorld[] = [\n {\n id: 'local',\n displayName: 'Local',\n packageName: null,\n description:\n 'Local file-based storage with no dependencies, ideal for development',\n isBuiltIn: true,\n },\n {\n id: 'vercel',\n displayName: 'Vercel',\n packageName: null,\n description: 'Vercel-managed storage and queue',\n isBuiltIn: true,\n },\n {\n id: 'postgres',\n displayName: 'PostgreSQL',\n packageName: '@workflow/world-postgres',\n description: 'PostgreSQL-based storage with pg-boss queue',\n isBuiltIn: false,\n },\n];\n","export {validateWorldConfig as '40d86b6e96ebd802458d42c4383f0c2051756707d1'} from 'ACTIONS_MODULE0'\nexport {checkWorldsAvailability as '00a97fda922ce43f9e315172e876280c7fec1a435d'} from 'ACTIONS_MODULE0'\nexport {cancelRun as '60bdce756c21f3ea3c6b86aadc9820c5e22fbf25f0'} from 'ACTIONS_MODULE1'\nexport {fetchEvents as '703908c645fa86e5e39d59baac7650bc5017def27b'} from 'ACTIONS_MODULE1'\nexport {fetchEventsByCorrelationId as '70162e60c50fe5a5f045341b82ffdbd4b9d97e1874'} from 'ACTIONS_MODULE1'\nexport {fetchHook as '70ef3ceccbe957f33871d286437c0681630fa9b812'} from 'ACTIONS_MODULE1'\nexport {fetchHooks as '6004f0fd7809f072d35e39e584a47ae25dfd557cac'} from 'ACTIONS_MODULE1'\nexport {fetchRun as '708c4e62009e15a262ae73b3f6de4ed078245705e7'} from 'ACTIONS_MODULE1'\nexport {fetchRuns as '60ae2f7330615cfb4d1b7adbbb6f7df0e9735b64f8'} from 'ACTIONS_MODULE1'\nexport {fetchStep as '78bf1af4e53aabd7e087fb91787bd1ba0f921c66fb'} from 'ACTIONS_MODULE1'\nexport {fetchSteps as '70a2aadfbd002d94309ec6b17d5cbfe480de543636'} from 'ACTIONS_MODULE1'\nexport {readStreamServerAction as '70044f05675b66ab708aae3bbe3f3d6cb983ffa328'} from 'ACTIONS_MODULE1'\nexport {recreateRun as '60c8a6c7f4ee51f67872eefa4cbac76360b913bc7b'} from 'ACTIONS_MODULE1'\n"],"names":["registerServerReference","ensureServerEntryExports","actions","i","length","action","Error"],"mappings":"6CACA,IAAI,EAAY,OAAO,cAAc,CACjC,EAAmB,OAAO,wBAAwB,CAClD,EAAoB,OAAO,mBAAmB,CAC9C,EAAe,OAAO,SAAS,CAAC,cAAc,CAc9C,EAAsB,CAAC,EAbH,EAcM,CAC5B,qBAAsB,IAAM,CAC9B,EAfE,IAAK,IAAI,KAAQ,EACf,EAYK,EAZa,EAAM,CAAE,GAAhB,CAAqB,CAAG,CAAC,EAAK,CAAE,WAAY,EAAK,GAe/D,EAAO,OAAO,CALc,CARV,CAAC,AAaF,EAbM,IAAc,KACnC,GAAI,GAAwB,UAAhB,OAAO,GAAqC,YAAhB,AAA4B,OAArB,EAC7C,IAAK,IAAI,KAAO,EAAkB,GAC5B,AAAC,EAAa,CAAlB,GAAsB,CAAC,EAAI,SAHJ,IAGY,GACjC,EAAU,EAAI,CAD2B,CACtB,CAAE,IAAK,IAAM,CAAI,CAAC,EAAI,CAAE,WAAY,CAAC,CAAC,EAAO,EAAiB,EAAM,EAAA,CAAI,EAAK,EAAK,UAAU,AAAC,GAEtH,OAA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,CAMf,WAAW,CAAC,UAAU,CAAC,gBAC9B,EAAD,AAAQ,WAAW,CAAC,UAAU,CAAC,kBAC/B,AACA,EAAO,IAAI,CAAC,CACV,MAAO,cACP,QACE,4FACJ,GAZA,EAAO,IAAI,CAAC,CACV,MAAO,cACP,QAAS,0CACX,IAaG,CACT,iCAzFsB,EAqCA,IArCA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,MAqCA,CAAA,EAAA,EAAA,uBAAA,EAAA,EAAA,6CAAA,uGEjFtB,IAAA,EAAA,EAAA,CAAA,CAAA,OAEA,EAAA,EAAA,CAAA,CAAA","ignoreList":[0,1,2]}
@@ -9,6 +9,6 @@ module.exports=[89578,a=>{a.v({className:"geist_a71539c9-module__T19VSG__classNa
9
9
  Read more: https://nextjs.org/docs/messages/middleware-request-page
10
10
  `)}}class h extends Error{constructor(){super(`The request.ua has been removed in favour of \`userAgent\` function.
11
11
  Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent
12
- `)}}},46030,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={RequestCookies:function(){return f.RequestCookies},ResponseCookies:function(){return f.ResponseCookies},stringifyCookie:function(){return f.stringifyCookie}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(12139)},80798,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={INTERNALS:function(){return j},NextRequest:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(46314),g=a.r(81987),h=a.r(61242),i=a.r(46030),j=Symbol("internal request");class k extends Request{constructor(a,b={}){const c="string"!=typeof a&&"url"in a?a.url:String(a);(0,g.validateURL)(c),b.body&&"half"!==b.duplex&&(b.duplex="half"),a instanceof Request?super(a,b):super(c,b);const d=new f.NextURL(c,{headers:(0,g.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:b.nextConfig});this[j]={cookies:new i.RequestCookies(this.headers),nextUrl:d,url:d.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[j].cookies}get nextUrl(){return this[j].nextUrl}get page(){throw new h.RemovedPageError}get ua(){throw new h.RemovedUAError}get url(){return this[j].url}}},97455,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ReflectAdapter",{enumerable:!0,get:function(){return d}});class d{static get(a,b,c){let d=Reflect.get(a,b,c);return"function"==typeof d?d.bind(a):d}static set(a,b,c,d){return Reflect.set(a,b,c,d)}static has(a,b){return Reflect.has(a,b)}static deleteProperty(a,b){return Reflect.deleteProperty(a,b)}}},87422,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"NextResponse",{enumerable:!0,get:function(){return l}});let d=a.r(46030),e=a.r(46314),f=a.r(81987),g=a.r(97455),h=a.r(46030),i=Symbol("internal response"),j=new Set([301,302,303,307,308]);function k(a,b){var c;if(null==a||null==(c=a.request)?void 0:c.headers){if(!(a.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let c=[];for(let[d,e]of a.request.headers)b.set("x-middleware-request-"+d,e),c.push(d);b.set("x-middleware-override-headers",c.join(","))}}class l extends Response{constructor(a,b={}){super(a,b);const c=this.headers,j=new Proxy(new h.ResponseCookies(c),{get(a,e,f){switch(e){case"delete":case"set":return(...f)=>{let g=Reflect.apply(a[e],a,f),i=new Headers(c);return g instanceof h.ResponseCookies&&c.set("x-middleware-set-cookie",g.getAll().map(a=>(0,d.stringifyCookie)(a)).join(",")),k(b,i),g};default:return g.ReflectAdapter.get(a,e,f)}}});this[i]={cookies:j,url:b.url?new e.NextURL(b.url,{headers:(0,f.toNodeOutgoingHttpHeaders)(c),nextConfig:b.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[i].cookies}static json(a,b){let c=Response.json(a,b);return new l(c.body,c)}static redirect(a,b){let c="number"==typeof b?b:(null==b?void 0:b.status)??307;if(!j.has(c))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});let d="object"==typeof b?b:{},e=new Headers(null==d?void 0:d.headers);return e.set("Location",(0,f.validateURL)(a)),new l(null,{...d,headers:e,status:c})}static rewrite(a,b){let c=new Headers(null==b?void 0:b.headers);return c.set("x-middleware-rewrite",(0,f.validateURL)(a)),k(b,c),new l(null,{...b,headers:c})}static next(a){let b=new Headers(null==a?void 0:a.headers);return b.set("x-middleware-next","1"),k(a,b),new l(null,{...a,headers:b})}}},91302,(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead'),"__NEXT_ERROR_CODE",{value:"E183",enumerable:!1,configurable:!0})}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ImageResponse",{enumerable:!0,get:function(){return d}})},72040,(a,b,c)=>{var d={226:function(b,c){!function(d,e){"use strict";var f="function",g="undefined",h="object",i="string",j="major",k="model",l="name",m="type",n="vendor",o="version",p="architecture",q="console",r="mobile",s="tablet",t="smarttv",u="wearable",v="embedded",w="Amazon",x="Apple",y="ASUS",z="BlackBerry",A="Browser",B="Chrome",C="Firefox",D="Google",E="Huawei",F="Microsoft",G="Motorola",H="Opera",I="Samsung",J="Sharp",K="Sony",L="Xiaomi",M="Zebra",N="Facebook",O="Chromium OS",P="Mac OS",Q=function(a,b){var c={};for(var d in a)b[d]&&b[d].length%2==0?c[d]=b[d].concat(a[d]):c[d]=a[d];return c},R=function(a){for(var b={},c=0;c<a.length;c++)b[a[c].toUpperCase()]=a[c];return b},S=function(a,b){return typeof a===i&&-1!==T(b).indexOf(T(a))},T=function(a){return a.toLowerCase()},U=function(a,b){if(typeof a===i)return a=a.replace(/^\s\s*/,""),typeof b===g?a:a.substring(0,350)},V=function(a,b){for(var c,d,e,g,i,j,k=0;k<b.length&&!i;){var l=b[k],m=b[k+1];for(c=d=0;c<l.length&&!i&&l[c];)if(i=l[c++].exec(a))for(e=0;e<m.length;e++)j=i[++d],typeof(g=m[e])===h&&g.length>0?2===g.length?typeof g[1]==f?this[g[0]]=g[1].call(this,j):this[g[0]]=g[1]:3===g.length?typeof g[1]!==f||g[1].exec&&g[1].test?this[g[0]]=j?j.replace(g[1],g[2]):void 0:this[g[0]]=j?g[1].call(this,j,g[2]):void 0:4===g.length&&(this[g[0]]=j?g[3].call(this,j.replace(g[1],g[2])):void 0):this[g]=j||void 0;k+=2}},W=function(a,b){for(var c in b)if(typeof b[c]===h&&b[c].length>0){for(var d=0;d<b[c].length;d++)if(S(b[c][d],a))return"?"===c?void 0:c}else if(S(b[c],a))return"?"===c?void 0:c;return a},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[o,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[o,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,o],[/opios[\/ ]+([\w\.]+)/i],[o,[l,H+" Mini"]],[/\bopr\/([\w\.]+)/i],[o,[l,H]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[l,o],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[o,[l,"UC"+A]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[o,[l,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[o,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[o,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[o,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[o,[l,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+A],o],[/\bfocus\/([\w\.]+)/i],[o,[l,C+" Focus"]],[/\bopt\/([\w\.]+)/i],[o,[l,H+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[o,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[o,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[o,[l,H+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[o,[l,"MIUI "+A]],[/fxios\/([-\w\.]+)/i],[o,[l,C]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 "+A]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 "+A],o],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],o],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[l,o],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,N],o],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[l,o],[/\bgsa\/([\w\.]+) .*safari\//i],[o,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[o,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[o,[l,B+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,B+" WebView"],o],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[o,[l,"Android "+A]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,o],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[o,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[o,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[o,W,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[l,o],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],o],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[o,[l,C+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[l,o],[/(cobalt)\/([\w\.]+)/i],[l,[o,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,T]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",T]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,T]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[k,[n,I],[m,s]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[k,[n,I],[m,r]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[k,[n,x],[m,r]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[k,[n,x],[m,s]],[/(macintosh);/i],[k,[n,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[k,[n,J],[m,r]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[k,[n,E],[m,s]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[k,[n,E],[m,r]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[k,/_/g," "],[n,L],[m,r]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[k,/_/g," "],[n,L],[m,s]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[k,[n,"OPPO"],[m,r]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[k,[n,"Vivo"],[m,r]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[k,[n,"Realme"],[m,r]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[k,[n,G],[m,r]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[k,[n,G],[m,s]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[k,[n,"LG"],[m,s]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[k,[n,"LG"],[m,r]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[k,[n,"Lenovo"],[m,s]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[k,/_/g," "],[n,"Nokia"],[m,r]],[/(pixel c)\b/i],[k,[n,D],[m,s]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[k,[n,D],[m,r]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[k,[n,K],[m,r]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[k,"Xperia Tablet"],[n,K],[m,s]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[k,[n,"OnePlus"],[m,r]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[k,[n,w],[m,s]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[k,/(.+)/g,"Fire Phone $1"],[n,w],[m,r]],[/(playbook);[-\w\),; ]+(rim)/i],[k,n,[m,s]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[k,[n,z],[m,r]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[k,[n,y],[m,s]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[k,[n,y],[m,r]],[/(nexus 9)/i],[k,[n,"HTC"],[m,s]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[n,[k,/_/g," "],[m,r]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[k,[n,"Acer"],[m,s]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[k,[n,"Meizu"],[m,r]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[n,k,[m,r]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[n,k,[m,s]],[/(surface duo)/i],[k,[n,F],[m,s]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[k,[n,"Fairphone"],[m,r]],[/(u304aa)/i],[k,[n,"AT&T"],[m,r]],[/\bsie-(\w*)/i],[k,[n,"Siemens"],[m,r]],[/\b(rct\w+) b/i],[k,[n,"RCA"],[m,s]],[/\b(venue[\d ]{2,7}) b/i],[k,[n,"Dell"],[m,s]],[/\b(q(?:mv|ta)\w+) b/i],[k,[n,"Verizon"],[m,s]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[k,[n,"Barnes & Noble"],[m,s]],[/\b(tm\d{3}\w+) b/i],[k,[n,"NuVision"],[m,s]],[/\b(k88) b/i],[k,[n,"ZTE"],[m,s]],[/\b(nx\d{3}j) b/i],[k,[n,"ZTE"],[m,r]],[/\b(gen\d{3}) b.+49h/i],[k,[n,"Swiss"],[m,r]],[/\b(zur\d{3}) b/i],[k,[n,"Swiss"],[m,s]],[/\b((zeki)?tb.*\b) b/i],[k,[n,"Zeki"],[m,s]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[n,"Dragon Touch"],k,[m,s]],[/\b(ns-?\w{0,9}) b/i],[k,[n,"Insignia"],[m,s]],[/\b((nxa|next)-?\w{0,9}) b/i],[k,[n,"NextBook"],[m,s]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[n,"Voice"],k,[m,r]],[/\b(lvtel\-)?(v1[12]) b/i],[[n,"LvTel"],k,[m,r]],[/\b(ph-1) /i],[k,[n,"Essential"],[m,r]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[k,[n,"Envizen"],[m,s]],[/\b(trio[-\w\. ]+) b/i],[k,[n,"MachSpeed"],[m,s]],[/\btu_(1491) b/i],[k,[n,"Rotor"],[m,s]],[/(shield[\w ]+) b/i],[k,[n,"Nvidia"],[m,s]],[/(sprint) (\w+)/i],[n,k,[m,r]],[/(kin\.[onetw]{3})/i],[[k,/\./g," "],[n,F],[m,r]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[k,[n,M],[m,s]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[k,[n,M],[m,r]],[/smart-tv.+(samsung)/i],[n,[m,t]],[/hbbtv.+maple;(\d+)/i],[[k,/^/,"SmartTV"],[n,I],[m,t]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[n,"LG"],[m,t]],[/(apple) ?tv/i],[n,[k,x+" TV"],[m,t]],[/crkey/i],[[k,B+"cast"],[n,D],[m,t]],[/droid.+aft(\w)( bui|\))/i],[k,[n,w],[m,t]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[k,[n,J],[m,t]],[/(bravia[\w ]+)( bui|\))/i],[k,[n,K],[m,t]],[/(mitv-\w{5}) bui/i],[k,[n,L],[m,t]],[/Hbbtv.*(technisat) (.*);/i],[n,k,[m,t]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[n,U],[k,U],[m,t]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,t]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[n,k,[m,q]],[/droid.+; (shield) bui/i],[k,[n,"Nvidia"],[m,q]],[/(playstation [345portablevi]+)/i],[k,[n,K],[m,q]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[k,[n,F],[m,q]],[/((pebble))app/i],[n,k,[m,u]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[k,[n,x],[m,u]],[/droid.+; (glass) \d/i],[k,[n,D],[m,u]],[/droid.+; (wt63?0{2,3})\)/i],[k,[n,M],[m,u]],[/(quest( 2| pro)?)/i],[k,[n,N],[m,u]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[n,[m,v]],[/(aeobc)\b/i],[k,[n,w],[m,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[k,[m,r]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[k,[m,s]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,s]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,r]],[/(android[-\w\. ]{0,9});.+buil/i],[k,[n,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[o,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[o,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[l,o],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[o,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,o],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[l,[o,W,X]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[l,"Windows"],[o,W,X]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[o,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,P],[o,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[o,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,o],[/\(bb(10);/i],[o,[l,z]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[o,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[o,[l,C+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[o,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[o,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[o,[l,B+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,O],o],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,o],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],o],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,o]]},Z=function(a,b){if(typeof a===h&&(b=a,a=void 0),!(this instanceof Z))return new Z(a,b).getResult();var c=typeof d!==g&&d.navigator?d.navigator:void 0,e=a||(c&&c.userAgent?c.userAgent:""),q=c&&c.userAgentData?c.userAgentData:void 0,t=b?Q(Y,b):Y,u=c&&c.userAgent==e;return this.getBrowser=function(){var a,b={};return b[l]=void 0,b[o]=void 0,V.call(b,e,t.browser),b[j]=typeof(a=b[o])===i?a.replace(/[^\d\.]/g,"").split(".")[0]:void 0,u&&c&&c.brave&&typeof c.brave.isBrave==f&&(b[l]="Brave"),b},this.getCPU=function(){var a={};return a[p]=void 0,V.call(a,e,t.cpu),a},this.getDevice=function(){var a={};return a[n]=void 0,a[k]=void 0,a[m]=void 0,V.call(a,e,t.device),u&&!a[m]&&q&&q.mobile&&(a[m]=r),u&&"Macintosh"==a[k]&&c&&typeof c.standalone!==g&&c.maxTouchPoints&&c.maxTouchPoints>2&&(a[k]="iPad",a[m]=s),a},this.getEngine=function(){var a={};return a[l]=void 0,a[o]=void 0,V.call(a,e,t.engine),a},this.getOS=function(){var a={};return a[l]=void 0,a[o]=void 0,V.call(a,e,t.os),u&&!a[l]&&q&&"Unknown"!=q.platform&&(a[l]=q.platform.replace(/chrome os/i,O).replace(/macos/i,P)),a},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return e},this.setUA=function(a){return e=typeof a===i&&a.length>350?U(a,350):a,this},this.setUA(e),this};if(Z.VERSION="1.0.35",Z.BROWSER=R([l,o,j]),Z.CPU=R([p]),Z.DEVICE=R([k,n,m,q,r,t,s,u,v]),Z.ENGINE=Z.OS=R([l,o]),typeof c!==g)b.exports&&(c=b.exports=Z),c.UAParser=Z;else if(typeof define===f&&define.amd)a.r,void 0!==Z&&a.v(Z);else typeof d!==g&&(d.UAParser=Z);var $=typeof d!==g&&(d.jQuery||d.Zepto);if($&&!$.ua){var _=new Z;$.ua=_.getResult(),$.ua.get=function(){return _.getUA()},$.ua.set=function(a){_.setUA(a);var b=_.getResult();for(var c in b)$.ua[c]=b[c]}}}(this)}},e={};function f(a){var b=e[a];if(void 0!==b)return b.exports;var c=e[a]={exports:{}},g=!0;try{d[a].call(c.exports,c,c.exports,f),g=!1}finally{g&&delete e[a]}return c.exports}f.ab="/ROOT/node_modules/.pnpm/next@16.0.7_@opentelemetry+api@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/compiled/ua-parser-js/",b.exports=f(226)},83887,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e={isBot:function(){return h},userAgent:function(){return j},userAgentFromString:function(){return i}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});let g=(d=a.r(72040))&&d.__esModule?d:{default:d};function h(a){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(a)}function i(a){return{...(0,g.default)(a),isBot:void 0!==a&&h(a)}}function j({headers:a}){return i(a.get("user-agent")||void 0)}},51250,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"URLPattern",{enumerable:!0,get:function(){return d}});let d="undefined"==typeof URLPattern?void 0:URLPattern},77492,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"after",{enumerable:!0,get:function(){return e}});let d=a.r(56704);function e(a){let b=d.workAsyncStorage.getStore();if(!b)throw Object.defineProperty(Error("`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context"),"__NEXT_ERROR_CODE",{value:"E468",enumerable:!1,configurable:!0});let{afterContext:c}=b;return c.after(a)}},67420,(a,b,c)=>{"use strict";var d,e;Object.defineProperty(c,"__esModule",{value:!0}),d=a.r(77492),e=c,Object.keys(d).forEach(function(a){"default"===a||Object.prototype.hasOwnProperty.call(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:function(){return d[a]}})})},99503,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={isRequestAPICallableInsideAfter:function(){return j},throwForSearchParamsAccessInUseCache:function(){return i},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(82350),g=a.r(24725);function h(a,b){throw Object.defineProperty(new f.StaticGenBailoutError(`Route ${a} with \`dynamic = "error"\` couldn't be rendered statically because it used ${b}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function i(a,b){let c=Object.defineProperty(Error(`Route ${a.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E842",enumerable:!1,configurable:!0});throw Error.captureStackTrace(c,b),a.invalidDynamicUsageError??=c,c}function j(){let a=g.afterTaskAsyncStorage.getStore();return(null==a?void 0:a.rootTaskSpawnPhase)==="action"}},78169,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"connection",{enumerable:!0,get:function(){return j}});let d=a.r(56704),e=a.r(32319),f=a.r(91905),g=a.r(82350),h=a.r(92991),i=a.r(99503);function j(){let a=d.workAsyncStorage.getStore(),b=e.workUnitAsyncStorage.getStore();if(a){if(b&&"after"===b.phase&&!(0,i.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${a.route} used \`connection()\` inside \`after()\`. The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but \`after()\` executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E827",enumerable:!1,configurable:!0});if(a.forceStatic)return Promise.resolve(void 0);if(a.dynamicShouldError)throw Object.defineProperty(new g.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`connection()\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E847",enumerable:!1,configurable:!0});if(b)switch(b.type){case"cache":{let b=Object.defineProperty(Error(`Route ${a.route} used \`connection()\` inside "use cache". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual request, but caches must be able to be produced before a request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E841",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,j),a.invalidDynamicUsageError??=b,b}case"private-cache":{let b=Object.defineProperty(Error(`Route ${a.route} used \`connection()\` inside "use cache: private". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual navigation request, but caches must be able to be produced before a navigation request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E837",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,j),a.invalidDynamicUsageError??=b,b}case"unstable-cache":throw Object.defineProperty(Error(`Route ${a.route} used \`connection()\` inside a function cached with \`unstable_cache()\`. The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E840",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-runtime":return(0,h.makeHangingPromise)(b.renderSignal,a.route,"`connection()`");case"prerender-ppr":return(0,f.postponeWithTracking)(a.route,"connection",b.dynamicTracking);case"prerender-legacy":return(0,f.throwToInterruptStaticGeneration)("connection",a,b);case"request":return(0,f.trackDynamicDataInDynamicRender)(b),Promise.resolve(void 0)}}(0,e.throwForMissingRequestStore)("connection")}a.r(73590)},60134,(a,b,c)=>{let d={NextRequest:a.r(80798).NextRequest,NextResponse:a.r(87422).NextResponse,ImageResponse:a.r(91302).ImageResponse,userAgentFromString:a.r(83887).userAgentFromString,userAgent:a.r(83887).userAgent,URLPattern:a.r(51250).URLPattern,after:a.r(67420).after,connection:a.r(78169).connection};b.exports=d,c.NextRequest=d.NextRequest,c.NextResponse=d.NextResponse,c.ImageResponse=d.ImageResponse,c.userAgentFromString=d.userAgentFromString,c.userAgent=d.userAgent,c.URLPattern=d.URLPattern,c.after=d.after,c.connection=d.connection},538,a=>{"use strict";let b=(0,a.i(82184).registerClientReference)(function(){throw Error("Attempted to call LayoutClient() from the server but LayoutClient is 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.")},"[project]/packages/web/src/app/layout-client.tsx <module evaluation>","LayoutClient");a.s(["LayoutClient",0,b])},71010,a=>{"use strict";let b=(0,a.i(82184).registerClientReference)(function(){throw Error("Attempted to call LayoutClient() from the server but LayoutClient is 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.")},"[project]/packages/web/src/app/layout-client.tsx","LayoutClient");a.s(["LayoutClient",0,b])},44913,a=>{"use strict";a.i(538);var b=a.i(71010);a.n(b)},16385,a=>{"use strict";var b=a.i(25287),c=a.i(89578);let d={className:c.default.className,style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"}};null!=c.default.variable&&(d.variable=c.default.variable);var e=a.i(35214);let f={className:e.default.className,style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"}};null!=e.default.variable&&(f.variable=e.default.variable);var g=a.i(60134),h=a.i(44913);async function i({children:a}){return await (0,g.connection)(),(0,b.jsx)("html",{lang:"en",suppressHydrationWarning:!0,children:(0,b.jsx)("body",{className:`${d.variable} ${f.variable} antialiased`,children:(0,b.jsx)(h.LayoutClient,{children:a})})})}a.s(["default",()=>i,"metadata",0,{title:"Workflow Observability UI",description:"Web interface for inspecting flow runs, steps, streams, and events"}],16385)}];
12
+ `)}}},46030,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={RequestCookies:function(){return f.RequestCookies},ResponseCookies:function(){return f.ResponseCookies},stringifyCookie:function(){return f.stringifyCookie}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(12139)},80798,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={INTERNALS:function(){return j},NextRequest:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(46314),g=a.r(81987),h=a.r(61242),i=a.r(46030),j=Symbol("internal request");class k extends Request{constructor(a,b={}){const c="string"!=typeof a&&"url"in a?a.url:String(a);(0,g.validateURL)(c),b.body&&"half"!==b.duplex&&(b.duplex="half"),a instanceof Request?super(a,b):super(c,b);const d=new f.NextURL(c,{headers:(0,g.toNodeOutgoingHttpHeaders)(this.headers),nextConfig:b.nextConfig});this[j]={cookies:new i.RequestCookies(this.headers),nextUrl:d,url:d.toString()}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,nextUrl:this.nextUrl,url:this.url,bodyUsed:this.bodyUsed,cache:this.cache,credentials:this.credentials,destination:this.destination,headers:Object.fromEntries(this.headers),integrity:this.integrity,keepalive:this.keepalive,method:this.method,mode:this.mode,redirect:this.redirect,referrer:this.referrer,referrerPolicy:this.referrerPolicy,signal:this.signal}}get cookies(){return this[j].cookies}get nextUrl(){return this[j].nextUrl}get page(){throw new h.RemovedPageError}get ua(){throw new h.RemovedUAError}get url(){return this[j].url}}},97455,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ReflectAdapter",{enumerable:!0,get:function(){return d}});class d{static get(a,b,c){let d=Reflect.get(a,b,c);return"function"==typeof d?d.bind(a):d}static set(a,b,c,d){return Reflect.set(a,b,c,d)}static has(a,b){return Reflect.has(a,b)}static deleteProperty(a,b){return Reflect.deleteProperty(a,b)}}},87422,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"NextResponse",{enumerable:!0,get:function(){return l}});let d=a.r(46030),e=a.r(46314),f=a.r(81987),g=a.r(97455),h=a.r(46030),i=Symbol("internal response"),j=new Set([301,302,303,307,308]);function k(a,b){var c;if(null==a||null==(c=a.request)?void 0:c.headers){if(!(a.request.headers instanceof Headers))throw Object.defineProperty(Error("request.headers must be an instance of Headers"),"__NEXT_ERROR_CODE",{value:"E119",enumerable:!1,configurable:!0});let c=[];for(let[d,e]of a.request.headers)b.set("x-middleware-request-"+d,e),c.push(d);b.set("x-middleware-override-headers",c.join(","))}}class l extends Response{constructor(a,b={}){super(a,b);const c=this.headers,j=new Proxy(new h.ResponseCookies(c),{get(a,e,f){switch(e){case"delete":case"set":return(...f)=>{let g=Reflect.apply(a[e],a,f),i=new Headers(c);return g instanceof h.ResponseCookies&&c.set("x-middleware-set-cookie",g.getAll().map(a=>(0,d.stringifyCookie)(a)).join(",")),k(b,i),g};default:return g.ReflectAdapter.get(a,e,f)}}});this[i]={cookies:j,url:b.url?new e.NextURL(b.url,{headers:(0,f.toNodeOutgoingHttpHeaders)(c),nextConfig:b.nextConfig}):void 0}}[Symbol.for("edge-runtime.inspect.custom")](){return{cookies:this.cookies,url:this.url,body:this.body,bodyUsed:this.bodyUsed,headers:Object.fromEntries(this.headers),ok:this.ok,redirected:this.redirected,status:this.status,statusText:this.statusText,type:this.type}}get cookies(){return this[i].cookies}static json(a,b){let c=Response.json(a,b);return new l(c.body,c)}static redirect(a,b){let c="number"==typeof b?b:(null==b?void 0:b.status)??307;if(!j.has(c))throw Object.defineProperty(RangeError('Failed to execute "redirect" on "response": Invalid status code'),"__NEXT_ERROR_CODE",{value:"E529",enumerable:!1,configurable:!0});let d="object"==typeof b?b:{},e=new Headers(null==d?void 0:d.headers);return e.set("Location",(0,f.validateURL)(a)),new l(null,{...d,headers:e,status:c})}static rewrite(a,b){let c=new Headers(null==b?void 0:b.headers);return c.set("x-middleware-rewrite",(0,f.validateURL)(a)),k(b,c),new l(null,{...b,headers:c})}static next(a){let b=new Headers(null==a?void 0:a.headers);return b.set("x-middleware-next","1"),k(a,b),new l(null,{...a,headers:b})}}},91302,(a,b,c)=>{"use strict";function d(){throw Object.defineProperty(Error('ImageResponse moved from "next/server" to "next/og" since Next.js 14, please import from "next/og" instead'),"__NEXT_ERROR_CODE",{value:"E183",enumerable:!1,configurable:!0})}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ImageResponse",{enumerable:!0,get:function(){return d}})},72040,(a,b,c)=>{var d={226:function(b,c){!function(d,e){"use strict";var f="function",g="undefined",h="object",i="string",j="major",k="model",l="name",m="type",n="vendor",o="version",p="architecture",q="console",r="mobile",s="tablet",t="smarttv",u="wearable",v="embedded",w="Amazon",x="Apple",y="ASUS",z="BlackBerry",A="Browser",B="Chrome",C="Firefox",D="Google",E="Huawei",F="Microsoft",G="Motorola",H="Opera",I="Samsung",J="Sharp",K="Sony",L="Xiaomi",M="Zebra",N="Facebook",O="Chromium OS",P="Mac OS",Q=function(a,b){var c={};for(var d in a)b[d]&&b[d].length%2==0?c[d]=b[d].concat(a[d]):c[d]=a[d];return c},R=function(a){for(var b={},c=0;c<a.length;c++)b[a[c].toUpperCase()]=a[c];return b},S=function(a,b){return typeof a===i&&-1!==T(b).indexOf(T(a))},T=function(a){return a.toLowerCase()},U=function(a,b){if(typeof a===i)return a=a.replace(/^\s\s*/,""),typeof b===g?a:a.substring(0,350)},V=function(a,b){for(var c,d,e,g,i,j,k=0;k<b.length&&!i;){var l=b[k],m=b[k+1];for(c=d=0;c<l.length&&!i&&l[c];)if(i=l[c++].exec(a))for(e=0;e<m.length;e++)j=i[++d],typeof(g=m[e])===h&&g.length>0?2===g.length?typeof g[1]==f?this[g[0]]=g[1].call(this,j):this[g[0]]=g[1]:3===g.length?typeof g[1]!==f||g[1].exec&&g[1].test?this[g[0]]=j?j.replace(g[1],g[2]):void 0:this[g[0]]=j?g[1].call(this,j,g[2]):void 0:4===g.length&&(this[g[0]]=j?g[3].call(this,j.replace(g[1],g[2])):void 0):this[g]=j||void 0;k+=2}},W=function(a,b){for(var c in b)if(typeof b[c]===h&&b[c].length>0){for(var d=0;d<b[c].length;d++)if(S(b[c][d],a))return"?"===c?void 0:c}else if(S(b[c],a))return"?"===c?void 0:c;return a},X={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[o,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[o,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,o],[/opios[\/ ]+([\w\.]+)/i],[o,[l,H+" Mini"]],[/\bopr\/([\w\.]+)/i],[o,[l,H]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[l,o],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[o,[l,"UC"+A]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[o,[l,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[o,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[o,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[o,[l,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[o,[l,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure "+A],o],[/\bfocus\/([\w\.]+)/i],[o,[l,C+" Focus"]],[/\bopt\/([\w\.]+)/i],[o,[l,H+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[o,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[o,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[o,[l,H+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[o,[l,"MIUI "+A]],[/fxios\/([-\w\.]+)/i],[o,[l,C]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 "+A]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 "+A],o],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],o],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[l,o],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,N],o],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[l,o],[/\bgsa\/([\w\.]+) .*safari\//i],[o,[l,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[o,[l,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[o,[l,B+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,B+" WebView"],o],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[o,[l,"Android "+A]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,o],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[o,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[o,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[o,W,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[l,o],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],o],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[o,[l,C+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[l,o],[/(cobalt)\/([\w\.]+)/i],[l,[o,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,T]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",T]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,T]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[k,[n,I],[m,s]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[k,[n,I],[m,r]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[k,[n,x],[m,r]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[k,[n,x],[m,s]],[/(macintosh);/i],[k,[n,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[k,[n,J],[m,r]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[k,[n,E],[m,s]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[k,[n,E],[m,r]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[k,/_/g," "],[n,L],[m,r]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[k,/_/g," "],[n,L],[m,s]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[k,[n,"OPPO"],[m,r]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[k,[n,"Vivo"],[m,r]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[k,[n,"Realme"],[m,r]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[k,[n,G],[m,r]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[k,[n,G],[m,s]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[k,[n,"LG"],[m,s]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[k,[n,"LG"],[m,r]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[k,[n,"Lenovo"],[m,s]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[k,/_/g," "],[n,"Nokia"],[m,r]],[/(pixel c)\b/i],[k,[n,D],[m,s]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[k,[n,D],[m,r]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[k,[n,K],[m,r]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[k,"Xperia Tablet"],[n,K],[m,s]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[k,[n,"OnePlus"],[m,r]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[k,[n,w],[m,s]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[k,/(.+)/g,"Fire Phone $1"],[n,w],[m,r]],[/(playbook);[-\w\),; ]+(rim)/i],[k,n,[m,s]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[k,[n,z],[m,r]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[k,[n,y],[m,s]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[k,[n,y],[m,r]],[/(nexus 9)/i],[k,[n,"HTC"],[m,s]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[n,[k,/_/g," "],[m,r]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[k,[n,"Acer"],[m,s]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[k,[n,"Meizu"],[m,r]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[n,k,[m,r]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[n,k,[m,s]],[/(surface duo)/i],[k,[n,F],[m,s]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[k,[n,"Fairphone"],[m,r]],[/(u304aa)/i],[k,[n,"AT&T"],[m,r]],[/\bsie-(\w*)/i],[k,[n,"Siemens"],[m,r]],[/\b(rct\w+) b/i],[k,[n,"RCA"],[m,s]],[/\b(venue[\d ]{2,7}) b/i],[k,[n,"Dell"],[m,s]],[/\b(q(?:mv|ta)\w+) b/i],[k,[n,"Verizon"],[m,s]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[k,[n,"Barnes & Noble"],[m,s]],[/\b(tm\d{3}\w+) b/i],[k,[n,"NuVision"],[m,s]],[/\b(k88) b/i],[k,[n,"ZTE"],[m,s]],[/\b(nx\d{3}j) b/i],[k,[n,"ZTE"],[m,r]],[/\b(gen\d{3}) b.+49h/i],[k,[n,"Swiss"],[m,r]],[/\b(zur\d{3}) b/i],[k,[n,"Swiss"],[m,s]],[/\b((zeki)?tb.*\b) b/i],[k,[n,"Zeki"],[m,s]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[n,"Dragon Touch"],k,[m,s]],[/\b(ns-?\w{0,9}) b/i],[k,[n,"Insignia"],[m,s]],[/\b((nxa|next)-?\w{0,9}) b/i],[k,[n,"NextBook"],[m,s]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[n,"Voice"],k,[m,r]],[/\b(lvtel\-)?(v1[12]) b/i],[[n,"LvTel"],k,[m,r]],[/\b(ph-1) /i],[k,[n,"Essential"],[m,r]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[k,[n,"Envizen"],[m,s]],[/\b(trio[-\w\. ]+) b/i],[k,[n,"MachSpeed"],[m,s]],[/\btu_(1491) b/i],[k,[n,"Rotor"],[m,s]],[/(shield[\w ]+) b/i],[k,[n,"Nvidia"],[m,s]],[/(sprint) (\w+)/i],[n,k,[m,r]],[/(kin\.[onetw]{3})/i],[[k,/\./g," "],[n,F],[m,r]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[k,[n,M],[m,s]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[k,[n,M],[m,r]],[/smart-tv.+(samsung)/i],[n,[m,t]],[/hbbtv.+maple;(\d+)/i],[[k,/^/,"SmartTV"],[n,I],[m,t]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[n,"LG"],[m,t]],[/(apple) ?tv/i],[n,[k,x+" TV"],[m,t]],[/crkey/i],[[k,B+"cast"],[n,D],[m,t]],[/droid.+aft(\w)( bui|\))/i],[k,[n,w],[m,t]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[k,[n,J],[m,t]],[/(bravia[\w ]+)( bui|\))/i],[k,[n,K],[m,t]],[/(mitv-\w{5}) bui/i],[k,[n,L],[m,t]],[/Hbbtv.*(technisat) (.*);/i],[n,k,[m,t]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[n,U],[k,U],[m,t]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,t]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[n,k,[m,q]],[/droid.+; (shield) bui/i],[k,[n,"Nvidia"],[m,q]],[/(playstation [345portablevi]+)/i],[k,[n,K],[m,q]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[k,[n,F],[m,q]],[/((pebble))app/i],[n,k,[m,u]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[k,[n,x],[m,u]],[/droid.+; (glass) \d/i],[k,[n,D],[m,u]],[/droid.+; (wt63?0{2,3})\)/i],[k,[n,M],[m,u]],[/(quest( 2| pro)?)/i],[k,[n,N],[m,u]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[n,[m,v]],[/(aeobc)\b/i],[k,[n,w],[m,v]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[k,[m,r]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[k,[m,s]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,s]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,r]],[/(android[-\w\. ]{0,9});.+buil/i],[k,[n,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[o,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[o,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[l,o],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[o,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,o],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[l,[o,W,X]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[l,"Windows"],[o,W,X]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[o,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,P],[o,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[o,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,o],[/\(bb(10);/i],[o,[l,z]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[o,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[o,[l,C+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[o,[l,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[o,[l,"watchOS"]],[/crkey\/([\d\.]+)/i],[o,[l,B+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,O],o],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,o],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],o],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[l,o]]},Z=function(a,b){if(typeof a===h&&(b=a,a=void 0),!(this instanceof Z))return new Z(a,b).getResult();var c=typeof d!==g&&d.navigator?d.navigator:void 0,e=a||(c&&c.userAgent?c.userAgent:""),q=c&&c.userAgentData?c.userAgentData:void 0,t=b?Q(Y,b):Y,u=c&&c.userAgent==e;return this.getBrowser=function(){var a,b={};return b[l]=void 0,b[o]=void 0,V.call(b,e,t.browser),b[j]=typeof(a=b[o])===i?a.replace(/[^\d\.]/g,"").split(".")[0]:void 0,u&&c&&c.brave&&typeof c.brave.isBrave==f&&(b[l]="Brave"),b},this.getCPU=function(){var a={};return a[p]=void 0,V.call(a,e,t.cpu),a},this.getDevice=function(){var a={};return a[n]=void 0,a[k]=void 0,a[m]=void 0,V.call(a,e,t.device),u&&!a[m]&&q&&q.mobile&&(a[m]=r),u&&"Macintosh"==a[k]&&c&&typeof c.standalone!==g&&c.maxTouchPoints&&c.maxTouchPoints>2&&(a[k]="iPad",a[m]=s),a},this.getEngine=function(){var a={};return a[l]=void 0,a[o]=void 0,V.call(a,e,t.engine),a},this.getOS=function(){var a={};return a[l]=void 0,a[o]=void 0,V.call(a,e,t.os),u&&!a[l]&&q&&"Unknown"!=q.platform&&(a[l]=q.platform.replace(/chrome os/i,O).replace(/macos/i,P)),a},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return e},this.setUA=function(a){return e=typeof a===i&&a.length>350?U(a,350):a,this},this.setUA(e),this};if(Z.VERSION="1.0.35",Z.BROWSER=R([l,o,j]),Z.CPU=R([p]),Z.DEVICE=R([k,n,m,q,r,t,s,u,v]),Z.ENGINE=Z.OS=R([l,o]),typeof c!==g)b.exports&&(c=b.exports=Z),c.UAParser=Z;else if(typeof define===f&&define.amd)a.r,void 0!==Z&&a.v(Z);else typeof d!==g&&(d.UAParser=Z);var $=typeof d!==g&&(d.jQuery||d.Zepto);if($&&!$.ua){var _=new Z;$.ua=_.getResult(),$.ua.get=function(){return _.getUA()},$.ua.set=function(a){_.setUA(a);var b=_.getResult();for(var c in b)$.ua[c]=b[c]}}}(this)}},e={};function f(a){var b=e[a];if(void 0!==b)return b.exports;var c=e[a]={exports:{}},g=!0;try{d[a].call(c.exports,c,c.exports,f),g=!1}finally{g&&delete e[a]}return c.exports}f.ab="/ROOT/node_modules/.pnpm/next@16.0.7_@opentelemetry+api@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/compiled/ua-parser-js/",b.exports=f(226)},83887,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e={isBot:function(){return h},userAgent:function(){return j},userAgentFromString:function(){return i}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});let g=(d=a.r(72040))&&d.__esModule?d:{default:d};function h(a){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Google-InspectionTool|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(a)}function i(a){return{...(0,g.default)(a),isBot:void 0!==a&&h(a)}}function j({headers:a}){return i(a.get("user-agent")||void 0)}},51250,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"URLPattern",{enumerable:!0,get:function(){return d}});let d="undefined"==typeof URLPattern?void 0:URLPattern},77492,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"after",{enumerable:!0,get:function(){return e}});let d=a.r(56704);function e(a){let b=d.workAsyncStorage.getStore();if(!b)throw Object.defineProperty(Error("`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context"),"__NEXT_ERROR_CODE",{value:"E468",enumerable:!1,configurable:!0});let{afterContext:c}=b;return c.after(a)}},67420,(a,b,c)=>{"use strict";var d,e;Object.defineProperty(c,"__esModule",{value:!0}),d=a.r(77492),e=c,Object.keys(d).forEach(function(a){"default"===a||Object.prototype.hasOwnProperty.call(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:function(){return d[a]}})})},99503,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={isRequestAPICallableInsideAfter:function(){return j},throwForSearchParamsAccessInUseCache:function(){return i},throwWithStaticGenerationBailoutErrorWithDynamicError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(82350),g=a.r(24725);function h(a,b){throw Object.defineProperty(new f.StaticGenBailoutError(`Route ${a} with \`dynamic = "error"\` couldn't be rendered statically because it used ${b}. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E543",enumerable:!1,configurable:!0})}function i(a,b){let c=Object.defineProperty(Error(`Route ${a.route} used \`searchParams\` inside "use cache". Accessing dynamic request data inside a cache scope is not supported. If you need some search params inside a cached function await \`searchParams\` outside of the cached function and pass only the required search params as arguments to the cached function. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E842",enumerable:!1,configurable:!0});throw Error.captureStackTrace(c,b),a.invalidDynamicUsageError??=c,c}function j(){let a=g.afterTaskAsyncStorage.getStore();return(null==a?void 0:a.rootTaskSpawnPhase)==="action"}},78169,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"connection",{enumerable:!0,get:function(){return j}});let d=a.r(56704),e=a.r(32319),f=a.r(91905),g=a.r(82350),h=a.r(92991),i=a.r(99503);function j(){let a=d.workAsyncStorage.getStore(),b=e.workUnitAsyncStorage.getStore();if(a){if(b&&"after"===b.phase&&!(0,i.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${a.route} used \`connection()\` inside \`after()\`. The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but \`after()\` executes after the request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E827",enumerable:!1,configurable:!0});if(a.forceStatic)return Promise.resolve(void 0);if(a.dynamicShouldError)throw Object.defineProperty(new g.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`connection()\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E847",enumerable:!1,configurable:!0});if(b)switch(b.type){case"cache":{let b=Object.defineProperty(Error(`Route ${a.route} used \`connection()\` inside "use cache". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual request, but caches must be able to be produced before a request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E841",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,j),a.invalidDynamicUsageError??=b,b}case"private-cache":{let b=Object.defineProperty(Error(`Route ${a.route} used \`connection()\` inside "use cache: private". The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual navigation request, but caches must be able to be produced before a navigation request, so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E837",enumerable:!1,configurable:!0});throw Error.captureStackTrace(b,j),a.invalidDynamicUsageError??=b,b}case"unstable-cache":throw Object.defineProperty(Error(`Route ${a.route} used \`connection()\` inside a function cached with \`unstable_cache()\`. The \`connection()\` function is used to indicate the subsequent code must only run when there is an actual Request, but caches must be able to be produced before a Request so this function is not allowed in this scope. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E840",enumerable:!1,configurable:!0});case"prerender":case"prerender-client":case"prerender-runtime":return(0,h.makeHangingPromise)(b.renderSignal,a.route,"`connection()`");case"prerender-ppr":return(0,f.postponeWithTracking)(a.route,"connection",b.dynamicTracking);case"prerender-legacy":return(0,f.throwToInterruptStaticGeneration)("connection",a,b);case"request":return(0,f.trackDynamicDataInDynamicRender)(b),Promise.resolve(void 0)}}(0,e.throwForMissingRequestStore)("connection")}a.r(73590)},60134,(a,b,c)=>{let d={NextRequest:a.r(80798).NextRequest,NextResponse:a.r(87422).NextResponse,ImageResponse:a.r(91302).ImageResponse,userAgentFromString:a.r(83887).userAgentFromString,userAgent:a.r(83887).userAgent,URLPattern:a.r(51250).URLPattern,after:a.r(67420).after,connection:a.r(78169).connection};b.exports=d,c.NextRequest=d.NextRequest,c.NextResponse=d.NextResponse,c.ImageResponse=d.ImageResponse,c.userAgentFromString=d.userAgentFromString,c.userAgent=d.userAgent,c.URLPattern=d.URLPattern,c.after=d.after,c.connection=d.connection},41564,a=>{"use strict";let b=(0,a.i(82184).registerClientReference)(function(){throw Error("Attempted to call NuqsAdapter() from the server but NuqsAdapter is 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.")},"[project]/node_modules/.pnpm/nuqs@2.8.3_next@16.0.7_@opentelemetry+api@1.9.0_react-dom@19.1.0_react@19.1.0__react@19_fb482f593573ccaa8d2fa69343e34cf0/node_modules/nuqs/dist/adapters/next/app.js <module evaluation>","NuqsAdapter");a.s(["NuqsAdapter",0,b])},35200,a=>{"use strict";let b=(0,a.i(82184).registerClientReference)(function(){throw Error("Attempted to call NuqsAdapter() from the server but NuqsAdapter is 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.")},"[project]/node_modules/.pnpm/nuqs@2.8.3_next@16.0.7_@opentelemetry+api@1.9.0_react-dom@19.1.0_react@19.1.0__react@19_fb482f593573ccaa8d2fa69343e34cf0/node_modules/nuqs/dist/adapters/next/app.js","NuqsAdapter");a.s(["NuqsAdapter",0,b])},67640,a=>{"use strict";a.i(41564);var b=a.i(35200);a.n(b)},538,a=>{"use strict";let b=(0,a.i(82184).registerClientReference)(function(){throw Error("Attempted to call LayoutClient() from the server but LayoutClient is 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.")},"[project]/packages/web/src/app/layout-client.tsx <module evaluation>","LayoutClient");a.s(["LayoutClient",0,b])},71010,a=>{"use strict";let b=(0,a.i(82184).registerClientReference)(function(){throw Error("Attempted to call LayoutClient() from the server but LayoutClient is 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.")},"[project]/packages/web/src/app/layout-client.tsx","LayoutClient");a.s(["LayoutClient",0,b])},44913,a=>{"use strict";a.i(538);var b=a.i(71010);a.n(b)},16385,a=>{"use strict";var b=a.i(25287),c=a.i(89578);let d={className:c.default.className,style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"}};null!=c.default.variable&&(d.variable=c.default.variable);var e=a.i(35214);let f={className:e.default.className,style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"}};null!=e.default.variable&&(f.variable=e.default.variable);var g=a.i(60134),h=a.i(67640),i=a.i(44913);async function j({children:a}){return await (0,g.connection)(),(0,b.jsx)("html",{lang:"en",suppressHydrationWarning:!0,children:(0,b.jsx)("body",{className:`${d.variable} ${f.variable} antialiased`,children:(0,b.jsx)(h.NuqsAdapter,{children:(0,b.jsx)(i.LayoutClient,{children:a})})})})}a.s(["default",()=>j,"metadata",0,{title:"Workflow Observability UI",description:"Web interface for inspecting flow runs, steps, streams, and events"}],16385)}];
13
13
 
14
- //# sourceMappingURL=%5Broot-of-the-server%5D__ef8720b3._.js.map
14
+ //# sourceMappingURL=%5Broot-of-the-server%5D__e8641565._.js.map