viba-cli 0.32.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/fallback-build-manifest.json +2 -2
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error.html +2 -2
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/credentials/page/server-reference-manifest.json +7 -7
- package/.next/server/app/credentials/page.js.nft.json +1 -1
- package/.next/server/app/credentials/page_client-reference-manifest.js +1 -1
- package/.next/server/app/credentials.html +2 -2
- package/.next/server/app/credentials.rsc +4 -4
- package/.next/server/app/credentials.segments/_full.segment.rsc +4 -4
- package/.next/server/app/credentials.segments/_head.segment.rsc +1 -1
- package/.next/server/app/credentials.segments/_index.segment.rsc +2 -2
- package/.next/server/app/credentials.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/credentials.segments/credentials/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/credentials.segments/credentials.segment.rsc +1 -1
- package/.next/server/app/index.html +2 -2
- package/.next/server/app/index.rsc +3 -3
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/index.segments/_full.segment.rsc +3 -3
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +2 -2
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/new/page/server-reference-manifest.json +26 -26
- package/.next/server/app/new/page.js.nft.json +1 -1
- package/.next/server/app/new/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page/server-reference-manifest.json +26 -26
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/session/[sessionId]/page/server-reference-manifest.json +19 -19
- package/.next/server/app/session/[sessionId]/page.js.nft.json +1 -1
- package/.next/server/app/session/[sessionId]/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0522f852._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__352d2b3c._.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__3a1fdade._.js → [root-of-the-server]__3fd90d4b._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__3a1fdade._.js.map → [root-of-the-server]__3fd90d4b._.js.map} +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__4c388861._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__4c388861._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__59834c63._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__59834c63._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__9201693f._.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__c5b21b58._.js → [root-of-the-server]__93076dbc._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__c5b21b58._.js.map → [root-of-the-server]__93076dbc._.js.map} +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__c790b631._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__c790b631._.js.map +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__d5eaad6d._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__d5eaad6d._.js.map +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__24e75bff._.js → [root-of-the-server]__dd75a648._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__24e75bff._.js.map → [root-of-the-server]__dd75a648._.js.map} +1 -1
- package/.next/server/chunks/ssr/_5a113fab._.js +3 -0
- package/.next/server/chunks/ssr/{_4daf9f1b._.js.map → _5a113fab._.js.map} +1 -1
- package/.next/server/chunks/ssr/_bee9df1a._.js +3 -0
- package/.next/server/chunks/ssr/{_3595fd8f._.js.map → _bee9df1a._.js.map} +1 -1
- package/.next/server/chunks/ssr/src_app_credentials_page_tsx_63d8d34a._.js +1 -1
- package/.next/server/chunks/ssr/src_app_credentials_page_tsx_63d8d34a._.js.map +1 -1
- package/.next/server/chunks/ssr/src_app_session_[sessionId]_SessionPageClient_tsx_dab490d7._.js +1 -1
- package/.next/server/chunks/ssr/src_app_session_[sessionId]_SessionPageClient_tsx_dab490d7._.js.map +1 -1
- package/.next/server/chunks/ssr/src_components_GitRepoSelector_tsx_05c81afa._.js +1 -1
- package/.next/server/chunks/ssr/src_components_GitRepoSelector_tsx_05c81afa._.js.map +1 -1
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +2 -2
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +45 -45
- package/.next/static/chunks/{380fa41e092d5f72.js → 3515841a9c7694de.js} +3 -3
- package/.next/static/chunks/{902b430689902917.js → 64291b295fa438c8.js} +1 -1
- package/.next/static/chunks/{617e617438ab03f1.js → 647728f4f2392352.js} +3 -3
- package/.next/static/chunks/{236544dc83ca53f4.js → 7e7c48a25eaf76fe.js} +1 -1
- package/.next/static/chunks/b6558e67a97d0a64.js +1 -0
- package/.next/static/chunks/{91198b2cf326b0a5.css → b7caa5d67118a4c5.css} +1 -1
- package/.next/static/chunks/{d200ceb36c66cd31.js → cb38c4ee61f9cedd.js} +1 -1
- package/package.json +1 -1
- package/.next/server/chunks/ssr/_3595fd8f._.js +0 -3
- package/.next/server/chunks/ssr/_4daf9f1b._.js +0 -3
- package/.next/static/chunks/6ac8fa6a53287357.js +0 -1
- /package/.next/static/{fQjm6ABLSls-tE5co7GZt → WAqN7IV2QKy3IdrjIaLV-}/_buildManifest.js +0 -0
- /package/.next/static/{fQjm6ABLSls-tE5co7GZt → WAqN7IV2QKy3IdrjIaLV-}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{fQjm6ABLSls-tE5co7GZt → WAqN7IV2QKy3IdrjIaLV-}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-dom.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../node_modules/next/src/server/route-modules/app-page/module.compiled.js","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.ts","../../../../node_modules/lucide-react/src/icons/key-round.ts","../../../../src/app/actions/data%3A96fd55%20%3Ctext/javascript%3E","../../../../src/app/actions/data%3A5b3d07%20%3Ctext/javascript%3E","../../../../src/app/page.tsx"],"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['react-ssr']!.ReactServerDOMTurbopackClient\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","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","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z',\n key: '1s6t7t',\n },\n ],\n ['circle', { cx: '16.5', cy: '7.5', r: '.5', fill: 'currentColor', key: 'w0ekpg' }],\n];\n\n/**\n * @component @name KeyRound\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/key-round\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst KeyRound = createLucideIcon('key-round', __iconNode);\n\nexport default KeyRound;\n","/* __next_internal_action_entry_do_not_use__ [{\"00f204043370ec2f7a659aa2da6c83aa13b823e10d\":\"listAgentApiCredentials\"},\"src/app/actions/credentials.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_3=/*#__PURE__*/createServerReference(\"00f204043370ec2f7a659aa2da6c83aa13b823e10d\",callServer,void 0,findSourceMapURL,\"listAgentApiCredentials\");export{$$RSC_SERVER_ACTION_3 as listAgentApiCredentials};","/* __next_internal_action_entry_do_not_use__ [{\"009694d304272aa551188aedb263aa81cdea5c15a0\":\"listCredentials\"},\"src/app/actions/credentials.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"009694d304272aa551188aedb263aa81cdea5c15a0\",callServer,void 0,findSourceMapURL,\"listCredentials\");export{$$RSC_SERVER_ACTION_0 as listCredentials};","'use client';\n\nimport Image from \"next/image\";\nimport GitRepoSelector from \"@/components/GitRepoSelector\";\n\nexport default function Home() {\n return (\n <>\n <a\n href=\"https://github.com/m0o0scar/viba\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n aria-label=\"Open Viba GitHub repository\"\n className=\"fixed top-0 right-0 z-50 h-20 w-20 cursor-pointer border-l border-b border-gray-400 bg-gray-300/95 shadow-sm backdrop-blur-sm transition-colors hover:bg-gray-500/95 dark:border-slate-700 dark:bg-slate-900/95 dark:hover:bg-slate-800/95\"\n style={{ clipPath: \"polygon(100% 0, 0 0, 100% 100%)\" }}\n >\n <span className=\"absolute left-[67%] top-[33%] -translate-x-1/2 -translate-y-1/2\">\n <Image src=\"/github.png\" alt=\"GitHub\" width={22} height={22} priority className=\"rotate-45\" />\n </span>\n </a>\n <main className=\"flex min-h-screen flex-col items-center justify-start p-4 transition-colors md:p-6\">\n <GitRepoSelector mode=\"home\" />\n </main>\n </>\n );\n}\n"],"names":["module","exports","require","vendored","React","ReactDOM","ReactServerDOMTurbopackClient","AppRouterContext","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,YAAY,CAAEG,6BAA6B,8BCFtDN,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACI,gBAAgB,+BCFvCP,EAAOC,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,CAA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K,mCACL,OAAO,SACP,IAAI,sBACJ,aAAW,8BACX,UAAU,6OACV,MAAO,CAAE,SAAU,iCAAkC,WAErD,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK,UAAU,2EACd,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,OAAK,CAAA,CAAC,IAAI,cAAc,IAAI,SAAS,MAAO,GAAI,OAAQ,GAAI,QAAQ,CAAA,CAAA,EAAC,UAAU,kBAGpF,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK,UAAU,8FACd,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,OAAe,CAAA,CAAC,KAAK,aAI9B","ignoreList":[0,1,2,3,4,5,6,7,8]}
|
|
1
|
+
{"version":3,"sources":["../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-dom.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../node_modules/next/src/server/route-modules/app-page/module.compiled.js","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.ts","../../../../node_modules/lucide-react/src/icons/key-round.ts","../../../../src/app/actions/data%3Abe524f%20%3Ctext/javascript%3E","../../../../src/app/actions/data%3A1095ef%20%3Ctext/javascript%3E","../../../../src/app/page.tsx"],"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['react-ssr']!.ReactServerDOMTurbopackClient\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","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","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z',\n key: '1s6t7t',\n },\n ],\n ['circle', { cx: '16.5', cy: '7.5', r: '.5', fill: 'currentColor', key: 'w0ekpg' }],\n];\n\n/**\n * @component @name KeyRound\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/key-round\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst KeyRound = createLucideIcon('key-round', __iconNode);\n\nexport default KeyRound;\n","/* __next_internal_action_entry_do_not_use__ [{\"0047c3af93f3030ef7f7c9e0c051d2393cb3e550b2\":\"listAgentApiCredentials\"},\"src/app/actions/credentials.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_3=/*#__PURE__*/createServerReference(\"0047c3af93f3030ef7f7c9e0c051d2393cb3e550b2\",callServer,void 0,findSourceMapURL,\"listAgentApiCredentials\");export{$$RSC_SERVER_ACTION_3 as listAgentApiCredentials};","/* __next_internal_action_entry_do_not_use__ [{\"00df940972a56c946b92120701428935620d09d2e5\":\"listCredentials\"},\"src/app/actions/credentials.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"00df940972a56c946b92120701428935620d09d2e5\",callServer,void 0,findSourceMapURL,\"listCredentials\");export{$$RSC_SERVER_ACTION_0 as listCredentials};","'use client';\n\nimport Image from \"next/image\";\nimport GitRepoSelector from \"@/components/GitRepoSelector\";\n\nexport default function Home() {\n return (\n <>\n <a\n href=\"https://github.com/m0o0scar/viba\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n aria-label=\"Open Viba GitHub repository\"\n className=\"fixed top-0 right-0 z-50 h-20 w-20 cursor-pointer border-l border-b border-gray-400 bg-gray-300/95 shadow-sm backdrop-blur-sm transition-colors hover:bg-gray-500/95 dark:border-slate-700 dark:bg-slate-900/95 dark:hover:bg-slate-800/95\"\n style={{ clipPath: \"polygon(100% 0, 0 0, 100% 100%)\" }}\n >\n <span className=\"absolute left-[67%] top-[33%] -translate-x-1/2 -translate-y-1/2\">\n <Image src=\"/github.png\" alt=\"GitHub\" width={22} height={22} priority className=\"rotate-45\" />\n </span>\n </a>\n <main className=\"flex min-h-screen flex-col items-center justify-start p-4 transition-colors md:p-6\">\n <GitRepoSelector mode=\"home\" />\n </main>\n </>\n );\n}\n"],"names":["module","exports","require","vendored","React","ReactDOM","ReactServerDOMTurbopackClient","AppRouterContext","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,YAAY,CAAEG,6BAA6B,8BCFtDN,EAAOC,OAAO,CACZC,EAAQ,CAAA,CAAA,IAAA,GACRC,QAAQ,CAAC,QAAW,CAACI,gBAAgB,+BCFvCP,EAAOC,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,yBCuBxC,CAAA,CAAA,CAAA,C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CAAkC,WAErD,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK,UAAU,2EACd,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,OAAK,CAAA,CAAC,IAAI,cAAc,IAAI,SAAS,MAAO,GAAI,OAAQ,GAAI,QAAQ,CAAA,CAAA,EAAC,UAAU,kBAGpF,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK,UAAU,8FACd,CAAA,EAAA,EAAA,GAAA,EAAC,EAAA,OAAe,CAAA,CAAC,KAAK,aAI9B","ignoreList":[0,1,2,3,4,5,6,7,8]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[58651,a=>{"use strict";var b=a.i(15271),c=a.i(98624),d=a.i(51817),e=a.i(38642),f=a.i(37359);a.s([],3515),a.i(3515),a.s(["
|
|
1
|
+
module.exports=[58651,a=>{"use strict";var b=a.i(15271),c=a.i(98624),d=a.i(51817),e=a.i(38642),f=a.i(37359);a.s([],3515),a.i(3515),a.s(["0047c3af93f3030ef7f7c9e0c051d2393cb3e550b2",()=>f.listAgentApiCredentials,"004c907b772c5b7bb57fb000480ab83f977ad1bbbd",()=>b.getHomeDirectory,"00b605122d1ebecb0bb91b403ac7541273d829be60",()=>e.getConfig,"00df940972a56c946b92120701428935620d09d2e5",()=>f.listCredentials,"40128ab2752a7111f8b05ac937c14d6ed667edf3b6",()=>b.installAgentCli,"402cbe5360fd0346a04fa0f20bdd530bf958a2d41d",()=>b.listPathEntries,"403a704a5db29d9d7bb4c90658055e044a2ddf8d56",()=>d.getSessionPrefillContext,"4055fd7a3397938a6bc7f5242ec35135188214992b",()=>d.listSessions,"406271c013f495b1fc2163d9dc6d639cfa1373ab54",()=>b.listDirectories,"40741753ada3350d17aec804fd7e2bfe5aa01d8e00",()=>d.deleteSession,"4076227045d995d7ebc25c531f32e2a87356d1b756",()=>b.checkIsGitRepo,"4081dde2fabb3421c85f18be73274004f0d43c9562",()=>c.resolveRepositoryByName,"4088c70532477a335b5efb3a8eb1ebf1d6121feb8f",()=>e.updateConfig,"4098e7e0d4f5008fce4451e43e66d041e837f9e3f9",()=>b.checkAgentCliInstalled,"40c262d5938266de94813235f39c039fa27f36084b",()=>b.getBranches,"40fe6a649d4d44153576d492b8f201e8f9d1bb8002",()=>b.checkDirectoryAccessible,"604743ec4292a85da73a85c9bdd15b3f6a75395ca5",()=>c.cloneRemoteRepository,"6051aa3fd0d1d19c3565139a2f0939c6562445b998",()=>d.saveSessionLaunchContext,"60b21fc8510140a7259bc214fa4b84e84a5ba69526",()=>e.updateRepoSettings,"60d224edfc86c4aa6873ba8147fd55a2b9db75232c",()=>b.checkoutBranch,"7050454c6134447ce6bc4a9d73f15ca32de1003d51",()=>d.createSession,"7f5b976c1aeb2c8d9c98cafb827004e552303f2344",()=>b.saveAttachments,"7f76af8829ac3090fe2e14647ad0f874a12f99f97f",()=>b.startTtydProcess,"7fbb37844c0f22990860561b735b803746e71e433e",()=>b.listRepoFiles,"7fd85e8ab097eda0009160a5e7a1f1623562f68e0c",()=>b.getStartupScript,"7feccb06f8109bf574703f612f4b77879283cdb9ea",()=>b.getDefaultDevServerScript],58651)},45581,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[externals]_keytar_23140f5c._.js"].map(b=>a.l(b))).then(()=>b(83034)))},44264,a=>{a.v(a=>Promise.resolve().then(()=>a(33405)))},37706,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__edf0aa7a._.js"].map(b=>a.l(b))).then(()=>b(78775)))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__c790b631._.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../.next-internal/server/app/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {checkDirectoryAccessible as '
|
|
1
|
+
{"version":3,"sources":["../../../../.next-internal/server/app/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {checkDirectoryAccessible as '40fe6a649d4d44153576d492b8f201e8f9d1bb8002'} from 'ACTIONS_MODULE0'\nexport {listDirectories as '406271c013f495b1fc2163d9dc6d639cfa1373ab54'} from 'ACTIONS_MODULE0'\nexport {getHomeDirectory as '004c907b772c5b7bb57fb000480ab83f977ad1bbbd'} from 'ACTIONS_MODULE0'\nexport {checkIsGitRepo as '4076227045d995d7ebc25c531f32e2a87356d1b756'} from 'ACTIONS_MODULE0'\nexport {getBranches as '40c262d5938266de94813235f39c039fa27f36084b'} from 'ACTIONS_MODULE0'\nexport {checkoutBranch as '60d224edfc86c4aa6873ba8147fd55a2b9db75232c'} from 'ACTIONS_MODULE0'\nexport {startTtydProcess as '7f76af8829ac3090fe2e14647ad0f874a12f99f97f'} from 'ACTIONS_MODULE0'\nexport {getStartupScript as '7fd85e8ab097eda0009160a5e7a1f1623562f68e0c'} from 'ACTIONS_MODULE0'\nexport {getDefaultDevServerScript as '7feccb06f8109bf574703f612f4b77879283cdb9ea'} from 'ACTIONS_MODULE0'\nexport {listRepoFiles as '7fbb37844c0f22990860561b735b803746e71e433e'} from 'ACTIONS_MODULE0'\nexport {checkAgentCliInstalled as '4098e7e0d4f5008fce4451e43e66d041e837f9e3f9'} from 'ACTIONS_MODULE0'\nexport {installAgentCli as '40128ab2752a7111f8b05ac937c14d6ed667edf3b6'} from 'ACTIONS_MODULE0'\nexport {cloneRemoteRepository as '604743ec4292a85da73a85c9bdd15b3f6a75395ca5'} from 'ACTIONS_MODULE1'\nexport {resolveRepositoryByName as '4081dde2fabb3421c85f18be73274004f0d43c9562'} from 'ACTIONS_MODULE1'\nexport {createSession as '7050454c6134447ce6bc4a9d73f15ca32de1003d51'} from 'ACTIONS_MODULE2'\nexport {deleteSession as '40741753ada3350d17aec804fd7e2bfe5aa01d8e00'} from 'ACTIONS_MODULE2'\nexport {getSessionPrefillContext as '403a704a5db29d9d7bb4c90658055e044a2ddf8d56'} from 'ACTIONS_MODULE2'\nexport {listSessions as '4055fd7a3397938a6bc7f5242ec35135188214992b'} from 'ACTIONS_MODULE2'\nexport {saveSessionLaunchContext as '6051aa3fd0d1d19c3565139a2f0939c6562445b998'} from 'ACTIONS_MODULE2'\nexport {getConfig as '00b605122d1ebecb0bb91b403ac7541273d829be60'} from 'ACTIONS_MODULE3'\nexport {updateConfig as '4088c70532477a335b5efb3a8eb1ebf1d6121feb8f'} from 'ACTIONS_MODULE3'\nexport {updateRepoSettings as '60b21fc8510140a7259bc214fa4b84e84a5ba69526'} from 'ACTIONS_MODULE3'\nexport {listAgentApiCredentials as '0047c3af93f3030ef7f7c9e0c051d2393cb3e550b2'} from 'ACTIONS_MODULE4'\nexport {listCredentials as '00df940972a56c946b92120701428935620d09d2e5'} from 'ACTIONS_MODULE4'\nexport {listPathEntries as '402cbe5360fd0346a04fa0f20bdd530bf958a2d41d'} from 'ACTIONS_MODULE0'\nexport {saveAttachments as '7f5b976c1aeb2c8d9c98cafb827004e552303f2344'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OAYA,EAAA,EAAA,CAAA,CAAA,OAEA,EAAA,EAAA,CAAA,CAAA,OAKA,EAAA,EAAA,CAAA,CAAA,OAGA,EAAA,EAAA,CAAA,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[72496,a=>{"use strict";var b=a.i(15271),c=a.i(98624),d=a.i(51817),e=a.i(38642),f=a.i(37359);a.s([],17406),a.i(17406),a.s(["
|
|
1
|
+
module.exports=[72496,a=>{"use strict";var b=a.i(15271),c=a.i(98624),d=a.i(51817),e=a.i(38642),f=a.i(37359);a.s([],17406),a.i(17406),a.s(["0047c3af93f3030ef7f7c9e0c051d2393cb3e550b2",()=>f.listAgentApiCredentials,"004c907b772c5b7bb57fb000480ab83f977ad1bbbd",()=>b.getHomeDirectory,"00b605122d1ebecb0bb91b403ac7541273d829be60",()=>e.getConfig,"00df940972a56c946b92120701428935620d09d2e5",()=>f.listCredentials,"40128ab2752a7111f8b05ac937c14d6ed667edf3b6",()=>b.installAgentCli,"402cbe5360fd0346a04fa0f20bdd530bf958a2d41d",()=>b.listPathEntries,"403a704a5db29d9d7bb4c90658055e044a2ddf8d56",()=>d.getSessionPrefillContext,"4055fd7a3397938a6bc7f5242ec35135188214992b",()=>d.listSessions,"406271c013f495b1fc2163d9dc6d639cfa1373ab54",()=>b.listDirectories,"40741753ada3350d17aec804fd7e2bfe5aa01d8e00",()=>d.deleteSession,"4076227045d995d7ebc25c531f32e2a87356d1b756",()=>b.checkIsGitRepo,"4081dde2fabb3421c85f18be73274004f0d43c9562",()=>c.resolveRepositoryByName,"4088c70532477a335b5efb3a8eb1ebf1d6121feb8f",()=>e.updateConfig,"4098e7e0d4f5008fce4451e43e66d041e837f9e3f9",()=>b.checkAgentCliInstalled,"40c262d5938266de94813235f39c039fa27f36084b",()=>b.getBranches,"40fe6a649d4d44153576d492b8f201e8f9d1bb8002",()=>b.checkDirectoryAccessible,"604743ec4292a85da73a85c9bdd15b3f6a75395ca5",()=>c.cloneRemoteRepository,"6051aa3fd0d1d19c3565139a2f0939c6562445b998",()=>d.saveSessionLaunchContext,"60b21fc8510140a7259bc214fa4b84e84a5ba69526",()=>e.updateRepoSettings,"60d224edfc86c4aa6873ba8147fd55a2b9db75232c",()=>b.checkoutBranch,"7050454c6134447ce6bc4a9d73f15ca32de1003d51",()=>d.createSession,"7f5b976c1aeb2c8d9c98cafb827004e552303f2344",()=>b.saveAttachments,"7f76af8829ac3090fe2e14647ad0f874a12f99f97f",()=>b.startTtydProcess,"7fbb37844c0f22990860561b735b803746e71e433e",()=>b.listRepoFiles,"7fd85e8ab097eda0009160a5e7a1f1623562f68e0c",()=>b.getStartupScript,"7feccb06f8109bf574703f612f4b77879283cdb9ea",()=>b.getDefaultDevServerScript],72496)},45581,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[externals]_keytar_23140f5c._.js"].map(b=>a.l(b))).then(()=>b(83034)))},44264,a=>{a.v(a=>Promise.resolve().then(()=>a(33405)))},37706,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__edf0aa7a._.js"].map(b=>a.l(b))).then(()=>b(78775)))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__d5eaad6d._.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../.next-internal/server/app/new/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {checkDirectoryAccessible as '
|
|
1
|
+
{"version":3,"sources":["../../../../.next-internal/server/app/new/page/actions.js%20%28server%20actions%20loader%29"],"sourcesContent":["export {checkDirectoryAccessible as '40fe6a649d4d44153576d492b8f201e8f9d1bb8002'} from 'ACTIONS_MODULE0'\nexport {listDirectories as '406271c013f495b1fc2163d9dc6d639cfa1373ab54'} from 'ACTIONS_MODULE0'\nexport {getHomeDirectory as '004c907b772c5b7bb57fb000480ab83f977ad1bbbd'} from 'ACTIONS_MODULE0'\nexport {checkIsGitRepo as '4076227045d995d7ebc25c531f32e2a87356d1b756'} from 'ACTIONS_MODULE0'\nexport {getBranches as '40c262d5938266de94813235f39c039fa27f36084b'} from 'ACTIONS_MODULE0'\nexport {checkoutBranch as '60d224edfc86c4aa6873ba8147fd55a2b9db75232c'} from 'ACTIONS_MODULE0'\nexport {startTtydProcess as '7f76af8829ac3090fe2e14647ad0f874a12f99f97f'} from 'ACTIONS_MODULE0'\nexport {getStartupScript as '7fd85e8ab097eda0009160a5e7a1f1623562f68e0c'} from 'ACTIONS_MODULE0'\nexport {getDefaultDevServerScript as '7feccb06f8109bf574703f612f4b77879283cdb9ea'} from 'ACTIONS_MODULE0'\nexport {listRepoFiles as '7fbb37844c0f22990860561b735b803746e71e433e'} from 'ACTIONS_MODULE0'\nexport {checkAgentCliInstalled as '4098e7e0d4f5008fce4451e43e66d041e837f9e3f9'} from 'ACTIONS_MODULE0'\nexport {installAgentCli as '40128ab2752a7111f8b05ac937c14d6ed667edf3b6'} from 'ACTIONS_MODULE0'\nexport {cloneRemoteRepository as '604743ec4292a85da73a85c9bdd15b3f6a75395ca5'} from 'ACTIONS_MODULE1'\nexport {resolveRepositoryByName as '4081dde2fabb3421c85f18be73274004f0d43c9562'} from 'ACTIONS_MODULE1'\nexport {createSession as '7050454c6134447ce6bc4a9d73f15ca32de1003d51'} from 'ACTIONS_MODULE2'\nexport {deleteSession as '40741753ada3350d17aec804fd7e2bfe5aa01d8e00'} from 'ACTIONS_MODULE2'\nexport {getSessionPrefillContext as '403a704a5db29d9d7bb4c90658055e044a2ddf8d56'} from 'ACTIONS_MODULE2'\nexport {listSessions as '4055fd7a3397938a6bc7f5242ec35135188214992b'} from 'ACTIONS_MODULE2'\nexport {saveSessionLaunchContext as '6051aa3fd0d1d19c3565139a2f0939c6562445b998'} from 'ACTIONS_MODULE2'\nexport {getConfig as '00b605122d1ebecb0bb91b403ac7541273d829be60'} from 'ACTIONS_MODULE3'\nexport {updateConfig as '4088c70532477a335b5efb3a8eb1ebf1d6121feb8f'} from 'ACTIONS_MODULE3'\nexport {updateRepoSettings as '60b21fc8510140a7259bc214fa4b84e84a5ba69526'} from 'ACTIONS_MODULE3'\nexport {listAgentApiCredentials as '0047c3af93f3030ef7f7c9e0c051d2393cb3e550b2'} from 'ACTIONS_MODULE4'\nexport {listCredentials as '00df940972a56c946b92120701428935620d09d2e5'} from 'ACTIONS_MODULE4'\nexport {listPathEntries as '402cbe5360fd0346a04fa0f20bdd530bf958a2d41d'} from 'ACTIONS_MODULE0'\nexport {saveAttachments as '7f5b976c1aeb2c8d9c98cafb827004e552303f2344'} from 'ACTIONS_MODULE0'\n"],"names":[],"mappings":"uCAAA,IAAA,EAAA,EAAA,CAAA,CAAA,OAYA,EAAA,EAAA,CAAA,CAAA,OAEA,EAAA,EAAA,CAAA,CAAA,OAKA,EAAA,EAAA,CAAA,CAAA,OAGA,EAAA,EAAA,CAAA,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[72131,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].React},38783,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactServerDOMTurbopackClient},35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},9270,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.AppRouterContext},36313,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.HooksClientContext},18341,(a,b,c)=>{"use strict";b.exports=a.r(42602).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"))},42602,(a,b,c)=>{"use strict";b.exports=a.r(18622)},87924,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactJsxRuntime},
|
|
1
|
+
module.exports=[72131,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].React},38783,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactServerDOMTurbopackClient},35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},9270,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.AppRouterContext},36313,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.HooksClientContext},18341,(a,b,c)=>{"use strict";b.exports=a.r(42602).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"))},42602,(a,b,c)=>{"use strict";b.exports=a.r(18622)},87924,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactJsxRuntime},58115,64209,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("0047c3af93f3030ef7f7c9e0c051d2393cb3e550b2",b.callServer,void 0,b.findSourceMapURL,"listAgentApiCredentials");a.s(["listAgentApiCredentials",()=>c],58115);let d=(0,b.createServerReference)("00df940972a56c946b92120701428935620d09d2e5",b.callServer,void 0,b.findSourceMapURL,"listCredentials");a.s(["listCredentials",()=>d],64209)},37047,a=>{"use strict";let b=(0,a.i(70106).default)("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);a.s(["KeyRound",()=>b],37047)}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__dd75a648._.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-dom.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../node_modules/next/src/server/route-modules/app-page/module.compiled.js","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.ts","../../../../src/app/actions/data%
|
|
1
|
+
{"version":3,"sources":["../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-dom.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/app-router-context.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/hooks-client-context.ts","../../../../node_modules/next/src/server/route-modules/app-page/vendored/contexts/server-inserted-html.ts","../../../../node_modules/next/src/server/route-modules/app-page/module.compiled.js","../../../../node_modules/next/src/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.ts","../../../../src/app/actions/data%3Abe524f%20%3Ctext/javascript%3E","../../../../src/app/actions/data%3A1095ef%20%3Ctext/javascript%3E","../../../../node_modules/lucide-react/src/icons/key-round.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']!.ReactServerDOMTurbopackClient\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['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","/* __next_internal_action_entry_do_not_use__ [{\"0047c3af93f3030ef7f7c9e0c051d2393cb3e550b2\":\"listAgentApiCredentials\"},\"src/app/actions/credentials.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_3=/*#__PURE__*/createServerReference(\"0047c3af93f3030ef7f7c9e0c051d2393cb3e550b2\",callServer,void 0,findSourceMapURL,\"listAgentApiCredentials\");export{$$RSC_SERVER_ACTION_3 as listAgentApiCredentials};","/* __next_internal_action_entry_do_not_use__ [{\"00df940972a56c946b92120701428935620d09d2e5\":\"listCredentials\"},\"src/app/actions/credentials.ts\",\"\"] */\"use turbopack no side effects\";import{createServerReference,callServer,findSourceMapURL}from\"private-next-rsc-action-client-wrapper\";const $$RSC_SERVER_ACTION_0=/*#__PURE__*/createServerReference(\"00df940972a56c946b92120701428935620d09d2e5\",callServer,void 0,findSourceMapURL,\"listCredentials\");export{$$RSC_SERVER_ACTION_0 as listCredentials};","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z',\n key: '1s6t7t',\n },\n ],\n ['circle', { cx: '16.5', cy: '7.5', r: '.5', fill: 'currentColor', key: 'w0ekpg' }],\n];\n\n/**\n * @component @name KeyRound\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/key-round\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst KeyRound = createLucideIcon('key-round', __iconNode);\n\nexport default KeyRound;\n"],"names":["module","exports","require","vendored","React","ReactServerDOMTurbopackClient","ReactDOM","AppRouterContext","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,6BAA6B,+BCFtDL,EAAOC,OAAO,CACZC,EAAQ,CAAA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A,CAAA,AAAI,CAAA,CAAA,CAAA,CAAA,CAAA,CAAO,CAAA,CAAA,AAAG,CAAA,CAAA,CAAA,CAAA,CAAM,AAAN,CAAM,CAAA,CAAA,CAAA,CAAA,AAAM,cAAA,CAAA,AAAgB,CAAA,CAAA,CAAA,CAAA,AAAK,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAU,CAAA,CACpF","ignoreList":[0,1,2,3,4,5,6,7,10]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[15618,a=>{"use strict";let b=(0,a.i(70106).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);a.s(["Plus",()=>b],15618)},33508,a=>{"use strict";let b=(0,a.i(70106).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);a.s(["X",()=>b],33508)},5784,a=>{"use strict";let b=(0,a.i(70106).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);a.s(["ChevronDown",()=>b],5784)},52495,a=>{"use strict";let b=(0,a.i(70106).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);a.s(["ExternalLink",()=>b],52495)},39130,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("004c907b772c5b7bb57fb000480ab83f977ad1bbbd",b.callServer,void 0,b.findSourceMapURL,"getHomeDirectory");a.s(["getHomeDirectory",()=>c])},92596,a=>{"use strict";let b=(0,a.i(70106).default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);a.s(["Folder",()=>b],92596)},210,a=>{"use strict";let b=(0,a.i(70106).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);a.s(["ArrowLeft",()=>b],210)},11431,94659,a=>{"use strict";function b(a){return a&&a.replace(/\\/g,"/").split("/").filter(Boolean).pop()||""}function c(a){if(!a)return"";let b=a.replace(/\\/g,"/"),c=b.length>1&&b.endsWith("/")?b.slice(0,-1):b,d=c.lastIndexOf("/");return -1===d?a.includes(":")&&a.length<=3?b:".":0===d?"/":a.includes(":")&&2===d?c.substring(0,3):c.substring(0,d)}function d(a){return/^[a-zA-Z]:[\\/]/.test(a)}a.s(["getBaseName",()=>b,"getDirName",()=>c,"isWindowsAbsolutePath",()=>d],11431);var e=a.i(72131);function f({enabled:a=!0,onConfirm:b,onDismiss:c,canConfirm:d=!0}){(0,e.useEffect)(()=>{if(!a)return;let e=a=>{if("Escape"===a.key){a.preventDefault(),c();return}"Enter"!==a.key||!b||!d||a.defaultPrevented||a.metaKey||a.ctrlKey||a.altKey||a.shiftKey||(a=>{if(!(a instanceof HTMLElement))return!1;let b=a.tagName.toUpperCase();return"INPUT"===b||"TEXTAREA"===b||"SELECT"===b||a.isContentEditable})(a.target)||(a.preventDefault(),b())};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[a,b,c,d])}a.s(["useDialogKeyboardShortcuts",()=>f],94659)},25515,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("7f76af8829ac3090fe2e14647ad0f874a12f99f97f",b.callServer,void 0,b.findSourceMapURL,"startTtydProcess");a.s(["startTtydProcess",()=>c])},39269,43699,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("00b605122d1ebecb0bb91b403ac7541273d829be60",b.callServer,void 0,b.findSourceMapURL,"getConfig");a.s(["getConfig",()=>c],39269);let d=(0,b.createServerReference)("4088c70532477a335b5efb3a8eb1ebf1d6121feb8f",b.callServer,void 0,b.findSourceMapURL,"updateConfig");a.s(["updateConfig",()=>d],43699)},12627,a=>{"use strict";function b(){}a.s(["SESSIONS_UPDATED_EVENT",0,"viba:sessions-updated","SESSIONS_UPDATED_STORAGE_KEY",0,"viba:sessions-updated-at","notifySessionsUpdated",()=>b])},9709,10603,92106,4720,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("402cbe5360fd0346a04fa0f20bdd530bf958a2d41d",b.callServer,void 0,b.findSourceMapURL,"listPathEntries");a.s(["listPathEntries",()=>c],9709);let d=(0,b.createServerReference)("7f5b976c1aeb2c8d9c98cafb827004e552303f2344",b.callServer,void 0,b.findSourceMapURL,"saveAttachments");a.s(["saveAttachments",()=>d],10603);var e=a.i(70106);let f=(0,e.default)("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]]);a.s(["Clipboard",()=>f],92106);let g=(0,e.default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);a.s(["FileText",()=>g],4720)},996,60087,67329,1239,58988,a=>{"use strict";var b=a.i(70106);let c=(0,b.default)("grid-2x2",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);a.s(["Grid2x2",()=>c],996);let d=(0,b.default)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);a.s(["House",()=>d],60087);let e=(0,b.default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);a.s(["List",()=>e],67329);let f=(0,b.default)("pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]);a.s(["Pin",()=>f],1239);let g=(0,b.default)("pin-off",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89",key:"znwnzq"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11",key:"c9qhm2"}]]);a.s(["PinOff",()=>g],58988)},64724,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(71987),e=a.i(39130),f=a.i(9709),g=a.i(10603),h=a.i(39269),i=a.i(43699),j=a.i(210),k=a.i(92106),l=a.i(4720),m=a.i(92596),n=a.i(996),o=a.i(60087),p=a.i(67329),q=a.i(1239),r=a.i(58988),s=a.i(11431),t=a.i(94659);let u="viba:session-file-browser:view-mode";function v({initialPath:a,worktreePath:v,onConfirm:w,onCancel:x,onPathChange:y}){let z=(0,c.useMemo)(()=>new Set([".png",".jpg",".jpeg",".gif",".webp",".bmp",".svg",".ico",".avif"]),[]),[A,B]=(0,c.useState)(""),[C,D]=(0,c.useState)([]),[E,F]=(0,c.useState)(!1),[G,H]=(0,c.useState)(null),[I,J]=(0,c.useState)(""),[K,L]=(0,c.useState)([]),[M,N]=(0,c.useState)(null),[O,P]=(0,c.useState)("list"),[Q,R]=(0,c.useState)(!1),[S,T]=(0,c.useState)({}),[U,V]=(0,c.useState)([]);(0,c.useEffect)(()=>{let b=!0;return(async()=>{try{let c=await (0,e.getHomeDirectory)();if(!b)return;J(c),a||B(c)}catch(a){console.error("Failed to resolve home directory:",a)}a&&b&&B(a)})(),()=>{b=!1}},[a]),(0,c.useEffect)(()=>{let a=!0;return(async()=>{try{let b=await (0,h.getConfig)();if(!a)return;let c=Array.isArray(b.pinnedFolderShortcuts)?b.pinnedFolderShortcuts.filter(a=>"string"==typeof a&&a.trim().length>0):[];V(Array.from(new Set(c)))}catch(a){console.error("Failed to load pinned folder shortcuts:",a)}})(),()=>{a=!1}},[]),(0,c.useEffect)(()=>{try{let a=localStorage.getItem(u);("list"===a||"grid"===a)&&P(a)}catch{}finally{R(!0)}},[]),(0,c.useEffect)(()=>{if(Q)try{localStorage.setItem(u,O)}catch{}},[Q,O]),(0,c.useEffect)(()=>{A&&(async()=>{F(!0),H(null);try{let a=await (0,f.listPathEntries)(A);D(a)}catch(a){console.error("Failed to list files:",a),H("Failed to load directory contents")}finally{F(!1)}})()},[A]),(0,c.useEffect)(()=>{A&&y?.(A)},[A,y]),(0,c.useEffect)(()=>{L([]),N(null),T({})},[A]);let W=(0,c.useMemo)(()=>new Set(K),[K]),X=(a,b,c)=>{if(a.isDirectory)return void B(a.path);let d=c.metaKey||c.ctrlKey;if(c.shiftKey&&null!==M){let a=Math.min(M,b),c=Math.max(M,b);L(C.slice(a,c+1).filter(a=>!a.isDirectory).map(a=>a.path));return}if(d){L(b=>b.includes(a.path)?b.filter(b=>b!==a.path):[...b,a.path]),N(b);return}L([a.path]),N(b)},Y=async()=>{if(H(null),!v)return void H("Cannot paste: Session worktree path is missing.");try{if(F(!0),!navigator.clipboard||!navigator.clipboard.read)throw Error("Clipboard API not supported in this browser");let a=await navigator.clipboard.read(),b=new FormData,c=!1;for(let d of a)for(let a of d.types)if(a.startsWith("image/")){let e=await d.getType(a),f=a.split("/")[1]||"png",g=`pasted-image-${Date.now()}.${f}`,h=new File([e],g,{type:a});b.append(g,h),c=!0;break}if(c){let a=await (0,g.saveAttachments)(v,b);if(a&&a.length>0)return void await w(a);H("Failed to save pasted files.")}else try{let a=await navigator.clipboard.readText();a&&a.trim().startsWith("/")?H("No file content found in clipboard. Copy an image or file first."):H("No file content found in clipboard.")}catch{H("No file content found in clipboard.")}}catch(b){let a=b instanceof Error?b.message:String(b);console.error("Paste error:",b),H(`Failed to read from clipboard: ${a}`)}finally{F(!1)}},Z=async a=>{V(a);try{await (0,i.updateConfig)({pinnedFolderShortcuts:a})}catch(a){console.error("Failed to save pinned folder shortcuts:",a),H("Failed to save pinned shortcuts")}},$=async a=>{(H(null),U.includes(a))?await Z(U.filter(b=>b!==a)):await Z([...U,a])},_=(0,c.useCallback)(async()=>{0!==K.length&&await w(K)},[w,K]);return(0,t.useDialogKeyboardShortcuts)({onConfirm:_,onDismiss:x,canConfirm:K.length>0}),(0,b.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-sm p-4",children:(0,b.jsxs)("div",{className:"bg-base-200 rounded-lg shadow-xl w-full max-w-5xl h-[82vh] flex flex-col",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between p-4 border-b border-base-300",children:[(0,b.jsxs)("h2",{className:"text-xl font-bold flex items-center gap-2",children:[(0,b.jsx)(m.Folder,{className:"w-5 h-5"}),"Browse Files"]}),(0,b.jsx)("button",{onClick:x,className:"btn btn-sm btn-ghost btn-circle",title:"Close file browser",children:"✕"})]}),(0,b.jsxs)("div",{className:"flex items-center gap-2 p-3 bg-base-300",children:[(0,b.jsx)("button",{onClick:()=>{let a=(0,s.getDirName)(A);a&&a!==A&&B(a)},className:"btn btn-sm btn-square btn-ghost",title:"Go Up",disabled:"/"===A||!A,children:(0,b.jsx)(j.ArrowLeft,{className:"w-4 h-4"})}),(0,b.jsxs)("button",{onClick:()=>{I&&A!==I&&B(I)},className:"btn btn-sm btn-ghost gap-1",title:I?`Go to Home Folder (${I})`:"Go to Home Folder",disabled:!I||A===I,children:[(0,b.jsx)(o.House,{className:"w-4 h-4"}),"Home"]}),(0,b.jsx)("div",{className:"flex-1 overflow-x-auto whitespace-nowrap px-2 font-mono text-sm",children:A}),(0,b.jsxs)("div",{className:"join",children:[(0,b.jsx)("button",{type:"button",onClick:()=>P("list"),className:`btn btn-sm join-item ${"list"===O?"btn-active":"btn-ghost"}`,title:"List view",children:(0,b.jsx)(p.List,{className:"w-4 h-4"})}),(0,b.jsx)("button",{type:"button",onClick:()=>P("grid"),className:`btn btn-sm join-item ${"grid"===O?"btn-active":"btn-ghost"}`,title:"Grid view",children:(0,b.jsx)(n.Grid2x2,{className:"w-4 h-4"})})]}),(0,b.jsxs)("button",{onClick:_,className:"btn btn-sm btn-primary gap-2",disabled:0===K.length,title:"Insert selected absolute paths",children:["Insert (",K.length,")"]}),(0,b.jsx)("div",{className:"w-[1px] h-6 bg-base-content/10 mx-1"}),(0,b.jsxs)("button",{onClick:Y,className:"btn btn-sm btn-ghost gap-2",title:"Paste file/image from clipboard",disabled:!v,children:[(0,b.jsx)(k.Clipboard,{className:"w-4 h-4"}),"Paste"]})]}),U.length>0&&(0,b.jsx)("div",{className:"px-3 py-2 border-b border-base-300 bg-base-200/50",children:(0,b.jsx)("div",{className:"flex items-center gap-2 overflow-x-auto",children:U.map(a=>{let c=a===A,d=a.split(/[\\/]/).filter(Boolean).pop()||a;return(0,b.jsxs)("div",{className:"join shrink-0",children:[(0,b.jsxs)("button",{type:"button",className:`btn btn-xs join-item ${c?"btn-primary":"btn-ghost"}`,onClick:()=>B(a),title:a,children:[(0,b.jsx)(m.Folder,{className:"w-3 h-3"}),d]}),(0,b.jsx)("button",{type:"button",className:"btn btn-xs btn-ghost join-item",onClick:()=>void $(a),title:`Unpin ${a}`,children:(0,b.jsx)(r.PinOff,{className:"w-3 h-3"})})]},a)})})}),(0,b.jsx)("div",{className:"flex-1 overflow-y-auto p-2",children:E?(0,b.jsx)("div",{className:"flex justify-center items-center h-full",children:(0,b.jsx)("span",{className:"loading loading-spinner loading-lg"})}):G?(0,b.jsx)("div",{className:"alert alert-error",children:G}):0===C.length?(0,b.jsx)("div",{className:"text-center text-base-content/50 mt-10",children:"Empty directory"}):"list"===O?(0,b.jsx)("div",{className:"grid grid-cols-1 gap-1",children:C.map((a,c)=>{let d=W.has(a.path);return(0,b.jsxs)("div",{className:`flex items-center justify-between p-2 rounded-md cursor-pointer transition-colors border ${d?"bg-primary text-primary-content border-primary":"hover:bg-base-100 border-transparent"}`,onClick:b=>X(a,c,b),title:a.path,children:[(0,b.jsxs)("div",{className:"flex items-center gap-3 overflow-hidden",children:[a.isDirectory?(0,b.jsx)(m.Folder,{className:"w-5 h-5 shrink-0"}):(0,b.jsx)(l.FileText,{className:"w-5 h-5 shrink-0"}),(0,b.jsx)("span",{className:"truncate",children:a.name})]}),(0,b.jsx)("span",{className:"text-[10px] opacity-70 shrink-0",children:a.isDirectory?(0,b.jsx)("button",{type:"button",className:"btn btn-ghost btn-xs h-6 min-h-6",onClick:b=>{b.stopPropagation(),$(a.path)},title:U.includes(a.path)?"Unpin folder":"Pin folder",children:(0,b.jsx)(q.Pin,{className:`w-3 h-3 ${U.includes(a.path)?"fill-current":""}`})}):"file"})]},a.path)})}):(0,b.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-5 gap-3",children:C.map((a,c)=>{var e;let f,g=W.has(a.path),h=!a.isDirectory&&-1!==(f=(e=a.name).lastIndexOf("."))&&z.has(e.slice(f).toLowerCase()),i=`/api/file-thumbnail?path=${encodeURIComponent(a.path)}`;return(0,b.jsxs)("button",{type:"button",className:`rounded-lg border text-left overflow-hidden transition-colors ${g?"border-primary bg-primary/15":"border-base-300 hover:bg-base-100"}`,onClick:b=>X(a,c,b),title:a.path,children:[(0,b.jsxs)("div",{className:"aspect-square bg-base-300 flex items-center justify-center overflow-hidden relative",children:[h&&!S[a.path]?(0,b.jsx)(d.default,{src:i,alt:a.name,fill:!0,sizes:"(max-width: 768px) 50vw, (max-width: 1024px) 25vw, 20vw",className:"object-cover",unoptimized:!0,onError:()=>T(b=>({...b,[a.path]:!0}))}):a.isDirectory?(0,b.jsx)(m.Folder,{className:"w-10 h-10 opacity-80"}):(0,b.jsx)(l.FileText,{className:"w-10 h-10 opacity-80"}),a.isDirectory&&(0,b.jsx)("button",{type:"button",className:`absolute top-1 right-1 btn btn-xs btn-circle ${U.includes(a.path)?"btn-primary":"btn-ghost bg-base-100/70"}`,onClick:b=>{b.stopPropagation(),$(a.path)},title:U.includes(a.path)?"Unpin folder":"Pin folder",children:(0,b.jsx)(q.Pin,{className:`w-3 h-3 ${U.includes(a.path)?"fill-current":""}`})})]}),(0,b.jsxs)("div",{className:"px-2 py-2",children:[(0,b.jsx)("div",{className:"truncate text-sm font-medium",title:a.name,children:a.name}),(0,b.jsx)("div",{className:"text-[10px] opacity-70",children:a.isDirectory?"folder":h?"image":"file"})]})]},a.path)})})}),(0,b.jsx)("div",{className:"p-3 border-t border-base-300 text-xs text-base-content/60 text-center",children:"Click: single select. Cmd/Ctrl+Click: multi-select. Shift+Click: range select. Click a folder to open it."})]})})}a.s(["default",()=>v])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=_5a113fab._.js.map
|