diff --git a/.next/BUILD_ID b/.next/BUILD_ID new file mode 100644 index 00000000..aa03c7b0 --- /dev/null +++ b/.next/BUILD_ID @@ -0,0 +1 @@ +tdRFiMU9NY27lyZAe0hH7 \ No newline at end of file diff --git a/.next/app-build-manifest.json b/.next/app-build-manifest.json new file mode 100644 index 00000000..adb562bf --- /dev/null +++ b/.next/app-build-manifest.json @@ -0,0 +1,984 @@ +{ + "pages": { + "/_not-found/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/_not-found/page-8819b969a74d464e.js" + ], + "/api/admin/view-redis-credentials/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/admin/view-redis-credentials/route-3aad6dbf7f8ff774.js" + ], + "/layout": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/css/32f29dc16d5c6ea7.css", + "static/css/7e7d96b1e6991756.css", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/5685-70e5cd40c9d9d2fe.js", + "static/chunks/8067-50b1a9724ff35d36.js", + "static/chunks/6874-42da063febda029b.js", + "static/chunks/1334-fc3eb3cf833c9f31.js", + "static/chunks/5004-e39bbd769c9889fd.js", + "static/chunks/4361-818b59225cf41c42.js", + "static/chunks/app/layout-17bf4ce9e9e8d02b.js" + ], + "/api/admin/restore-credentials/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/admin/restore-credentials/route-d6ebcb81f12b02d8.js" + ], + "/api/announcements/[id]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/announcements/[id]/route-6aca1ce8abd7808a.js" + ], + "/api/announcements/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/announcements/route-13f2480ba5412f63.js" + ], + "/api/auth/[...nextauth]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/auth/[...nextauth]/route-108cdfb7306a96fe.js" + ], + "/api/auth/debug-keycloak/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/auth/debug-keycloak/route-7bdac8a908114384.js" + ], + "/api/auth/refresh-keycloak-session/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/auth/refresh-keycloak-session/route-44d37a5d32f277e6.js" + ], + "/api/calendars/[id]/events/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/calendars/[id]/events/route-7c2a2181aacf1cb5.js" + ], + "/api/calendars/[id]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/calendars/[id]/route-68efeb7ec0679e92.js" + ], + "/api/calendar/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/calendar/route-ceaa6f2a2fac27e4.js" + ], + "/api/calendars/[id]/share/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/calendars/[id]/share/route-1ec2f3b7d23a53cb.js" + ], + "/api/calendars/[id]/events/[eventId]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/calendars/[id]/events/[eventId]/route-4e9f86f18f6a0ef5.js" + ], + "/api/calendars/default/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/calendars/default/route-5baae49a69e04682.js" + ], + "/api/courrier/[id]/flag/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/[id]/flag/route-b9c94a8ab3de812c.js" + ], + "/api/calendars/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/calendars/route-cee076d66c1a5d2b.js" + ], + "/api/courrier/[id]/mark-read/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/[id]/mark-read/route-864b81d35bb1dee3.js" + ], + "/api/courrier/[id]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/[id]/route-3c2170dfb66100b4.js" + ], + "/api/courrier/account-folders/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/account-folders/route-60ff45358f214c55.js" + ], + "/api/courrier/account-details/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/account-details/route-f540c52e08c15caa.js" + ], + "/api/courrier/credentials/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/credentials/route-f1b7acb4467175d1.js" + ], + "/api/courrier/account-list/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/account-list/route-b6bbc5293db28ab0.js" + ], + "/api/courrier/debug-account/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/debug-account/route-63d3688dd726de9b.js" + ], + "/api/courrier/emails/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/emails/route-ce6669be2009c295.js" + ], + "/api/courrier/delete/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/delete/route-9f8e22e2bf530628.js" + ], + "/api/courrier/account/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/account/route-79dfd95ad09f83e3.js" + ], + "/api/courrier/fix-folders/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/fix-folders/route-4995555a56286691.js" + ], + "/api/courrier/refresh/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/refresh/route-338eccffc78d7e4e.js" + ], + "/api/courrier/microsoft/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/microsoft/route-27ef0cc357f951a7.js" + ], + "/api/courrier/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/route-37df324daefbc5aa.js" + ], + "/api/courrier/recache/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/recache/route-b6d33418a83e4151.js" + ], + "/api/courrier/send/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/send/route-761390b45beffafb.js" + ], + "/api/courrier/microsoft/callback/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/microsoft/callback/route-b8ae73e8ee5363aa.js" + ], + "/api/courrier/test-connection/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/test-connection/route-f78704cbec17cecc.js" + ], + "/api/debug-email/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/debug-email/route-f0d1ed64aedd6763.js" + ], + "/api/debug/notifications/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/debug/notifications/route-deea705f8dec9b62.js" + ], + "/api/debug/create-all-folders/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/debug/create-all-folders/route-28aacec1ec8d00e6.js" + ], + "/api/debug/leantime-methods/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/debug/leantime-methods/route-e0c814faa0166208.js" + ], + "/api/courrier/session/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/session/route-732ec7c54f8623ae.js" + ], + "/api/debug/s3/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/debug/s3/route-a71c5d46d4eaf406.js" + ], + "/api/emails/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/emails/route-a0b190a9629cbdcc.js" + ], + "/api/groups/[groupId]/members/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/groups/[groupId]/members/route-9938333b900bbe46.js" + ], + "/api/courrier/unread-counts/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/courrier/unread-counts/route-d6b46f53476c5e39.js" + ], + "/api/events/[id]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/events/[id]/route-fe1ef37578283437.js" + ], + "/api/groups/[groupId]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/groups/[groupId]/route-3105f8a2cd663723.js" + ], + "/api/events/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/events/route-7fcb5ab27e49d29b.js" + ], + "/api/groups/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/groups/route-07ed06cbe4adab82.js" + ], + "/api/leantime/status-labels/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/leantime/status-labels/route-de50274874164046.js" + ], + "/api/missions/[missionId]/attachments/[attachmentId]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/missions/[missionId]/attachments/[attachmentId]/route-6f8571f7e85111ad.js" + ], + "/api/leantime/tasks/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/leantime/tasks/route-df87a137dd8e0266.js" + ], + "/api/missions/[missionId]/attachments/download/[attachmentId]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/missions/[missionId]/attachments/download/[attachmentId]/route-d8b1bb5b2e98ac7d.js" + ], + "/api/missions/[missionId]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/missions/[missionId]/route-aa8032083e99f658.js" + ], + "/api/missions/all/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/missions/all/route-9e3f10cc69bfa039.js" + ], + "/api/missions/[missionId]/attachments/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/missions/[missionId]/attachments/route-3682706f4c2efb92.js" + ], + "/api/missions/image/[...path]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/missions/image/[...path]/route-5f70a5a33a96456b.js" + ], + "/api/news/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/news/route-9e1ed99807eddc8d.js" + ], + "/api/missions/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/missions/route-e909f5937774b243.js" + ], + "/api/missions/upload/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/missions/upload/route-835a51c3f3d9332c.js" + ], + "/api/news/test-backend/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/news/test-backend/route-4dd4f48ee26d41fc.js" + ], + "/api/nextcloud/files/content/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/nextcloud/files/content/route-ea60113dc1a370f4.js" + ], + "/api/nextcloud/files/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/nextcloud/files/route-6afa4fcce4051dc6.js" + ], + "/api/nextcloud/status/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/nextcloud/status/route-660c7c428ecda8db.js" + ], + "/api/notifications/count/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/notifications/count/route-2e6378e7aa01094c.js" + ], + "/api/notifications/[id]/read/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/notifications/[id]/read/route-c22a696d4c73acdd.js" + ], + "/api/nextcloud/init/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/nextcloud/init/route-961ec9fe41f658bf.js" + ], + "/api/notifications/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/notifications/route-596bce6625c31690.js" + ], + "/api/redis/status/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/redis/status/route-2c9ea87db2a03d67.js" + ], + "/api/parse-email/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/parse-email/route-9b7a1d32337db7b0.js" + ], + "/api/roles/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/roles/route-8ba179511fcdf11c.js" + ], + "/api/storage/files/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/storage/files/route-92eda42ebc4e0b53.js" + ], + "/api/storage/files/content/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/storage/files/content/route-f0619c81ee44d25b.js" + ], + "/api/storage/init/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/storage/init/route-f13121236f8a20cb.js" + ], + "/api/sync-users/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/sync-users/route-2db2917c1e45dd59.js" + ], + "/api/users/[userId]/password/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/users/[userId]/password/route-2ed9c46708f05023.js" + ], + "/api/rocket-chat/messages/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/rocket-chat/messages/route-923d93efbc6adfec.js" + ], + "/api/storage/status/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/storage/status/route-e0891e19354ecc85.js" + ], + "/api/users/[userId]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/users/[userId]/route-d9c8faf594d79b4a.js" + ], + "/api/news/purge-cache/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/news/purge-cache/route-1985850b76382a12.js" + ], + "/api/notifications/read-all/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/notifications/read-all/route-e99f1d268cf7f921.js" + ], + "/api/users/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/users/route-e75f2936652c0c0d.js" + ], + "/courrier/[id]/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/courrier/[id]/route-44db97c8a4b9dc3e.js" + ], + "/api/storage/init/folder/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/storage/init/folder/route-4d12ec002dfd0128.js" + ], + "/api/users/[userId]/roles/route": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/api/users/[userId]/roles/route-f2f5256ed85a9b0a.js" + ], + "/[section]/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/[section]/page-2862723c22b46665.js" + ], + "/agilite/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/agilite/page-0cb22f02440a4141.js" + ], + "/alma/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/alma/page-055ca5cea0108e31.js" + ], + "/apprendre/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/apprendre/page-feb4b632bf8d5015.js" + ], + "/calcul/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/calcul/page-cd716bfde5b3a78c.js" + ], + "/artlab/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/artlab/page-c3703bd9e9db681d.js" + ], + "/dossiers/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/dossiers/page-9f88ea8734cab8e9.js" + ], + "/crm/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/crm/page-593f0fb00ba36600.js" + ], + "/chapitre/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/chapitre/page-6d51cc761689ef8b.js" + ], + "/gite/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/gite/page-394812678b537ea1.js" + ], + "/livres/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/livres/page-b1c9043fe11ce220.js" + ], + "/mediation/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/mediation/page-5a8830af3978e7d7.js" + ], + "/ms/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/ms/page-1bc4d0131afa8931.js" + ], + "/observatory/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/8587-381381929b5fa09d.js", + "static/chunks/app/observatory/page-b5e8f90738c76bc4.js" + ], + "/showcase/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/showcase/page-d52e83e7060a2dd2.js" + ], + "/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/6874-42da063febda029b.js", + "static/chunks/6794-a2e8ddbac34c56ab.js", + "static/chunks/app/page-81a536be942c91de.js" + ], + "/parole/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/parole/page-e1e3c2b592ab5ceb.js" + ], + "/radio/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/radio/page-0f34bbc16cb60ccf.js" + ], + "/the-message/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/the-message/page-3f40f057e6f3c921.js" + ], + "/vision/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/vision/page-0819b49fdd24ab2c.js" + ], + "/signout/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/signout/page-e5b717b2037bbf99.js" + ], + "/timetracker/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/timetracker/page-4e5e4b82e32e3b8e.js" + ], + "/press/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/press/page-8790e834b2aeaf6e.js" + ], + "/announcement/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/5685-70e5cd40c9d9d2fe.js", + "static/chunks/5652-6babf6fbe108fd74.js", + "static/chunks/4159-bbe647e6be2b9a64.js", + "static/chunks/2468-9a31b87cf6ea2b03.js", + "static/chunks/app/announcement/page-070cf4758e17f951.js" + ], + "/wp-admin/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/wp-admin/page-865ec5461462cb0e.js" + ], + "/pages/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/1334-fc3eb3cf833c9f31.js", + "static/chunks/1680-4938d96f733b6634.js", + "static/chunks/app/pages/page-fce3b66067672407.js" + ], + "/agenda/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/css/ebdf3955f4e6632b.css", + "static/chunks/518b661d-1af0c869a328374c.js", + "static/chunks/a6eb9415-823d2e787cc4ced9.js", + "static/chunks/13633bf0-86fba702540dbe9e.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/5685-70e5cd40c9d9d2fe.js", + "static/chunks/5652-6babf6fbe108fd74.js", + "static/chunks/1736-c3cafe0644779091.js", + "static/chunks/7272-3459a923f3966a53.js", + "static/chunks/app/agenda/page-4d3a42719b400702.js" + ], + "/groups/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/5685-70e5cd40c9d9d2fe.js", + "static/chunks/8067-50b1a9724ff35d36.js", + "static/chunks/7165-5ea997da5f342c9d.js", + "static/chunks/app/groups/page-2905b03eb1602c75.js" + ], + "/equipes/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/5685-70e5cd40c9d9d2fe.js", + "static/chunks/8067-50b1a9724ff35d36.js", + "static/chunks/5652-6babf6fbe108fd74.js", + "static/chunks/8389-938387c6ddab5238.js", + "static/chunks/7165-5ea997da5f342c9d.js", + "static/chunks/app/equipes/page-f54f1af01128ea3a.js" + ], + "/users/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/5685-70e5cd40c9d9d2fe.js", + "static/chunks/8067-50b1a9724ff35d36.js", + "static/chunks/8389-938387c6ddab5238.js", + "static/chunks/app/users/page-b31ed75e34b0e1a3.js" + ], + "/mission-tab/layout": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/mission-tab/layout-b5c7e143d3a4a1c2.js" + ], + "/mission-tab/[missionId]/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/7570-f2ace4bd72c56d51.js", + "static/chunks/app/mission-tab/[missionId]/page-3924e9c1b5da1512.js" + ], + "/missions/layout": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/6874-42da063febda029b.js", + "static/chunks/app/missions/layout-db1130eb2d94d086.js" + ], + "/missions/[missionId]/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/7570-f2ace4bd72c56d51.js", + "static/chunks/app/missions/[missionId]/page-1adb10b68cb9d917.js" + ], + "/missions/new/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/5685-70e5cd40c9d9d2fe.js", + "static/chunks/8067-50b1a9724ff35d36.js", + "static/chunks/6874-42da063febda029b.js", + "static/chunks/5652-6babf6fbe108fd74.js", + "static/chunks/4159-bbe647e6be2b9a64.js", + "static/chunks/3610-26fbc91245c9a516.js", + "static/chunks/1895-764d095e5a25bafd.js", + "static/chunks/app/missions/new/page-8f549f540fb00d82.js" + ], + "/missions/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/6874-42da063febda029b.js", + "static/chunks/app/missions/page-4df08039b4983b66.js" + ], + "/missions/[missionId]/edit/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/app/missions/[missionId]/edit/page-1ecc087a456dbc3d.js" + ], + "/courrier/layout": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/courrier/layout-b40cb17492badfed.js" + ], + "/courrier/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/css/b768cd3c08ab615c.css", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/5685-70e5cd40c9d9d2fe.js", + "static/chunks/8067-50b1a9724ff35d36.js", + "static/chunks/5652-6babf6fbe108fd74.js", + "static/chunks/1736-c3cafe0644779091.js", + "static/chunks/5004-e39bbd769c9889fd.js", + "static/chunks/873-fece8e5ffd65bae9.js", + "static/chunks/1895-764d095e5a25bafd.js", + "static/chunks/app/courrier/page-982c8aad2e770bbc.js" + ], + "/mission-tab/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/4277-8448fba076ff7080.js", + "static/chunks/6874-42da063febda029b.js", + "static/chunks/app/mission-tab/page-4d563dba28e62840.js" + ], + "/signin/layout": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/app/signin/layout-97ed43423681bf15.js" + ], + "/signin/page": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js", + "static/chunks/2108-be43c8b39d1e0aae.js", + "static/chunks/app/signin/page-e6c9369d85a50068.js" + ] + } +} \ No newline at end of file diff --git a/.next/app-path-routes-manifest.json b/.next/app-path-routes-manifest.json new file mode 100644 index 00000000..7d4dc90a --- /dev/null +++ b/.next/app-path-routes-manifest.json @@ -0,0 +1,123 @@ +{ + "/api/admin/view-redis-credentials/route": "/api/admin/view-redis-credentials", + "/_not-found/page": "/_not-found", + "/api/admin/restore-credentials/route": "/api/admin/restore-credentials", + "/api/announcements/[id]/route": "/api/announcements/[id]", + "/api/announcements/route": "/api/announcements", + "/api/auth/[...nextauth]/route": "/api/auth/[...nextauth]", + "/api/auth/debug-keycloak/route": "/api/auth/debug-keycloak", + "/api/auth/refresh-keycloak-session/route": "/api/auth/refresh-keycloak-session", + "/api/calendars/[id]/events/route": "/api/calendars/[id]/events", + "/api/calendars/[id]/route": "/api/calendars/[id]", + "/api/calendar/route": "/api/calendar", + "/api/calendars/[id]/share/route": "/api/calendars/[id]/share", + "/api/calendars/[id]/events/[eventId]/route": "/api/calendars/[id]/events/[eventId]", + "/api/calendars/default/route": "/api/calendars/default", + "/api/courrier/[id]/flag/route": "/api/courrier/[id]/flag", + "/api/calendars/route": "/api/calendars", + "/api/courrier/[id]/mark-read/route": "/api/courrier/[id]/mark-read", + "/api/courrier/[id]/route": "/api/courrier/[id]", + "/api/courrier/account-folders/route": "/api/courrier/account-folders", + "/api/courrier/account-details/route": "/api/courrier/account-details", + "/api/courrier/credentials/route": "/api/courrier/credentials", + "/api/courrier/account-list/route": "/api/courrier/account-list", + "/api/courrier/debug-account/route": "/api/courrier/debug-account", + "/api/courrier/emails/route": "/api/courrier/emails", + "/api/courrier/delete/route": "/api/courrier/delete", + "/api/courrier/account/route": "/api/courrier/account", + "/api/courrier/fix-folders/route": "/api/courrier/fix-folders", + "/api/courrier/refresh/route": "/api/courrier/refresh", + "/api/courrier/microsoft/route": "/api/courrier/microsoft", + "/api/courrier/route": "/api/courrier", + "/api/courrier/recache/route": "/api/courrier/recache", + "/api/courrier/send/route": "/api/courrier/send", + "/api/courrier/microsoft/callback/route": "/api/courrier/microsoft/callback", + "/api/courrier/test-connection/route": "/api/courrier/test-connection", + "/api/debug-email/route": "/api/debug-email", + "/api/debug/notifications/route": "/api/debug/notifications", + "/api/debug/create-all-folders/route": "/api/debug/create-all-folders", + "/api/debug/leantime-methods/route": "/api/debug/leantime-methods", + "/api/courrier/session/route": "/api/courrier/session", + "/api/debug/s3/route": "/api/debug/s3", + "/api/emails/route": "/api/emails", + "/api/groups/[groupId]/members/route": "/api/groups/[groupId]/members", + "/api/courrier/unread-counts/route": "/api/courrier/unread-counts", + "/api/events/[id]/route": "/api/events/[id]", + "/api/groups/[groupId]/route": "/api/groups/[groupId]", + "/api/events/route": "/api/events", + "/api/groups/route": "/api/groups", + "/api/leantime/status-labels/route": "/api/leantime/status-labels", + "/api/missions/[missionId]/attachments/[attachmentId]/route": "/api/missions/[missionId]/attachments/[attachmentId]", + "/api/leantime/tasks/route": "/api/leantime/tasks", + "/api/missions/[missionId]/attachments/download/[attachmentId]/route": "/api/missions/[missionId]/attachments/download/[attachmentId]", + "/api/missions/[missionId]/route": "/api/missions/[missionId]", + "/api/missions/all/route": "/api/missions/all", + "/api/missions/[missionId]/attachments/route": "/api/missions/[missionId]/attachments", + "/api/missions/image/[...path]/route": "/api/missions/image/[...path]", + "/api/news/route": "/api/news", + "/api/missions/route": "/api/missions", + "/api/missions/upload/route": "/api/missions/upload", + "/api/news/test-backend/route": "/api/news/test-backend", + "/api/nextcloud/files/content/route": "/api/nextcloud/files/content", + "/api/nextcloud/files/route": "/api/nextcloud/files", + "/api/nextcloud/status/route": "/api/nextcloud/status", + "/api/notifications/count/route": "/api/notifications/count", + "/api/notifications/[id]/read/route": "/api/notifications/[id]/read", + "/api/nextcloud/init/route": "/api/nextcloud/init", + "/api/notifications/route": "/api/notifications", + "/api/redis/status/route": "/api/redis/status", + "/api/parse-email/route": "/api/parse-email", + "/api/roles/route": "/api/roles", + "/api/storage/files/route": "/api/storage/files", + "/api/storage/files/content/route": "/api/storage/files/content", + "/api/storage/init/route": "/api/storage/init", + "/api/sync-users/route": "/api/sync-users", + "/api/users/[userId]/password/route": "/api/users/[userId]/password", + "/api/rocket-chat/messages/route": "/api/rocket-chat/messages", + "/api/storage/status/route": "/api/storage/status", + "/api/users/[userId]/route": "/api/users/[userId]", + "/api/news/purge-cache/route": "/api/news/purge-cache", + "/api/notifications/read-all/route": "/api/notifications/read-all", + "/api/users/route": "/api/users", + "/courrier/[id]/route": "/courrier/[id]", + "/api/storage/init/folder/route": "/api/storage/init/folder", + "/api/users/[userId]/roles/route": "/api/users/[userId]/roles", + "/[section]/page": "/[section]", + "/agilite/page": "/agilite", + "/alma/page": "/alma", + "/apprendre/page": "/apprendre", + "/calcul/page": "/calcul", + "/artlab/page": "/artlab", + "/dossiers/page": "/dossiers", + "/crm/page": "/crm", + "/chapitre/page": "/chapitre", + "/gite/page": "/gite", + "/livres/page": "/livres", + "/mediation/page": "/mediation", + "/ms/page": "/ms", + "/observatory/page": "/observatory", + "/showcase/page": "/showcase", + "/page": "/", + "/parole/page": "/parole", + "/radio/page": "/radio", + "/the-message/page": "/the-message", + "/vision/page": "/vision", + "/signout/page": "/signout", + "/timetracker/page": "/timetracker", + "/press/page": "/press", + "/announcement/page": "/announcement", + "/wp-admin/page": "/wp-admin", + "/pages/page": "/pages", + "/agenda/page": "/agenda", + "/groups/page": "/groups", + "/equipes/page": "/equipes", + "/users/page": "/users", + "/mission-tab/[missionId]/page": "/mission-tab/[missionId]", + "/missions/[missionId]/page": "/missions/[missionId]", + "/missions/new/page": "/missions/new", + "/missions/page": "/missions", + "/missions/[missionId]/edit/page": "/missions/[missionId]/edit", + "/courrier/page": "/courrier", + "/mission-tab/page": "/mission-tab", + "/signin/page": "/signin" +} \ No newline at end of file diff --git a/.next/build-manifest.json b/.next/build-manifest.json new file mode 100644 index 00000000..399ae4e0 --- /dev/null +++ b/.next/build-manifest.json @@ -0,0 +1,33 @@ +{ + "polyfillFiles": [ + "static/chunks/polyfills-42372ed130431b0a.js" + ], + "devFiles": [], + "ampDevFiles": [], + "lowPriorityFiles": [ + "static/tdRFiMU9NY27lyZAe0hH7/_buildManifest.js", + "static/tdRFiMU9NY27lyZAe0hH7/_ssgManifest.js" + ], + "rootMainFiles": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/4bd1b696-9d1ca76dd189a8de.js", + "static/chunks/1684-5468497086ba1f2c.js", + "static/chunks/main-app-6d25c4c7f0020c03.js" + ], + "rootMainFilesTree": {}, + "pages": { + "/_app": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/framework-2c2be674e67eda3d.js", + "static/chunks/main-4af74a191b66f795.js", + "static/chunks/pages/_app-5d1abe03d322390c.js" + ], + "/_error": [ + "static/chunks/webpack-7018c6202a3b20d2.js", + "static/chunks/framework-2c2be674e67eda3d.js", + "static/chunks/main-4af74a191b66f795.js", + "static/chunks/pages/_error-3b2a1d523de49635.js" + ] + }, + "ampFirstPages": [] +} \ No newline at end of file diff --git a/.next/cache/.rscinfo b/.next/cache/.rscinfo new file mode 100644 index 00000000..63892290 --- /dev/null +++ b/.next/cache/.rscinfo @@ -0,0 +1 @@ +{"encryption.key":"ulYNHxHQar9QN6GGYPupY+Ltm6G0SbWfIemLLr1+SxA=","encryption.expire_at":1768569953153} \ No newline at end of file diff --git a/.next/cache/.tsbuildinfo b/.next/cache/.tsbuildinfo new file mode 100644 index 00000000..105c13df --- /dev/null +++ b/.next/cache/.tsbuildinfo @@ -0,0 +1 @@ +{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/typescript/lib/lib.es2024.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2024.collection.d.ts","../../node_modules/typescript/lib/lib.es2024.object.d.ts","../../node_modules/typescript/lib/lib.es2024.promise.d.ts","../../node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2024.string.d.ts","../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/@types/react/global.d.ts","../../node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/react/index.d.ts","../../node_modules/next/dist/styled-jsx/types/css.d.ts","../../node_modules/next/dist/styled-jsx/types/macro.d.ts","../../node_modules/next/dist/styled-jsx/types/style.d.ts","../../node_modules/next/dist/styled-jsx/types/global.d.ts","../../node_modules/next/dist/styled-jsx/types/index.d.ts","../../node_modules/next/dist/shared/lib/amp.d.ts","../../node_modules/next/amp.d.ts","../../node_modules/next/dist/server/get-page-files.d.ts","../../node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/@types/node/compatibility/index.d.ts","../../node_modules/@types/node/globals.typedarray.d.ts","../../node_modules/@types/node/buffer.buffer.d.ts","../../node_modules/buffer/index.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/undici-types/retry-handler.d.ts","../../node_modules/undici-types/retry-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/util.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/eventsource.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/sqlite.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/@types/react/canary.d.ts","../../node_modules/@types/react/experimental.d.ts","../../node_modules/@types/react-dom/index.d.ts","../../node_modules/@types/react-dom/canary.d.ts","../../node_modules/@types/react-dom/experimental.d.ts","../../node_modules/next/dist/lib/fallback.d.ts","../../node_modules/next/dist/compiled/webpack/webpack.d.ts","../../node_modules/next/dist/server/config.d.ts","../../node_modules/next/dist/lib/load-custom-routes.d.ts","../../node_modules/next/dist/shared/lib/image-config.d.ts","../../node_modules/next/dist/build/webpack/plugins/subresource-integrity-plugin.d.ts","../../node_modules/next/dist/server/body-streams.d.ts","../../node_modules/next/dist/server/lib/cache-control.d.ts","../../node_modules/next/dist/lib/setup-exception-listeners.d.ts","../../node_modules/next/dist/lib/worker.d.ts","../../node_modules/next/dist/lib/constants.d.ts","../../node_modules/next/dist/client/components/app-router-headers.d.ts","../../node_modules/next/dist/build/rendering-mode.d.ts","../../node_modules/next/dist/server/lib/router-utils/build-prefetch-segment-data-route.d.ts","../../node_modules/next/dist/server/require-hook.d.ts","../../node_modules/next/dist/server/lib/experimental/ppr.d.ts","../../node_modules/next/dist/build/webpack/plugins/app-build-manifest-plugin.d.ts","../../node_modules/next/dist/lib/page-types.d.ts","../../node_modules/next/dist/build/segment-config/app/app-segment-config.d.ts","../../node_modules/next/dist/build/segment-config/pages/pages-segment-config.d.ts","../../node_modules/next/dist/build/analysis/get-page-static-info.d.ts","../../node_modules/next/dist/build/webpack/loaders/get-module-build-info.d.ts","../../node_modules/next/dist/build/webpack/plugins/middleware-plugin.d.ts","../../node_modules/next/dist/server/node-polyfill-crypto.d.ts","../../node_modules/next/dist/server/node-environment-baseline.d.ts","../../node_modules/next/dist/server/node-environment-extensions/error-inspect.d.ts","../../node_modules/next/dist/server/node-environment-extensions/random.d.ts","../../node_modules/next/dist/server/node-environment-extensions/date.d.ts","../../node_modules/next/dist/server/node-environment-extensions/web-crypto.d.ts","../../node_modules/next/dist/server/node-environment-extensions/node-crypto.d.ts","../../node_modules/next/dist/server/node-environment.d.ts","../../node_modules/next/dist/build/page-extensions-type.d.ts","../../node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.d.ts","../../node_modules/next/dist/server/route-kind.d.ts","../../node_modules/next/dist/server/route-definitions/route-definition.d.ts","../../node_modules/next/dist/server/route-modules/route-module.d.ts","../../node_modules/next/dist/shared/lib/deep-readonly.d.ts","../../node_modules/next/dist/server/load-components.d.ts","../../node_modules/next/dist/server/route-definitions/app-page-route-definition.d.ts","../../node_modules/next/dist/server/lib/cache-handlers/types.d.ts","../../node_modules/next/dist/server/response-cache/types.d.ts","../../node_modules/next/dist/server/resume-data-cache/cache-store.d.ts","../../node_modules/next/dist/server/resume-data-cache/resume-data-cache.d.ts","../../node_modules/next/dist/server/render-result.d.ts","../../node_modules/next/dist/build/webpack/plugins/next-font-manifest-plugin.d.ts","../../node_modules/next/dist/client/components/router-reducer/router-reducer-types.d.ts","../../node_modules/next/dist/client/flight-data-helpers.d.ts","../../node_modules/next/dist/client/components/router-reducer/fetch-server-response.d.ts","../../node_modules/next/dist/shared/lib/app-router-context.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.d.ts","../../node_modules/next/dist/server/route-definitions/locale-route-definition.d.ts","../../node_modules/next/dist/server/route-definitions/pages-route-definition.d.ts","../../node_modules/next/dist/shared/lib/mitt.d.ts","../../node_modules/next/dist/client/with-router.d.ts","../../node_modules/next/dist/client/router.d.ts","../../node_modules/next/dist/client/route-loader.d.ts","../../node_modules/next/dist/client/page-loader.d.ts","../../node_modules/next/dist/shared/lib/bloom-filter.d.ts","../../node_modules/next/dist/shared/lib/router/router.d.ts","../../node_modules/next/dist/shared/lib/router-context.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/loadable-context.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/loadable.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/image-config-context.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/amp-context.shared-runtime.d.ts","../../node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.d.ts","../../node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.d.ts","../../node_modules/next/dist/server/route-modules/pages/module.compiled.d.ts","../../node_modules/next/dist/build/templates/pages.d.ts","../../node_modules/next/dist/server/route-modules/pages/module.d.ts","../../node_modules/@types/react/jsx-runtime.d.ts","../../node_modules/next/dist/client/components/react-dev-overlay/pages/pages-dev-overlay.d.ts","../../node_modules/next/dist/server/render.d.ts","../../node_modules/next/dist/server/response-cache/index.d.ts","../../node_modules/next/dist/build/webpack/plugins/pages-manifest-plugin.d.ts","../../node_modules/next/dist/server/route-definitions/pages-api-route-definition.d.ts","../../node_modules/next/dist/server/route-matches/pages-api-route-match.d.ts","../../node_modules/next/dist/server/instrumentation/types.d.ts","../../node_modules/next/dist/server/route-matchers/route-matcher.d.ts","../../node_modules/next/dist/server/route-matcher-providers/route-matcher-provider.d.ts","../../node_modules/next/dist/server/lib/i18n-provider.d.ts","../../node_modules/next/dist/server/route-matcher-managers/route-matcher-manager.d.ts","../../node_modules/next/dist/server/normalizers/normalizer.d.ts","../../node_modules/next/dist/server/normalizers/locale-route-normalizer.d.ts","../../node_modules/next/dist/server/normalizers/request/pathname-normalizer.d.ts","../../node_modules/next/dist/server/normalizers/request/suffix.d.ts","../../node_modules/next/dist/server/normalizers/request/rsc.d.ts","../../node_modules/next/dist/server/normalizers/request/prefetch-rsc.d.ts","../../node_modules/next/dist/server/normalizers/request/next-data.d.ts","../../node_modules/next/dist/server/after/builtin-request-context.d.ts","../../node_modules/next/dist/server/normalizers/request/segment-prefix-rsc.d.ts","../../node_modules/next/dist/server/base-server.d.ts","../../node_modules/next/dist/server/web/next-url.d.ts","../../node_modules/next/dist/compiled/@edge-runtime/cookies/index.d.ts","../../node_modules/next/dist/server/web/spec-extension/cookies.d.ts","../../node_modules/next/dist/server/web/spec-extension/request.d.ts","../../node_modules/next/dist/server/web/spec-extension/fetch-event.d.ts","../../node_modules/next/dist/server/web/spec-extension/response.d.ts","../../node_modules/next/dist/build/segment-config/middleware/middleware-config.d.ts","../../node_modules/next/dist/server/web/types.d.ts","../../node_modules/next/dist/server/web/adapter.d.ts","../../node_modules/next/dist/server/use-cache/cache-life.d.ts","../../node_modules/next/dist/server/app-render/types.d.ts","../../node_modules/next/dist/shared/lib/modern-browserslist-target.d.ts","../../node_modules/next/dist/shared/lib/constants.d.ts","../../node_modules/next/dist/build/webpack/loaders/metadata/types.d.ts","../../node_modules/next/dist/build/webpack/loaders/next-app-loader/index.d.ts","../../node_modules/next/dist/server/lib/app-dir-module.d.ts","../../node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.d.ts","../../node_modules/next/dist/server/async-storage/draft-mode-provider.d.ts","../../node_modules/next/dist/server/web/spec-extension/adapters/headers.d.ts","../../node_modules/next/dist/server/app-render/cache-signal.d.ts","../../node_modules/next/dist/server/app-render/dynamic-rendering.d.ts","../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.d.ts","../../node_modules/next/dist/server/request/fallback-params.d.ts","../../node_modules/next/dist/server/lib/lazy-result.d.ts","../../node_modules/next/dist/server/lib/implicit-tags.d.ts","../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.d.ts","../../node_modules/next/dist/shared/lib/router/utils/parse-relative-url.d.ts","../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.d.ts","../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.d.ts","../../node_modules/next/dist/server/app-render/app-render.d.ts","../../node_modules/next/dist/shared/lib/server-inserted-metadata.shared-runtime.d.ts","../../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.d.ts","../../node_modules/next/dist/client/components/error-boundary.d.ts","../../node_modules/next/dist/client/components/layout-router.d.ts","../../node_modules/next/dist/client/components/render-from-template-context.d.ts","../../node_modules/next/dist/server/app-render/action-async-storage-instance.d.ts","../../node_modules/next/dist/server/app-render/action-async-storage.external.d.ts","../../node_modules/next/dist/client/components/client-page.d.ts","../../node_modules/next/dist/client/components/client-segment.d.ts","../../node_modules/next/dist/server/request/search-params.d.ts","../../node_modules/next/dist/client/components/hooks-server-context.d.ts","../../node_modules/next/dist/client/components/http-access-fallback/error-boundary.d.ts","../../node_modules/next/dist/lib/metadata/types/alternative-urls-types.d.ts","../../node_modules/next/dist/lib/metadata/types/extra-types.d.ts","../../node_modules/next/dist/lib/metadata/types/metadata-types.d.ts","../../node_modules/next/dist/lib/metadata/types/manifest-types.d.ts","../../node_modules/next/dist/lib/metadata/types/opengraph-types.d.ts","../../node_modules/next/dist/lib/metadata/types/twitter-types.d.ts","../../node_modules/next/dist/lib/metadata/types/metadata-interface.d.ts","../../node_modules/next/dist/lib/metadata/types/resolvers.d.ts","../../node_modules/next/dist/lib/metadata/types/icons.d.ts","../../node_modules/next/dist/lib/metadata/resolve-metadata.d.ts","../../node_modules/next/dist/lib/metadata/metadata.d.ts","../../node_modules/next/dist/client/components/metadata/metadata-boundary.d.ts","../../node_modules/next/dist/server/app-render/rsc/preloads.d.ts","../../node_modules/next/dist/server/app-render/rsc/postpone.d.ts","../../node_modules/next/dist/server/app-render/rsc/taint.d.ts","../../node_modules/next/dist/server/app-render/collect-segment-data.d.ts","../../node_modules/next/dist/server/app-render/entry-base.d.ts","../../node_modules/next/dist/build/templates/app-page.d.ts","../../node_modules/next/dist/server/route-modules/app-page/module.d.ts","../../node_modules/next/dist/server/route-modules/app-page/module.compiled.d.ts","../../node_modules/next/dist/server/route-definitions/app-route-route-definition.d.ts","../../node_modules/next/dist/server/async-storage/work-store.d.ts","../../node_modules/next/dist/server/web/http.d.ts","../../node_modules/next/dist/server/route-modules/app-route/shared-modules.d.ts","../../node_modules/next/dist/client/components/redirect-status-code.d.ts","../../node_modules/next/dist/client/components/redirect-error.d.ts","../../node_modules/next/dist/build/templates/app-route.d.ts","../../node_modules/next/dist/server/route-modules/app-route/module.d.ts","../../node_modules/next/dist/server/route-modules/app-route/module.compiled.d.ts","../../node_modules/next/dist/build/segment-config/app/app-segments.d.ts","../../node_modules/next/dist/build/static-paths/types.d.ts","../../node_modules/next/dist/build/utils.d.ts","../../node_modules/next/dist/build/turborepo-access-trace/types.d.ts","../../node_modules/next/dist/build/turborepo-access-trace/result.d.ts","../../node_modules/next/dist/build/turborepo-access-trace/helpers.d.ts","../../node_modules/next/dist/build/turborepo-access-trace/index.d.ts","../../node_modules/next/dist/export/routes/types.d.ts","../../node_modules/next/dist/export/types.d.ts","../../node_modules/next/dist/export/worker.d.ts","../../node_modules/next/dist/build/worker.d.ts","../../node_modules/next/dist/build/index.d.ts","../../node_modules/next/dist/server/lib/incremental-cache/index.d.ts","../../node_modules/next/dist/server/after/after.d.ts","../../node_modules/next/dist/server/after/after-context.d.ts","../../node_modules/next/dist/server/app-render/work-async-storage-instance.d.ts","../../node_modules/next/dist/server/app-render/work-async-storage.external.d.ts","../../node_modules/next/dist/server/request/params.d.ts","../../node_modules/next/dist/server/route-matches/route-match.d.ts","../../node_modules/next/dist/server/request-meta.d.ts","../../node_modules/next/dist/cli/next-test.d.ts","../../node_modules/next/dist/server/config-shared.d.ts","../../node_modules/next/dist/server/base-http/index.d.ts","../../node_modules/next/dist/server/api-utils/index.d.ts","../../node_modules/next/dist/shared/lib/router/utils/parse-url.d.ts","../../node_modules/next/dist/server/base-http/node.d.ts","../../node_modules/next/dist/server/lib/async-callback-set.d.ts","../../node_modules/next/dist/shared/lib/router/utils/route-regex.d.ts","../../node_modules/next/dist/shared/lib/router/utils/route-matcher.d.ts","../../node_modules/sharp/lib/index.d.ts","../../node_modules/next/dist/server/image-optimizer.d.ts","../../node_modules/next/dist/server/next-server.d.ts","../../node_modules/next/dist/lib/coalesced-function.d.ts","../../node_modules/next/dist/server/lib/router-utils/types.d.ts","../../node_modules/next/dist/trace/types.d.ts","../../node_modules/next/dist/trace/trace.d.ts","../../node_modules/next/dist/trace/shared.d.ts","../../node_modules/next/dist/trace/index.d.ts","../../node_modules/next/dist/build/load-jsconfig.d.ts","../../node_modules/next/dist/build/webpack-config.d.ts","../../node_modules/next/dist/build/swc/generated-native.d.ts","../../node_modules/next/dist/build/swc/types.d.ts","../../node_modules/next/dist/server/dev/parse-version-info.d.ts","../../node_modules/next/dist/client/components/react-dev-overlay/types.d.ts","../../node_modules/next/dist/server/dev/dev-indicator-server-state.d.ts","../../node_modules/next/dist/server/dev/hot-reloader-types.d.ts","../../node_modules/next/dist/telemetry/storage.d.ts","../../node_modules/next/dist/server/lib/render-server.d.ts","../../node_modules/next/dist/server/lib/router-server.d.ts","../../node_modules/next/dist/shared/lib/router/utils/path-match.d.ts","../../node_modules/next/dist/server/lib/router-utils/filesystem.d.ts","../../node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.d.ts","../../node_modules/next/dist/server/lib/types.d.ts","../../node_modules/next/dist/server/lib/lru-cache.d.ts","../../node_modules/next/dist/server/lib/dev-bundler-service.d.ts","../../node_modules/next/dist/server/dev/static-paths-worker.d.ts","../../node_modules/next/dist/server/dev/next-dev-server.d.ts","../../node_modules/next/dist/server/next.d.ts","../../node_modules/next/dist/types.d.ts","../../node_modules/next/dist/shared/lib/html-context.shared-runtime.d.ts","../../node_modules/@next/env/dist/index.d.ts","../../node_modules/next/dist/shared/lib/utils.d.ts","../../node_modules/next/dist/pages/_app.d.ts","../../node_modules/next/app.d.ts","../../node_modules/next/dist/server/web/spec-extension/unstable-cache.d.ts","../../node_modules/next/dist/server/web/spec-extension/revalidate.d.ts","../../node_modules/next/dist/server/web/spec-extension/unstable-no-store.d.ts","../../node_modules/next/dist/server/use-cache/cache-tag.d.ts","../../node_modules/next/cache.d.ts","../../node_modules/next/dist/shared/lib/runtime-config.external.d.ts","../../node_modules/next/config.d.ts","../../node_modules/next/dist/pages/_document.d.ts","../../node_modules/next/document.d.ts","../../node_modules/next/dist/shared/lib/dynamic.d.ts","../../node_modules/next/dynamic.d.ts","../../node_modules/next/dist/pages/_error.d.ts","../../node_modules/next/error.d.ts","../../node_modules/next/dist/shared/lib/head.d.ts","../../node_modules/next/head.d.ts","../../node_modules/next/dist/server/request/cookies.d.ts","../../node_modules/next/dist/server/request/headers.d.ts","../../node_modules/next/dist/server/request/draft-mode.d.ts","../../node_modules/next/headers.d.ts","../../node_modules/next/dist/shared/lib/get-img-props.d.ts","../../node_modules/next/dist/client/image-component.d.ts","../../node_modules/next/dist/shared/lib/image-external.d.ts","../../node_modules/next/image.d.ts","../../node_modules/next/dist/client/link.d.ts","../../node_modules/next/link.d.ts","../../node_modules/next/dist/client/components/redirect.d.ts","../../node_modules/next/dist/client/components/not-found.d.ts","../../node_modules/next/dist/client/components/forbidden.d.ts","../../node_modules/next/dist/client/components/unauthorized.d.ts","../../node_modules/next/dist/client/components/unstable-rethrow.server.d.ts","../../node_modules/next/dist/client/components/unstable-rethrow.d.ts","../../node_modules/next/dist/client/components/navigation.react-server.d.ts","../../node_modules/next/dist/client/components/navigation.d.ts","../../node_modules/next/navigation.d.ts","../../node_modules/next/router.d.ts","../../node_modules/next/dist/client/script.d.ts","../../node_modules/next/script.d.ts","../../node_modules/next/dist/server/web/spec-extension/user-agent.d.ts","../../node_modules/next/dist/compiled/@edge-runtime/primitives/url.d.ts","../../node_modules/next/dist/server/web/spec-extension/image-response.d.ts","../../node_modules/next/dist/compiled/@vercel/og/satori/index.d.ts","../../node_modules/next/dist/compiled/@vercel/og/emoji/index.d.ts","../../node_modules/next/dist/compiled/@vercel/og/types.d.ts","../../node_modules/next/dist/server/after/index.d.ts","../../node_modules/next/dist/server/request/root-params.d.ts","../../node_modules/next/dist/server/request/connection.d.ts","../../node_modules/next/server.d.ts","../../node_modules/next/types/global.d.ts","../../node_modules/next/types/compiled.d.ts","../../node_modules/next/types.d.ts","../../node_modules/next/index.d.ts","../../node_modules/next/image-types/global.d.ts","../../next-env.d.ts","../../global.d.ts","../../node_modules/source-map-js/source-map.d.ts","../../node_modules/postcss/lib/previous-map.d.ts","../../node_modules/postcss/lib/input.d.ts","../../node_modules/postcss/lib/css-syntax-error.d.ts","../../node_modules/postcss/lib/declaration.d.ts","../../node_modules/postcss/lib/root.d.ts","../../node_modules/postcss/lib/warning.d.ts","../../node_modules/postcss/lib/lazy-result.d.ts","../../node_modules/postcss/lib/no-work-result.d.ts","../../node_modules/postcss/lib/processor.d.ts","../../node_modules/postcss/lib/result.d.ts","../../node_modules/postcss/lib/document.d.ts","../../node_modules/postcss/lib/rule.d.ts","../../node_modules/postcss/lib/node.d.ts","../../node_modules/postcss/lib/comment.d.ts","../../node_modules/postcss/lib/container.d.ts","../../node_modules/postcss/lib/at-rule.d.ts","../../node_modules/postcss/lib/list.d.ts","../../node_modules/postcss/lib/postcss.d.ts","../../node_modules/tailwindcss/types/generated/corepluginlist.d.ts","../../node_modules/tailwindcss/types/generated/colors.d.ts","../../node_modules/tailwindcss/types/config.d.ts","../../node_modules/tailwindcss/types/index.d.ts","../../tailwind.config.ts","../../node_modules/next-auth/adapters.d.ts","../../node_modules/jose/dist/types/types.d.ts","../../node_modules/jose/dist/types/jwe/compact/decrypt.d.ts","../../node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts","../../node_modules/jose/dist/types/jwe/general/decrypt.d.ts","../../node_modules/jose/dist/types/jwe/general/encrypt.d.ts","../../node_modules/jose/dist/types/jws/compact/verify.d.ts","../../node_modules/jose/dist/types/jws/flattened/verify.d.ts","../../node_modules/jose/dist/types/jws/general/verify.d.ts","../../node_modules/jose/dist/types/jwt/verify.d.ts","../../node_modules/jose/dist/types/jwt/decrypt.d.ts","../../node_modules/jose/dist/types/jwt/produce.d.ts","../../node_modules/jose/dist/types/jwe/compact/encrypt.d.ts","../../node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts","../../node_modules/jose/dist/types/jws/compact/sign.d.ts","../../node_modules/jose/dist/types/jws/flattened/sign.d.ts","../../node_modules/jose/dist/types/jws/general/sign.d.ts","../../node_modules/jose/dist/types/jwt/sign.d.ts","../../node_modules/jose/dist/types/jwt/encrypt.d.ts","../../node_modules/jose/dist/types/jwk/thumbprint.d.ts","../../node_modules/jose/dist/types/jwk/embedded.d.ts","../../node_modules/jose/dist/types/jwks/local.d.ts","../../node_modules/jose/dist/types/jwks/remote.d.ts","../../node_modules/jose/dist/types/jwt/unsecured.d.ts","../../node_modules/jose/dist/types/key/export.d.ts","../../node_modules/jose/dist/types/key/import.d.ts","../../node_modules/jose/dist/types/util/decode_protected_header.d.ts","../../node_modules/jose/dist/types/util/decode_jwt.d.ts","../../node_modules/jose/dist/types/util/errors.d.ts","../../node_modules/jose/dist/types/key/generate_key_pair.d.ts","../../node_modules/jose/dist/types/key/generate_secret.d.ts","../../node_modules/jose/dist/types/util/base64url.d.ts","../../node_modules/jose/dist/types/util/runtime.d.ts","../../node_modules/jose/dist/types/index.d.ts","../../node_modules/openid-client/types/index.d.ts","../../node_modules/next-auth/providers/oauth-types.d.ts","../../node_modules/next-auth/providers/oauth.d.ts","../../node_modules/@types/nodemailer/lib/dkim/index.d.ts","../../node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts","../../node_modules/@types/nodemailer/lib/xoauth2/index.d.ts","../../node_modules/@types/nodemailer/lib/mailer/index.d.ts","../../node_modules/@types/nodemailer/lib/mime-node/index.d.ts","../../node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts","../../node_modules/@types/nodemailer/lib/shared/index.d.ts","../../node_modules/@types/nodemailer/lib/json-transport/index.d.ts","../../node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts","../../node_modules/@types/nodemailer/lib/ses-transport/index.d.ts","../../node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts","../../node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts","../../node_modules/@types/nodemailer/lib/stream-transport/index.d.ts","../../node_modules/@types/nodemailer/index.d.ts","../../node_modules/next-auth/providers/email.d.ts","../../node_modules/next-auth/core/lib/cookie.d.ts","../../node_modules/next-auth/core/index.d.ts","../../node_modules/next-auth/providers/credentials.d.ts","../../node_modules/next-auth/providers/index.d.ts","../../node_modules/next-auth/jwt/types.d.ts","../../node_modules/next-auth/jwt/index.d.ts","../../node_modules/next-auth/utils/logger.d.ts","../../node_modules/next-auth/core/types.d.ts","../../node_modules/next-auth/next/index.d.ts","../../node_modules/next-auth/index.d.ts","../../node_modules/next-auth/providers/keycloak.d.ts","../../node_modules/jwt-decode/build/cjs/index.d.ts","../../app/api/auth/options.ts","../../node_modules/@prisma/client/runtime/library.d.ts","../../node_modules/.prisma/client/index.d.ts","../../node_modules/.prisma/client/default.d.ts","../../node_modules/@prisma/client/default.d.ts","../../node_modules/zod/lib/helpers/typealiases.d.ts","../../node_modules/zod/lib/helpers/util.d.ts","../../node_modules/zod/lib/zoderror.d.ts","../../node_modules/zod/lib/locales/en.d.ts","../../node_modules/zod/lib/errors.d.ts","../../node_modules/zod/lib/helpers/parseutil.d.ts","../../node_modules/zod/lib/helpers/enumutil.d.ts","../../node_modules/zod/lib/helpers/errorutil.d.ts","../../node_modules/zod/lib/helpers/partialutil.d.ts","../../node_modules/zod/lib/standard-schema.d.ts","../../node_modules/zod/lib/types.d.ts","../../node_modules/zod/lib/external.d.ts","../../node_modules/zod/lib/index.d.ts","../../node_modules/zod/index.d.ts","../../lib/env.ts","../../lib/prisma.ts","../../node_modules/ioredis/built/types.d.ts","../../node_modules/ioredis/built/command.d.ts","../../node_modules/ioredis/built/scanstream.d.ts","../../node_modules/ioredis/built/utils/rediscommander.d.ts","../../node_modules/ioredis/built/transaction.d.ts","../../node_modules/ioredis/built/utils/commander.d.ts","../../node_modules/ioredis/built/connectors/abstractconnector.d.ts","../../node_modules/ioredis/built/connectors/connectorconstructor.d.ts","../../node_modules/ioredis/built/connectors/sentinelconnector/types.d.ts","../../node_modules/ioredis/built/connectors/sentinelconnector/sentineliterator.d.ts","../../node_modules/ioredis/built/connectors/sentinelconnector/index.d.ts","../../node_modules/ioredis/built/connectors/standaloneconnector.d.ts","../../node_modules/ioredis/built/redis/redisoptions.d.ts","../../node_modules/ioredis/built/cluster/util.d.ts","../../node_modules/ioredis/built/cluster/clusteroptions.d.ts","../../node_modules/ioredis/built/cluster/index.d.ts","../../node_modules/denque/index.d.ts","../../node_modules/ioredis/built/subscriptionset.d.ts","../../node_modules/ioredis/built/datahandler.d.ts","../../node_modules/ioredis/built/redis.d.ts","../../node_modules/ioredis/built/pipeline.d.ts","../../node_modules/ioredis/built/index.d.ts","../../node_modules/@types/crypto-js/index.d.ts","../../lib/redis.ts","../../app/api/admin/restore-credentials/route.ts","../../app/api/admin/view-redis-credentials/route.ts","../../app/api/announcements/route.ts","../../app/api/announcements/[id]/route.ts","../../app/api/auth/[...nextauth]/route.ts","../../app/api/auth/debug-keycloak/route.ts","../../app/api/auth/refresh-keycloak-session/route.ts","../../app/api/calendar/route.ts","../../app/api/calendars/route.ts","../../app/api/calendars/[id]/route.ts","../../app/api/calendars/[id]/events/route.ts","../../app/api/calendars/[id]/events/[eventid]/route.ts","../../app/api/calendars/[id]/share/route.ts","../../app/api/calendars/default/route.ts","../../node_modules/@types/imapflow/index.d.ts","../../node_modules/iconv-lite/lib/index.d.ts","../../node_modules/@types/mailparser/index.d.ts","../../lib/types.ts","../../node_modules/axios/index.d.ts","../../lib/services/microsoft-oauth.ts","../../lib/services/token-refresh.ts","../../lib/services/email-service.ts","../../app/api/courrier/route.ts","../../app/api/courrier/[id]/route.ts","../../app/api/courrier/[id]/flag/route.ts","../../app/api/courrier/[id]/mark-read/route.ts","../../node_modules/bcryptjs/umd/types.d.ts","../../node_modules/bcryptjs/umd/index.d.ts","../../app/api/courrier/account/route.ts","../../app/api/courrier/account-details/route.ts","../../app/api/courrier/account-folders/route.ts","../../app/api/courrier/account-list/route.ts","../../app/api/courrier/credentials/route.ts","../../app/api/courrier/debug-account/route.ts","../../app/api/courrier/delete/route.ts","../../app/api/courrier/emails/route.ts","../../app/api/courrier/fix-folders/route.ts","../../app/api/courrier/microsoft/route.ts","../../app/api/courrier/microsoft/callback/route.ts","../../app/api/courrier/recache/route.ts","../../lib/services/prefetch-service.ts","../../app/api/courrier/refresh/route.ts","../../app/api/courrier/send/route.ts","../../app/api/courrier/session/route.ts","../../app/api/courrier/test-connection/route.ts","../../app/api/courrier/unread-counts/route.ts","../../node_modules/@smithy/types/dist-types/abort-handler.d.ts","../../node_modules/@smithy/types/dist-types/abort.d.ts","../../node_modules/@smithy/types/dist-types/auth/auth.d.ts","../../node_modules/@smithy/types/dist-types/auth/httpapikeyauth.d.ts","../../node_modules/@smithy/types/dist-types/identity/identity.d.ts","../../node_modules/@smithy/types/dist-types/response.d.ts","../../node_modules/@smithy/types/dist-types/command.d.ts","../../node_modules/@smithy/types/dist-types/endpoint.d.ts","../../node_modules/@smithy/types/dist-types/feature-ids.d.ts","../../node_modules/@smithy/types/dist-types/logger.d.ts","../../node_modules/@smithy/types/dist-types/uri.d.ts","../../node_modules/@smithy/types/dist-types/http.d.ts","../../node_modules/@smithy/types/dist-types/util.d.ts","../../node_modules/@smithy/types/dist-types/middleware.d.ts","../../node_modules/@smithy/types/dist-types/auth/httpsigner.d.ts","../../node_modules/@smithy/types/dist-types/auth/identityproviderconfig.d.ts","../../node_modules/@smithy/types/dist-types/auth/httpauthscheme.d.ts","../../node_modules/@smithy/types/dist-types/auth/httpauthschemeprovider.d.ts","../../node_modules/@smithy/types/dist-types/auth/index.d.ts","../../node_modules/@smithy/types/dist-types/transform/exact.d.ts","../../node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts","../../node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts","../../node_modules/@smithy/types/dist-types/crypto.d.ts","../../node_modules/@smithy/types/dist-types/checksum.d.ts","../../node_modules/@smithy/types/dist-types/client.d.ts","../../node_modules/@smithy/types/dist-types/connection/config.d.ts","../../node_modules/@smithy/types/dist-types/transfer.d.ts","../../node_modules/@smithy/types/dist-types/connection/manager.d.ts","../../node_modules/@smithy/types/dist-types/connection/pool.d.ts","../../node_modules/@smithy/types/dist-types/connection/index.d.ts","../../node_modules/@smithy/types/dist-types/eventstream.d.ts","../../node_modules/@smithy/types/dist-types/encode.d.ts","../../node_modules/@smithy/types/dist-types/endpoints/shared.d.ts","../../node_modules/@smithy/types/dist-types/endpoints/endpointruleobject.d.ts","../../node_modules/@smithy/types/dist-types/endpoints/errorruleobject.d.ts","../../node_modules/@smithy/types/dist-types/endpoints/treeruleobject.d.ts","../../node_modules/@smithy/types/dist-types/endpoints/rulesetobject.d.ts","../../node_modules/@smithy/types/dist-types/endpoints/index.d.ts","../../node_modules/@smithy/types/dist-types/extensions/checksum.d.ts","../../node_modules/@smithy/types/dist-types/extensions/defaultclientconfiguration.d.ts","../../node_modules/@smithy/types/dist-types/shapes.d.ts","../../node_modules/@smithy/types/dist-types/retry.d.ts","../../node_modules/@smithy/types/dist-types/extensions/retry.d.ts","../../node_modules/@smithy/types/dist-types/extensions/defaultextensionconfiguration.d.ts","../../node_modules/@smithy/types/dist-types/extensions/index.d.ts","../../node_modules/@smithy/types/dist-types/http/httphandlerinitialization.d.ts","../../node_modules/@smithy/types/dist-types/identity/apikeyidentity.d.ts","../../node_modules/@smithy/types/dist-types/identity/awscredentialidentity.d.ts","../../node_modules/@smithy/types/dist-types/identity/tokenidentity.d.ts","../../node_modules/@smithy/types/dist-types/identity/index.d.ts","../../node_modules/@smithy/types/dist-types/pagination.d.ts","../../node_modules/@smithy/types/dist-types/profile.d.ts","../../node_modules/@smithy/types/dist-types/serde.d.ts","../../node_modules/@smithy/types/dist-types/signature.d.ts","../../node_modules/@smithy/types/dist-types/stream.d.ts","../../node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts","../../node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts","../../node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts","../../node_modules/@smithy/types/dist-types/transform/type-transform.d.ts","../../node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts","../../node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts","../../node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts","../../node_modules/@smithy/types/dist-types/waiter.d.ts","../../node_modules/@smithy/types/dist-types/index.d.ts","../../node_modules/@smithy/node-config-provider/dist-types/fromenv.d.ts","../../node_modules/@smithy/shared-ini-file-loader/dist-types/gethomedir.d.ts","../../node_modules/@smithy/shared-ini-file-loader/dist-types/getprofilename.d.ts","../../node_modules/@smithy/shared-ini-file-loader/dist-types/getssotokenfilepath.d.ts","../../node_modules/@smithy/shared-ini-file-loader/dist-types/getssotokenfromfile.d.ts","../../node_modules/@smithy/shared-ini-file-loader/dist-types/loadsharedconfigfiles.d.ts","../../node_modules/@smithy/shared-ini-file-loader/dist-types/loadssosessiondata.d.ts","../../node_modules/@smithy/shared-ini-file-loader/dist-types/parseknownfiles.d.ts","../../node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts","../../node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts","../../node_modules/@smithy/node-config-provider/dist-types/fromsharedconfigfiles.d.ts","../../node_modules/@smithy/node-config-provider/dist-types/fromstatic.d.ts","../../node_modules/@smithy/node-config-provider/dist-types/configloader.d.ts","../../node_modules/@smithy/node-config-provider/dist-types/index.d.ts","../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/constants.d.ts","../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/node_request_checksum_calculation_config_options.d.ts","../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/node_response_checksum_validation_config_options.d.ts","../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/crc64-nvme-crt-container.d.ts","../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/configuration.d.ts","../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexiblechecksumsmiddleware.d.ts","../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexiblechecksumsinputmiddleware.d.ts","../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexiblechecksumsresponsemiddleware.d.ts","../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getflexiblechecksumsplugin.d.ts","../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/resolveflexiblechecksumsconfig.d.ts","../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/index.d.ts","../../node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/check-content-length-header.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-middleware.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-endpoint-middleware.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-expires-middleware.d.ts","../../node_modules/@aws-sdk/types/dist-types/abort.d.ts","../../node_modules/@aws-sdk/types/dist-types/auth.d.ts","../../node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts","../../node_modules/@aws-sdk/types/dist-types/checksum.d.ts","../../node_modules/@aws-sdk/types/dist-types/client.d.ts","../../node_modules/@aws-sdk/types/dist-types/command.d.ts","../../node_modules/@aws-sdk/types/dist-types/connection.d.ts","../../node_modules/@aws-sdk/types/dist-types/identity/identity.d.ts","../../node_modules/@aws-sdk/types/dist-types/identity/anonymousidentity.d.ts","../../node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts","../../node_modules/@aws-sdk/types/dist-types/identity/awscredentialidentity.d.ts","../../node_modules/@aws-sdk/types/dist-types/identity/loginidentity.d.ts","../../node_modules/@aws-sdk/types/dist-types/identity/tokenidentity.d.ts","../../node_modules/@aws-sdk/types/dist-types/identity/index.d.ts","../../node_modules/@aws-sdk/types/dist-types/util.d.ts","../../node_modules/@aws-sdk/types/dist-types/credentials.d.ts","../../node_modules/@aws-sdk/types/dist-types/crypto.d.ts","../../node_modules/@aws-sdk/types/dist-types/dns.d.ts","../../node_modules/@aws-sdk/types/dist-types/encode.d.ts","../../node_modules/@aws-sdk/types/dist-types/endpoint.d.ts","../../node_modules/@aws-sdk/types/dist-types/eventstream.d.ts","../../node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts","../../node_modules/@aws-sdk/types/dist-types/function.d.ts","../../node_modules/@aws-sdk/types/dist-types/http.d.ts","../../node_modules/@aws-sdk/types/dist-types/logger.d.ts","../../node_modules/@aws-sdk/types/dist-types/middleware.d.ts","../../node_modules/@aws-sdk/types/dist-types/pagination.d.ts","../../node_modules/@aws-sdk/types/dist-types/profile.d.ts","../../node_modules/@aws-sdk/types/dist-types/request.d.ts","../../node_modules/@aws-sdk/types/dist-types/response.d.ts","../../node_modules/@aws-sdk/types/dist-types/retry.d.ts","../../node_modules/@aws-sdk/types/dist-types/serde.d.ts","../../node_modules/@aws-sdk/types/dist-types/shapes.d.ts","../../node_modules/@aws-sdk/types/dist-types/signature.d.ts","../../node_modules/@aws-sdk/types/dist-types/stream.d.ts","../../node_modules/@aws-sdk/types/dist-types/token.d.ts","../../node_modules/@aws-sdk/types/dist-types/transfer.d.ts","../../node_modules/@aws-sdk/types/dist-types/uri.d.ts","../../node_modules/@aws-sdk/types/dist-types/waiter.d.ts","../../node_modules/@aws-sdk/types/dist-types/index.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/s3expressidentity.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/s3expressidentitycacheentry.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/s3expressidentitycache.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/s3expressidentityprovider.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/s3expressidentityproviderimpl.d.ts","../../node_modules/@smithy/signature-v4/dist-types/signaturev4base.d.ts","../../node_modules/@smithy/signature-v4/dist-types/signaturev4.d.ts","../../node_modules/@smithy/signature-v4/dist-types/constants.d.ts","../../node_modules/@smithy/signature-v4/dist-types/getcanonicalheaders.d.ts","../../node_modules/@smithy/signature-v4/dist-types/getcanonicalquery.d.ts","../../node_modules/@smithy/signature-v4/dist-types/getpayloadhash.d.ts","../../node_modules/@smithy/signature-v4/dist-types/moveheaderstoquery.d.ts","../../node_modules/@smithy/signature-v4/dist-types/preparerequest.d.ts","../../node_modules/@smithy/signature-v4/dist-types/credentialderivation.d.ts","../../node_modules/@smithy/signature-v4/dist-types/headerutil.d.ts","../../node_modules/@smithy/signature-v4/dist-types/signature-v4a-container.d.ts","../../node_modules/@smithy/signature-v4/dist-types/index.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/signaturev4s3express.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/constants.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3expressmiddleware.d.ts","../../node_modules/@smithy/protocol-http/dist-types/httprequest.d.ts","../../node_modules/@smithy/protocol-http/dist-types/httpresponse.d.ts","../../node_modules/@smithy/protocol-http/dist-types/httphandler.d.ts","../../node_modules/@smithy/protocol-http/dist-types/extensions/httpextensionconfiguration.d.ts","../../node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts","../../node_modules/@smithy/protocol-http/dist-types/field.d.ts","../../node_modules/@smithy/protocol-http/dist-types/fields.d.ts","../../node_modules/@smithy/protocol-http/dist-types/isvalidhostname.d.ts","../../node_modules/@smithy/protocol-http/dist-types/types.d.ts","../../node_modules/@smithy/protocol-http/dist-types/index.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3expresshttpsigningmiddleware.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/index.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3configuration.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/validate-bucket-name.d.ts","../../node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts","../../node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts","../../node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts","../../node_modules/@aws-sdk/middleware-user-agent/dist-types/index.d.ts","../../node_modules/@smithy/config-resolver/dist-types/endpointsconfig/nodeusedualstackendpointconfigoptions.d.ts","../../node_modules/@smithy/config-resolver/dist-types/endpointsconfig/nodeusefipsendpointconfigoptions.d.ts","../../node_modules/@smithy/config-resolver/dist-types/endpointsconfig/resolveendpointsconfig.d.ts","../../node_modules/@smithy/config-resolver/dist-types/endpointsconfig/resolvecustomendpointsconfig.d.ts","../../node_modules/@smithy/config-resolver/dist-types/endpointsconfig/index.d.ts","../../node_modules/@smithy/config-resolver/dist-types/regionconfig/config.d.ts","../../node_modules/@smithy/config-resolver/dist-types/regionconfig/resolveregionconfig.d.ts","../../node_modules/@smithy/config-resolver/dist-types/regionconfig/index.d.ts","../../node_modules/@smithy/config-resolver/dist-types/regioninfo/endpointvarianttag.d.ts","../../node_modules/@smithy/config-resolver/dist-types/regioninfo/endpointvariant.d.ts","../../node_modules/@smithy/config-resolver/dist-types/regioninfo/partitionhash.d.ts","../../node_modules/@smithy/config-resolver/dist-types/regioninfo/regionhash.d.ts","../../node_modules/@smithy/config-resolver/dist-types/regioninfo/getregioninfo.d.ts","../../node_modules/@smithy/config-resolver/dist-types/regioninfo/index.d.ts","../../node_modules/@smithy/config-resolver/dist-types/index.d.ts","../../node_modules/@smithy/eventstream-serde-config-resolver/dist-types/eventstreamserdeconfig.d.ts","../../node_modules/@smithy/eventstream-serde-config-resolver/dist-types/index.d.ts","../../node_modules/@smithy/middleware-endpoint/dist-types/resolveendpointconfig.d.ts","../../node_modules/@smithy/middleware-endpoint/dist-types/types.d.ts","../../node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getendpointfrominstructions.d.ts","../../node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toendpointv1.d.ts","../../node_modules/@smithy/middleware-endpoint/dist-types/adaptors/index.d.ts","../../node_modules/@smithy/middleware-endpoint/dist-types/endpointmiddleware.d.ts","../../node_modules/@smithy/middleware-endpoint/dist-types/getendpointplugin.d.ts","../../node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts","../../node_modules/@smithy/util-retry/dist-types/types.d.ts","../../node_modules/@smithy/util-retry/dist-types/adaptiveretrystrategy.d.ts","../../node_modules/@smithy/util-retry/dist-types/standardretrystrategy.d.ts","../../node_modules/@smithy/util-retry/dist-types/configuredretrystrategy.d.ts","../../node_modules/@smithy/util-retry/dist-types/defaultratelimiter.d.ts","../../node_modules/@smithy/util-retry/dist-types/config.d.ts","../../node_modules/@smithy/util-retry/dist-types/constants.d.ts","../../node_modules/@smithy/util-retry/dist-types/index.d.ts","../../node_modules/@smithy/middleware-retry/dist-types/types.d.ts","../../node_modules/@smithy/middleware-retry/dist-types/standardretrystrategy.d.ts","../../node_modules/@smithy/middleware-retry/dist-types/adaptiveretrystrategy.d.ts","../../node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts","../../node_modules/@smithy/middleware-retry/dist-types/delaydecider.d.ts","../../node_modules/@smithy/middleware-retry/dist-types/omitretryheadersmiddleware.d.ts","../../node_modules/@smithy/middleware-retry/dist-types/retrydecider.d.ts","../../node_modules/@smithy/middleware-retry/dist-types/retrymiddleware.d.ts","../../node_modules/@smithy/middleware-retry/dist-types/index.d.ts","../../node_modules/@smithy/smithy-client/dist-types/client.d.ts","../../node_modules/@smithy/util-stream/dist-types/blob/uint8arrayblobadapter.d.ts","../../node_modules/@smithy/util-stream/dist-types/checksum/checksumstream.d.ts","../../node_modules/@smithy/util-stream/dist-types/checksum/checksumstream.browser.d.ts","../../node_modules/@smithy/util-stream/dist-types/checksum/createchecksumstream.browser.d.ts","../../node_modules/@smithy/util-stream/dist-types/checksum/createchecksumstream.d.ts","../../node_modules/@smithy/util-stream/dist-types/createbufferedreadable.d.ts","../../node_modules/@smithy/util-stream/dist-types/getawschunkedencodingstream.d.ts","../../node_modules/@smithy/util-stream/dist-types/headstream.d.ts","../../node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts","../../node_modules/@smithy/util-stream/dist-types/splitstream.d.ts","../../node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts","../../node_modules/@smithy/util-stream/dist-types/index.d.ts","../../node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts","../../node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts","../../node_modules/@smithy/core/dist-types/submodules/protocols/requestbuilder.d.ts","../../node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts","../../node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts","../../node_modules/@smithy/core/protocols.d.ts","../../node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts","../../node_modules/@smithy/smithy-client/dist-types/command.d.ts","../../node_modules/@smithy/smithy-client/dist-types/constants.d.ts","../../node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts","../../node_modules/@smithy/smithy-client/dist-types/date-utils.d.ts","../../node_modules/@smithy/smithy-client/dist-types/default-error-handler.d.ts","../../node_modules/@smithy/smithy-client/dist-types/defaults-mode.d.ts","../../node_modules/@smithy/smithy-client/dist-types/emitwarningifunsupportedversion.d.ts","../../node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts","../../node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts","../../node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts","../../node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts","../../node_modules/@smithy/smithy-client/dist-types/extensions/defaultextensionconfiguration.d.ts","../../node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts","../../node_modules/@smithy/smithy-client/dist-types/get-array-if-single-item.d.ts","../../node_modules/@smithy/smithy-client/dist-types/get-value-from-text-node.d.ts","../../node_modules/@smithy/smithy-client/dist-types/is-serializable-header-value.d.ts","../../node_modules/@smithy/smithy-client/dist-types/lazy-json.d.ts","../../node_modules/@smithy/smithy-client/dist-types/nooplogger.d.ts","../../node_modules/@smithy/smithy-client/dist-types/object-mapping.d.ts","../../node_modules/@smithy/smithy-client/dist-types/parse-utils.d.ts","../../node_modules/@smithy/smithy-client/dist-types/quote-header.d.ts","../../node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts","../../node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts","../../node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts","../../node_modules/@smithy/smithy-client/dist-types/split-every.d.ts","../../node_modules/@smithy/smithy-client/dist-types/split-header.d.ts","../../node_modules/@smithy/smithy-client/dist-types/index.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/client/emitwarningifunsupportedversion.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/client/setcredentialfeature.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/client/setfeature.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/httpauthschemes/aws_sdk/resolveawssdksigv4aconfig.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/httpauthschemes/aws_sdk/awssdksigv4signer.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/httpauthschemes/aws_sdk/awssdksigv4asigner.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/httpauthschemes/aws_sdk/node_auth_scheme_preference_options.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/httpauthschemes/aws_sdk/resolveawssdksigv4config.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/httpauthschemes/aws_sdk/index.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/httpauthschemes/index.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/protocols/coercing-serializers.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/awsexpectunion.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parsejsonbody.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parsexmlbody.d.ts","../../node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts","../../node_modules/@aws-sdk/core/dist-types/index.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointparameters.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/auth/httpauthschemeprovider.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/models/s3serviceexception.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/abortmultipartuploadcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/completemultipartuploadcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/copyobjectcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/createbucketcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/createbucketmetadatatableconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/createmultipartuploadcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/createsessioncommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketanalyticsconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketcorscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketencryptioncommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketintelligenttieringconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketinventoryconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketlifecyclecommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketmetadatatableconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketmetricsconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketownershipcontrolscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketpolicycommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketreplicationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebuckettaggingcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletebucketwebsitecommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deleteobjectcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deleteobjectscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deleteobjecttaggingcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/deletepublicaccessblockcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketaccelerateconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketaclcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketanalyticsconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketcorscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketencryptioncommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketintelligenttieringconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketinventoryconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketlifecycleconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketlocationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketloggingcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketmetadatatableconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketmetricsconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketnotificationconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketownershipcontrolscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketpolicycommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketpolicystatuscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketreplicationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketrequestpaymentcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbuckettaggingcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketversioningcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getbucketwebsitecommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getobjectaclcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getobjectattributescommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getobjectcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getobjectlegalholdcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getobjectlockconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getobjectretentioncommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getobjecttaggingcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getobjecttorrentcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/getpublicaccessblockcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/headbucketcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/headobjectcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/listbucketanalyticsconfigurationscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/listbucketintelligenttieringconfigurationscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/listbucketinventoryconfigurationscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/listbucketmetricsconfigurationscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/listbucketscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/listdirectorybucketscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/listmultipartuploadscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/listobjectscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/listobjectsv2command.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/listobjectversionscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/listpartscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketaccelerateconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketaclcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketanalyticsconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketcorscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketencryptioncommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketintelligenttieringconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketinventoryconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketlifecycleconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketloggingcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketmetricsconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketnotificationconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketownershipcontrolscommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketpolicycommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketreplicationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketrequestpaymentcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbuckettaggingcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketversioningcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putbucketwebsitecommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putobjectaclcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putobjectcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putobjectlegalholdcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putobjectlockconfigurationcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putobjectretentioncommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putobjecttaggingcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/putpublicaccessblockcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/restoreobjectcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/selectobjectcontentcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/uploadpartcommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/uploadpartcopycommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/writegetobjectresponsecommand.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/auth/httpauthextensionconfiguration.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/extensionconfiguration.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/runtimeextensions.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/s3client.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/s3.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/pagination/interfaces.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/pagination/listbucketspaginator.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/pagination/listdirectorybucketspaginator.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/pagination/listobjectsv2paginator.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/pagination/listpartspaginator.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts","../../node_modules/@smithy/util-waiter/dist-types/waiter.d.ts","../../node_modules/@smithy/util-waiter/dist-types/createwaiter.d.ts","../../node_modules/@smithy/util-waiter/dist-types/index.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/waiters/waitforbucketexists.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/waiters/waitforbucketnotexists.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/waiters/waitforobjectexists.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/waiters/waitforobjectnotexists.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/waiters/index.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/models/index.d.ts","../../node_modules/@aws-sdk/client-s3/dist-types/index.d.ts","../../node_modules/@aws-sdk/s3-request-presigner/dist-types/getsignedurl.d.ts","../../node_modules/@aws-sdk/signature-v4-multi-region/dist-types/signaturev4multiregion.d.ts","../../node_modules/@aws-sdk/signature-v4-multi-region/dist-types/signature-v4-crt-container.d.ts","../../node_modules/@aws-sdk/signature-v4-multi-region/dist-types/index.d.ts","../../node_modules/@aws-sdk/s3-request-presigner/dist-types/presigner.d.ts","../../node_modules/@aws-sdk/s3-request-presigner/dist-types/index.d.ts","../../lib/s3.ts","../../app/api/debug/create-all-folders/route.ts","../../app/api/debug/leantime-methods/route.ts","../../lib/types/notification.ts","../../lib/services/notifications/notification-adapter.interface.ts","../../lib/services/notifications/leantime-adapter.ts","../../lib/services/notifications/notification-service.ts","../../app/api/debug/notifications/route.ts","../../app/api/debug/s3/route.ts","../../app/api/debug-email/route.ts","../../app/api/emails/route.ts","../../app/api/events/route.ts","../../app/api/events/[id]/route.ts","../../app/api/groups/route.ts","../../app/api/groups/[groupid]/route.ts","../../app/api/groups/[groupid]/members/route.ts","../../app/api/leantime/status-labels/route.ts","../../app/api/leantime/tasks/route.ts","../../lib/services/n8n-service.ts","../../lib/mission-uploads.ts","../../app/api/missions/route.ts","../../app/api/missions/[missionid]/route.ts","../../app/api/missions/[missionid]/attachments/route.ts","../../app/api/missions/[missionid]/attachments/[attachmentid]/route.ts","../../app/api/missions/[missionid]/attachments/download/[attachmentid]/route.ts","../../app/api/missions/all/route.ts","../../app/api/missions/image/[...path]/route.ts","../../app/api/missions/upload/route.ts","../../app/api/news/route.ts","../../app/api/news/purge-cache/route.ts","../../app/api/news/test-backend/route.ts","../../app/api/storage/files/route.ts","../../app/api/nextcloud/files/route.ts","../../app/api/storage/files/content/route.ts","../../app/api/nextcloud/files/content/route.ts","../../app/api/storage/init/route.ts","../../app/api/nextcloud/init/route.ts","../../app/api/nextcloud/status/route.ts","../../app/api/notifications/route.ts","../../app/api/notifications/[id]/read/route.ts","../../app/api/notifications/count/route.ts","../../app/api/notifications/read-all/route.ts","../../node_modules/@types/trusted-types/lib/index.d.ts","../../node_modules/dompurify/dist/purify.cjs.d.ts","../../node_modules/isomorphic-dompurify/index.d.ts","../../lib/utils/dom-purify-config.ts","../../lib/server/email-parser.ts","../../app/api/parse-email/route.ts","../../app/api/redis/status/route.ts","../../app/api/rocket-chat/messages/route.ts","../../app/api/roles/route.ts","../../app/api/storage/init/folder/route.ts","../../app/api/storage/status/route.ts","../../app/api/sync-users/route.ts","../../app/types/dolibarr.ts","../../lib/dolibarr-api.ts","../../app/api/users/route.ts","../../app/api/users/[userid]/route.ts","../../app/api/users/[userid]/password/route.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/agent.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/resource.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/attackdetection.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/requiredactionproviderrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/authenticationexecutioninforepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/authenticationexecutionexportrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/authenticationflowrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/authenticatorconfigrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/authenticatorconfiginforepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/requiredactionprovidersimplerepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/configpropertyrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/requiredactionconfiginforepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/requiredactionconfigrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/authenticationmanagement.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/cache.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/clientpolicyexecutorrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/clientprofilerepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/clientprofilesrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/clientpolicyconditionrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/clientpolicyrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/clientpoliciesrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/clientpolicies.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/certificaterepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/policyrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/scoperepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/resourcerepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/resourceserverrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/protocolmapperrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/clientrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/clientscoperepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/credentialrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/globalrequestresult.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/keystoreconfig.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/managementpermissionreference.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/rolerepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/mappingsrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/accesstokenaccess.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/accesstokencertconf.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/addressclaimset.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/accesstokenrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/policyresultrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/evaluationresultrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/policyevaluationresponse.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/policyproviderrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/resourceevaluation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/federatedidentityrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/userconsentrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/userprofilemetadata.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/userrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/usersessionrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/clients.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/clientscopes.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/componentrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/componenttyperepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/components.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/grouprepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/groups.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/identityprovidermapperrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/identityprovidermappertyperepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/identityproviderrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/identityproviders.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/authdetailsrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/admineventrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/componentexportrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/rolesrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/realmrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/eventtypes.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/eventrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/keymetadatarepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/clientinitialaccesspresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/testldapconnection.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/realmeventsconfigrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/clientsessionstat.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/realms.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/organizationdomainrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/memberrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/organizationrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/organizations.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/roles.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/featurerepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/passwordpolicytyperepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/profileinforepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/systeminforepersantation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/serverinforepesentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/effectivemessagebundlerepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/serverinfo.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/users.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/synchronizationresultrepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/userstorageprovider.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/defs/whoamirepresentation.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/resources/whoami.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/utils/auth.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/client.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/utils/fetchwitherror.d.ts","../../node_modules/@keycloak/keycloak-admin-client/lib/index.d.ts","../../lib/keycloak.ts","../../app/api/users/[userid]/roles/route.ts","../../app/courrier/[id]/route.ts","../../app/hooks/use-courrier.ts","../../app/pages/pane-layout.ts","../../app/types/announcement.ts","../../app/types/mail.ts","../../node_modules/@radix-ui/react-context/dist/index.d.ts","../../node_modules/@radix-ui/react-primitive/dist/index.d.ts","../../node_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts","../../node_modules/@radix-ui/react-toast/dist/index.d.ts","../../node_modules/clsx/clsx.d.ts","../../node_modules/class-variance-authority/dist/types.d.ts","../../node_modules/class-variance-authority/dist/index.d.ts","../../node_modules/lucide-react/dist/lucide-react.d.ts","../../node_modules/tailwind-merge/dist/types.d.ts","../../lib/utils.ts","../../components/ui/toast.tsx","../../components/ui/use-toast.ts","../../hooks/use-calendar-events.ts","../../node_modules/next-auth/client/_utils.d.ts","../../node_modules/next-auth/react/types.d.ts","../../node_modules/next-auth/react/index.d.ts","../../hooks/use-toast.ts","../../lib/utils/text-direction.ts","../../types/email.ts","../../lib/utils/email-content.ts","../../lib/utils/email-adapters.ts","../../lib/utils/email-mime-decoder.ts","../../node_modules/date-fns/locale/types.d.ts","../../node_modules/date-fns/fp/types.d.ts","../../node_modules/date-fns/types.d.ts","../../node_modules/date-fns/add.d.ts","../../node_modules/date-fns/addbusinessdays.d.ts","../../node_modules/date-fns/adddays.d.ts","../../node_modules/date-fns/addhours.d.ts","../../node_modules/date-fns/addisoweekyears.d.ts","../../node_modules/date-fns/addmilliseconds.d.ts","../../node_modules/date-fns/addminutes.d.ts","../../node_modules/date-fns/addmonths.d.ts","../../node_modules/date-fns/addquarters.d.ts","../../node_modules/date-fns/addseconds.d.ts","../../node_modules/date-fns/addweeks.d.ts","../../node_modules/date-fns/addyears.d.ts","../../node_modules/date-fns/areintervalsoverlapping.d.ts","../../node_modules/date-fns/clamp.d.ts","../../node_modules/date-fns/closestindexto.d.ts","../../node_modules/date-fns/closestto.d.ts","../../node_modules/date-fns/compareasc.d.ts","../../node_modules/date-fns/comparedesc.d.ts","../../node_modules/date-fns/constructfrom.d.ts","../../node_modules/date-fns/constructnow.d.ts","../../node_modules/date-fns/daystoweeks.d.ts","../../node_modules/date-fns/differenceinbusinessdays.d.ts","../../node_modules/date-fns/differenceincalendardays.d.ts","../../node_modules/date-fns/differenceincalendarisoweekyears.d.ts","../../node_modules/date-fns/differenceincalendarisoweeks.d.ts","../../node_modules/date-fns/differenceincalendarmonths.d.ts","../../node_modules/date-fns/differenceincalendarquarters.d.ts","../../node_modules/date-fns/differenceincalendarweeks.d.ts","../../node_modules/date-fns/differenceincalendaryears.d.ts","../../node_modules/date-fns/differenceindays.d.ts","../../node_modules/date-fns/differenceinhours.d.ts","../../node_modules/date-fns/differenceinisoweekyears.d.ts","../../node_modules/date-fns/differenceinmilliseconds.d.ts","../../node_modules/date-fns/differenceinminutes.d.ts","../../node_modules/date-fns/differenceinmonths.d.ts","../../node_modules/date-fns/differenceinquarters.d.ts","../../node_modules/date-fns/differenceinseconds.d.ts","../../node_modules/date-fns/differenceinweeks.d.ts","../../node_modules/date-fns/differenceinyears.d.ts","../../node_modules/date-fns/eachdayofinterval.d.ts","../../node_modules/date-fns/eachhourofinterval.d.ts","../../node_modules/date-fns/eachminuteofinterval.d.ts","../../node_modules/date-fns/eachmonthofinterval.d.ts","../../node_modules/date-fns/eachquarterofinterval.d.ts","../../node_modules/date-fns/eachweekofinterval.d.ts","../../node_modules/date-fns/eachweekendofinterval.d.ts","../../node_modules/date-fns/eachweekendofmonth.d.ts","../../node_modules/date-fns/eachweekendofyear.d.ts","../../node_modules/date-fns/eachyearofinterval.d.ts","../../node_modules/date-fns/endofday.d.ts","../../node_modules/date-fns/endofdecade.d.ts","../../node_modules/date-fns/endofhour.d.ts","../../node_modules/date-fns/endofisoweek.d.ts","../../node_modules/date-fns/endofisoweekyear.d.ts","../../node_modules/date-fns/endofminute.d.ts","../../node_modules/date-fns/endofmonth.d.ts","../../node_modules/date-fns/endofquarter.d.ts","../../node_modules/date-fns/endofsecond.d.ts","../../node_modules/date-fns/endoftoday.d.ts","../../node_modules/date-fns/endoftomorrow.d.ts","../../node_modules/date-fns/endofweek.d.ts","../../node_modules/date-fns/endofyear.d.ts","../../node_modules/date-fns/endofyesterday.d.ts","../../node_modules/date-fns/_lib/format/formatters.d.ts","../../node_modules/date-fns/_lib/format/longformatters.d.ts","../../node_modules/date-fns/format.d.ts","../../node_modules/date-fns/formatdistance.d.ts","../../node_modules/date-fns/formatdistancestrict.d.ts","../../node_modules/date-fns/formatdistancetonow.d.ts","../../node_modules/date-fns/formatdistancetonowstrict.d.ts","../../node_modules/date-fns/formatduration.d.ts","../../node_modules/date-fns/formatiso.d.ts","../../node_modules/date-fns/formatiso9075.d.ts","../../node_modules/date-fns/formatisoduration.d.ts","../../node_modules/date-fns/formatrfc3339.d.ts","../../node_modules/date-fns/formatrfc7231.d.ts","../../node_modules/date-fns/formatrelative.d.ts","../../node_modules/date-fns/fromunixtime.d.ts","../../node_modules/date-fns/getdate.d.ts","../../node_modules/date-fns/getday.d.ts","../../node_modules/date-fns/getdayofyear.d.ts","../../node_modules/date-fns/getdaysinmonth.d.ts","../../node_modules/date-fns/getdaysinyear.d.ts","../../node_modules/date-fns/getdecade.d.ts","../../node_modules/date-fns/_lib/defaultoptions.d.ts","../../node_modules/date-fns/getdefaultoptions.d.ts","../../node_modules/date-fns/gethours.d.ts","../../node_modules/date-fns/getisoday.d.ts","../../node_modules/date-fns/getisoweek.d.ts","../../node_modules/date-fns/getisoweekyear.d.ts","../../node_modules/date-fns/getisoweeksinyear.d.ts","../../node_modules/date-fns/getmilliseconds.d.ts","../../node_modules/date-fns/getminutes.d.ts","../../node_modules/date-fns/getmonth.d.ts","../../node_modules/date-fns/getoverlappingdaysinintervals.d.ts","../../node_modules/date-fns/getquarter.d.ts","../../node_modules/date-fns/getseconds.d.ts","../../node_modules/date-fns/gettime.d.ts","../../node_modules/date-fns/getunixtime.d.ts","../../node_modules/date-fns/getweek.d.ts","../../node_modules/date-fns/getweekofmonth.d.ts","../../node_modules/date-fns/getweekyear.d.ts","../../node_modules/date-fns/getweeksinmonth.d.ts","../../node_modules/date-fns/getyear.d.ts","../../node_modules/date-fns/hourstomilliseconds.d.ts","../../node_modules/date-fns/hourstominutes.d.ts","../../node_modules/date-fns/hourstoseconds.d.ts","../../node_modules/date-fns/interval.d.ts","../../node_modules/date-fns/intervaltoduration.d.ts","../../node_modules/date-fns/intlformat.d.ts","../../node_modules/date-fns/intlformatdistance.d.ts","../../node_modules/date-fns/isafter.d.ts","../../node_modules/date-fns/isbefore.d.ts","../../node_modules/date-fns/isdate.d.ts","../../node_modules/date-fns/isequal.d.ts","../../node_modules/date-fns/isexists.d.ts","../../node_modules/date-fns/isfirstdayofmonth.d.ts","../../node_modules/date-fns/isfriday.d.ts","../../node_modules/date-fns/isfuture.d.ts","../../node_modules/date-fns/islastdayofmonth.d.ts","../../node_modules/date-fns/isleapyear.d.ts","../../node_modules/date-fns/ismatch.d.ts","../../node_modules/date-fns/ismonday.d.ts","../../node_modules/date-fns/ispast.d.ts","../../node_modules/date-fns/issameday.d.ts","../../node_modules/date-fns/issamehour.d.ts","../../node_modules/date-fns/issameisoweek.d.ts","../../node_modules/date-fns/issameisoweekyear.d.ts","../../node_modules/date-fns/issameminute.d.ts","../../node_modules/date-fns/issamemonth.d.ts","../../node_modules/date-fns/issamequarter.d.ts","../../node_modules/date-fns/issamesecond.d.ts","../../node_modules/date-fns/issameweek.d.ts","../../node_modules/date-fns/issameyear.d.ts","../../node_modules/date-fns/issaturday.d.ts","../../node_modules/date-fns/issunday.d.ts","../../node_modules/date-fns/isthishour.d.ts","../../node_modules/date-fns/isthisisoweek.d.ts","../../node_modules/date-fns/isthisminute.d.ts","../../node_modules/date-fns/isthismonth.d.ts","../../node_modules/date-fns/isthisquarter.d.ts","../../node_modules/date-fns/isthissecond.d.ts","../../node_modules/date-fns/isthisweek.d.ts","../../node_modules/date-fns/isthisyear.d.ts","../../node_modules/date-fns/isthursday.d.ts","../../node_modules/date-fns/istoday.d.ts","../../node_modules/date-fns/istomorrow.d.ts","../../node_modules/date-fns/istuesday.d.ts","../../node_modules/date-fns/isvalid.d.ts","../../node_modules/date-fns/iswednesday.d.ts","../../node_modules/date-fns/isweekend.d.ts","../../node_modules/date-fns/iswithininterval.d.ts","../../node_modules/date-fns/isyesterday.d.ts","../../node_modules/date-fns/lastdayofdecade.d.ts","../../node_modules/date-fns/lastdayofisoweek.d.ts","../../node_modules/date-fns/lastdayofisoweekyear.d.ts","../../node_modules/date-fns/lastdayofmonth.d.ts","../../node_modules/date-fns/lastdayofquarter.d.ts","../../node_modules/date-fns/lastdayofweek.d.ts","../../node_modules/date-fns/lastdayofyear.d.ts","../../node_modules/date-fns/_lib/format/lightformatters.d.ts","../../node_modules/date-fns/lightformat.d.ts","../../node_modules/date-fns/max.d.ts","../../node_modules/date-fns/milliseconds.d.ts","../../node_modules/date-fns/millisecondstohours.d.ts","../../node_modules/date-fns/millisecondstominutes.d.ts","../../node_modules/date-fns/millisecondstoseconds.d.ts","../../node_modules/date-fns/min.d.ts","../../node_modules/date-fns/minutestohours.d.ts","../../node_modules/date-fns/minutestomilliseconds.d.ts","../../node_modules/date-fns/minutestoseconds.d.ts","../../node_modules/date-fns/monthstoquarters.d.ts","../../node_modules/date-fns/monthstoyears.d.ts","../../node_modules/date-fns/nextday.d.ts","../../node_modules/date-fns/nextfriday.d.ts","../../node_modules/date-fns/nextmonday.d.ts","../../node_modules/date-fns/nextsaturday.d.ts","../../node_modules/date-fns/nextsunday.d.ts","../../node_modules/date-fns/nextthursday.d.ts","../../node_modules/date-fns/nexttuesday.d.ts","../../node_modules/date-fns/nextwednesday.d.ts","../../node_modules/date-fns/parse/_lib/types.d.ts","../../node_modules/date-fns/parse/_lib/setter.d.ts","../../node_modules/date-fns/parse/_lib/parser.d.ts","../../node_modules/date-fns/parse/_lib/parsers.d.ts","../../node_modules/date-fns/parse.d.ts","../../node_modules/date-fns/parseiso.d.ts","../../node_modules/date-fns/parsejson.d.ts","../../node_modules/date-fns/previousday.d.ts","../../node_modules/date-fns/previousfriday.d.ts","../../node_modules/date-fns/previousmonday.d.ts","../../node_modules/date-fns/previoussaturday.d.ts","../../node_modules/date-fns/previoussunday.d.ts","../../node_modules/date-fns/previousthursday.d.ts","../../node_modules/date-fns/previoustuesday.d.ts","../../node_modules/date-fns/previouswednesday.d.ts","../../node_modules/date-fns/quarterstomonths.d.ts","../../node_modules/date-fns/quarterstoyears.d.ts","../../node_modules/date-fns/roundtonearesthours.d.ts","../../node_modules/date-fns/roundtonearestminutes.d.ts","../../node_modules/date-fns/secondstohours.d.ts","../../node_modules/date-fns/secondstomilliseconds.d.ts","../../node_modules/date-fns/secondstominutes.d.ts","../../node_modules/date-fns/set.d.ts","../../node_modules/date-fns/setdate.d.ts","../../node_modules/date-fns/setday.d.ts","../../node_modules/date-fns/setdayofyear.d.ts","../../node_modules/date-fns/setdefaultoptions.d.ts","../../node_modules/date-fns/sethours.d.ts","../../node_modules/date-fns/setisoday.d.ts","../../node_modules/date-fns/setisoweek.d.ts","../../node_modules/date-fns/setisoweekyear.d.ts","../../node_modules/date-fns/setmilliseconds.d.ts","../../node_modules/date-fns/setminutes.d.ts","../../node_modules/date-fns/setmonth.d.ts","../../node_modules/date-fns/setquarter.d.ts","../../node_modules/date-fns/setseconds.d.ts","../../node_modules/date-fns/setweek.d.ts","../../node_modules/date-fns/setweekyear.d.ts","../../node_modules/date-fns/setyear.d.ts","../../node_modules/date-fns/startofday.d.ts","../../node_modules/date-fns/startofdecade.d.ts","../../node_modules/date-fns/startofhour.d.ts","../../node_modules/date-fns/startofisoweek.d.ts","../../node_modules/date-fns/startofisoweekyear.d.ts","../../node_modules/date-fns/startofminute.d.ts","../../node_modules/date-fns/startofmonth.d.ts","../../node_modules/date-fns/startofquarter.d.ts","../../node_modules/date-fns/startofsecond.d.ts","../../node_modules/date-fns/startoftoday.d.ts","../../node_modules/date-fns/startoftomorrow.d.ts","../../node_modules/date-fns/startofweek.d.ts","../../node_modules/date-fns/startofweekyear.d.ts","../../node_modules/date-fns/startofyear.d.ts","../../node_modules/date-fns/startofyesterday.d.ts","../../node_modules/date-fns/sub.d.ts","../../node_modules/date-fns/subbusinessdays.d.ts","../../node_modules/date-fns/subdays.d.ts","../../node_modules/date-fns/subhours.d.ts","../../node_modules/date-fns/subisoweekyears.d.ts","../../node_modules/date-fns/submilliseconds.d.ts","../../node_modules/date-fns/subminutes.d.ts","../../node_modules/date-fns/submonths.d.ts","../../node_modules/date-fns/subquarters.d.ts","../../node_modules/date-fns/subseconds.d.ts","../../node_modules/date-fns/subweeks.d.ts","../../node_modules/date-fns/subyears.d.ts","../../node_modules/date-fns/todate.d.ts","../../node_modules/date-fns/transpose.d.ts","../../node_modules/date-fns/weekstodays.d.ts","../../node_modules/date-fns/yearstodays.d.ts","../../node_modules/date-fns/yearstomonths.d.ts","../../node_modules/date-fns/yearstoquarters.d.ts","../../node_modules/date-fns/index.d.ts","../../lib/utils/email-utils.ts","../../hooks/use-courrier.ts","../../hooks/use-email-fetch.ts","../../lib/reducers/emailreducer.ts","../../hooks/use-email-state.ts","../../types/mail.ts","../../hooks/use-mail.ts","../../hooks/use-media-query.ts","../../hooks/use-notifications.ts","../../lib/auth.ts","../../lib/imap.ts","../../lib/prisma-news.ts","../../lib/session.ts","../../lib/actions/email-actions.ts","../../lib/utils/debounce.ts","../../lib/utils/email-adapter.ts","../../scripts/check-credentials.ts","../../node_modules/dotenv/lib/main.d.ts","../../scripts/sync-users.ts","../../types/calendar.d.ts","../../types/carnet.d.ts","../../types/electron.d.ts","../../types/env.d.ts","../../types/next-auth.d.ts","../../types/vcard-js.d.ts","../../types/vcard-parser.d.ts","../../types/xmldom.d.ts","../../node_modules/next/dist/compiled/@next/font/dist/types.d.ts","../../node_modules/next/dist/compiled/@next/font/dist/google/index.d.ts","../../node_modules/next/font/google/index.d.ts","../../components/providers.tsx","../../node_modules/@radix-ui/react-slot/dist/index.d.ts","../../components/ui/button.tsx","../../node_modules/@radix-ui/react-scroll-area/node_modules/@radix-ui/react-primitive/dist/index.d.ts","../../node_modules/@radix-ui/react-scroll-area/dist/index.d.ts","../../components/ui/scroll-area.tsx","../../components/sidebar/calendar-nav.tsx","../../components/sidebar.tsx","../../node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-primitive/dist/index.d.ts","../../node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts","../../node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-focus-scope/dist/index.d.ts","../../node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-arrow/dist/index.d.ts","../../node_modules/@radix-ui/rect/dist/index.d.ts","../../node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-popper/dist/index.d.ts","../../node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-portal/dist/index.d.ts","../../node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-roving-focus/dist/index.d.ts","../../node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-menu/dist/index.d.ts","../../node_modules/@radix-ui/react-dropdown-menu/dist/index.d.ts","../../components/ui/dropdown-menu.tsx","../../node_modules/date-fns/locale/af.d.ts","../../node_modules/date-fns/locale/ar.d.ts","../../node_modules/date-fns/locale/ar-dz.d.ts","../../node_modules/date-fns/locale/ar-eg.d.ts","../../node_modules/date-fns/locale/ar-ma.d.ts","../../node_modules/date-fns/locale/ar-sa.d.ts","../../node_modules/date-fns/locale/ar-tn.d.ts","../../node_modules/date-fns/locale/az.d.ts","../../node_modules/date-fns/locale/be.d.ts","../../node_modules/date-fns/locale/be-tarask.d.ts","../../node_modules/date-fns/locale/bg.d.ts","../../node_modules/date-fns/locale/bn.d.ts","../../node_modules/date-fns/locale/bs.d.ts","../../node_modules/date-fns/locale/ca.d.ts","../../node_modules/date-fns/locale/ckb.d.ts","../../node_modules/date-fns/locale/cs.d.ts","../../node_modules/date-fns/locale/cy.d.ts","../../node_modules/date-fns/locale/da.d.ts","../../node_modules/date-fns/locale/de.d.ts","../../node_modules/date-fns/locale/de-at.d.ts","../../node_modules/date-fns/locale/el.d.ts","../../node_modules/date-fns/locale/en-au.d.ts","../../node_modules/date-fns/locale/en-ca.d.ts","../../node_modules/date-fns/locale/en-gb.d.ts","../../node_modules/date-fns/locale/en-ie.d.ts","../../node_modules/date-fns/locale/en-in.d.ts","../../node_modules/date-fns/locale/en-nz.d.ts","../../node_modules/date-fns/locale/en-us.d.ts","../../node_modules/date-fns/locale/en-za.d.ts","../../node_modules/date-fns/locale/eo.d.ts","../../node_modules/date-fns/locale/es.d.ts","../../node_modules/date-fns/locale/et.d.ts","../../node_modules/date-fns/locale/eu.d.ts","../../node_modules/date-fns/locale/fa-ir.d.ts","../../node_modules/date-fns/locale/fi.d.ts","../../node_modules/date-fns/locale/fr.d.ts","../../node_modules/date-fns/locale/fr-ca.d.ts","../../node_modules/date-fns/locale/fr-ch.d.ts","../../node_modules/date-fns/locale/fy.d.ts","../../node_modules/date-fns/locale/gd.d.ts","../../node_modules/date-fns/locale/gl.d.ts","../../node_modules/date-fns/locale/gu.d.ts","../../node_modules/date-fns/locale/he.d.ts","../../node_modules/date-fns/locale/hi.d.ts","../../node_modules/date-fns/locale/hr.d.ts","../../node_modules/date-fns/locale/ht.d.ts","../../node_modules/date-fns/locale/hu.d.ts","../../node_modules/date-fns/locale/hy.d.ts","../../node_modules/date-fns/locale/id.d.ts","../../node_modules/date-fns/locale/is.d.ts","../../node_modules/date-fns/locale/it.d.ts","../../node_modules/date-fns/locale/it-ch.d.ts","../../node_modules/date-fns/locale/ja.d.ts","../../node_modules/date-fns/locale/ja-hira.d.ts","../../node_modules/date-fns/locale/ka.d.ts","../../node_modules/date-fns/locale/kk.d.ts","../../node_modules/date-fns/locale/km.d.ts","../../node_modules/date-fns/locale/kn.d.ts","../../node_modules/date-fns/locale/ko.d.ts","../../node_modules/date-fns/locale/lb.d.ts","../../node_modules/date-fns/locale/lt.d.ts","../../node_modules/date-fns/locale/lv.d.ts","../../node_modules/date-fns/locale/mk.d.ts","../../node_modules/date-fns/locale/mn.d.ts","../../node_modules/date-fns/locale/ms.d.ts","../../node_modules/date-fns/locale/mt.d.ts","../../node_modules/date-fns/locale/nb.d.ts","../../node_modules/date-fns/locale/nl.d.ts","../../node_modules/date-fns/locale/nl-be.d.ts","../../node_modules/date-fns/locale/nn.d.ts","../../node_modules/date-fns/locale/oc.d.ts","../../node_modules/date-fns/locale/pl.d.ts","../../node_modules/date-fns/locale/pt.d.ts","../../node_modules/date-fns/locale/pt-br.d.ts","../../node_modules/date-fns/locale/ro.d.ts","../../node_modules/date-fns/locale/ru.d.ts","../../node_modules/date-fns/locale/se.d.ts","../../node_modules/date-fns/locale/sk.d.ts","../../node_modules/date-fns/locale/sl.d.ts","../../node_modules/date-fns/locale/sq.d.ts","../../node_modules/date-fns/locale/sr.d.ts","../../node_modules/date-fns/locale/sr-latn.d.ts","../../node_modules/date-fns/locale/sv.d.ts","../../node_modules/date-fns/locale/ta.d.ts","../../node_modules/date-fns/locale/te.d.ts","../../node_modules/date-fns/locale/th.d.ts","../../node_modules/date-fns/locale/tr.d.ts","../../node_modules/date-fns/locale/ug.d.ts","../../node_modules/date-fns/locale/uk.d.ts","../../node_modules/date-fns/locale/uz.d.ts","../../node_modules/date-fns/locale/uz-cyrl.d.ts","../../node_modules/date-fns/locale/vi.d.ts","../../node_modules/date-fns/locale/zh-cn.d.ts","../../node_modules/date-fns/locale/zh-hk.d.ts","../../node_modules/date-fns/locale/zh-tw.d.ts","../../node_modules/date-fns/locale.d.ts","../../components/ui/badge.tsx","../../components/safe-html.tsx","../../components/notification-badge.tsx","../../node_modules/@radix-ui/react-focus-scope/dist/index.d.ts","../../node_modules/@radix-ui/react-portal/dist/index.d.ts","../../node_modules/@radix-ui/react-dialog/dist/index.d.ts","../../components/ui/dialog.tsx","../../components/ui/textarea.tsx","../../components/ui/input.tsx","../../components/notes-dialog.tsx","../../components/electron/windowcontrols.tsx","../../components/main-nav.tsx","../../components/footer.tsx","../../components/auth/auth-check.tsx","../../components/ui/toaster.tsx","../../components/background-switcher.tsx","../../components/layout/layout-wrapper.tsx","../../app/layout.tsx","../../components/ui/card.tsx","../../components/quote-card.tsx","../../components/calendar.tsx","../../components/news.tsx","../../components/flow.tsx","../../components/email.tsx","../../node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive/dist/index.d.ts","../../node_modules/@radix-ui/react-avatar/dist/index.d.ts","../../components/ui/avatar.tsx","../../components/parole.tsx","../../app/page.tsx","../../app/[section]/page.tsx","../../node_modules/@fullcalendar/core/node_modules/preact/src/jsx.d.ts","../../node_modules/@fullcalendar/core/node_modules/preact/src/index.d.ts","../../node_modules/@fullcalendar/core/node_modules/preact/hooks/src/index.d.ts","../../node_modules/@fullcalendar/core/node_modules/preact/compat/src/suspense.d.ts","../../node_modules/@fullcalendar/core/node_modules/preact/compat/src/suspense-list.d.ts","../../node_modules/@fullcalendar/core/node_modules/preact/compat/src/index.d.ts","../../node_modules/@fullcalendar/core/preact.d.ts","../../node_modules/@fullcalendar/core/internal-common.d.ts","../../node_modules/@fullcalendar/core/index.d.ts","../../node_modules/@fullcalendar/core/internal.d.ts","../../node_modules/@fullcalendar/react/dist/index.d.ts","../../node_modules/@fullcalendar/daygrid/index.d.ts","../../node_modules/@fullcalendar/timegrid/index.d.ts","../../node_modules/@fullcalendar/interaction/index.d.ts","../../node_modules/@fullcalendar/core/locales/fr.d.ts","../../node_modules/@radix-ui/react-roving-focus/dist/index.d.ts","../../node_modules/@radix-ui/react-tabs/dist/index.d.ts","../../components/ui/tabs.tsx","../../node_modules/@radix-ui/react-label/node_modules/@radix-ui/react-primitive/dist/index.d.ts","../../node_modules/@radix-ui/react-label/dist/index.d.ts","../../components/ui/label.tsx","../../node_modules/@radix-ui/react-separator/dist/index.d.ts","../../components/ui/separator.tsx","../../node_modules/@radix-ui/react-arrow/dist/index.d.ts","../../node_modules/@radix-ui/react-popper/dist/index.d.ts","../../node_modules/@radix-ui/react-tooltip/dist/index.d.ts","../../components/ui/tooltip.tsx","../../node_modules/react-datepicker/node_modules/date-fns/constants.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/locale/types.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/fp/types.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/types.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/add.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/addbusinessdays.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/adddays.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/addhours.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/addisoweekyears.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/addmilliseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/addminutes.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/addmonths.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/addquarters.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/addseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/addweeks.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/addyears.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/areintervalsoverlapping.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/clamp.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/closestindexto.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/closestto.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/compareasc.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/comparedesc.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/constructfrom.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/constructnow.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/daystoweeks.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceinbusinessdays.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceincalendardays.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceincalendarisoweekyears.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceincalendarisoweeks.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceincalendarmonths.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceincalendarquarters.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceincalendarweeks.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceincalendaryears.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceindays.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceinhours.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceinisoweekyears.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceinmilliseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceinminutes.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceinmonths.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceinquarters.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceinseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceinweeks.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/differenceinyears.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/eachdayofinterval.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/eachhourofinterval.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/eachminuteofinterval.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/eachmonthofinterval.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/eachquarterofinterval.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/eachweekofinterval.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/eachweekendofinterval.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/eachweekendofmonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/eachweekendofyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/eachyearofinterval.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endofday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endofdecade.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endofhour.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endofisoweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endofisoweekyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endofminute.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endofmonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endofquarter.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endofsecond.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endoftoday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endoftomorrow.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endofweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endofyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/endofyesterday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/_lib/format/longformatters.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/format.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/formatdistance.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/formatdistancestrict.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/formatdistancetonow.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/formatdistancetonowstrict.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/formatduration.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/formatiso.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/formatiso9075.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/formatisoduration.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/formatrfc3339.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/formatrfc7231.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/formatrelative.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/fromunixtime.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getdate.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getdayofyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getdaysinmonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getdaysinyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getdecade.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/_lib/defaultoptions.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getdefaultoptions.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/gethours.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getisoday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getisoweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getisoweekyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getisoweeksinyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getmilliseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getminutes.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getmonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getoverlappingdaysinintervals.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getquarter.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/gettime.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getunixtime.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getweekofmonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getweekyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getweeksinmonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/getyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/hourstomilliseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/hourstominutes.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/hourstoseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/interval.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/intervaltoduration.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/intlformat.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/intlformatdistance.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isafter.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isbefore.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isdate.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isequal.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isexists.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isfirstdayofmonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isfriday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isfuture.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/islastdayofmonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isleapyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/ismatch.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/ismonday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/ispast.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/issameday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/issamehour.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/issameisoweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/issameisoweekyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/issameminute.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/issamemonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/issamequarter.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/issamesecond.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/issameweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/issameyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/issaturday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/issunday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isthishour.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isthisisoweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isthisminute.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isthismonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isthisquarter.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isthissecond.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isthisweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isthisyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isthursday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/istoday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/istomorrow.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/istuesday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isvalid.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/iswednesday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isweekend.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/iswithininterval.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/isyesterday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/lastdayofdecade.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/lastdayofisoweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/lastdayofisoweekyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/lastdayofmonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/lastdayofquarter.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/lastdayofweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/lastdayofyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightformatters.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/lightformat.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/max.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/milliseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/millisecondstohours.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/millisecondstominutes.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/millisecondstoseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/min.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/minutestohours.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/minutestomilliseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/minutestoseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/monthstoquarters.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/monthstoyears.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/nextday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/nextfriday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/nextmonday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/nextsaturday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/nextsunday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/nextthursday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/nexttuesday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/nextwednesday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/parse/_lib/types.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/parse/_lib/setter.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parser.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/parse.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/parseiso.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/parsejson.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/previousday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/previousfriday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/previousmonday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/previoussaturday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/previoussunday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/previousthursday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/previoustuesday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/previouswednesday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/quarterstomonths.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/quarterstoyears.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/roundtonearesthours.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/roundtonearestminutes.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/secondstohours.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/secondstomilliseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/secondstominutes.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/set.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setdate.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setdayofyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setdefaultoptions.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/sethours.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setisoday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setisoweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setisoweekyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setmilliseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setminutes.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setmonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setquarter.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setweekyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/setyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofdecade.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofhour.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofisoweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofisoweekyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofminute.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofmonth.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofquarter.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofsecond.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startoftoday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startoftomorrow.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofweek.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofweekyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofyear.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/startofyesterday.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/sub.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/subbusinessdays.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/subdays.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/subhours.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/subisoweekyears.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/submilliseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/subminutes.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/submonths.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/subquarters.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/subseconds.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/subweeks.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/subyears.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/todate.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/transpose.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/weekstodays.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/yearstodays.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/yearstomonths.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/yearstoquarters.d.ts","../../node_modules/react-datepicker/node_modules/date-fns/index.d.cts","../../node_modules/react-datepicker/dist/date_utils.d.ts","../../node_modules/react-datepicker/dist/input_time.d.ts","../../node_modules/react-datepicker/dist/day.d.ts","../../node_modules/react-datepicker/dist/week_number.d.ts","../../node_modules/react-datepicker/dist/week.d.ts","../../node_modules/react-datepicker/dist/month.d.ts","../../node_modules/react-datepicker/dist/month_dropdown_options.d.ts","../../node_modules/react-datepicker/dist/month_dropdown.d.ts","../../node_modules/react-datepicker/dist/month_year_dropdown_options.d.ts","../../node_modules/react-datepicker/dist/month_year_dropdown.d.ts","../../node_modules/react-datepicker/dist/time.d.ts","../../node_modules/react-datepicker/dist/year.d.ts","../../node_modules/react-datepicker/dist/year_dropdown_options.d.ts","../../node_modules/react-datepicker/dist/year_dropdown.d.ts","../../node_modules/react-datepicker/dist/click_outside_wrapper.d.ts","../../node_modules/react-datepicker/dist/calendar.d.ts","../../node_modules/react-datepicker/dist/calendar_icon.d.ts","../../node_modules/react-datepicker/dist/portal.d.ts","../../node_modules/react-datepicker/dist/tab_loop.d.ts","../../node_modules/@floating-ui/utils/dist/floating-ui.utils.d.ts","../../node_modules/@floating-ui/core/dist/floating-ui.core.d.ts","../../node_modules/@floating-ui/utils/dom/floating-ui.utils.dom.d.ts","../../node_modules/@floating-ui/dom/dist/floating-ui.dom.d.ts","../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.d.ts","../../node_modules/react-datepicker/node_modules/@floating-ui/react/dist/floating-ui.react.d.ts","../../node_modules/react-datepicker/dist/with_floating.d.ts","../../node_modules/react-datepicker/dist/popper_component.d.ts","../../node_modules/react-datepicker/dist/calendar_container.d.ts","../../node_modules/react-datepicker/dist/index.d.ts","../../node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-primitive/dist/index.d.ts","../../node_modules/@radix-ui/react-checkbox/dist/index.d.ts","../../components/ui/checkbox.tsx","../../components/calendar/calendar-client.tsx","../../app/agenda/page.tsx","../../app/components/responsive-iframe.tsx","../../app/agilite/page.tsx","../../app/alma/page.tsx","../../node_modules/react-hook-form/dist/constants.d.ts","../../node_modules/react-hook-form/dist/utils/createsubject.d.ts","../../node_modules/react-hook-form/dist/types/events.d.ts","../../node_modules/react-hook-form/dist/types/path/common.d.ts","../../node_modules/react-hook-form/dist/types/path/eager.d.ts","../../node_modules/react-hook-form/dist/types/path/index.d.ts","../../node_modules/react-hook-form/dist/types/fieldarray.d.ts","../../node_modules/react-hook-form/dist/types/resolvers.d.ts","../../node_modules/react-hook-form/dist/types/form.d.ts","../../node_modules/react-hook-form/dist/types/utils.d.ts","../../node_modules/react-hook-form/dist/types/fields.d.ts","../../node_modules/react-hook-form/dist/types/errors.d.ts","../../node_modules/react-hook-form/dist/types/validator.d.ts","../../node_modules/react-hook-form/dist/types/controller.d.ts","../../node_modules/react-hook-form/dist/types/index.d.ts","../../node_modules/react-hook-form/dist/controller.d.ts","../../node_modules/react-hook-form/dist/form.d.ts","../../node_modules/react-hook-form/dist/logic/appenderrors.d.ts","../../node_modules/react-hook-form/dist/logic/index.d.ts","../../node_modules/react-hook-form/dist/usecontroller.d.ts","../../node_modules/react-hook-form/dist/usefieldarray.d.ts","../../node_modules/react-hook-form/dist/useform.d.ts","../../node_modules/react-hook-form/dist/useformcontext.d.ts","../../node_modules/react-hook-form/dist/useformstate.d.ts","../../node_modules/react-hook-form/dist/usewatch.d.ts","../../node_modules/react-hook-form/dist/utils/get.d.ts","../../node_modules/react-hook-form/dist/utils/set.d.ts","../../node_modules/react-hook-form/dist/utils/index.d.ts","../../node_modules/react-hook-form/dist/index.d.ts","../../node_modules/@hookform/resolvers/zod/dist/types.d.ts","../../node_modules/@hookform/resolvers/zod/dist/zod.d.ts","../../node_modules/@hookform/resolvers/zod/dist/index.d.ts","../../components/ui/form.tsx","../../node_modules/@radix-ui/react-select/dist/index.d.ts","../../components/ui/select.tsx","../../components/ui/alert.tsx","../../components/announcement/announcement-form.tsx","../../components/ui/table.tsx","../../components/announcement/announcements-list.tsx","../../components/announcement/announcements-dropdown.tsx","../../components/announcement/announcements-page.tsx","../../app/announcement/page.tsx","../../app/apprendre/page.tsx","../../app/artlab/page.tsx","../../app/calcul/page.tsx","../../app/chapitre/page.tsx","../../app/components/flow.tsx","../../app/components/debug/emaildebug.tsx","../../app/components/debug/rediscachestatus.tsx","../../app/courrier/layout.tsx","../../node_modules/@radix-ui/react-alert-dialog/dist/index.d.ts","../../components/ui/alert-dialog.tsx","../../components/email/emailsidebar.tsx","../../components/email/emaillistitem.tsx","../../components/email/emaillistheader.tsx","../../components/email/bulkactionstoolbar.tsx","../../components/email/emaillist.tsx","../../components/email/emailsidebarcontent.tsx","../../components/email/emaildetailview.tsx","../../node_modules/parchment/dist/parchment.d.ts","../../node_modules/fast-diff/diff.d.ts","../../node_modules/quill-delta/dist/attributemap.d.ts","../../node_modules/quill-delta/dist/op.d.ts","../../node_modules/quill-delta/dist/opiterator.d.ts","../../node_modules/quill-delta/dist/delta.d.ts","../../node_modules/quill/blots/block.d.ts","../../node_modules/quill/node_modules/eventemitter3/index.d.ts","../../node_modules/quill/core/emitter.d.ts","../../node_modules/quill/blots/container.d.ts","../../node_modules/quill/blots/scroll.d.ts","../../node_modules/quill/core/module.d.ts","../../node_modules/quill/blots/embed.d.ts","../../node_modules/quill/blots/cursor.d.ts","../../node_modules/quill/core/selection.d.ts","../../node_modules/quill/modules/clipboard.d.ts","../../node_modules/quill/modules/history.d.ts","../../node_modules/quill/modules/keyboard.d.ts","../../node_modules/quill/modules/uploader.d.ts","../../node_modules/quill/core/editor.d.ts","../../node_modules/quill/core/logger.d.ts","../../node_modules/quill/core/composition.d.ts","../../node_modules/quill/modules/toolbar.d.ts","../../node_modules/quill/core/theme.d.ts","../../node_modules/quill/core/utils/scrollrectintoview.d.ts","../../node_modules/quill/core/quill.d.ts","../../node_modules/quill/core.d.ts","../../node_modules/quill/quill.d.ts","../../components/email/richemaileditor.tsx","../../components/email/composeemail.tsx","../../components/email/emaildialogs.tsx","../../app/courrier/page.tsx","../../app/courrier/components/debugview.tsx","../../app/crm/page.tsx","../../app/dossiers/page.tsx","../../components/groups/groups-table.tsx","../../components/users/users-table.tsx","../../components/management/management-tabs.tsx","../../app/equipes/page.tsx","../../app/gite/page.tsx","../../app/groups/page.tsx","../../app/livres/page.tsx","../../app/mediation/page.tsx","../../app/mission-tab/layout.tsx","../../app/mission-tab/page.tsx","../../app/mission-tab/[missionid]/page.tsx","../../app/missions/layout.tsx","../../app/missions/page.tsx","../../app/missions/[missionid]/page.tsx","../../app/missions/[missionid]/edit/page.tsx","../../components/missions/file-upload.tsx","../../components/missions/attachments-list.tsx","../../components/missions/missions-admin-panel.tsx","../../components/ui/breadcrumb.tsx","../../app/missions/new/page.tsx","../../app/ms/page.tsx","../../node_modules/@types/geojson/index.d.ts","../../node_modules/@types/leaflet/index.d.ts","../../components/observatory/map-component.tsx","../../components/observatory/observatory-map.tsx","../../components/observatory/observatory-view.tsx","../../app/observatory/page.tsx","../../components/carnet/navigation.tsx","../../components/carnet/notes-view.tsx","../../components/carnet/editor.tsx","../../components/carnet/panel-resizer.tsx","../../components/carnet/contacts-view.tsx","../../components/carnet/contact-details.tsx","../../app/pages/page.tsx","../../app/parole/page.tsx","../../app/press/page.tsx","../../app/radio/page.tsx","../../app/showcase/page.tsx","../../app/signin/layout.tsx","../../app/signin/page.tsx","../../components/auth/signout-handler.tsx","../../app/signout/page.tsx","../../app/the-message/page.tsx","../../components/timetracker/timetracker-frame.tsx","../../app/timetracker/page.tsx","../../app/users/page.tsx","../../app/vision/page.tsx","../../app/wp-admin/page.tsx","../../components/calendar-widget.tsx","../../components/emails.tsx","../../components/messages.tsx","../../components/navbar/calendar-button.tsx","../../components/navbar.tsx","../../components/podcast.tsx","../../components/space-nav.tsx","../../components/todo.tsx","../../components/auth/login-card.tsx","../../components/auth/signin-form.tsx","../../components/calendar/calendar-dialog.tsx","../../components/calendar/calendar-widget.tsx","../../components/calendar/event-dialog.tsx","../../components/carnet/header.tsx","../../components/conference/conference-frame.tsx","../../components/debug/rediscachestatus.tsx","../../components/electron/window-controls.tsx","../../components/email/composeemailadapter.tsx","../../components/email/composeemailfooter.tsx","../../components/email/composeemailform.tsx","../../components/email/composeemailheader.tsx","../../components/email/emailcontent.tsx","../../components/email/emailcontentdisplay.tsx","../../components/email/emailheader.tsx","../../components/email/emailpreview.tsx","../../components/email/emailpanel.tsx","../../components/email/emaillayout.tsx","../../components/email/quotedemailcontent.tsx","../../components/flow/flow-frame.tsx","../../components/messages/messages-frame.tsx","../../components/missions/missions-admin-panel.bak.tsx","../../components/missions/missions-frame.tsx","../../components/missions-board/missions-board-frame.tsx","../../components/observatory/observatory-frame.tsx","../../components/radio/radio-frame.tsx","../../components/showcase/showcase-frame.tsx","../../components/ui/clock.tsx","../../node_modules/@radix-ui/react-collapsible/dist/index.d.ts","../../node_modules/@radix-ui/react-accordion/dist/index.d.ts","../../components/ui/accordion.tsx","../../node_modules/@radix-ui/react-aspect-ratio/dist/index.d.ts","../../components/ui/aspect-ratio.tsx","../../node_modules/react-day-picker/dist/index.d.ts","../../components/ui/calendar.tsx","../../node_modules/embla-carousel/components/alignment.d.ts","../../node_modules/embla-carousel/components/noderects.d.ts","../../node_modules/embla-carousel/components/axis.d.ts","../../node_modules/embla-carousel/components/slidestoscroll.d.ts","../../node_modules/embla-carousel/components/limit.d.ts","../../node_modules/embla-carousel/components/scrollcontain.d.ts","../../node_modules/embla-carousel/components/dragtracker.d.ts","../../node_modules/embla-carousel/components/utils.d.ts","../../node_modules/embla-carousel/components/animations.d.ts","../../node_modules/embla-carousel/components/counter.d.ts","../../node_modules/embla-carousel/components/eventhandler.d.ts","../../node_modules/embla-carousel/components/eventstore.d.ts","../../node_modules/embla-carousel/components/percentofview.d.ts","../../node_modules/embla-carousel/components/resizehandler.d.ts","../../node_modules/embla-carousel/components/vector1d.d.ts","../../node_modules/embla-carousel/components/scrollbody.d.ts","../../node_modules/embla-carousel/components/scrollbounds.d.ts","../../node_modules/embla-carousel/components/scrolllooper.d.ts","../../node_modules/embla-carousel/components/scrollprogress.d.ts","../../node_modules/embla-carousel/components/slideregistry.d.ts","../../node_modules/embla-carousel/components/scrolltarget.d.ts","../../node_modules/embla-carousel/components/scrollto.d.ts","../../node_modules/embla-carousel/components/slidefocus.d.ts","../../node_modules/embla-carousel/components/translate.d.ts","../../node_modules/embla-carousel/components/slidelooper.d.ts","../../node_modules/embla-carousel/components/slideshandler.d.ts","../../node_modules/embla-carousel/components/slidesinview.d.ts","../../node_modules/embla-carousel/components/engine.d.ts","../../node_modules/embla-carousel/components/optionshandler.d.ts","../../node_modules/embla-carousel/components/plugins.d.ts","../../node_modules/embla-carousel/components/emblacarousel.d.ts","../../node_modules/embla-carousel/components/draghandler.d.ts","../../node_modules/embla-carousel/components/options.d.ts","../../node_modules/embla-carousel/index.d.ts","../../node_modules/embla-carousel-react/components/useemblacarousel.d.ts","../../node_modules/embla-carousel-react/index.d.ts","../../components/ui/carousel.tsx","../../node_modules/recharts/types/container/surface.d.ts","../../node_modules/recharts/types/container/layer.d.ts","../../node_modules/@types/d3-time/index.d.ts","../../node_modules/@types/d3-scale/index.d.ts","../../node_modules/victory-vendor/d3-scale.d.ts","../../node_modules/recharts/types/cartesian/xaxis.d.ts","../../node_modules/recharts/types/cartesian/yaxis.d.ts","../../node_modules/recharts/types/util/types.d.ts","../../node_modules/recharts/types/component/defaultlegendcontent.d.ts","../../node_modules/recharts/types/util/payload/getuniqpayload.d.ts","../../node_modules/recharts/types/component/legend.d.ts","../../node_modules/recharts/types/component/defaulttooltipcontent.d.ts","../../node_modules/recharts/types/component/tooltip.d.ts","../../node_modules/recharts/types/component/responsivecontainer.d.ts","../../node_modules/recharts/types/component/cell.d.ts","../../node_modules/recharts/types/component/text.d.ts","../../node_modules/recharts/types/component/label.d.ts","../../node_modules/recharts/types/component/labellist.d.ts","../../node_modules/recharts/types/component/customized.d.ts","../../node_modules/recharts/types/shape/sector.d.ts","../../node_modules/@types/d3-path/index.d.ts","../../node_modules/@types/d3-shape/index.d.ts","../../node_modules/victory-vendor/d3-shape.d.ts","../../node_modules/recharts/types/shape/curve.d.ts","../../node_modules/recharts/types/shape/rectangle.d.ts","../../node_modules/recharts/types/shape/polygon.d.ts","../../node_modules/recharts/types/shape/dot.d.ts","../../node_modules/recharts/types/shape/cross.d.ts","../../node_modules/recharts/types/shape/symbols.d.ts","../../node_modules/recharts/types/polar/polargrid.d.ts","../../node_modules/recharts/types/polar/polarradiusaxis.d.ts","../../node_modules/recharts/types/polar/polarangleaxis.d.ts","../../node_modules/recharts/types/polar/pie.d.ts","../../node_modules/recharts/types/polar/radar.d.ts","../../node_modules/recharts/types/polar/radialbar.d.ts","../../node_modules/recharts/types/cartesian/brush.d.ts","../../node_modules/recharts/types/util/ifoverflowmatches.d.ts","../../node_modules/recharts/types/cartesian/referenceline.d.ts","../../node_modules/recharts/types/cartesian/referencedot.d.ts","../../node_modules/recharts/types/cartesian/referencearea.d.ts","../../node_modules/recharts/types/cartesian/cartesianaxis.d.ts","../../node_modules/recharts/types/cartesian/cartesiangrid.d.ts","../../node_modules/recharts/types/cartesian/line.d.ts","../../node_modules/recharts/types/cartesian/area.d.ts","../../node_modules/recharts/types/util/barutils.d.ts","../../node_modules/recharts/types/cartesian/bar.d.ts","../../node_modules/recharts/types/cartesian/zaxis.d.ts","../../node_modules/recharts/types/cartesian/errorbar.d.ts","../../node_modules/recharts/types/cartesian/scatter.d.ts","../../node_modules/recharts/types/util/getlegendprops.d.ts","../../node_modules/recharts/types/util/chartutils.d.ts","../../node_modules/recharts/types/chart/accessibilitymanager.d.ts","../../node_modules/recharts/types/chart/types.d.ts","../../node_modules/recharts/types/chart/generatecategoricalchart.d.ts","../../node_modules/recharts/types/chart/linechart.d.ts","../../node_modules/recharts/types/chart/barchart.d.ts","../../node_modules/recharts/types/chart/piechart.d.ts","../../node_modules/recharts/types/chart/treemap.d.ts","../../node_modules/recharts/types/chart/sankey.d.ts","../../node_modules/recharts/types/chart/radarchart.d.ts","../../node_modules/recharts/types/chart/scatterchart.d.ts","../../node_modules/recharts/types/chart/areachart.d.ts","../../node_modules/recharts/types/chart/radialbarchart.d.ts","../../node_modules/recharts/types/chart/composedchart.d.ts","../../node_modules/recharts/types/chart/sunburstchart.d.ts","../../node_modules/recharts/types/shape/trapezoid.d.ts","../../node_modules/recharts/types/numberaxis/funnel.d.ts","../../node_modules/recharts/types/chart/funnelchart.d.ts","../../node_modules/recharts/types/util/global.d.ts","../../node_modules/recharts/types/index.d.ts","../../components/ui/chart.tsx","../../components/ui/collapsible.tsx","../../node_modules/cmdk/dist/index.d.ts","../../components/ui/command.tsx","../../node_modules/@radix-ui/react-menu/dist/index.d.ts","../../node_modules/@radix-ui/react-context-menu/dist/index.d.ts","../../components/ui/context-menu.tsx","../../node_modules/vaul/dist/index.d.ts","../../components/ui/drawer.tsx","../../node_modules/@radix-ui/react-hover-card/dist/index.d.ts","../../components/ui/hover-card.tsx","../../node_modules/input-otp/dist/index.d.ts","../../components/ui/input-otp.tsx","../../components/ui/logo.tsx","../../node_modules/@radix-ui/react-menubar/dist/index.d.ts","../../components/ui/menubar.tsx","../../node_modules/@radix-ui/react-visually-hidden/dist/index.d.ts","../../node_modules/@radix-ui/react-navigation-menu/dist/index.d.ts","../../components/ui/navigation-menu.tsx","../../components/ui/pagination.tsx","../../node_modules/@radix-ui/react-popover/dist/index.d.ts","../../components/ui/popover.tsx","../../node_modules/@radix-ui/react-progress/dist/index.d.ts","../../components/ui/progress.tsx","../../node_modules/@radix-ui/react-radio-group/dist/index.d.ts","../../components/ui/radio-group.tsx","../../node_modules/react-resizable-panels/dist/declarations/src/vendor/react.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/panel.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/types.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/panelgroup.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/panelresizehandleregistry.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/panelresizehandle.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/assert.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/csp.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/cursor.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/dom/getpanelelement.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/dom/getpanelelementsforgroup.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/dom/getpanelgroupelement.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/dom/getresizehandleelement.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/dom/getresizehandleelementindex.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/dom/getresizehandleelementsforgroup.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/dom/getresizehandlepanelids.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/rects/types.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/rects/getintersectingrectangle.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/utils/rects/intersects.d.ts","../../node_modules/react-resizable-panels/dist/declarations/src/index.d.ts","../../node_modules/react-resizable-panels/dist/react-resizable-panels.cjs.d.ts","../../components/ui/resizable.tsx","../../components/ui/rich-text-editor.tsx","../../components/ui/sheet.tsx","../../hooks/use-mobile.tsx","../../components/ui/skeleton.tsx","../../components/ui/sidebar.tsx","../../node_modules/@radix-ui/react-slider/dist/index.d.ts","../../components/ui/slider.tsx","../../node_modules/next-themes/dist/index.d.ts","../../node_modules/sonner/dist/index.d.ts","../../components/ui/sonner.tsx","../../node_modules/@radix-ui/react-switch/dist/index.d.ts","../../components/ui/switch.tsx","../../node_modules/@radix-ui/react-toggle/dist/index.d.ts","../../node_modules/@radix-ui/react-toggle-group/dist/index.d.ts","../../components/ui/toggle.tsx","../../components/ui/toggle-group.tsx","../../components/ui/use-mobile.tsx","../../components/users/add-user-button.tsx","../types/cache-life.d.ts","../types/app/page.ts","../types/app/[section]/page.ts","../types/app/agenda/page.ts","../types/app/agilite/page.ts","../types/app/alma/page.ts","../types/app/announcement/page.ts","../types/app/api/admin/restore-credentials/route.ts","../types/app/api/admin/view-redis-credentials/route.ts","../types/app/api/announcements/route.ts","../types/app/api/announcements/[id]/route.ts","../types/app/api/auth/[...nextauth]/route.ts","../types/app/api/auth/debug-keycloak/route.ts","../types/app/api/auth/refresh-keycloak-session/route.ts","../types/app/api/calendar/route.ts","../types/app/api/calendars/route.ts","../types/app/api/calendars/[id]/route.ts","../types/app/api/calendars/[id]/events/route.ts","../types/app/api/calendars/[id]/events/[eventid]/route.ts","../types/app/api/calendars/[id]/share/route.ts","../types/app/api/calendars/default/route.ts","../types/app/api/courrier/route.ts","../types/app/api/courrier/[id]/route.ts","../types/app/api/courrier/[id]/flag/route.ts","../types/app/api/courrier/[id]/mark-read/route.ts","../types/app/api/courrier/account/route.ts","../types/app/api/courrier/account-details/route.ts","../types/app/api/courrier/account-folders/route.ts","../types/app/api/courrier/account-list/route.ts","../types/app/api/courrier/credentials/route.ts","../types/app/api/courrier/debug-account/route.ts","../types/app/api/courrier/delete/route.ts","../types/app/api/courrier/emails/route.ts","../types/app/api/courrier/fix-folders/route.ts","../types/app/api/courrier/microsoft/route.ts","../types/app/api/courrier/microsoft/callback/route.ts","../types/app/api/courrier/recache/route.ts","../types/app/api/courrier/refresh/route.ts","../types/app/api/courrier/send/route.ts","../types/app/api/courrier/session/route.ts","../types/app/api/courrier/test-connection/route.ts","../types/app/api/courrier/unread-counts/route.ts","../types/app/api/debug/create-all-folders/route.ts","../types/app/api/debug/leantime-methods/route.ts","../types/app/api/debug/notifications/route.ts","../types/app/api/debug/s3/route.ts","../types/app/api/debug-email/route.ts","../types/app/api/emails/route.ts","../types/app/api/events/route.ts","../types/app/api/events/[id]/route.ts","../types/app/api/groups/route.ts","../types/app/api/groups/[groupid]/route.ts","../types/app/api/groups/[groupid]/members/route.ts","../types/app/api/leantime/status-labels/route.ts","../types/app/api/leantime/tasks/route.ts","../types/app/api/missions/route.ts","../types/app/api/missions/[missionid]/route.ts","../types/app/api/missions/[missionid]/attachments/route.ts","../types/app/api/missions/[missionid]/attachments/[attachmentid]/route.ts","../types/app/api/missions/[missionid]/attachments/download/[attachmentid]/route.ts","../types/app/api/missions/all/route.ts","../types/app/api/missions/image/[...path]/route.ts","../types/app/api/missions/upload/route.ts","../types/app/api/news/route.ts","../types/app/api/news/purge-cache/route.ts","../types/app/api/news/test-backend/route.ts","../types/app/api/nextcloud/files/route.ts","../types/app/api/nextcloud/files/content/route.ts","../types/app/api/nextcloud/init/route.ts","../types/app/api/nextcloud/status/route.ts","../types/app/api/notifications/route.ts","../types/app/api/notifications/[id]/read/route.ts","../types/app/api/notifications/count/route.ts","../types/app/api/notifications/read-all/route.ts","../types/app/api/parse-email/route.ts","../types/app/api/redis/status/route.ts","../types/app/api/rocket-chat/messages/route.ts","../types/app/api/roles/route.ts","../types/app/api/storage/files/route.ts","../types/app/api/storage/files/content/route.ts","../types/app/api/storage/init/route.ts","../types/app/api/storage/init/folder/route.ts","../types/app/api/storage/status/route.ts","../types/app/api/sync-users/route.ts","../types/app/api/users/route.ts","../types/app/api/users/[userid]/route.ts","../types/app/api/users/[userid]/password/route.ts","../types/app/api/users/[userid]/roles/route.ts","../types/app/apprendre/page.ts","../types/app/artlab/page.ts","../types/app/calcul/page.ts","../types/app/chapitre/page.ts","../types/app/courrier/layout.ts","../types/app/courrier/page.ts","../types/app/courrier/[id]/route.ts","../types/app/crm/page.ts","../types/app/dossiers/page.ts","../types/app/equipes/page.ts","../types/app/gite/page.ts","../types/app/groups/page.ts","../types/app/livres/page.ts","../types/app/mediation/page.ts","../types/app/mission-tab/layout.ts","../types/app/mission-tab/page.ts","../types/app/mission-tab/[missionid]/page.ts","../types/app/missions/layout.ts","../types/app/missions/page.ts","../types/app/missions/[missionid]/page.ts","../types/app/missions/[missionid]/edit/page.ts","../types/app/missions/new/page.ts","../types/app/ms/page.ts","../types/app/observatory/page.ts","../types/app/pages/page.ts","../types/app/parole/page.ts","../types/app/press/page.ts","../types/app/radio/page.ts","../types/app/showcase/page.ts","../types/app/signin/layout.ts","../types/app/signin/page.ts","../types/app/signout/page.ts","../types/app/the-message/page.ts","../types/app/timetracker/page.ts","../types/app/users/page.ts","../types/app/vision/page.ts","../types/app/wp-admin/page.ts","../../node_modules/@types/bcryptjs/index.d.ts","../../node_modules/keyv/src/index.d.ts","../../node_modules/@types/http-cache-semantics/index.d.ts","../../node_modules/@types/responselike/index.d.ts","../../node_modules/@types/cacheable-request/index.d.ts","../../node_modules/@types/d3-array/index.d.ts","../../node_modules/@types/d3-color/index.d.ts","../../node_modules/@types/d3-ease/index.d.ts","../../node_modules/@types/d3-interpolate/index.d.ts","../../node_modules/@types/d3-timer/index.d.ts","../../node_modules/@types/ms/index.d.ts","../../node_modules/@types/debug/index.d.ts","../../node_modules/@types/trusted-types/index.d.ts","../../node_modules/@types/dompurify/index.d.ts","../../node_modules/@types/fs-extra/index.d.ts","../../node_modules/@types/imap/index.d.ts","../../node_modules/parse5/dist/common/html.d.ts","../../node_modules/parse5/dist/common/token.d.ts","../../node_modules/parse5/dist/common/error-codes.d.ts","../../node_modules/parse5/dist/tokenizer/preprocessor.d.ts","../../node_modules/entities/lib/generated/decode-data-html.d.ts","../../node_modules/entities/lib/generated/decode-data-xml.d.ts","../../node_modules/entities/lib/decode_codepoint.d.ts","../../node_modules/entities/lib/decode.d.ts","../../node_modules/parse5/dist/tokenizer/index.d.ts","../../node_modules/parse5/dist/tree-adapters/interface.d.ts","../../node_modules/parse5/dist/parser/open-element-stack.d.ts","../../node_modules/parse5/dist/parser/formatting-element-list.d.ts","../../node_modules/parse5/dist/parser/index.d.ts","../../node_modules/parse5/dist/tree-adapters/default.d.ts","../../node_modules/parse5/dist/serializer/index.d.ts","../../node_modules/parse5/dist/common/foreign-content.d.ts","../../node_modules/parse5/dist/index.d.ts","../../node_modules/tough-cookie/dist/cookie/constants.d.ts","../../node_modules/tough-cookie/dist/cookie/cookie.d.ts","../../node_modules/tough-cookie/dist/utils.d.ts","../../node_modules/tough-cookie/dist/store.d.ts","../../node_modules/tough-cookie/dist/memstore.d.ts","../../node_modules/tough-cookie/dist/pathmatch.d.ts","../../node_modules/tough-cookie/dist/permutedomain.d.ts","../../node_modules/tough-cookie/dist/getpublicsuffix.d.ts","../../node_modules/tough-cookie/dist/validators.d.ts","../../node_modules/tough-cookie/dist/version.d.ts","../../node_modules/tough-cookie/dist/cookie/canonicaldomain.d.ts","../../node_modules/tough-cookie/dist/cookie/cookiecompare.d.ts","../../node_modules/tough-cookie/dist/cookie/cookiejar.d.ts","../../node_modules/tough-cookie/dist/cookie/defaultpath.d.ts","../../node_modules/tough-cookie/dist/cookie/domainmatch.d.ts","../../node_modules/tough-cookie/dist/cookie/formatdate.d.ts","../../node_modules/tough-cookie/dist/cookie/parsedate.d.ts","../../node_modules/tough-cookie/dist/cookie/permutepath.d.ts","../../node_modules/tough-cookie/dist/cookie/index.d.ts","../../node_modules/@types/jsdom/base.d.ts","../../node_modules/@types/jsdom/index.d.ts","../../node_modules/@types/keyv/index.d.ts","../../node_modules/@types/mime/mime.d.ts","../../node_modules/@types/mime/index.d.ts","../../node_modules/@types/mime-types/index.d.ts","../../node_modules/pg-types/index.d.ts","../../node_modules/pg-protocol/dist/messages.d.ts","../../node_modules/pg-protocol/dist/serializer.d.ts","../../node_modules/pg-protocol/dist/parser.d.ts","../../node_modules/pg-protocol/dist/index.d.ts","../../node_modules/@types/pg/index.d.ts","../../node_modules/xmlbuilder/typings/index.d.ts","../../node_modules/@types/plist/index.d.ts","../../node_modules/@floating-ui/react/dist/floating-ui.react.d.ts","../../node_modules/@types/react-datepicker/index.d.ts","../../node_modules/@types/tough-cookie/index.d.ts","../../node_modules/@types/verror/index.d.ts","../../node_modules/@types/xmldom/index.d.ts","../../node_modules/@types/yauzl/index.d.ts"],"fileIdsList":[[96,139,336,1680],[96,139,336,1999],[96,139,336,2001],[96,139,336,2002],[96,139,336,2044],[96,139,469,610],[96,139,469,611],[96,139,469,613],[96,139,469,612],[96,139,469,614],[96,139,469,615],[96,139,469,616],[96,139,469,617],[96,139,469,621],[96,139,469,620],[96,139,469,619],[96,139,469,622],[96,139,469,623],[96,139,469,618],[96,139,469,634],[96,139,469,635],[96,139,469,633],[96,139,469,639],[96,139,469,640],[96,139,469,641],[96,139,469,638],[96,139,469,642],[96,139,469,643],[96,139,469,644],[96,139,469,645],[96,139,469,646],[96,139,469,648],[96,139,469,647],[96,139,469,649],[96,139,469,651],[96,139,469,632],[96,139,469,652],[96,139,469,653],[96,139,469,654],[96,139,469,655],[96,139,469,1075],[96,139,469,1067],[96,139,469,1068],[96,139,469,1073],[96,139,469,1074],[96,139,469,1076],[96,139,469,1078],[96,139,469,1077],[96,139,469,1081],[96,139,469,1080],[96,139,469,1079],[96,139,469,1082],[96,139,469,1083],[96,139,469,1089],[96,139,469,1090],[96,139,469,1088],[96,139,469,1087],[96,139,469,1091],[96,139,469,1092],[96,139,469,1086],[96,139,469,1093],[96,139,469,1095],[96,139,469,1094],[96,139,469,1096],[96,139,469,1100],[96,139,469,1098],[96,139,469,1102],[96,139,469,1103],[96,139,469,1105],[96,139,469,1106],[96,139,469,1107],[96,139,469,1104],[96,139,469,1113],[96,139,469,1114],[96,139,469,1115],[96,139,469,1116],[96,139,469,1099],[96,139,469,1097],[96,139,469,1117],[96,139,469,1101],[96,139,469,1118],[96,139,469,1119],[96,139,469,1124],[96,139,469,1221],[96,139,469,1123],[96,139,469,1122],[96,139,336,2045],[96,139,336,2046],[96,139,336,2047],[96,139,336,2048],[96,139,469,1222],[96,139,336,2052],[96,139,336,2093],[96,139,336,2095],[96,139,336,2096],[96,139,336,2100],[96,139,336,2101],[96,139,336,2102],[96,139,336,2103],[96,139,336,2104],[96,139,336,2107],[96,139,336,2105],[96,139,336,2106],[96,139,336,2111],[96,139,336,2110],[96,139,336,2108],[96,139,336,2116],[96,139,336,2109],[96,139,336,2117],[96,139,336,2123],[96,139,336,1679],[96,139,336,2130],[96,139,336,2131],[96,139,336,2132],[96,139,336,2133],[96,139,336,2134],[96,139,336,2135],[96,139,336,2136],[96,139,336,2138],[96,139,336,2139],[96,139,336,2141],[96,139,336,2142],[96,139,336,2143],[96,139,336,2144],[96,139,423,424,425,426],[96,139,456],[96,139,445,456,473,561,565,585,1234,1505,1538,1998],[96,139,456,561,565,2000],[96,139,456,561,565,2043],[96,139,469,562,565,585,609,1529],[96,139,469,562,565,609,1529],[96,139,469,561,565,585],[96,139,562,565,1529],[96,139,469],[96,139,562,563,564,565,1529],[96,139,469,561,565],[96,139,469,561,565,569],[96,139,144,469,561,565,585],[96,139,469,561,565,585,609],[96,139,469,562,565,609,631,1529],[96,139,469,562,565,585,1529],[96,139,469,562,565,585,609,624,631,1529],[96,139,469,562,565,585,609,631,637,1529],[96,139,469,562,565,631,1529],[96,139,469,562,565,585,609,629,631,1529],[96,139,469,562,565,629,1529],[96,139,469,561,565,631],[96,139,469,562,565,609,631,650,1529],[96,139,469,562,565,569,609,631,1529],[96,139,469,551,624],[96,139,469,562,565,585,609,631,1529],[96,139,469,562,565,626,631,1529],[96,139,469,562,565,1066,1529],[96,139,469,562,565,1529],[96,139,469,562,565,1072,1529],[96,139,469,562,565,1059,1066,1529],[96,139,469,561,565,609],[96,139,469,562,565,585,1085,1529],[96,139,469,562,565,585,1059,1065,1066,1529],[96,139,469,562,565,585,1066,1529],[96,139,469,562,565,585,1066,1084,1085,1529],[96,139,469,562,565,1059,1529],[96,139,469,562,565,569,585,1059,1066,1084,1085,1529],[96,139,469,562,565,569,585,1066,1085,1529],[96,139,469,609],[96,139,469,584,609],[96,139,469,584],[96,139,469,562,565,1099,1529],[96,139,469,562,565,1097,1529],[96,139,469,562,565,1101,1529],[96,139,469,1111,1112],[96,139,469,569,637],[96,139,469,562,565,1220,1529],[96,139,469,561,565,1121],[82,96,139,1234,1238,1538],[82,96,139,1238],[82,96,139],[82,96,139,1242],[96,139,469,562,565,585,624,626,1529],[82,96,139,1538],[96,139],[82,96,139,456,650,1234,1238,1242,1507,1509,1510,1538,1541,1554,1657,1659,1677,1698,1701,1997,2038,2054,2055,2059,2060,2061,2091,2092],[96,139,456,561,565,2099],[96,139,456,561,565,2097],[96,139,441,473,561,565,609,1535,1536,1667],[96,139,456,561,565],[82,96,139,447,456,1234,1238,1538],[82,96,139,447,1234,1238,1538,1659],[82,96,139,456,1238,1538],[82,96,139,456,1234,1238,1538],[82,96,139,447,456],[82,96,139,447,2114,2115],[82,96,139,447,1066,1234,1238,1538,1659],[82,96,139,456],[96,139,456,561,565,2122],[82,96,139,1242,1670,1671,1672,1673,1674,1678],[82,96,139,456,1224,1234,1242,1513,1526,1531,2124,2125,2126,2127,2128,2129],[96,139,473],[82,96,139,456,1242],[96,139,2137],[96,139,456,561,565,2140],[96,139,456,561,565,2098],[82,96,139,583,1234,1238,1538,1651,1658,1659,1669,2031,2034,2035,2037,2038],[82,96,139,1225,1669,2037],[82,96,139,1225,1234,1238,1538,1651,1657,1669,2040],[82,96,139,1698,2039,2041,2042],[96,139,1242,1538,1669],[96,139,1242],[82,96,139,1242,1518],[82,96,139,447,1234,1242,1505,1538,1650,1669],[82,96,139,456,1234,1538,1669],[82,96,139,569,1234,1538,1541,1650,1651,1657,1658,1659,1669,1677,1691,1692,1693,1694,1695,1698,1701,1703,1707,1994,1997],[82,96,139,569,1538,1657,1658,1659,1701],[82,96,139,569,1505,1538,1650,1657,1658,1659,1701,1997,2037,2054],[82,96,139,1234],[82,96,139,456,1234,1242],[82,96,139,1234,1669],[82,96,139,1234,1505,1650],[82,96,139,1234,1538],[82,96,139,447,1234,1538,1669],[82,96,139,1234,1538,1707],[82,96,139,1110,1234,1244,1245,1506,1538,1554,1659,2090],[82,96,139,1245,1506,2091],[82,96,139,1234,1538,1658,1659,1701],[82,96,139,1111,1234,1677,2038],[82,96,139,1245,1246],[82,96,139,1234,1507,1538,1541,1677],[82,96,139,1234,1538,2038,2054],[82,96,139,1234,1538,1554,1659,1707],[82,96,139,631,1234,1242,1243,1538,1541,1651,1659,1703,2170],[82,96,139,1234,1507,1659,2056,2057,2058],[82,96,139,1234,1997],[82,96,139,1234,1236,1507,1651,1677,1997],[82,96,139,1234,1245,1247,1508,1520,2162,2169],[82,96,139,1234,1245,1506,1538,1541,1669,1677,2167],[82,96,139,1234,1236,1538,1541,1554,1651,1659,1698,1701,1997],[82,96,139,1245,1506,2167],[82,96,139,476,1111,1244,1246,2089],[96,139,1234,1538,1669],[82,96,139,1234,1538,1651,1669],[96,139,447],[82,96,139,1234,1238,1538,1554,1657,1659,1701,2040],[96,139,1662,1663,1664,1665,1666],[82,96,139,445,447,1234,1242,1505,1543,1554,1650,1653,1660,1661],[96,139,1698,2097,2098],[96,139,1669],[82,96,139,1234,1238,1242,1538,2054,2112],[82,96,139,1234,1238,1242,1538],[82,96,139,456,1234,1238,1538,1554,1651,1658,1659,1669,1698,1997,2037,2112,2113],[82,96,139,456,1066,1234,1238,1538,1554,1651,1658,1659,1669,1698,1997,2037,2112,2113],[96,139,2148],[96,139,447,1234,1538,1707],[82,96,139,1234,1242,1538,1669],[82,96,139,1234,1236,1242,1538,1656,1657,1658,1659],[82,96,139,447,1234,1242,1505,1514,1538,1554,1651,1652],[82,96,139,2119],[82,96,139,433,2120],[82,96,139,1234,1238,1538,1669,2121],[82,96,139,456,1234,1242,1538,1669,1677],[96,139,445,1669],[82,96,139,1109],[82,96,139,445,447,456,1234,1236,1242,1538,1541,1542],[96,139,447,456,1234,1236],[96,139,1538,1669,1997],[82,96,139,1234,1236,2183],[82,96,139,1236,1538,2053],[82,96,139,1233,1236],[96,139,2185],[82,96,139,1236,1676],[82,96,139,1234,1236,1537],[82,96,139,1233,1236,1537],[82,96,139,1234,1236,1538,2187],[82,96,139,1236],[82,96,139,1234,1236,1538,2224],[82,96,139,1236,2295],[82,96,139,1234,1236,1996],[82,96,139,1505,1650],[96,139,2182],[82,96,139,1234,1236,1656,1657,2298],[82,96,139,1234,1236,2301],[82,96,139,1234,1236,1656],[82,96,139,1236,2303],[82,96,139,1234,1236,1553],[82,96,139,1236,1537,1700,1701,2031],[82,96,139,1236,2305],[82,96,139,1234,1236,2307],[82,96,139,1233,1236,1700],[82,96,139,1234,1236,2310],[82,96,139,1233,1234,1236,2313],[82,96,139,1234,1236,1538],[82,96,139,1236,2316],[82,96,139,1236,2318],[82,96,139,1234,1236,2320],[96,139,1234,1236,2342],[82,96,139,1111,1244],[82,96,139,1236,1540],[82,96,139,1234,1236,2036],[82,96,139,1236,1702],[82,96,139,1233,1234,1236,1656],[82,96,139,1233,1234,1236,1537,1538,1659,1703,1707,2345,2346,2347],[96,139,1236],[82,96,139,1236,2349],[96,139,2351,2352],[82,96,139,1236,2354],[82,96,139,1236,1697],[82,96,139,1230,1233,1234,1236],[96,139,1237,1243],[82,96,139,1233,1236,2357,2358],[82,96,139,1233,1236,2356],[82,96,139,1236,1706],[82,96,139,1237],[82,96,139,1538,1657,1659,1701,2037],[82,96,139,1234,1238,1242,1538,1554,1657,1659,1701,1997,2037,2040],[82,96,139,569],[82,96,139,627,650,1242,1243,1506],[82,96,139,1243,1244,1245],[82,96,139,650,1242,1243,1506,1507,1509],[82,96,139,1511],[82,96,139,1069,1242],[96,139,631,1245,1506],[96,139,555,562,565,585,1529],[96,139,469,1120],[96,139,583],[96,139,562,565,585,609,624,627,1529],[96,139,1216,1219],[96,139,1059],[96,139,569,584],[96,139,607,608],[96,139,1507],[96,139,1059,1065],[96,139,626,1111],[96,139,551,569,585,607,609,624,626,627,629,630],[96,139,628],[96,139,584],[96,139,562,565,1069,1070,1529],[96,139,1069],[96,139,609,1069,1070,1071],[96,139,609,631],[96,139,585,609,629],[96,139,558,562,565,1529],[96,139,1231,1235],[96,139,1110],[96,139,627],[96,139,1244,1245,1246],[96,139,1111,1244,1245],[96,139,1245],[96,139,1111,1244,1245,1246,1247,1248,1505],[96,139,473,474],[96,139,567],[96,139,566],[96,139,719,809,936],[96,139,719,809,934,935,1041],[96,139,719,809,853,917,938,1041],[96,139,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037],[96,139,719,809,853,917,1010,1041],[96,139,719,809],[96,139,719,789,809,819,1038],[96,139,935,937,1039,1040,1041,1042,1043,1049,1057,1058],[96,139,938,1010],[96,139,719,809,917,937],[96,139,719,809,917,937,938],[96,139,917],[96,139,1044,1045,1046,1047,1048],[96,139,719,809,1041],[96,139,719,809,1000,1044],[96,139,719,809,1001,1044],[96,139,719,809,1004,1044],[96,139,719,809,1006,1044],[96,139,1039],[96,139,719,809,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1041],[96,139,171,189,719,744,745,789,809,819,825,828,843,845,853,870,917,935,936,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1040],[96,139,1053,1054,1055,1056],[96,139,994,1041,1052],[96,139,995,1041,1052],[96,139,921,928,933],[96,139,918,919,920],[96,139,789],[96,139,719,809,923],[96,139,719,809,922],[96,139,922,923,924,925,926],[96,139,733],[96,139,719,733,809],[96,139,719,789,806,809],[96,139,927],[96,139,929,930,931,932],[96,139,719,734,809],[96,139,719,738,809],[96,139,719,738,739,740,741,809],[96,139,734,735,736,737,739,742,743],[96,139,733,734],[96,139,746,747,748,749,821,822,823,824],[96,139,719,747,809],[96,139,791],[96,139,790],[96,139,789,790,792,793],[96,139,719,809,819],[96,139,719,789,790,793,809],[96,139,790,791,792,793,794,807,808,809,820],[96,139,789,790],[96,139,719,809,821],[96,139,719,809,822],[96,139,826,827],[96,139,719,789,809,826],[96,139,719,809,917],[96,139,1060,1064],[96,139,719,809,1063],[96,139,1061,1062],[96,139,719,789,809],[96,139,719,806,809],[96,139,719,763,764,809],[96,139,757],[96,139,719,759,809],[96,139,757,758,760,761,762],[96,139,750,751,752,753,754,755,756,759,763,764,765,766,767,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788],[96,139,763,764],[96,139,1985],[96,139,1986,1987],[82,96,139,1988],[82,96,139,1989],[96,139,1682,1687,1688,1689],[96,139,1682,1687,1689],[96,139,1689],[96,139,1681,1682,1683,1684,1685],[96,139,1682],[96,139,1681],[96,139,1682,1686],[96,139,1689,1690,1693,1694],[82,96,139,1689,1690,1693,1694],[96,139,1689,1690,1692,1694],[96,139,2032,2033],[96,139,583,2031],[96,139,2032],[96,139,1125,1127,1138,1139,1146,1175,1176,1179,1181,1185,1198,1202,1203,1210,1211,1213,1215,1216],[96,139,1151,1161,1162,1163],[96,139,1186],[96,139,1130],[96,139,1144],[96,139,1143],[96,139,1140],[96,139,1141],[96,139,1151,1152],[96,139,1152],[96,139,1135],[96,139,1148,1149,1150,1165],[96,139,1191],[96,139,1159],[96,139,1173],[96,139,1184,1199,1200],[96,139,1148,1164,1166],[96,139,1148],[96,139,1128,1142,1145,1153,1159,1173,1180,1184,1188,1189],[96,139,1150],[96,139,1149,1151],[96,139,1148,1149,1150],[96,139,1148,1150],[96,139,1135,1152,1178,1204,1205,1206,1207],[96,139,1128,1155,1170,1171,1172],[96,139,1128,1217,1218],[96,139,1217],[96,139,1125,1126,1219],[96,139,1125,1126,1128,1129,1131,1132,1133,1134,1136,1137,1217],[96,139,1125,1126,1217],[96,139,1125,1126,1142,1145,1217],[96,139,1125,1126,1147,1148,1149,1150,1151,1152,1153,1154,1155,1156,1157,1158,1159,1160,1167,1168,1169,1173,1174,1217],[96,139,1125,1126,1152,1154,1159,1160,1217],[96,139,1125,1126,1177,1178,1217],[96,139,1125,1126,1158,1159,1160,1173,1180,1217],[96,139,1125,1126,1158,1182,1183,1184,1217],[96,139,1125,1126,1173,1184,1201,1217],[96,139,1125,1126,1156,1158,1178,1180,1187,1190,1191,1192,1193,1194,1195,1196,1197,1217],[96,139,1125,1217],[96,139,1125,1126,1158,1159,1173,1217],[96,139,1125,1126,1208,1209,1219],[96,139,1125,1126,1128,1155,1159,1160,1170,1171,1172,1173,1174,1180,1217],[96,139,1125,1126,1212,1217],[96,139,1125,1126,1214,1219],[96,139,568],[82,96,139,1227,1228,2182],[82,96,139,1227,1656],[82,96,139,1228],[82,96,139,1227,1539],[82,96,139,1227,1228],[82,96,139,1227,1228,2300],[82,96,139,1227,1228,1229,1654,1655],[82,96,139,1227,1539,1552],[82,96,139,1539],[82,96,139,1227,1539,1545,1546,1549,1550,1551],[82,96,139,1227,1539,1547,1548],[82,96,139,1227,1228,1229,1655,1705],[82,96,139,1227,1228,1229,1654,1655,1696,1705],[82,96,139,266,1227,1228,1696,2300],[82,96,139,1227,1228,1229,2312],[82,96,139,1227,1228,1229,1654,1655,1705],[82,96,139,1227,1228,1548,1704],[82,96,139,1227,1228,1696],[82,96,139,266],[82,96,139,1227,1228,1229],[82,96,139,1227,1228,1696,2356],[96,139,829,830,831,832],[96,139,719,809,831],[96,139,833,836,842],[96,139,834,835],[96,139,837],[96,139,719,809,839,840],[96,139,839,840,841],[96,139,838],[96,139,719,809,883],[96,139,884,885,886,887],[96,139,888],[96,139,844],[96,139,719,809,846,847],[96,139,848,849],[96,139,846,847,850,851,852],[96,139,719,809,861,863],[96,139,863,864,865,866,867,868,869],[96,139,719,809,865],[96,139,719,809,862],[96,139,719,720,730,731,809],[96,139,719,729,809],[96,139,732],[96,139,812],[96,139,813],[96,139,719,809,815],[96,139,719,809,810,811],[96,139,810,811,812,814,815,816,817,818],[96,139,721,722,723,724,725,726,727,728],[96,139,719,725,809],[96,139,795,796,797,798,799,800,801,802,803,804,805],[96,139,719,795,809],[96,139,889],[96,139,719,809,853],[96,139,871],[96,139,719,809,900,901],[96,139,902],[96,139,719,809,871,890,891,892,893,894,895,896,897,898,899,903,904,905,906,907,908,909,910,911,912,913,914,915,916],[96,139,657],[96,139,656],[96,139,660,669,670,671],[96,139,669,672],[96,139,660,667],[96,139,660,672],[96,139,658,659,670,671,672,673],[96,139,171,189,676],[96,139,678],[96,139,661,662,668,669],[96,139,661,669],[96,139,681,683,684],[96,139,681,682],[96,139,686],[96,139,658],[96,139,663,688],[96,139,688],[96,139,688,689,690,691,692],[96,139,691],[96,139,665],[96,139,688,689,690],[96,139,661,667,669],[96,139,678,679],[96,139,694],[96,139,694,698],[96,139,694,695,698,699],[96,139,668,697],[96,139,675],[96,139,657,666],[96,139,154,156,189,665,667],[96,139,660],[96,139,660,702,703,704],[96,139,657,661,662,663,664,665,666,667,668,669,674,677,678,679,680,682,685,686,687,693,696,697,700,701,705,706,707,708,709,710,711,712,713,714,716,717,718],[96,139,658,662,663,664,665,668,672],[96,139,662,680],[96,139,696],[96,139,667,668,682],[96,139,661,667],[96,139,667,686],[96,139,668,678,679],[96,139,154,171,189,676,708],[96,139,661,662,713,714],[96,139,154,155,189,662,667,680,708,712,713,714,715],[96,139,662,680,696],[96,139,667],[96,139,719,809,854],[96,139,719,809,856],[96,139,854],[96,139,854,855,856,857,858,859,860],[96,139,171,189,719,809],[96,139,874],[96,139,171,189,873,875],[96,139,171],[96,139,872,873,876,877,878,879,880,881,882],[96,139,171,719,809],[96,139,171,189],[96,139,1050],[96,139,1050,1051],[96,139,151,154,182,189,2488,2489,2490],[96,139,2493],[96,139,2228],[96,139,2246],[96,139,2497],[96,139,2499],[96,139,152,189],[96,139,151,179,189],[96,139,151,185,189,2519,2538,2540],[96,139,2539],[96,139,151,189],[96,139,2118],[96,139,171,189,625],[96,139,2542],[96,139,2543],[96,136,139],[96,138,139],[139],[96,139,144,174],[96,139,140,145,151,152,159,171,182],[96,139,140,141,151,159],[91,92,93,96,139],[96,139,142,183],[96,139,143,144,152,160],[96,139,144,171,179],[96,139,145,147,151,159],[96,138,139,146],[96,139,147,148],[96,139,151],[96,139,149,151],[96,138,139,151],[96,139,151,152,153,171,182],[96,139,151,152,153,166,171,174],[96,134,139,187],[96,134,139,147,151,154,159,171,182],[96,139,151,152,154,155,159,171,179,182],[96,139,154,156,171,179,182],[94,95,96,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188],[96,139,151,157],[96,139,158,182],[96,139,147,151,159,171],[96,139,160],[96,139,161],[96,138,139,162],[96,136,137,138,139,140,141,142,143,144,145,146,147,148,149,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188],[96,139,164],[96,139,165],[96,139,151,166,167],[96,139,166,168,183,185],[96,139,151,171,172,174],[96,139,173,174],[96,139,171,172],[96,139,174],[96,139,175],[96,136,139,171],[96,139,151,177,178],[96,139,177,178],[96,139,144,159,171,179],[96,139,180],[96,139,159,181],[96,139,154,165,182],[96,139,144,183],[96,139,171,184],[96,139,158,185],[96,139,186],[96,139,144,151,153,162,171,182,185,187],[96,139,171,188],[96,139,189,539,541,545,546,547,548,549,550],[96,139,151,189,539,541,542,544,551],[96,139,151,159,171,182,189,538,539,540,542,543,544,551],[96,139,171,189,541,542],[96,139,171,189,541],[96,139,189,539,541,542,544,551],[96,139,171,189,543],[96,139,151,159,171,179,189,540,542,544],[96,139,151,189,539,541,542,543,544,551],[96,139,151,171,189,539,540,541,542,543,544,551],[96,139,151,171,189,539,541,542,544,551],[96,139,154,171,189,544],[96,139,151,171,179,189,2545,2546,2549,2550],[96,139,189,2551],[82,96,139,1505,2553],[82,96,139,192,193,194],[82,96,139,192,193],[82,86,96,139,191,417,465],[82,86,96,139,190,417,465],[79,80,81,96,139],[96,139,154,171,189],[96,139,1108],[96,139,151,171,189],[96,139,636],[96,139,1231,1232],[96,139,1231],[82,96,139,1228,1656],[96,139,1251],[96,139,1249,1251],[96,139,1249],[96,139,1251,1315,1316],[96,139,1318],[96,139,1319],[96,139,1336],[96,139,1251,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264,1265,1266,1267,1268,1269,1270,1271,1272,1273,1274,1275,1276,1277,1278,1279,1280,1281,1282,1283,1284,1285,1286,1287,1288,1289,1290,1291,1292,1293,1294,1295,1296,1297,1298,1299,1300,1301,1302,1303,1304,1305,1306,1307,1308,1309,1310,1311,1312,1313,1314,1317,1318,1319,1320,1321,1322,1323,1324,1325,1326,1327,1328,1329,1330,1331,1332,1333,1334,1335,1337,1338,1339,1340,1341,1342,1343,1344,1345,1346,1347,1348,1349,1350,1351,1352,1353,1354,1355,1356,1357,1358,1359,1360,1361,1362,1363,1364,1365,1366,1367,1368,1369,1370,1371,1372,1373,1374,1375,1376,1377,1378,1379,1380,1381,1382,1383,1384,1385,1386,1387,1388,1389,1390,1391,1392,1393,1394,1395,1396,1397,1398,1399,1400,1401,1402,1403,1404,1405,1406,1407,1408,1409,1410,1411,1413,1414,1415,1416,1417,1418,1419,1420,1421,1422,1423,1424,1425,1426,1427,1428,1429,1430,1431,1432,1437,1438,1439,1440,1441,1442,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1454,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1470,1471,1472,1473,1474,1475,1476,1477,1478,1479,1480,1481,1482,1483,1484,1485,1486,1487,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504],[96,139,1412],[96,139,1249,1555,1556,1557,1558,1559,1560,1561,1562,1563,1564,1565,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1611,1612,1613,1614,1615,1616,1617,1618,1619,1620,1621,1622,1623,1624,1625,1626,1627,1628,1629,1630,1631,1632,1633,1634,1635,1636,1637,1638,1639,1640,1641,1642,1643,1644,1645,1646,1647,1648,1649],[96,139,1251,1316,1436],[96,139,1249,1433,1434],[96,139,1435],[96,139,1433],[96,139,1249,1250],[96,139,182,189],[96,139,2222],[96,139,2223],[96,139,2196,2216],[96,139,2190],[96,139,2191,2195,2196,2197,2198,2199,2201,2203,2204,2209,2210,2219],[96,139,2191,2196],[96,139,2199,2216,2218,2221],[96,139,2190,2191,2192,2193,2196,2197,2198,2199,2200,2201,2202,2203,2204,2205,2206,2207,2208,2209,2210,2211,2212,2213,2214,2215,2220,2221],[96,139,2219],[96,139,2189,2191,2192,2194,2202,2211,2214,2215,2220],[96,139,2196,2221],[96,139,2217,2219,2221],[96,139,2190,2191,2196,2199,2219],[96,139,2203],[96,139,2193,2201,2203,2204],[96,139,2193],[96,139,2193,2203],[96,139,2197,2198,2199,2203,2204,2209],[96,139,2199,2200,2204,2208,2210,2219],[96,139,2191,2203,2212],[96,139,2192,2193,2194],[96,139,2199,2219],[96,139,2199],[96,139,2190,2191],[96,139,2191],[96,139,2195],[96,139,2199,2204,2216,2217,2218,2219,2221],[96,139,2507,2508,2509],[96,139,147,189,591,598,599],[96,139,151,189,586,587,588,590,591,599,600,605],[96,139,147,189],[96,139,189,586],[96,139,586],[96,139,592],[96,139,151,179,189,586,592,594,595,600],[96,139,594],[96,139,598],[96,139,159,179,189,586,592],[96,139,151,189,586,602,603],[96,139,586,587,588,589,592,596,597,598,599,600,601,605,606],[96,139,587,591,601,605],[96,139,151,189,586,587,588,590,591,598,601,602,604],[96,139,591,593,596,597],[96,139,587],[96,139,589],[96,139,159,179,189],[96,139,586,587,589],[96,139,1109],[96,139,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533],[96,139,502],[96,139,502,512],[96,139,154,189,562,565,1529],[96,139,553,560],[96,139,469,473,560,562,565,1529],[96,139,501,535,556,558,559,1529],[96,139,554,560,561],[96,139,469,473,557,562,565,1529],[96,139,189,562,565,1529],[96,139,554,556,562,565,1529],[96,139,545,546,547,548,549,550,551,556,560,562,565,1529],[96,139,537,552,555],[96,139,556],[96,139,534,535,536,556,562,565,1529],[82,96,139,556,562,565,1240,1241,1529],[82,96,139,556,562,565,1529],[88,96,139],[96,139,421],[96,139,428],[96,139,198,212,213,214,216,380],[96,139,198,202,204,205,206,207,208,369,380,382],[96,139,380],[96,139,213,232,349,358,376],[96,139,198],[96,139,195],[96,139,400],[96,139,380,382,399],[96,139,303,346,349,471],[96,139,313,328,358,375],[96,139,263],[96,139,363],[96,139,362,363,364],[96,139,362],[90,96,139,154,195,198,202,205,209,210,211,213,217,225,226,297,359,360,380,417],[96,139,198,215,252,300,380,396,397,471],[96,139,215,471],[96,139,226,300,301,380,471],[96,139,471],[96,139,198,215,216,471],[96,139,209,361,368],[96,139,165,266,376],[96,139,266,376],[82,96,139,266,320],[96,139,243,261,376,454],[96,139,355,448,449,450,451,453],[96,139,266],[96,139,354],[96,139,354,355],[96,139,206,240,241,298],[96,139,242,243,298],[96,139,452],[96,139,243,298],[82,96,139,199,442],[82,96,139,182],[82,96,139,215,250],[82,96,139,215],[96,139,248,253],[82,96,139,249,420],[96,139,1533],[82,86,96,139,154,189,190,191,417,463,464],[96,139,154],[96,139,154,202,232,268,287,298,365,366,380,381,471],[96,139,225,367],[96,139,417],[96,139,197],[82,96,139,303,317,327,337,339,375],[96,139,165,303,317,336,337,338,375],[96,139,330,331,332,333,334,335],[96,139,332],[96,139,336],[82,96,139,249,266,420],[82,96,139,266,418,420],[82,96,139,266,420],[96,139,287,372],[96,139,372],[96,139,154,381,420],[96,139,324],[96,138,139,323],[96,139,227,231,238,269,298,310,312,313,314,316,348,375,378,381],[96,139,315],[96,139,227,243,298,310],[96,139,313,375],[96,139,313,320,321,322,324,325,326,327,328,329,340,341,342,343,344,345,375,376,471],[96,139,308],[96,139,154,165,227,231,232,237,239,243,273,287,296,297,348,371,380,381,382,417,471],[96,139,375],[96,138,139,213,231,297,310,311,371,373,374,381],[96,139,313],[96,138,139,237,269,290,304,305,306,307,308,309,312,375,376],[96,139,154,290,291,304,381,382],[96,139,213,287,297,298,310,371,375,381],[96,139,154,380,382],[96,139,154,171,378,381,382],[96,139,154,165,182,195,202,215,227,231,232,238,239,244,268,269,270,272,273,276,277,279,282,283,284,285,286,298,370,371,376,378,380,381,382],[96,139,154,171],[96,139,198,199,200,210,378,379,417,420,471],[96,139,154,171,182,229,398,400,401,402,403,471],[96,139,165,182,195,229,232,269,270,277,287,295,298,371,376,378,383,384,390,396,413,414],[96,139,209,210,225,297,360,371,380],[96,139,154,182,199,202,269,378,380,388],[96,139,302],[96,139,154,410,411,412],[96,139,378,380],[96,139,310,311],[96,139,231,269,370,420],[96,139,154,165,277,287,378,384,390,392,396,413,416],[96,139,154,209,225,396,406],[96,139,198,244,370,380,408],[96,139,154,215,244,380,391,392,404,405,407,409],[90,96,139,227,230,231,417,420],[96,139,154,165,182,202,209,217,225,232,238,239,269,270,272,273,285,287,295,298,370,371,376,377,378,383,384,385,387,389,420],[96,139,154,171,209,378,390,410,415],[96,139,220,221,222,223,224],[96,139,276,278],[96,139,280],[96,139,278],[96,139,280,281],[96,139,154,202,237,381],[96,139,154,165,197,199,227,231,232,238,239,265,267,378,382,417,420],[96,139,154,165,182,201,206,269,377,381],[96,139,304],[96,139,305],[96,139,306],[96,139,376],[96,139,228,235],[96,139,154,202,228,238],[96,139,234,235],[96,139,236],[96,139,228,229],[96,139,228,245],[96,139,228],[96,139,275,276,377],[96,139,274],[96,139,229,376,377],[96,139,271,377],[96,139,229,376],[96,139,348],[96,139,230,233,238,269,298,303,310,317,319,347,378,381],[96,139,243,254,257,258,259,260,261,318],[96,139,357],[96,139,213,230,231,291,298,313,324,328,350,351,352,353,355,356,359,370,375,380],[96,139,243],[96,139,265],[96,139,154,230,238,246,262,264,268,378,417,420],[96,139,243,254,255,256,257,258,259,260,261,418],[96,139,229],[96,139,291,292,295,371],[96,139,154,276,380],[96,139,290,313],[96,139,289],[96,139,285,291],[96,139,288,290,380],[96,139,154,201,291,292,293,294,380,381],[82,96,139,240,242,298],[96,139,299],[82,96,139,199],[82,96,139,376],[82,90,96,139,231,239,417,420],[96,139,199,442,443],[82,96,139,253],[82,96,139,165,182,197,247,249,251,252,420],[96,139,215,376,381],[96,139,376,386],[82,96,139,152,154,165,197,253,300,417,418,419],[82,96,139,190,191,417,465],[82,83,84,85,86,96,139],[96,139,144],[96,139,393,394,395],[96,139,393],[82,86,96,139,154,156,165,189,190,191,192,194,195,197,273,336,382,416,420,465],[96,139,430],[96,139,432],[96,139,434],[96,139,1534],[96,139,436],[96,139,438,439,440],[96,139,444],[87,89,96,139,422,427,429,431,433,435,437,441,445,447,456,457,459,469,470,471,472],[96,139,446],[96,139,455],[96,139,249],[96,139,458],[96,138,139,291,292,293,295,327,376,460,461,462,465,466,467,468],[96,139,189],[96,139,144,154,155,156,182,183,189,534],[96,139,2504],[96,139,2503,2504],[96,139,2503],[96,139,2503,2504,2505,2511,2512,2515,2516,2517,2518],[96,139,2504,2512],[96,139,2503,2504,2505,2511,2512,2513,2514],[96,139,2503,2512],[96,139,2512,2516],[96,139,2504,2505,2506,2510],[96,139,2505],[96,139,2503,2504,2512],[96,139,189,2546,2547,2548],[96,139,171,189,2546],[96,139,492],[96,139,490,492],[96,139,481,489,490,491,493],[96,139,479],[96,139,482,487,492,495],[96,139,478,495],[96,139,482,483,486,487,488,495],[96,139,482,483,484,486,487,495],[96,139,479,480,481,482,483,487,488,489,491,492,493,495],[96,139,477,479,480,481,482,483,484,486,487,488,489,490,491,492,493,494],[96,139,477,495],[96,139,482,484,485,487,488,495],[96,139,486,495],[96,139,487,488,492,495],[96,139,480,490],[96,139,2063,2064,2065,2066],[96,139,2064],[96,139,2065],[96,139,2062,2067],[96,139,2062],[96,139,2062,2074,2076],[96,139,2062,2067,2068,2070,2071],[96,139,2067,2073,2087],[96,139,2070,2072],[96,139,2067,2072,2076],[96,139,2069],[96,139,2087],[96,139,2062,2067,2068,2070,2072,2073,2076,2077,2078,2079,2080,2081,2082,2083,2085,2086],[96,139,2070,2072,2075],[96,139,2077,2078,2079,2080,2084,2088],[96,139,2062,2067,2070,2073,2076,2087],[96,139,2067,2072,2073,2076,2087],[96,139,2062,2068,2073,2076,2087],[96,139,2073,2076,2087],[96,139,2088],[82,96,139,1965,1966,1967,1971,1973,1975,1976,1977,1979,1980],[96,139,1965],[82,96,139,1966],[82,96,139,1966,1980,1981,1982,1983,1992,1993],[82,96,139,1966,1970],[82,96,139,1966,1972],[82,96,139,1966,1974],[82,96,139,1983,1984,1991],[82,96,139,1968,1969],[82,96,139,1990],[82,96,139,1978],[96,139,1711],[96,139,1709,1711],[96,139,1709],[96,139,1711,1775,1776],[96,139,1711,1778],[96,139,1711,1779],[96,139,1796],[96,139,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1750,1751,1752,1753,1754,1755,1756,1757,1758,1759,1760,1761,1762,1763,1764,1765,1766,1767,1768,1769,1770,1771,1772,1773,1774,1777,1778,1779,1780,1781,1782,1783,1784,1785,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1797,1798,1799,1800,1801,1802,1803,1804,1805,1806,1807,1808,1809,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1840,1841,1842,1843,1844,1845,1846,1847,1848,1849,1850,1851,1852,1853,1854,1855,1856,1857,1858,1859,1860,1861,1862,1863,1864,1865,1866,1867,1868,1869,1870,1871,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1958,1959,1960,1961,1962,1963,1964],[96,139,1711,1872],[96,139,1711,1776,1896],[96,139,1709,1893,1894],[96,139,1895],[96,139,1711,1893],[96,139,1708,1709,1710],[82,96,139,1505],[82,96,139,2017],[96,139,2017,2018,2019,2021,2022,2023,2024,2025,2026,2027,2030],[96,139,2017],[96,139,2020],[82,96,139,2015,2017],[96,139,2012,2013,2015],[96,139,2008,2011,2013,2015],[96,139,2012,2015],[82,96,139,2003,2004,2005,2008,2009,2010,2012,2013,2014,2015],[96,139,2005,2008,2009,2010,2011,2012,2013,2014,2015,2016],[96,139,2012],[96,139,2006,2012,2013],[96,139,2006,2007],[96,139,2011,2013,2014],[96,139,2011],[96,139,2003,2008,2013,2014],[96,139,2028,2029],[96,139,2323,2325,2326,2327,2328,2329,2330,2331,2332,2333,2334,2335,2336,2337,2339,2340],[82,96,139,2322],[82,96,139,2322,2324],[96,139,2322,2326],[96,139,2324],[96,139,2323],[96,139,2338],[96,139,2341],[82,96,139,2231,2232,2233,2249,2252],[82,96,139,2231,2232,2233,2242,2250,2270],[82,96,139,2230,2233],[82,96,139,2233],[82,96,139,2231,2232,2233],[82,96,139,2231,2232,2233,2268,2271,2274],[82,96,139,2231,2232,2233,2242,2249,2252],[82,96,139,2231,2232,2233,2242,2250,2262],[82,96,139,2231,2232,2233,2242,2252,2262],[82,96,139,2231,2232,2233,2242,2262],[82,96,139,2231,2232,2233,2237,2243,2249,2254,2272,2273],[96,139,2233],[82,96,139,2233,2277,2278,2279],[82,96,139,2233,2276,2277,2278],[82,96,139,2233,2250],[82,96,139,2233,2276],[82,96,139,2233,2242],[82,96,139,2233,2234,2235],[82,96,139,2233,2235,2237],[96,139,2226,2227,2231,2232,2233,2234,2236,2237,2238,2239,2240,2241,2242,2243,2244,2245,2249,2250,2251,2252,2253,2254,2255,2256,2257,2258,2259,2260,2261,2263,2264,2265,2266,2267,2268,2269,2271,2272,2273,2274,2280,2281,2282,2283,2284,2285,2286,2287,2288,2289,2290,2291,2292,2293,2294],[82,96,139,2233,2291],[82,96,139,2233,2245],[82,96,139,2233,2252,2256,2257],[82,96,139,2233,2243,2245],[82,96,139,2233,2248],[82,96,139,2233,2271],[82,96,139,2233,2248,2275],[82,96,139,2236,2276],[82,96,139,2230,2231,2232],[96,139,496,497],[96,139,495,498],[96,139,2522],[96,139,2520],[96,139,2521],[96,139,2520,2521,2522,2523],[96,139,2520,2521,2522,2523,2524,2525,2526,2527,2528,2529,2530,2531,2532,2533,2534,2535,2536,2537],[96,139,2521,2522,2523],[96,139,2522,2538],[96,106,110,139,182],[96,106,139,171,182],[96,101,139],[96,103,106,139,179,182],[96,139,159,179],[96,101,139,189],[96,103,106,139,159,182],[96,98,99,102,105,139,151,171,182],[96,106,113,139],[96,98,104,139],[96,106,127,128,139],[96,102,106,139,174,182,189],[96,127,139,189],[96,100,101,139,189],[96,106,139],[96,100,101,102,103,104,105,106,107,108,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,128,129,130,131,132,133,139],[96,106,121,139],[96,106,113,114,139],[96,104,106,114,115,139],[96,105,139],[96,98,101,106,139],[96,106,110,114,115,139],[96,110,139],[96,104,106,109,139,182],[96,98,103,106,113,139],[96,101,106,127,139,187,189],[82,96,139,1656],[96,139,2229],[96,139,2247],[96,139,582],[96,139,572,573],[96,139,570,571,572,574,575,580],[96,139,571,572],[96,139,581],[96,139,572],[96,139,570,571,572,575,576,577,578,579],[96,139,570,571,582],[96,139,569],[96,139,569,637,1523],[96,139,499],[96,139,1513,2124,2125,2126,2127]],"fileInfos":[{"version":"e41c290ef7dd7dab3493e6cbe5909e0148edf4a8dad0271be08edec368a0f7b9","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","signature":false,"impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","signature":false,"impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","signature":false,"impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","signature":false,"impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","signature":false,"impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","signature":false,"impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","signature":false,"impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","signature":false,"impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","signature":false,"impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","signature":false,"impliedFormat":1},{"version":"e12a46ce14b817d4c9e6b2b478956452330bf00c9801b79de46f7a1815b5bd40","signature":false,"impliedFormat":1},{"version":"4fd3f3422b2d2a3dfd5cdd0f387b3a8ec45f006c6ea896a4cb41264c2100bb2c","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"69e65d976bf166ce4a9e6f6c18f94d2424bf116e90837ace179610dbccad9b42","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"62bb211266ee48b2d0edf0d8d1b191f0c24fc379a82bd4c1692a082c540bc6b1","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"f1e2a172204962276504466a6393426d2ca9c54894b1ad0a6c9dad867a65f876","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"bab26767638ab3557de12c900f0b91f710c7dc40ee9793d5a27d32c04f0bf646","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"61d6a2092f48af66dbfb220e31eea8b10bc02b6932d6e529005fd2d7b3281290","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"36a2e4c9a67439aca5f91bb304611d5ae6e20d420503e96c230cf8fcdc948d94","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9","signature":false,"impliedFormat":1},{"version":"65ff5a0aefd7817a03c1ad04fee85c9cdd3ec415cc3c9efec85d8008d4d5e4ee","signature":false,"impliedFormat":1},{"version":"b89c2ddec6bd955e8721d41e24ca667de06882338d88b183c2cdc1f41f4c5a34","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"acd8fd5090ac73902278889c38336ff3f48af6ba03aa665eb34a75e7ba1dccc4","signature":false,"impliedFormat":1},{"version":"d6258883868fb2680d2ca96bc8b1352cab69874581493e6d52680c5ffecdb6cc","signature":false,"impliedFormat":1},{"version":"1b61d259de5350f8b1e5db06290d31eaebebc6baafd5f79d314b5af9256d7153","signature":false,"impliedFormat":1},{"version":"f258e3960f324a956fc76a3d3d9e964fff2244ff5859dcc6ce5951e5413ca826","signature":false,"impliedFormat":1},{"version":"643f7232d07bf75e15bd8f658f664d6183a0efaca5eb84b48201c7671a266979","signature":false,"impliedFormat":1},{"version":"0f6666b58e9276ac3a38fdc80993d19208442d6027ab885580d93aec76b4ef00","signature":false,"impliedFormat":1},{"version":"05fd364b8ef02fb1e174fbac8b825bdb1e5a36a016997c8e421f5fab0a6da0a0","signature":false,"impliedFormat":1},{"version":"631eff75b0e35d1b1b31081d55209abc43e16b49426546ab5a9b40bdd40b1f60","signature":false,"impliedFormat":1},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","signature":false,"impliedFormat":1},{"version":"a79e62f1e20467e11a904399b8b18b18c0c6eea6b50c1168bf215356d5bebfaf","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"8fa51737611c21ba3a5ac02c4e1535741d58bec67c9bdf94b1837a31c97a2263","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","signature":false,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","signature":false,"impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","signature":false,"impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","signature":false,"impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","signature":false,"impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","signature":false,"impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","signature":false,"impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","signature":false,"impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","signature":false,"impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","signature":false,"impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","signature":false,"impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","signature":false,"impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","signature":false,"impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","signature":false,"impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","signature":false,"impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","signature":false,"impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","signature":false,"impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","signature":false,"impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","signature":false,"impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","signature":false,"impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","signature":false,"impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","signature":false,"impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","signature":false,"impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","signature":false,"impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","signature":false,"impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","signature":false,"impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","signature":false,"impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","signature":false,"impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","signature":false,"impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","signature":false,"impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","signature":false,"impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","signature":false,"impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","signature":false,"impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","signature":false,"impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","signature":false,"impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","signature":false,"impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","signature":false,"impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","signature":false,"impliedFormat":1},{"version":"d2bc987ae352271d0d615a420dcf98cc886aa16b87fb2b569358c1fe0ca0773d","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"4f0539c58717cbc8b73acb29f9e992ab5ff20adba5f9b57130691c7f9b186a4d","signature":false,"impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","signature":false,"impliedFormat":1},{"version":"76103716ba397bbb61f9fa9c9090dca59f39f9047cb1352b2179c5d8e7f4e8d0","signature":false,"impliedFormat":1},{"version":"f9677e434b7a3b14f0a9367f9dfa1227dfe3ee661792d0085523c3191ae6a1a4","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","signature":false,"impliedFormat":1},{"version":"115971d64632ea4742b5b115fb64ed04bcaae2c3c342f13d9ba7e3f9ee39c4e7","signature":false,"impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","signature":false,"impliedFormat":1},{"version":"9057f224b79846e3a95baf6dad2c8103278de2b0c5eebda23fc8188171ad2398","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","signature":false,"impliedFormat":1},{"version":"e6f5a38687bebe43a4cef426b69d34373ef68be9a6b1538ec0a371e69f309354","signature":false,"impliedFormat":1},{"version":"a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","signature":false,"impliedFormat":1},{"version":"e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","signature":false,"impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","signature":false,"impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"e0476e6b51a47a8eaf5ee6ecab0d686f066f3081de9a572f1dde3b2a8a7fb055","signature":false,"impliedFormat":1},{"version":"1e289f30a48126935a5d408a91129a13a59c9b0f8c007a816f9f16ef821e144e","signature":false,"impliedFormat":1},{"version":"f96a023e442f02cf551b4cfe435805ccb0a7e13c81619d4da61ec835d03fe512","signature":false,"impliedFormat":1},{"version":"5135bdd72cc05a8192bd2e92f0914d7fc43ee077d1293dc622a049b7035a0afb","signature":false,"impliedFormat":1},{"version":"528b62e4272e3ddfb50e8eed9e359dedea0a4d171c3eb8f337f4892aac37b24b","signature":false,"impliedFormat":1},{"version":"6d386bc0d7f3afa1d401afc3e00ed6b09205a354a9795196caed937494a713e6","signature":false,"impliedFormat":1},{"version":"5b2e73adcb25865d31c21accdc8f82de1eaded23c6f73230e474df156942380e","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"23459c1915878a7c1e86e8bdb9c187cddd3aea105b8b1dfce512f093c969bc7e","signature":false,"impliedFormat":1},{"version":"b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","signature":false,"impliedFormat":1},{"version":"45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0","signature":false,"impliedFormat":1},{"version":"1dc73f8854e5c4506131c4d95b3a6c24d0c80336d3758e95110f4c7b5cb16397","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"64ede330464b9fd5d35327c32dd2770e7474127ed09769655ebce70992af5f44","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","signature":false,"impliedFormat":1},{"version":"c6b4e0a02545304935ecbf7de7a8e056a31bb50939b5b321c9d50a405b5a0bba","signature":false,"impliedFormat":1},{"version":"fab29e6d649aa074a6b91e3bdf2bff484934a46067f6ee97a30fcd9762ae2213","signature":false,"impliedFormat":1},{"version":"8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","signature":false,"impliedFormat":1},{"version":"e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","signature":false,"impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","signature":false,"impliedFormat":1},{"version":"bcd0418abb8a5c9fe7db36a96ca75fc78455b0efab270ee89b8e49916eac5174","signature":false,"impliedFormat":1},{"version":"c878f74b6d10b267f6075c51ac1d8becd15b4aa6a58f79c0cfe3b24908357f60","signature":false,"impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","signature":false,"impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","signature":false,"impliedFormat":1},{"version":"fbf68fc8057932b1c30107ebc37420f8d8dc4bef1253c4c2f9e141886c0df5ab","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada","signature":false,"impliedFormat":1},{"version":"7d8b16d7f33d5081beac7a657a6d13f11a72cf094cc5e37cda1b9d8c89371951","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","signature":false,"impliedFormat":1},{"version":"5360a27d3ebca11b224d7d3e38e3e2c63f8290cb1fcf6c3610401898f8e68bc3","signature":false,"impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","signature":false,"impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","signature":false,"impliedFormat":1},{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"217941ef5c6fd81b77cd0073c94019a98e20777eaac6c4326156bf6b021ed547","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"f689c4237b70ae6be5f0e4180e8833f34ace40529d1acc0676ab8fb8f70457d7","signature":false,"impliedFormat":1},{"version":"b02784111b3fc9c38590cd4339ff8718f9329a6f4d3fd66e9744a1dcd1d7e191","signature":false,"impliedFormat":1},{"version":"ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a","signature":false,"impliedFormat":1},{"version":"63b05afa6121657f25e99e1519596b0826cda026f09372c9100dfe21417f4bd6","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"78dc0513cc4f1642906b74dda42146bcbd9df7401717d6e89ea6d72d12ecb539","signature":false,"impliedFormat":1},{"version":"ad90122e1cb599b3bc06a11710eb5489101be678f2920f2322b0ac3e195af78d","signature":false,"impliedFormat":1},{"version":"3609e455ffcba8176c8ce0aa57f8258fe10cf03987e27f1fab68f702b4426521","signature":false,"impliedFormat":1},{"version":"d1bd4e51810d159899aad1660ccb859da54e27e08b8c9862b40cd36c1d9ff00f","signature":false,"impliedFormat":1},{"version":"17ed71200119e86ccef2d96b73b02ce8854b76ad6bd21b5021d4269bec527b5f","signature":false,"impliedFormat":1},{"version":"5dbf2a502a7fcd85bfe753b585cfc6c9f60294570ee6a18084e574cf93be3fa0","signature":false,"impliedFormat":1},{"version":"bb7a61dd55dc4b9422d13da3a6bb9cc5e89be888ef23bbcf6558aa9726b89a1c","signature":false,"impliedFormat":1},{"version":"413df52d4ea14472c2fa5bee62f7a40abd1eb49be0b9722ee01ee4e52e63beb2","signature":false,"impliedFormat":1},{"version":"db6d2d9daad8a6d83f281af12ce4355a20b9a3e71b82b9f57cddcca0a8964a96","signature":false,"impliedFormat":1},{"version":"7bd32a723a12f78ed756747468f2030bdd55774c68f628de07598dba5b912b14","signature":false,"impliedFormat":1},{"version":"24f8562308dd8ba6013120557fa7b44950b619610b2c6cb8784c79f11e3c4f90","signature":false,"impliedFormat":1},{"version":"a1d3d6e9718cceaf1e4352845387af0620564d3d2dff02611a5c3276f73c26cb","signature":false,"impliedFormat":1},{"version":"a86f82d646a739041d6702101afa82dcb935c416dd93cbca7fd754fd0282ce1f","signature":false,"impliedFormat":1},{"version":"57d6ac03382e30e9213641ff4f18cf9402bb246b77c13c8e848c0b1ca2b7ef92","signature":false,"impliedFormat":1},{"version":"ce75b1aebb33d510ff28af960a9221410a3eaf7f18fc5f21f9404075fba77256","signature":false,"impliedFormat":1},{"version":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","signature":false,"impliedFormat":1},{"version":"57e47d02e88abef89d214cdf52b478104dc17997015746e288cbb580beaef266","signature":false,"impliedFormat":1},{"version":"b1177acd771acfcc2648a03fc03ad3b3a1b1d2bdfa6769db0f669293b596ca13","signature":false,"impliedFormat":1},{"version":"3494c5bf00c1a40293ee5ff5128334b63d346abbf560c8987202c92dbc5bdc48","signature":false,"impliedFormat":1},{"version":"9e2739b32f741859263fdba0244c194ca8e96da49b430377930b8f721d77c000","signature":false,"impliedFormat":1},{"version":"99d62b942e98f691f508fc752637fec27661970aa3b0f5eb5a1e2775b995c273","signature":false,"impliedFormat":1},{"version":"a9af0e608929aaf9ce96bd7a7b99c9360636c31d73670e4af09a09950df97841","signature":false,"impliedFormat":1},{"version":"48d37b90a04e753a925228f50304d02c4f95d57bf682f8bb688621c3cd9d32ec","signature":false,"impliedFormat":1},{"version":"361e2b13c6765d7f85bb7600b48fde782b90c7c41105b7dab1f6e7871071ba20","signature":false,"impliedFormat":1},{"version":"c86fe861cf1b4c46a0fb7d74dffe596cf679a2e5e8b1456881313170f092e3fa","signature":false,"impliedFormat":1},{"version":"b6db56e4903e9c32e533b78ac85522de734b3d3a8541bf24d256058d464bf04b","signature":false,"impliedFormat":1},{"version":"24daa0366f837d22c94a5c0bad5bf1fd0f6b29e1fae92dc47c3072c3fdb2fbd5","signature":false,"impliedFormat":1},{"version":"b68c4ed987ef5693d3dccd85222d60769463aca404f2ffca1c4c42781dce388e","signature":false,"impliedFormat":1},{"version":"889c00f3d32091841268f0b994beba4dceaa5df7573be12c2c829d7c5fbc232c","signature":false,"impliedFormat":1},{"version":"65f43099ded6073336e697512d9b80f2d4fec3182b7b2316abf712e84104db00","signature":false,"impliedFormat":1},{"version":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","signature":false,"impliedFormat":1},{"version":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","signature":false,"impliedFormat":1},{"version":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","signature":false,"impliedFormat":1},{"version":"12b8dfed70961bea1861e5d39e433580e71323abb5d33da6605182ec569db584","signature":false,"impliedFormat":1},{"version":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","signature":false,"impliedFormat":1},{"version":"7e560f533aaf88cf9d3b427dcf6c112dd3f2ee26d610e2587583b6c354c753db","signature":false,"impliedFormat":1},{"version":"71e0082342008e4dfb43202df85ea0986ef8e003c921a1e49999d0234a3019da","signature":false,"impliedFormat":1},{"version":"27ab780875bcbb65e09da7496f2ca36288b0c541abaa75c311450a077d54ec15","signature":false,"impliedFormat":1},{"version":"b620391fe8060cf9bedc176a4d01366e6574d7a71e0ac0ab344a4e76576fcbb8","signature":false,"impliedFormat":1},{"version":"380647d8f3b7f852cca6d154a376dbf8ac620a2f12b936594504a8a852e71d2f","signature":false,"impliedFormat":1},{"version":"3e7efde639c6a6c3edb9847b3f61e308bf7a69685b92f665048c45132f51c218","signature":false,"impliedFormat":1},{"version":"df45ca1176e6ac211eae7ddf51336dc075c5314bc5c253651bae639defd5eec5","signature":false,"impliedFormat":1},{"version":"ef61792acbfa8c27c9bd113f02731e66229f7d3a169e3c1993b508134f1a58e0","signature":false,"impliedFormat":1},{"version":"9c82171d836c47486074e4ca8e059735bf97b205e70b196535b5efd40cbe1bc5","signature":false,"impliedFormat":1},{"version":"94fe3281392e1015b22f39535878610b4fa6f1388dc8d78746be3bc4e4bb8950","signature":false,"impliedFormat":1},{"version":"106c6025f1d99fd468fd8bf6e5bda724e11e5905a4076c5d29790b6c3745e50c","signature":false,"impliedFormat":1},{"version":"ce41407ff95aad31e28897741dfffb236d966eb38894f7a791c3a575b53f9d02","signature":false,"impliedFormat":1},{"version":"fac1803c07fbc9574815fdb83afddd9d0d4a2ce13f56d4e4cbb4525f8c09ee0a","signature":false,"impliedFormat":1},{"version":"824c76aec8d8c7e65769688cbee102238c0ef421ed6686f41b2a7d8e7e78a931","signature":false,"impliedFormat":1},{"version":"5eef43ef86c9c3945780211c2ce25cb9b66143a102713e56a2bea85163c5c3c7","signature":false,"impliedFormat":1},{"version":"a2a1cdf7273ad6641938a487ecf2fdd38f60abce41907817e44ab39e482e8739","signature":false,"impliedFormat":1},{"version":"c5426dbfc1cf90532f66965a7aa8c1136a78d4d0f96d8180ecbfc11d7722f1a5","signature":false,"impliedFormat":1},{"version":"ca921bf56756cb6fe957f6af693a35251b134fb932dc13f3dfff0bb7106f80b4","signature":false,"impliedFormat":1},{"version":"4548fac59ea69a3ffd6c0285a4c53e0d736d936937b74297e3b5c4dfcd902419","signature":false,"impliedFormat":1},{"version":"4da246ee3b860278888dd51913e6407a09ca43530db886e7bec2a592c9b9bde6","signature":false,"impliedFormat":1},{"version":"8c05ac9ead787bfc3e144b88bdc7d1ad8c0c7f1cd8412ab58cd3e1208d1990af","signature":false,"impliedFormat":1},{"version":"a23185bc5ef590c287c28a91baf280367b50ae4ea40327366ad01f6f4a8edbc5","signature":false,"impliedFormat":1},{"version":"65a15fc47900787c0bd18b603afb98d33ede930bed1798fc984d5ebb78b26cf9","signature":false,"impliedFormat":1},{"version":"9d202701f6e0744adb6314d03d2eb8fc994798fc83d91b691b75b07626a69801","signature":false,"impliedFormat":1},{"version":"de9d2df7663e64e3a91bf495f315a7577e23ba088f2949d5ce9ec96f44fba37d","signature":false,"impliedFormat":1},{"version":"c7af78a2ea7cb1cd009cfb5bdb48cd0b03dad3b54f6da7aab615c2e9e9d570c5","signature":false,"impliedFormat":1},{"version":"1ee45496b5f8bdee6f7abc233355898e5bf9bd51255db65f5ff7ede617ca0027","signature":false,"impliedFormat":1},{"version":"0c7c947ff881c4274c0800deaa0086971e0bfe51f89a33bd3048eaa3792d4876","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"db01d18853469bcb5601b9fc9826931cc84cc1a1944b33cad76fd6f1e3d8c544","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"dba114fb6a32b355a9cfc26ca2276834d72fe0e94cd2c3494005547025015369","signature":false,"impliedFormat":1},{"version":"a8f8e6ab2fa07b45251f403548b78eaf2022f3c2254df3dc186cb2671fe4996d","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"fa6c12a7c0f6b84d512f200690bfc74819e99efae69e4c95c4cd30f6884c526e","signature":false,"impliedFormat":1},{"version":"f1c32f9ce9c497da4dc215c3bc84b722ea02497d35f9134db3bb40a8d918b92b","signature":false,"impliedFormat":1},{"version":"b73c319af2cc3ef8f6421308a250f328836531ea3761823b4cabbd133047aefa","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"e433b0337b8106909e7953015e8fa3f2d30797cea27141d1c5b135365bb975a6","signature":false,"impliedFormat":1},{"version":"15b36126e0089bfef173ab61329e8286ce74af5e809d8a72edcafd0cc049057f","signature":false,"impliedFormat":1},{"version":"ddff7fc6edbdc5163a09e22bf8df7bef75f75369ebd7ecea95ba55c4386e2441","signature":false,"impliedFormat":1},{"version":"13283350547389802aa35d9f2188effaeac805499169a06ef5cd77ce2a0bd63f","signature":false,"impliedFormat":1},{"version":"2e4f37ffe8862b14d8e24ae8763daaa8340c0df0b859d9a9733def0eee7562d9","signature":false,"impliedFormat":1},{"version":"d07cbc787a997d83f7bde3877fec5fb5b12ce8c1b7047eb792996ed9726b4dde","signature":false,"impliedFormat":1},{"version":"6ac6715916fa75a1f7ebdfeacac09513b4d904b667d827b7535e84ff59679aff","signature":false,"impliedFormat":1},{"version":"8bba776476c48b0e319d243f353190f24096057acede3c2f620fee17ff885dba","signature":false,"impliedFormat":1},{"version":"b83cb14474fa60c5f3ec660146b97d122f0735627f80d82dd03e8caa39b4388c","signature":false,"impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","signature":false,"impliedFormat":1},{"version":"2b2f9dac86b659e6d5cd623bcc21519910a48114fc0cef52d8f86962c48d44e2","signature":false,"impliedFormat":1},{"version":"7e8b76334c75984d57a810a0652c61066ffacede59001dfc5c633565f791ee60","signature":false,"impliedFormat":1},{"version":"72ca9ca89ca15055cbb6ce767b6bf56615be5f1ea6a87ab432ee0603c8d19010","signature":false,"impliedFormat":1},{"version":"7274fbffbd7c9589d8d0ffba68157237afd5cecff1e99881ea3399127e60572f","signature":false,"impliedFormat":1},{"version":"b73cbf0a72c8800cf8f96a9acfe94f3ad32ca71342a8908b8ae484d61113f647","signature":false,"impliedFormat":1},{"version":"bae6dd176832f6423966647382c0d7ba9e63f8c167522f09a982f086cd4e8b23","signature":false,"impliedFormat":1},{"version":"208c9af9429dd3c76f5927b971263174aaa4bc7621ddec63f163640cbd3c473c","signature":false,"impliedFormat":1},{"version":"20865ac316b8893c1a0cc383ccfc1801443fbcc2a7255be166cf90d03fac88c9","signature":false,"impliedFormat":1},{"version":"c9958eb32126a3843deedda8c22fb97024aa5d6dd588b90af2d7f2bfac540f23","signature":false,"impliedFormat":1},{"version":"d682336018141807fb602709e2d95a192828fcb8d5ba06dda3833a8ea98f69e3","signature":false,"impliedFormat":1},{"version":"461d0ad8ae5f2ff981778af912ba71b37a8426a33301daa00f21c6ccb27f8156","signature":false,"impliedFormat":1},{"version":"e927c2c13c4eaf0a7f17e6022eee8519eb29ef42c4c13a31e81a611ab8c95577","signature":false,"impliedFormat":1},{"version":"fcafff163ca5e66d3b87126e756e1b6dfa8c526aa9cd2a2b0a9da837d81bbd72","signature":false,"impliedFormat":1},{"version":"70246ad95ad8a22bdfe806cb5d383a26c0c6e58e7207ab9c431f1cb175aca657","signature":false,"impliedFormat":1},{"version":"f00f3aa5d64ff46e600648b55a79dcd1333458f7a10da2ed594d9f0a44b76d0b","signature":false,"impliedFormat":1},{"version":"772d8d5eb158b6c92412c03228bd9902ccb1457d7a705b8129814a5d1a6308fc","signature":false,"impliedFormat":1},{"version":"45490817629431853543adcb91c0673c25af52a456479588b6486daba34f68bb","signature":false,"impliedFormat":1},{"version":"802e797bcab5663b2c9f63f51bdf67eff7c41bc64c0fd65e6da3e7941359e2f7","signature":false,"impliedFormat":1},{"version":"b01bd582a6e41457bc56e6f0f9de4cb17f33f5f3843a7cf8210ac9c18472fb0f","signature":false,"impliedFormat":1},{"version":"8b4327413e5af38cd8cb97c59f48c3c866015d5d642f28518e3a891c469f240e","signature":false,"impliedFormat":1},{"version":"cecad464ddaf764e5490018d248a8df1733f3d63435fbddac72941c1f4005b66","signature":false,"impliedFormat":1},{"version":"6124e973eab8c52cabf3c07575204efc1784aca6b0a30c79eb85fe240a857efa","signature":false,"impliedFormat":1},{"version":"0d891735a21edc75df51f3eb995e18149e119d1ce22fd40db2b260c5960b914e","signature":false,"impliedFormat":1},{"version":"3b414b99a73171e1c4b7b7714e26b87d6c5cb03d200352da5342ab4088a54c85","signature":false,"impliedFormat":1},{"version":"51b1709e7ad186919a0e30237a8607100143a86d28771b3d3f046359aca1e65c","signature":false,"impliedFormat":1},{"version":"0a437ae178f999b46b6153d79095b60c42c996bc0458c04955f1c996dc68b971","signature":false,"impliedFormat":1},{"version":"74b2a5e5197bd0f2e0077a1ea7c07455bbea67b87b0869d9786d55104006784f","signature":false,"impliedFormat":1},{"version":"4a7baeb6325920044f66c0f8e5e6f1f52e06e6d87588d837bdf44feb6f35c664","signature":false,"impliedFormat":1},{"version":"6dcf60530c25194a9ee0962230e874ff29d34c59605d8e069a49928759a17e0a","signature":false,"impliedFormat":1},{"version":"56013416784a6b754f3855f8f2bf6ce132320679b8a435389aca0361bce4df6b","signature":false,"impliedFormat":1},{"version":"43e96a3d5d1411ab40ba2f61d6a3192e58177bcf3b133a80ad2a16591611726d","signature":false,"impliedFormat":1},{"version":"224e9eedb2ea67e27f28d699b19b1d966e9320e9ea8ac233b2a31dbd753b0dfe","signature":false,"impliedFormat":1},{"version":"002eae065e6960458bda3cf695e578b0d1e2785523476f8a9170b103c709cd4f","signature":false,"impliedFormat":1},{"version":"c51641ab4bfa31b7a50a0ca37edff67f56fab3149881024345b13f2b48b7d2de","signature":false,"impliedFormat":1},{"version":"a57b1802794433adec9ff3fed12aa79d671faed86c49b09e02e1ac41b4f1d33a","signature":false,"impliedFormat":1},{"version":"52abbd5035a97ebfb4240ec8ade2741229a7c26450c84eb73490dc5ea048b911","signature":false,"impliedFormat":1},{"version":"1042064ece5bb47d6aba91648fbe0635c17c600ebdf567588b4ca715602f0a9d","signature":false,"impliedFormat":1},{"version":"4360ad4de54de2d5c642c4375d5eab0e7fe94ebe8adca907e6c186bbef75a54d","signature":false,"impliedFormat":1},{"version":"4a889f2c763edb4d55cb624257272ac10d04a1cad2ed2948b10ed4a7fda2a428","signature":false,"impliedFormat":1},{"version":"7bb79aa2fead87d9d56294ef71e056487e848d7b550c9a367523ee5416c44cfa","signature":false,"impliedFormat":1},{"version":"9c9cae45dc94c2192c7d25f80649414fa13c425d0399a2c7cb2b979e4e50af42","signature":false,"impliedFormat":1},{"version":"6c87b6bcf4336b29c837ea49afbdde69cc15a91cbbfd9f20c0af8694927dec08","signature":false,"impliedFormat":1},{"version":"27ff4196654e6373c9af16b6165120e2dd2169f9ad6abb5c935af5abd8c7938c","signature":false,"impliedFormat":1},{"version":"6dd9bcf10678b889842d467706836a0ab42e6c58711e33918ed127073807ee65","signature":false,"impliedFormat":1},{"version":"8c030e515014c10a2b98f9f48408e3ba18023dfd3f56e3312c6c2f3ae1f55a16","signature":false,"impliedFormat":1},{"version":"dafc31e9e8751f437122eb8582b93d477e002839864410ff782504a12f2a550c","signature":false,"impliedFormat":1},{"version":"ef9efc827cdad89c4ee54142164c793f530aa4d844ca9121cc35368310d5fb9c","signature":false,"impliedFormat":1},{"version":"643672ce383e1c58ea665a92c5481f8441edbd3e91db36e535abccbc9035adeb","signature":false,"impliedFormat":1},{"version":"8fa022ea514ce0ea78ac9b7092a9f97f08ead20c839c779891019e110fce8307","signature":false,"impliedFormat":1},{"version":"c93235337600b786fd7d0ff9c71a00f37ca65c4d63e5d695fc75153be2690f09","signature":false,"impliedFormat":1},{"version":"fa45f48f2def181ab2fb107a032c91b6c043ad05a179f3fbaafb8e5411fd01e4","signature":false,"impliedFormat":1},{"version":"a8e493c0355aabdd495e141bf1c4ec93454a0698c8675df466724adc2fcfe630","signature":false,"impliedFormat":1},{"version":"99702c9058170ae70ea72acbf01be3111784f06152dbf478f52c9afe423528bd","signature":false,"impliedFormat":1},{"version":"cf32f58a7ad3498c69c909121772971ffdee176b882f39c78532d0e0ab41a30d","signature":false,"impliedFormat":1},{"version":"e2bbc579a2fda9473e06b2a68d693e56928900f73ccfc03dabea789fe144e8a5","signature":false,"impliedFormat":1},{"version":"ce0df82a9ae6f914ba08409d4d883983cc08e6d59eb2df02d8e4d68309e7848b","signature":false,"impliedFormat":1},{"version":"796273b2edc72e78a04e86d7c58ae94d370ab93a0ddf40b1aa85a37a1c29ecd7","signature":false,"impliedFormat":1},{"version":"5df15a69187d737d6d8d066e189ae4f97e41f4d53712a46b2710ff9f8563ec9f","signature":false,"impliedFormat":1},{"version":"e17cd049a1448de4944800399daa4a64c5db8657cc9be7ef46be66e2a2cd0e7c","signature":false,"impliedFormat":1},{"version":"d05fb434f4ba073aed74b6c62eff1723c835de2a963dbb091e000a2decb5a691","signature":false,"impliedFormat":1},{"version":"bff8c8bffbf5f302a30ccb1c0557dae477892d50a80eecfe393bd89bac7fb41d","signature":false,"impliedFormat":1},{"version":"43ba4f2fa8c698f5c304d21a3ef596741e8e85a810b7c1f9b692653791d8d97a","signature":false,"impliedFormat":1},{"version":"4d4927cbee21750904af7acf940c5e3c491b4d5ebc676530211e389dd375607a","signature":false,"impliedFormat":1},{"version":"72105519d0390262cf0abe84cf41c926ade0ff475d35eb21307b2f94de985778","signature":false,"impliedFormat":1},{"version":"8a97e578a9bc40eb4f1b0ca78f476f2e9154ecbbfd5567ee72943bab37fc156a","signature":false,"impliedFormat":1},{"version":"a58abf1f5c8feb335475097abeddd32fd71c4dc2065a3d28cf15cacabad9654a","signature":false,"impliedFormat":1},{"version":"ccf6dd45b708fb74ba9ed0f2478d4eb9195c9dfef0ff83a6092fa3cf2ff53b4f","signature":false,"impliedFormat":1},{"version":"2d7db1d73456e8c5075387d4240c29a2a900847f9c1bff106a2e490da8fbd457","signature":false,"impliedFormat":1},{"version":"2b15c805f48e4e970f8ec0b1915f22d13ca6212375e8987663e2ef5f0205e832","signature":false,"impliedFormat":1},{"version":"f22d05663d873ee7a600faf78abb67f3f719d32266803440cf11d5db7ac0cab2","signature":false,"impliedFormat":1},{"version":"f0f05149debcf31b3a717ce8dd16e0323a789905cb9e27239167b604153b8885","signature":false,"impliedFormat":1},{"version":"35069c2c417bd7443ae7c7cafd1de02f665bf015479fec998985ffbbf500628c","signature":false,"impliedFormat":1},{"version":"b4f4d239a6632b86b315a6e4cfe0fac4e4bf6c934263bc07dd2bf5c7dbb8e6a5","signature":false,"impliedFormat":1},{"version":"0d44227395ae4a117dd7c8c9a048e18ade1f1f631bc5b883f9d469126e3cedab","signature":false,"impliedFormat":1},{"version":"9e21f8e2c0cfea713a4a372f284b60089c0841eb90bf3610539d89dbcd12d65a","signature":false,"impliedFormat":1},{"version":"045b752f44bf9bbdcaffd882424ab0e15cb8d11fa94e1448942e338c8ef19fba","signature":false,"impliedFormat":1},{"version":"2894c56cad581928bb37607810af011764a2f511f575d28c9f4af0f2ef02d1ab","signature":false,"impliedFormat":1},{"version":"0a72186f94215d020cb386f7dca81d7495ab6c17066eb07d0f44a5bf33c1b21a","signature":false,"impliedFormat":1},{"version":"a072c5f254d5cbb6522c0d4eeeb7cc4a6ce7f2f8ad84e2593d903bfe3aa44176","signature":false,"impliedFormat":1},{"version":"52b390f86821086a1be50100487faa9f7b23fc04343efb590f304382b4950e04","signature":false,"impliedFormat":1},{"version":"87122b31fe473758a5724388c93826caab566f62be2196aefc2ae8b04b814b52","signature":false,"impliedFormat":1},{"version":"063ab26d3488a665d2c3bc963b18ce220dad7351190629179165bc8c499c6cd9","signature":false,"impliedFormat":1},{"version":"6ac6715916fa75a1f7ebdfeacac09513b4d904b667d827b7535e84ff59679aff","signature":false,"impliedFormat":1},{"version":"2652448ac55a2010a1f71dd141f828b682298d39728f9871e1cdf8696ef443fd","signature":false,"impliedFormat":1},{"version":"fb400501bee56d86fa9b490e9d8b07d7df163d34d8235fcea27c3f9e8d064d1a","signature":false,"impliedFormat":1},{"version":"120599fd965257b1f4d0ff794bc696162832d9d8467224f4665f713a3119078b","signature":false,"impliedFormat":1},{"version":"5433f33b0a20300cca35d2f229a7fc20b0e8477c44be2affeb21cb464af60c76","signature":false,"impliedFormat":1},{"version":"db036c56f79186da50af66511d37d9fe77fa6793381927292d17f81f787bb195","signature":false,"impliedFormat":1},{"version":"bd4131091b773973ca5d2326c60b789ab1f5e02d8843b3587effe6e1ea7c9d86","signature":false,"impliedFormat":1},{"version":"794998dc1c5a19ce77a75086fe829fb9c92f2fd07b5631c7d5e0d04fd9bc540c","signature":false,"impliedFormat":1},{"version":"409678793827cdf5814e027b1f9e52a0445acb1c322282311c1c4e0855a0918e","signature":false,"impliedFormat":1},{"version":"6ac6715916fa75a1f7ebdfeacac09513b4d904b667d827b7535e84ff59679aff","signature":false,"impliedFormat":1},{"version":"0427df5c06fafc5fe126d14b9becd24160a288deff40e838bfbd92a35f8d0d00","signature":false,"impliedFormat":1},{"version":"3545dc8a9bdbd33db34462af7eed83f703083e4fee9135dadbba7edfe1e7db3c","signature":false,"impliedFormat":1},{"version":"7b5153a9b237898879441e5ddb576ded76ef3ab4c5baee4bb749ca5c72fc395d","signature":false,"impliedFormat":1},{"version":"49c346823ba6d4b12278c12c977fb3a31c06b9ca719015978cb145eb86da1c61","signature":false,"impliedFormat":1},{"version":"bfac6e50eaa7e73bb66b7e052c38fdc8ccfc8dbde2777648642af33cf349f7f1","signature":false,"impliedFormat":1},{"version":"92f7c1a4da7fbfd67a2228d1687d5c2e1faa0ba865a94d3550a3941d7527a45d","signature":false,"impliedFormat":1},{"version":"f53b120213a9289d9a26f5af90c4c686dd71d91487a0aa5451a38366c70dc64b","signature":false,"impliedFormat":1},{"version":"83fe880c090afe485a5c02262c0b7cdd76a299a50c48d9bde02be8e908fb4ae6","signature":false,"impliedFormat":1},{"version":"d5c2934185201f0768fb80d220f0e617cd05aa4c0c791ffcd508646c474b3c44","signature":false,"impliedFormat":1},{"version":"57d67b72e06059adc5e9454de26bbfe567d412b962a501d263c75c2db430f40e","signature":false,"impliedFormat":1},{"version":"6511e4503cf74c469c60aafd6589e4d14d5eb0a25f9bf043dcbecdf65f261972","signature":false,"impliedFormat":1},{"version":"e326c507507d6c6f3df4152e9e132a6189b30e14a262782796c2a627ba5d42cc","signature":false,"impliedFormat":1},{"version":"75efc43fb206f3825eb219c96b1e59fdabf2f2f042f424fa5f96335b99897540","signature":false,"impliedFormat":1},{"version":"a67b87d0281c97dfc1197ef28dfe397fc2c865ccd41f7e32b53f647184cc7307","signature":false,"impliedFormat":1},{"version":"771ffb773f1ddd562492a6b9aaca648192ac3f056f0e1d997678ff97dbb6bf9b","signature":false,"impliedFormat":1},{"version":"232f70c0cf2b432f3a6e56a8dc3417103eb162292a9fd376d51a3a9ea5fbbf6f","signature":false,"impliedFormat":1},{"version":"ca651584d8d718c1f0655ec4b0c340fbcd967ec1e1758807af3a3f43bc81f81e","signature":false,"impliedFormat":1},{"version":"cfb5f0ab72180f4e0b9ed1534847a63d5394b9a8ee685ae149d25fd53f1aec66","signature":false,"impliedFormat":1},{"version":"8a0e762ceb20c7e72504feef83d709468a70af4abccb304f32d6b9bac1129b2c","signature":false,"impliedFormat":1},{"version":"f613e4e752659ebd241be4d991c05200248b50e753fcecf50a249d30f4367794","signature":false,"impliedFormat":1},{"version":"9252d498a77517aab5d8d4b5eb9d71e4b225bbc7123df9713e08181de63180f6","signature":false,"impliedFormat":1},{"version":"de1ccef0cb3623291d55871e39eb7005cb79d8da519cb46959b0ba5e2422184f","signature":false,"impliedFormat":1},{"version":"35e6379c3f7cb27b111ad4c1aa69538fd8e788ab737b8ff7596a1b40e96f4f90","signature":false,"impliedFormat":1},{"version":"1fffe726740f9787f15b532e1dc870af3cd964dbe29e191e76121aa3dd8693f2","signature":false,"impliedFormat":1},{"version":"7cd657e359eac7829db5f02c856993e8945ffccc71999cdfb4ab3bf801a1bbc6","signature":false,"impliedFormat":1},{"version":"1a82deef4c1d39f6882f28d275cad4c01f907b9b39be9cbc472fcf2cf051e05b","signature":false,"impliedFormat":1},{"version":"4b20fcf10a5413680e39f5666464859fc56b1003e7dfe2405ced82371ebd49b6","signature":false,"impliedFormat":1},{"version":"f0f3f57e29b40e9cb0c4b155a96de2f61e51700d2c335dd547ef3c85e668c6a8","signature":false,"impliedFormat":1},{"version":"f7d628893c9fa52ba3ab01bcb5e79191636c4331ee5667ecc6373cbccff8ae12","signature":false,"impliedFormat":1},{"version":"0afb5274275ea76a4082a46597d1d23f7fede2887e591d8e02f9874934912c6f","signature":false,"impliedFormat":1},{"version":"6a76daf108400ca1333e325772f24f40ebdde2120ef68f8c87d7a1adf0257541","signature":false,"impliedFormat":1},{"version":"313698394e61f0343ebf11b64e5cde7e948110eaba98e8dbd7bdd67ee8df2639","signature":false,"impliedFormat":1},{"version":"6459054aabb306821a043e02b89d54da508e3a6966601a41e71c166e4ea1474f","signature":false,"impliedFormat":1},{"version":"bb37588926aba35c9283fe8d46ebf4e79ffe976343105f5c6d45f282793352b2","signature":false,"impliedFormat":1},{"version":"05c97cddbaf99978f83d96de2d8af86aded9332592f08ce4a284d72d0952c391","signature":false,"impliedFormat":1},{"version":"72179f9dd22a86deaad4cc3490eb0fe69ee084d503b686985965654013f1391b","signature":false,"impliedFormat":1},{"version":"2e6114a7dd6feeef85b2c80120fdbfb59a5529c0dcc5bfa8447b6996c97a69f5","signature":false,"impliedFormat":1},{"version":"7b6ff760c8a240b40dab6e4419b989f06a5b782f4710d2967e67c695ef3e93c4","signature":false,"impliedFormat":1},{"version":"c8f004e6036aa1c764ad4ec543cf89a5c1893a9535c80ef3f2b653e370de45e6","signature":false,"impliedFormat":1},{"version":"91357dba2d5a7234ccfae834dc8363b5635e08f373bd18f548a9046b01864619","signature":false,"impliedFormat":1},{"version":"f31bbb122869d8903ff13c1036bdefc1e6a5bac9b2c3c35e42a9de84d43cd04a","signature":false,"impliedFormat":1},{"version":"c7fdbcfa0991e15215e2a5751676115cac943b39289791546c7197d7bb889c51","signature":false,"impliedFormat":1},{"version":"f974e4a06953682a2c15d5bd5114c0284d5abf8bc0fe4da25cb9159427b70072","signature":false,"impliedFormat":1},{"version":"50256e9c31318487f3752b7ac12ff365c8949953e04568009c8705db802776fb","signature":false,"impliedFormat":1},{"version":"7d73b24e7bf31dfb8a931ca6c4245f6bb0814dfae17e4b60c9e194a631fe5f7b","signature":false,"impliedFormat":1},{"version":"4eac446ac161245bfc6daa95f2cc64d2da4f7844e36a7a5641abfd4771ef0923","signature":false,"impliedFormat":1},{"version":"8de9fe97fa9e00ec00666fa77ab6e91b35d25af8ca75dabcb01e14ad3299b150","signature":false,"impliedFormat":1},{"version":"076527b1c2fd207de3101ba10e0c2b7d155aa8369cc7fe3eed723811e428223d","signature":false,"impliedFormat":1},{"version":"6c800b281b9e89e69165fd11536195488de3ff53004e55905e6c0059a2d8591e","signature":false,"impliedFormat":1},{"version":"7d4254b4c6c67a29d5e7f65e67d72540480ac2cfb041ca484847f5ae70480b62","signature":false,"impliedFormat":1},{"version":"397f568f996f8ffcf12d9156342552b0da42f6571eadba6bce61c99e1651977d","signature":false,"impliedFormat":1},{"version":"ff0c0d446569f8756be0882b520fd94429468de9f922ab6bf9eed4da55eb0187","signature":false,"impliedFormat":1},{"version":"d663134457d8d669ae0df34eabd57028bddc04fc444c4bc04bc5215afc91e1f4","signature":false,"impliedFormat":1},{"version":"a52674bc98da7979607e0f44d4c015c59c1b1d264c83fc50ec79ff2cfea06723","signature":false,"impliedFormat":1},{"version":"89b3d1b267c4380fbb8e5cadccbb284843b90066f16a2f6e8a5b3a030bb7dcfb","signature":false,"impliedFormat":1},{"version":"f58226e78464f9c85be6cf47c665a8e33b32121ab4cdb2670b66a06f1114a55c","signature":false,"impliedFormat":1},{"version":"9b06ce81ad598c9c6b011cb66182fa66575ad6bd1f8f655830a6a0223a197ab7","signature":false,"impliedFormat":1},{"version":"e108f38a04a607f9386d68a4c6f3fdae1b712960f11f6482c6f1769bab056c2e","signature":false,"impliedFormat":1},{"version":"a3128a84a9568762a2996df79717d92154d18dd894681fc0ab3a098fa7f8ee3b","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"347791f3792f436950396dd6171d6450234358001ae7c94ca209f1406566ccbf","signature":false,"impliedFormat":1},{"version":"dd80b1e600d00f5c6a6ba23f455b84a7db121219e68f89f10552c54ba46e4dc9","signature":false,"impliedFormat":1},{"version":"2896c2e673a5d3bd9b4246811f79486a073cbb03950c3d252fba10003c57411a","signature":false,"impliedFormat":1},{"version":"616775f16134fa9d01fc677ad3f76e68c051a056c22ab552c64cc281a9686790","signature":false,"impliedFormat":1},{"version":"65c24a8baa2cca1de069a0ba9fba82a173690f52d7e2d0f1f7542d59d5eb4db0","signature":false,"impliedFormat":1},{"version":"f9fe6af238339a0e5f7563acee3178f51db37f32a2e7c09f85273098cee7ec49","signature":false,"impliedFormat":1},{"version":"51bf55bb6eb80f11b3aa59fb0a9571565a7ea304a19381f6da5630f4b2e206c4","signature":false,"impliedFormat":1},{"version":"77e71242e71ebf8528c5802993697878f0533db8f2299b4d36aa015bae08a79c","signature":false,"impliedFormat":1},{"version":"98a787be42bd92f8c2a37d7df5f13e5992da0d967fab794adbb7ee18370f9849","signature":false,"impliedFormat":1},{"version":"5c96bad5f78466785cdad664c056e9e2802d5482ca5f862ed19ba34ffbb7b3a4","signature":false,"impliedFormat":1},{"version":"b7fff2d004c5879cae335db8f954eb1d61242d9f2d28515e67902032723caeab","signature":false,"impliedFormat":1},{"version":"5f3dc10ae646f375776b4e028d2bed039a93eebbba105694d8b910feebbe8b9c","signature":false,"impliedFormat":1},{"version":"bb0cd7862b72f5eba39909c9889d566e198fcaddf7207c16737d0c2246112678","signature":false,"impliedFormat":1},{"version":"4545c1a1ceca170d5d83452dd7c4994644c35cf676a671412601689d9a62da35","signature":false,"impliedFormat":1},{"version":"320f4091e33548b554d2214ce5fc31c96631b513dffa806e2e3a60766c8c49d9","signature":false,"impliedFormat":1},{"version":"a2d648d333cf67b9aeac5d81a1a379d563a8ffa91ddd61c6179f68de724260ff","signature":false,"impliedFormat":1},{"version":"d90d5f524de38889d1e1dbc2aeef00060d779f8688c02766ddb9ca195e4a713d","signature":false,"impliedFormat":1},{"version":"a3f41ed1b4f2fc3049394b945a68ae4fdefd49fa1739c32f149d32c0545d67f5","signature":false,"impliedFormat":1},{"version":"bad68fd0401eb90fe7da408565c8aee9c7a7021c2577aec92fa1382e8876071a","signature":false,"impliedFormat":1},{"version":"47699512e6d8bebf7be488182427189f999affe3addc1c87c882d36b7f2d0b0e","signature":false,"impliedFormat":1},{"version":"fec01479923e169fb52bd4f668dbeef1d7a7ea6e6d491e15617b46f2cacfa37d","signature":false,"impliedFormat":1},{"version":"8a8fb3097ba52f0ae6530ec6ab34e43e316506eb1d9aa29420a4b1e92a81442d","signature":false,"impliedFormat":1},{"version":"44e09c831fefb6fe59b8e65ad8f68a7ecc0e708d152cfcbe7ba6d6080c31c61e","signature":false,"impliedFormat":1},{"version":"1c0a98de1323051010ce5b958ad47bc1c007f7921973123c999300e2b7b0ecc0","signature":false,"impliedFormat":1},{"version":"4655709c9cb3fd6db2b866cab7c418c40ed9533ce8ea4b66b5f17ec2feea46a9","signature":false,"impliedFormat":1},{"version":"87affad8e2243635d3a191fa72ef896842748d812e973b7510a55c6200b3c2a4","signature":false,"impliedFormat":1},{"version":"ad036a85efcd9e5b4f7dd5c1a7362c8478f9a3b6c3554654ca24a29aa850a9c5","signature":false,"impliedFormat":1},{"version":"fedebeae32c5cdd1a85b4e0504a01996e4a8adf3dfa72876920d3dd6e42978e7","signature":false,"impliedFormat":1},{"version":"22b87e96a61c525464e115db0148593a861e77806fd37ab280e1903019a6e212","signature":false,"impliedFormat":1},{"version":"cdf21eee8007e339b1b9945abf4a7b44930b1d695cc528459e68a3adc39a622e","signature":false,"impliedFormat":1},{"version":"330896c1a2b9693edd617be24fbf9e5895d6e18c7955d6c08f028f272b37314d","signature":false,"impliedFormat":1},{"version":"1d9c0a9a6df4e8f29dc84c25c5aa0bb1da5456ebede7a03e03df08bb8b27bae6","signature":false,"impliedFormat":1},{"version":"84380af21da938a567c65ef95aefb5354f676368ee1a1cbb4cae81604a4c7d17","signature":false,"impliedFormat":1},{"version":"1af3e1f2a5d1332e136f8b0b95c0e6c0a02aaabd5092b36b64f3042a03debf28","signature":false,"impliedFormat":1},{"version":"30d8da250766efa99490fc02801047c2c6d72dd0da1bba6581c7e80d1d8842a4","signature":false,"impliedFormat":1},{"version":"03566202f5553bd2d9de22dfab0c61aa163cabb64f0223c08431fb3fc8f70280","signature":false,"impliedFormat":1},{"version":"9a01f12466488eccd8d9eafc8fecb9926c175a4bf4a8f73a07c3bcf8b3363282","signature":false,"impliedFormat":1},{"version":"b80f624162276f24a4ec78b8e86fbee80ca255938e12f8b58e7a8f1a6937120b","signature":false,"impliedFormat":1},{"version":"1de80059b8078ea5749941c9f863aa970b4735bdbb003be4925c853a8b6b4450","signature":false,"impliedFormat":1},{"version":"1d079c37fa53e3c21ed3fa214a27507bda9991f2a41458705b19ed8c2b61173d","signature":false,"impliedFormat":1},{"version":"5bf5c7a44e779790d1eb54c234b668b15e34affa95e78eada73e5757f61ed76a","signature":false,"impliedFormat":1},{"version":"5835a6e0d7cd2738e56b671af0e561e7c1b4fb77751383672f4b009f4e161d70","signature":false,"impliedFormat":1},{"version":"5c634644d45a1b6bc7b05e71e05e52ec04f3d73d9ac85d5927f647a5f965181a","signature":false,"impliedFormat":1},{"version":"4b7f74b772140395e7af67c4841be1ab867c11b3b82a51b1aeb692822b76c872","signature":false,"impliedFormat":1},{"version":"27be6622e2922a1b412eb057faa854831b95db9db5035c3f6d4b677b902ab3b7","signature":false,"impliedFormat":1},{"version":"b95a6f019095dd1d48fd04965b50dfd63e5743a6e75478343c46d2582a5132bf","signature":false,"impliedFormat":99},{"version":"c2008605e78208cfa9cd70bd29856b72dda7ad89df5dc895920f8e10bcb9cd0a","signature":false,"impliedFormat":99},{"version":"a61e739f0b2c0165086c77a28d7e4b58a2a8703c646cd1e1641788484afc6ff2","signature":false,"impliedFormat":99},{"version":"63a7595a5015e65262557f883463f934904959da563b4f788306f699411e9bac","signature":false,"impliedFormat":1},{"version":"9e40365afca304124bc53eb03412643abf074a1580e4dc279a7a16000d11f985","signature":false,"impliedFormat":1},{"version":"4ba137d6553965703b6b55fd2000b4e07ba365f8caeb0359162ad7247f9707a6","signature":false,"impliedFormat":1},{"version":"ceec3c81b2d81f5e3b855d9367c1d4c664ab5046dff8fd56552df015b7ccbe8f","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"4e18cfe14fa8602c7ff80cbbddb91e31608e5ae20bd361fe7e6a607706cb033c","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"a1219ee18b9282b4c6a31f1f0bcc9255b425e99363268ba6752a932cf76662f0","signature":false,"impliedFormat":1},{"version":"3dc14e1ab45e497e5d5e4295271d54ff689aeae00b4277979fdd10fa563540ae","signature":false,"impliedFormat":1},{"version":"1d63055b690a582006435ddd3aa9c03aac16a696fac77ce2ed808f3e5a06efab","signature":false,"impliedFormat":1},{"version":"b789bf89eb19c777ed1e956dbad0925ca795701552d22e68fd130a032008b9f9","signature":false,"impliedFormat":1},{"version":"f2b3bca04d1bfe583daae1e1f798c92ec24bb6693bd88d0a09ba6802dee362a8","signature":false},{"version":"efcf16cb4718f1920e579939dbd079ffaf64123895ba36b939a9f02d9890bc49","signature":false},{"version":"402e5c534fb2b85fa771170595db3ac0dd532112c8fa44fc23f233bc6967488b","signature":false,"impliedFormat":1},{"version":"8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","signature":false,"impliedFormat":1},{"version":"4d979e3c12ffb6497d2b1dc5613130196d986fff764c4526360c0716a162e7e7","signature":false,"impliedFormat":1},{"version":"e61df3640a38d535fd4bc9f4a53aef17c296b58dc4b6394fd576b808dd2fe5e6","signature":false,"impliedFormat":1},{"version":"80781460eca408fe8d2937d9fdbbb780d6aac35f549621e6200c9bee1da5b8fe","signature":false,"impliedFormat":1},{"version":"4719c209b9c00b579553859407a7e5dcfaa1c472994bd62aa5dd3cc0757eb077","signature":false,"impliedFormat":1},{"version":"7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","signature":false,"impliedFormat":1},{"version":"b9261ac3e9944d3d72c5ee4cf888ad35d9743a5563405c6963c4e43ee3708ca4","signature":false,"impliedFormat":1},{"version":"c84fd54e8400def0d1ef1569cafd02e9f39a622df9fa69b57ccc82128856b916","signature":false,"impliedFormat":1},{"version":"a022503e75d6953d0e82c2c564508a5c7f8556fad5d7f971372d2d40479e4034","signature":false,"impliedFormat":1},{"version":"2ed6489ef46eb61442d067c08e87e3db501c0bfb2837eee4041a27bf3e792bb0","signature":false,"impliedFormat":1},{"version":"644491cde678bd462bb922c1d0cfab8f17d626b195ccb7f008612dc31f445d2d","signature":false,"impliedFormat":1},{"version":"d60fe6d59d4e19ecc65359490b8535e359ca4b760d2cdb56897ca75d09d41ba3","signature":false,"impliedFormat":1},{"version":"f45a2a8b1777ecb50ed65e1a04bb899d4b676529b7921bd5d69b08573a00c832","signature":false,"impliedFormat":1},{"version":"774b783046ba3d473948132d28a69f52a295b2f378f2939304118ba571b1355e","signature":false,"impliedFormat":1},{"version":"b5734e05c787a40e4f9efe71f16683c5f7dc3bdb0de7c04440c855bd000f8fa7","signature":false,"impliedFormat":1},{"version":"14ba97f0907144771331e1349fdccb5a13526eba0647e6b447e572376d811b6f","signature":false,"impliedFormat":1},{"version":"2a771d907aebf9391ac1f50e4ad37952943515eeea0dcc7e78aa08f508294668","signature":false,"impliedFormat":1},{"version":"7165050eddaed878c2d2cd3cafcaf171072ac39e586a048c0603712b5555f536","signature":false,"impliedFormat":1},{"version":"b558c9a18ea4e6e4157124465c3ef1063e64640da139e67be5edb22f534f2f08","signature":false,"impliedFormat":1},{"version":"01374379f82be05d25c08d2f30779fa4a4c41895a18b93b33f14aeef51768692","signature":false,"impliedFormat":1},{"version":"b0dee183d4e65cf938242efaf3d833c6b645afb35039d058496965014f158141","signature":false,"impliedFormat":1},{"version":"c0bbbf84d3fbd85dd60d040c81e8964cc00e38124a52e9c5dcdedf45fea3f213","signature":false,"impliedFormat":1},{"version":"4b5fb184fb6893bca7d2ffdbc9328182b881ed4675f03f0ae24efc1cc6e565e1","signature":false},{"version":"b7ca2f47522d4ea41e65ff92c4c6dd9c4c8260da7c456a7631a9c88dc056b4d0","signature":false,"impliedFormat":1},{"version":"4f01e4d0959f9125b89e5737eb1ca2bfa69fd6b7d6126eba22feb8b505b00cde","signature":false,"impliedFormat":1},{"version":"4363a1adb9c77f2ed1ca383a41fbab1afadd35d485c018b2f84e834edde6a2c7","signature":false,"impliedFormat":1},{"version":"1d6458533adb99938d041a93e73c51d6c00e65f84724e9585e3cc8940b25523f","signature":false,"impliedFormat":1},{"version":"b0878fbd194bdc4d49fc9c42bfeeb25650842fe1412c88e283dc80854b019768","signature":false,"impliedFormat":1},{"version":"a892ea0b88d9d19281e99d61baba3155200acced679b8af290f86f695b589b16","signature":false,"impliedFormat":1},{"version":"03b42e83b3bcdf5973d28641d72b81979e3ce200318e4b46feb8347a1828cd5d","signature":false,"impliedFormat":1},{"version":"8a3d57426cd8fb0d59f6ca86f62e05dde8bfd769de3ba45a1a4b2265d84bac5a","signature":false,"impliedFormat":1},{"version":"afc6e1f323b476fdf274e61dab70f26550a1be2353e061ab34e6eed180d349b6","signature":false,"impliedFormat":1},{"version":"7c14483430d839976481fe42e26207f5092f797e1a4190823086f02cd09c113c","signature":false,"impliedFormat":1},{"version":"828a3bea78921789cbd015e968b5b09b671f19b1c14c4bbf3490b58fbf7d6841","signature":false,"impliedFormat":1},{"version":"69759c42e48938a714ee2f002fe5679a7ab56f0b5f29d571e4c31a5398d038fe","signature":false,"impliedFormat":1},{"version":"6e5e666fa6adeb60774b576084eeff65181a40443166f0a46ae9ba0829300fcb","signature":false,"impliedFormat":1},{"version":"1a4d43bdc0f2e240395fd204e597349411c1141dd08f5114c37d6268c3c9d577","signature":false,"impliedFormat":1},{"version":"874e58f8d945c7ac25599128a40ec9615aa67546e91ca12cbf12f97f6baf54ff","signature":false,"impliedFormat":1},{"version":"da2627da8d01662eb137ccd84af7ffa8c94cf2b2547d4970f17802324e54defc","signature":false,"impliedFormat":1},{"version":"07af06b740c01ed0473ebdd3f2911c8e4f5ebf4094291d31db7c1ab24ff559aa","signature":false,"impliedFormat":1},{"version":"ba1450574b1962fcf595fc53362b4d684c76603da5f45b44bc4c7eeed5de045b","signature":false,"impliedFormat":1},{"version":"b7903668ee9558d758c64c15d66a89ed328fee5ac629b2077415f0b6ca2f41bc","signature":false,"impliedFormat":1},{"version":"c7628425ee3076c4530b4074f7d48f012577a59f5ddade39cea236d6405c36ba","signature":false,"impliedFormat":1},{"version":"28c8aff998cc623ab0864a26e2eb1a31da8eb04e59f31fa80f02ec78eb225bcd","signature":false,"impliedFormat":1},{"version":"78d542989bdf7b6ba5410d5a884c0ab5ec54aa9ce46916d34267f885fcf65270","signature":false,"impliedFormat":1},{"version":"4d95060af2775a3a86db5ab47ca7a0ed146d1f6f13e71d96f7ac3b321718a832","signature":false,"impliedFormat":1},{"version":"6708cd298541a89c2abf66cceffc6c661f8ee31c013f98ddb58d2ec4407d0876","signature":false,"impliedFormat":1},{"version":"2e90928c29c445563409d89a834662c2ba6a660204fb3d4dc181914e77f8e29d","signature":false,"impliedFormat":1},{"version":"84be1b8b8011c2aab613901b83309d017d57f6e1c2450dfda11f7b107953286a","signature":false,"impliedFormat":1},{"version":"d7af890ef486b4734d206a66b215ebc09f6743b7fb2f3c79f2fb8716d1912d27","signature":false,"impliedFormat":1},{"version":"7e82c1d070c866eaf448ac7f820403d4e1b86112de582901178906317efc35ad","signature":false,"impliedFormat":1},{"version":"c5c4f547338457f4e8e2bec09f661af14ee6e157c7dc711ccca321ab476dbc6d","signature":false,"impliedFormat":1},{"version":"223e233cb645b44fa058320425293e68c5c00744920fc31f55f7df37b32f11ad","signature":false,"impliedFormat":1},{"version":"1394fe4da1ab8ab3ea2f2b0fcbfd7ccbb8f65f5581f98d10b037c91194141b03","signature":false,"impliedFormat":1},{"version":"086d9e59a579981bdf4f3bfa6e8e893570e5005f7219292bf7d90c153066cdfc","signature":false,"impliedFormat":1},{"version":"1ea59d0d71022de8ea1c98a3f88d452ad5701c7f85e74ddaa0b3b9a34ed0e81c","signature":false,"impliedFormat":1},{"version":"cd66a32437a555f7eb63490509a038d1122467f77fe7a114986186d156363215","signature":false,"impliedFormat":1},{"version":"f53d243499acfacc46e882bbf0bf1ae93ecea350e6c22066a062520b94055e47","signature":false,"impliedFormat":1},{"version":"65522e30a02d2720811b11b658c976bff99b553436d99bafd80944acba5b33b4","signature":false,"impliedFormat":1},{"version":"76b3244ec0b2f5b09b4ebf0c7419260813820f128d2b592b07ea59622038e45c","signature":false,"impliedFormat":1},{"version":"6825eb4d1c8beb77e9ed6681c830326a15ebf52b171f83ffbca1b1574c90a3b0","signature":false,"impliedFormat":1},{"version":"1741975791f9be7f803a826457273094096e8bba7a50f8fa960d5ed2328cdbcc","signature":false,"impliedFormat":1},{"version":"6ec0d1c15d14d63d08ccb10d09d839bf8a724f6b4b9ed134a3ab5042c54a7721","signature":false,"impliedFormat":1},{"version":"043a3b03dcb40d6b87d36ad26378c80086905232ee5602f067eaaed21baa42ef","signature":false,"impliedFormat":1},{"version":"b61028c5e29a0691e91a03fa2c4501ea7ed27f8fa536286dc2887a39a38b6c44","signature":false,"impliedFormat":1},{"version":"2c3bcb8a4ea2fcb4208a06672af7540dd65bf08298d742f041ffa6cbe487cf80","signature":false,"impliedFormat":1},{"version":"1cce0460d75645fc40044c729da9a16c2e0dabe11a58b5e4bfd62ac840a1835d","signature":false,"impliedFormat":1},{"version":"c784a9f75a6f27cf8c43cc9a12c66d68d3beb2e7376e1babfae5ae4998ffbc4a","signature":false,"impliedFormat":1},{"version":"feb4c51948d875fdbbaa402dad77ee40cf1752b179574094b613d8ad98921ce1","signature":false,"impliedFormat":1},{"version":"a6d3984b706cefe5f4a83c1d3f0918ff603475a2a3afa9d247e4114f18b1f1ef","signature":false,"impliedFormat":1},{"version":"b457d606cabde6ea3b0bc32c23dc0de1c84bb5cb06d9e101f7076440fc244727","signature":false,"impliedFormat":1},{"version":"9d59919309a2d462b249abdefba8ca36b06e8e480a77b36c0d657f83a63af465","signature":false,"impliedFormat":1},{"version":"9faa2661daa32d2369ec31e583df91fd556f74bcbd036dab54184303dee4f311","signature":false,"impliedFormat":1},{"version":"ba2e5b6da441b8cf9baddc30520c59dc3ab47ad3674f6cb51f64e7e1f662df12","signature":false,"impliedFormat":1},{"version":"66eb7e876b49beff61e33f746f87b6e586382b49f3de21d54d41313aadb27ee6","signature":false,"impliedFormat":1},{"version":"69e8dc4b276b4d431f5517cd6507f209669691c9fb2f97933e7dbd5619fd07b7","signature":false,"impliedFormat":1},{"version":"361a647c06cec2e7437fa5d7cdf07a0dcce3247d93fbf3b6de1dc75139ff5700","signature":false,"impliedFormat":1},{"version":"fe5726291be816d0c89213057cd0c411bb9e39e315ed7e1987adc873f0e26856","signature":false,"impliedFormat":1},{"version":"1b76990de23762eb038e8d80b3f9c810974a7ed2335caa97262c5b752760f11a","signature":false,"impliedFormat":1},{"version":"5e050e05fe99cd06f2d4ad70e73aa4a72961d0df99525e9cad4a78fa588f387b","signature":false,"impliedFormat":1},{"version":"4ff327e8b16da9d54347b548f85675e35a1dc1076f2c22b2858e276771010dd2","signature":false,"impliedFormat":1},{"version":"f767787945b5c51c0c488f50b3b3aeb2804dfd2ddafcb61125d8d8857c339f5a","signature":false,"impliedFormat":1},{"version":"14ab21a9aeff5710d1d1262459a6d49fb42bed835aa0f4cfc36b75aa36faddcd","signature":false,"impliedFormat":1},{"version":"ba3c4682491b477c63716864a035b2cfdd727e64ec3a61f2ca0c9af3c0116cfd","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"b222d32836d745e1e021bb10f6a0f4a562dd42206203060a8539a6b9f16523f0","signature":false,"impliedFormat":1},{"version":"c562da7ea766d75f88feca1c52d4d7efb68d680b06781cce008bc40ab393bb86","signature":false,"impliedFormat":1},{"version":"6d575d93896c413b308c3726eed99ddd17e821a00bdd2cc5929510b46fe64de4","signature":false,"impliedFormat":1},{"version":"1b24c147be6b6fdd6114dba5645e78c24ee6d489e13d0dc1de8d7871a27ab689","signature":false},{"version":"a5fda06f31e62a471cd001e7664797a043ca6d6bdfa6e9d3da8a18d01957ea7e","signature":false,"impliedFormat":1},{"version":"4e1bd41715ea116822f19af83cb6957aa798ead34dae809e2fc77e96da97cf6a","signature":false,"impliedFormat":1},{"version":"d5eb5865d4cbaa9985cc3cfb920b230cdcf3363f1e70903a08dc4baab80b0ce1","signature":false,"impliedFormat":1},{"version":"51ebca098538b252953b1ef83c165f25b52271bfb6049cd09d197dddd4cd43c5","signature":false,"impliedFormat":1},{"version":"d3cfde44f8089768ebb08098c96d01ca260b88bccf238d55eee93f1c620ff5a5","signature":false,"impliedFormat":1},{"version":"950f2cd81e30d0ecdf70ab78fcfd85fc5bb28b45ebb08c860daff059feea412e","signature":false,"impliedFormat":1},{"version":"3a5af4fba7b27b815bb40f52715aedebaa4b371da3e5a664e7e0798c9b638825","signature":false,"impliedFormat":1},{"version":"8485b6da53ec35637d072e516631d25dae53984500de70a6989058f24354666f","signature":false,"impliedFormat":1},{"version":"ebe80346928736532e4a822154eb77f57ef3389dbe2b3ba4e571366a15448ef2","signature":false,"impliedFormat":1},{"version":"49c632082dc8a916353288d3d8b2dc82b3471794249a381d090d960c8ceac908","signature":false,"impliedFormat":1},{"version":"f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","signature":false,"impliedFormat":1},{"version":"71addb585c2db7b8e53dc1b0bcfa58c6c67c6e4fa2b968942046749d66f82e7e","signature":false,"impliedFormat":1},{"version":"c76b0c5727302341d0bdfa2cc2cee4b19ff185b554edb6e8543f0661d8487116","signature":false,"impliedFormat":1},{"version":"25b3f581e12ede11e5739f57a86e8668fbc0124f6649506def306cad2c59d262","signature":false,"impliedFormat":1},{"version":"e703cfacb9965c4d4155346c65a0091ecded90ea98874ed6b3f36286577c4dde","signature":false,"impliedFormat":1},{"version":"f5ef066942e4f0bd98200aa6a6694b831e73200c9b3ade77ad0aa2409e8fe1b1","signature":false,"impliedFormat":1},{"version":"b9e99cd94f4166a245f5158f7286c05406e2a4c694619bceb7a4f3519d1d768e","signature":false,"impliedFormat":1},{"version":"5568d7c32e5cf5f35e092649f4e5e168c3114c800b1d7545b7ae5e0415704802","signature":false,"impliedFormat":1},{"version":"5390b544b2a8d9dc200a96f8812acdc8dab31d62a5b7337cb701636034528510","signature":false},{"version":"4650cdf2dccd39a597ee7e5d17f5c22d65b1cf98bdb8d9651d080c4618c6673e","signature":false},{"version":"332680a9475bd631519399f9796c59502aa499aa6f6771734eec82fa40c6d654","signature":false,"impliedFormat":1},{"version":"911484710eb1feaf615cb68eb5875cbfb8edab2a032f0e4fe5a7f8b17e3a997c","signature":false,"impliedFormat":1},{"version":"d83f3c0362467589b3a65d3a83088c068099c665a39061bf9b477f16708fa0f9","signature":false,"impliedFormat":1},{"version":"4fc05cd35f313ea6bc2cd52bfd0d3d1a79c894aeaeffd7c285153cb7d243f19b","signature":false,"impliedFormat":1},{"version":"29994a97447d10d003957bcc0c9355c272d8cf0f97143eb1ade331676e860945","signature":false,"impliedFormat":1},{"version":"6865b4ef724cb739f8f1511295f7ce77c52c67ff4af27e07b61471d81de8ecfc","signature":false,"impliedFormat":1},{"version":"9cddf06f2bc6753a8628670a737754b5c7e93e2cfe982a300a0b43cf98a7d032","signature":false,"impliedFormat":1},{"version":"3f8e68bd94e82fe4362553aa03030fcf94c381716ce3599d242535b0d9953e49","signature":false,"impliedFormat":1},{"version":"63e628515ec7017458620e1624c594c9bd76382f606890c8eebf2532bcab3b7c","signature":false,"impliedFormat":1},{"version":"355d5e2ba58012bc059e347a70aa8b72d18d82f0c3491e9660adaf852648f032","signature":false,"impliedFormat":1},{"version":"0c543e751bbd130170ed4efdeca5ff681d06a99f70b5d6fe7defad449d08023d","signature":false,"impliedFormat":1},{"version":"c301dded041994ed4899a7cf08d1d6261a94788da88a4318c1c2338512431a03","signature":false,"impliedFormat":1},{"version":"192be331d8be6eed03af9b0ee83c21e043c7ca122f111282b1b1bdb98f2a7535","signature":false,"impliedFormat":1},{"version":"ded3d0fb8ac3980ae7edcc723cc2ad35da1798d52cceff51c92abe320432ceeb","signature":false,"impliedFormat":1},{"version":"ed7f0e3731c834809151344a4c79d1c4935bf9bc1bd0a9cc95c2f110b1079983","signature":false,"impliedFormat":1},{"version":"d4886d79f777442ac1085c7a4fe421f2f417aa70e82f586ca6979473856d0b09","signature":false,"impliedFormat":1},{"version":"ed849d616865076f44a41c87f27698f7cdf230290c44bafc71d7c2bc6919b202","signature":false,"impliedFormat":1},{"version":"9a0a0af04065ddfecc29d2b090659fce57f46f64c7a04a9ba63835ef2b2d0efa","signature":false,"impliedFormat":1},{"version":"10297d22a9209a718b9883a384db19249b206a0897e95f2b9afeed3144601cb0","signature":false,"impliedFormat":1},{"version":"8e335bc47365e92f689795a283c77b4b8d4d9c42c5d607d1327f88c876e4e85d","signature":false,"impliedFormat":1},{"version":"34d206f6ba993e601dade2791944bdf742ab0f7a8caccc661106c87438f4f904","signature":false,"impliedFormat":1},{"version":"05ca49cc7ba9111f6c816ecfadb9305fffeb579840961ee8286cc89749f06ebd","signature":false,"impliedFormat":1},{"version":"70e345d53cc00be14d6f3024838bbff3ef0613d56b71ae3f796d7b2a0d473b07","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"1029f64b770023b6310217b242771911e83bb493ac30030a87ece8356e44d1ec","signature":false},{"version":"4454b4568e85cb2a28f8b18d0b4db82e484b9e9eda063a70359cf7be2735a542","signature":false},{"version":"6967cb2134ca993fd345a4afe520fe1abcfb55e9eea37251d2132066bc17c7b7","signature":false},{"version":"6246fd840bfc291a91d5d18a6181396e481d79e3bfb79bd2ff8044254e99c2f3","signature":false},{"version":"1620e2457fde9c5fc787d4bf2376c2c3bdc9340bfb8240ca7dcea922f56d6ecc","signature":false},{"version":"993abff70852d9db679943d41745e94eb9b195094ffdaf4a1377065b6582e570","signature":false},{"version":"a4654bee8eff22faae9df0adac022d5d09809ef299cfadb7f1dda139755850e5","signature":false},{"version":"373a0517f44948e51a0714296e9aa55f5fd740f69ded023e51099b96d7030b5d","signature":false},{"version":"50df3be068c06c9eb8b7b48c0fd83b80a0b91d4d612249dbf1f17253bb3ee0a3","signature":false},{"version":"7a10762e3f1bedc2a4e22e55ed115dffed7dbf7cd1c284cc86608f4cfc53f103","signature":false},{"version":"94db70314a43bd853e7032f2d25e3bdf6ab225f0882d1aab216968dba64a9194","signature":false},{"version":"db2656836b6b41a13caae8a40e8edfe40b7392f3ccf5376a2cebd9a74b991e58","signature":false},{"version":"cd69b838906cac5e1664033c197285db5bb5fe1aa1344c8c30abcd8156d90852","signature":false},{"version":"a70b3c693b5f9b89311902dfa4c0a412f425a8919df4826231d40b38a1f4f948","signature":false},{"version":"d98ae787da93cb3f070fceccc3a046cf4a05c3800d9d4258abf268a2688588a5","signature":false},{"version":"525d4949ba6303b6ce94b61b38697f4f82234761469998fb3b22b91aebb0fcc5","signature":false,"impliedFormat":1},{"version":"85d3aa95b0086752d2f7784d2bdaeb38f99c3cf6c35bee861702beb68556cb9e","signature":false,"impliedFormat":1},{"version":"a995fd088f0ad2dea9c0835584ac467c77a29db6dc77120d78b38400e1df1a36","signature":false,"impliedFormat":1},{"version":"ed05a63b6791c3bdd976eb8fb121bd5fb9ca6466b845519397b48b26f4876164","signature":false},{"version":"c1a44418b7e3f9381e55dea86cc32b26ec3d5ccf6510102716aaa55023919f38","signature":false,"impliedFormat":99},{"version":"112dc656e303284218a10590690a7cd2ca633a82f7c00e10601b4b57aa027e9d","signature":false},{"version":"4ae3781c006c046344783635fee083917705d3732ec7dc0112ecba532da033bd","signature":false},{"version":"0a9938da5746c2a9363fa8b2e6ae4149e7d2f6604cee6107bdc98db7794915c0","signature":false},{"version":"a79b96cec4a78001030d1472d0e2980852d702eb538069106cd6de2b29610442","signature":false},{"version":"6053b067e7448c75891413b7cceef620689a3bd39cffa7fd09792011b95092c3","signature":false},{"version":"3ad2be6534b80b83d4d104ffc3b648151d0da0a606873596e30c86b218e8a123","signature":false},{"version":"50772c991f56f0d0699d082126a883958553b9eef2f84a9a9f06ff38eeaf116d","signature":false,"affectsGlobalScope":true},{"version":"07fcc9be98e12bd2f0f71a501a9bfbe2e53d38c50e8a5e84223fdd05bd8749c5","signature":false,"impliedFormat":1},{"version":"8c724ec27deda8f7ecdca0f22d9bb8c97a4507500ec645f49dea9c73184c2512","signature":false,"impliedFormat":1},{"version":"69cee577d9ccb421eccf367649d5986a478582e916f3411fcf54af49e01ead55","signature":false},{"version":"20154f433b4399b5261ea34d5af0aa77208d238c9b00903919bad3235c854f7e","signature":false},{"version":"e52542d1fafa7bf9d0004c726e4de8604780fe1572cdf052705a92578c28f508","signature":false},{"version":"d4609b9f1797a85855602a70a891004d97c8ea998c5ac104356f43bcb32864bb","signature":false},{"version":"ecb9ededbcc905f07aad1a3939d2bdc4634f02dd409660fe9098fbfc48585515","signature":false},{"version":"152b8a358dc064cd8223b0755ed3c26e8b01ec039325669d6f2423cb8ca4da4c","signature":false},{"version":"5962aaec871609fb6d4ec1d7472f8f1fbc3d31b69ade09e3331eea5eb485590a","signature":false},{"version":"55e8885dce1597e57905fee8c87137ff8cd465053c51a5b7810cf8008c6b3301","signature":false},{"version":"d1c297ede5a2512e1a657972a0cece75fc3cb0cd808dc6e78a256d7f2388fffb","signature":false},{"version":"e3857c676a2d9c701c79f4148c28ae18e0e23fae91e6d8d6913c3ef3daeff6ac","signature":false},{"version":"d37bd0594311047ac1e8bc555b8fddb7b96764b064eaf66fb3c94303f36e28be","signature":false},{"version":"6a26f325206210c40baadb2e461e59d11650f689bc3fea0d3ea427c2c0dc0270","signature":false},{"version":"04899fedbf9a421c79e8f9085b633e5ec57856dc42bf44d9cc5e832cf2a1fa00","signature":false},{"version":"4a826d5fa6c7b62a9b9ba13cfd0ebbb4b2ca50510bdc1ea6a5cd5c438eda2b99","signature":false},{"version":"f025a8b117fa2515c1b4b5f88dad7535617cd45b7b3c5b0c2b9323d24897d614","signature":false},{"version":"c17c75040bed69665a8092c29ef6cd1fab62f76385ebe0f0f1d9cd684fbaa2ea","signature":false},{"version":"131286907bc11d757065966d2e3626b717eb36e8c1e3a4558fc5922ed374c956","signature":false},{"version":"6f332344daefcd72c584edf80f5b89a0f700e3bb17ec6b8b71739ac6e65cf17b","signature":false},{"version":"b40885a4e39fb67eb251fb009bf990f3571ccf7279dccad26c2261b4e5c8ebcd","signature":false,"impliedFormat":1},{"version":"2d0e63718a9ab15554cca1ef458a269ff938aea2ad379990a018a49e27aadf40","signature":false,"impliedFormat":1},{"version":"530e5c7e4f74267b7800f1702cf0c576282296a960acbdb2960389b2b1d0875b","signature":false,"impliedFormat":1},{"version":"1c483cc60a58a0d4c9a068bdaa8d95933263e6017fbea33c9f99790cf870f0a8","signature":false,"impliedFormat":1},{"version":"07863eea4f350458f803714350e43947f7f73d1d67a9ddf747017065d36b073a","signature":false,"impliedFormat":1},{"version":"396c2c14fa408707235d761a965bd84ce3d4fc3117c3b9f1404d6987d98a30d6","signature":false,"impliedFormat":1},{"version":"9ae7df67c30dc5f52b7b21e8bb36fd9ff05e7ed10e514e2d9ed879b4547c4cd3","signature":false,"impliedFormat":1},{"version":"5d3e656baf210f702e4006949a640730d6aef8d6afc3de264877e0ff76335f39","signature":false,"impliedFormat":1},{"version":"a42db31dacd0fa00d7b13608396ca4c9a5494ae794ad142e9fb4aa6597e5ca54","signature":false,"impliedFormat":1},{"version":"4d2b263907b8c03c5b2df90e6c1f166e9da85bd87bf439683f150afc91fce7e7","signature":false,"impliedFormat":1},{"version":"c70e38e0f30b7c0542af9aa7e0324a23dd2b0c1a64e078296653d1d3b36fa248","signature":false,"impliedFormat":1},{"version":"b7521b70b7fbcf0c3d83d6b48404b78b29a1baead19eb6650219e80fd8dcb6e1","signature":false,"impliedFormat":1},{"version":"b7b881ced4ed4dee13d6e0ccdb2296f66663ba6b1419767271090b3ff3478bb9","signature":false,"impliedFormat":1},{"version":"b70bd59e0e52447f0c0afe7935145ef53de813368f9dd02832fa01bb872c1846","signature":false,"impliedFormat":1},{"version":"63c36aa73242aa745fae813c40585111ead225394b0a0ba985c2683baa6b0ef9","signature":false,"impliedFormat":1},{"version":"3e7ffc7dd797e5d44d387d0892bc288480493e73dcab9832812907d1389e4a98","signature":false,"impliedFormat":1},{"version":"db011ec9589fd51995cbd0765673838e38e6485a6559163cc53dcf508b480909","signature":false,"impliedFormat":1},{"version":"e1a4253f0cca15c14516f52a2ad36c3520b140b5dfb3b3880a368cd75d45d6d9","signature":false,"impliedFormat":1},{"version":"159af954f2633a12fdee68605009e7e5b150dbeb6d70c46672fd41059c154d53","signature":false,"impliedFormat":1},{"version":"a1b36a1f91a54daf2e89e12b834fa41fb7338bc044d1f08a80817efc93c99ee5","signature":false,"impliedFormat":1},{"version":"8bb4a5b632dd5a868f3271750895cb61b0e20cff82032d87e89288faee8dd6e2","signature":false,"impliedFormat":1},{"version":"55ac6eb880722b04fed6b1ad0bae86f57856c7985575ba76a31013515e009316","signature":false,"impliedFormat":1},{"version":"017de6fdabea79015d493bf71e56cbbff092525253c1d76003b3d58280cd82a0","signature":false,"impliedFormat":1},{"version":"ab9ea2596cb7800bd79d1526930c785606ec4f439c275adbca5adc1ddf87747d","signature":false,"impliedFormat":1},{"version":"6b7fcccc9beebd2efadc51e969bf390629edce4d0a7504ee5f71c7655c0127b7","signature":false,"impliedFormat":1},{"version":"6745b52ab638aaf33756400375208300271d69a4db9d811007016e60a084830f","signature":false,"impliedFormat":1},{"version":"90ee466f5028251945ee737787ee5e920ee447122792ad3c68243f15efa08414","signature":false,"impliedFormat":1},{"version":"02ea681702194cfc62558d647243dbd209f19ee1775fb56f704fe30e2db58e08","signature":false,"impliedFormat":1},{"version":"1d567a058fe33c75604d2f973f5f10010131ab2b46cf5dddd2f7f5ee64928f07","signature":false,"impliedFormat":1},{"version":"5af5ebe8c9b84f667cd047cfcf1942d53e3b369dbd63fbea2a189bbf381146c6","signature":false,"impliedFormat":1},{"version":"a64e1daa4fc263dff88023c9e78bf725d7aba7def44a89a341c74c647afe80cc","signature":false,"impliedFormat":1},{"version":"f444cfd9eb5bcbc86fba3d7ca76d517e7d494458b4f04486090c6ccd40978ce7","signature":false,"impliedFormat":1},{"version":"5099990c9e11635f284bde098176e2e27e5afc562d98f9e4258b57b2930c5ea6","signature":false,"impliedFormat":1},{"version":"cf7dc8abfb13444c1756bbac06b2dd9f03b5bc90c0ebc1118796dae1981c12e6","signature":false,"impliedFormat":1},{"version":"3cc594d4e993618dc6a84d210b96ac1bd589a5a4b772fd2309e963132cb73cca","signature":false,"impliedFormat":1},{"version":"f189f28612dfeac956380eccea5be2f44dcac3d9a06cf55d41d23b7e99959387","signature":false,"impliedFormat":1},{"version":"b3f82681e61a3e1f4592c1554361a858087cd04ee3112ce73186fc79deeeabde","signature":false,"impliedFormat":1},{"version":"e647d13de80e1b6b4e1d94363ea6f5f8f77dfb95d562748b488a7248af25aabf","signature":false,"impliedFormat":1},{"version":"1567dbd347b2917ba5a386f713e45c346a15b0e1e408d4a83f496d6a3481768b","signature":false,"impliedFormat":1},{"version":"219a25474e58a8161b242776856ec5f6960839b63e74809445e51cadbfc18096","signature":false,"impliedFormat":1},{"version":"2f77672836c646d02dd1fb6c8d24e9cd8c63131c5e9c37e72f30856b1d740e62","signature":false,"impliedFormat":1},{"version":"6309a45fc3c03d3c4d56228e995d51974f53009a842374695b34f3607877e5a3","signature":false,"impliedFormat":1},{"version":"bef94eba81ae2c09059c0d9abdb1ae1b7090314f70550f3c8cd5d7ead4a4f212","signature":false,"impliedFormat":1},{"version":"48b787ad458be9b524fa5fdfef34f68798074132d4b8cfe6a6fe9c2bf334c532","signature":false,"impliedFormat":1},{"version":"37280465f8f9b2ea21d490979952b18b7f4d1f0d8fab2d627618fb2cfa1828e3","signature":false,"impliedFormat":1},{"version":"cefa33b76df8d9af73edcf02d9b03effbeec54b8200e97669ad454d770aee9ba","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"3f3f85dc43cb93c5a797f1ff0fa948d0e17843a443ae11a20cc032ccdf1b9997","signature":false,"impliedFormat":1},{"version":"581843e855d92557cbe9dfe242de4e53badae5e9096ca593b50788f7c89c37f2","signature":false,"impliedFormat":1},{"version":"869010bc679df668137cb3b78a3cb8196e97acf285208a57f6156ceac894a2f7","signature":false,"impliedFormat":1},{"version":"bcae62618c23047e36d373f0feac5b13f09689e4cd08e788af13271dbe73a139","signature":false,"impliedFormat":1},{"version":"2c49c6d7da43f6d21e2ca035721c31b642ebf12a1e5e64cbf25f9e2d54723c36","signature":false,"impliedFormat":1},{"version":"5ae003688265a1547bbcb344bf0e26cb994149ac2c032756718e9039302dfac8","signature":false,"impliedFormat":1},{"version":"02cf4ede9c240d5bf0d9ef2cb9454db2efe7db36692c7fe7ad53d92a08c26b8f","signature":false,"impliedFormat":1},{"version":"a86053981218db1594bd4839bde0fb998e342ecf04967622495434a8f52a4041","signature":false,"impliedFormat":1},{"version":"5c317403752871838140f70879b09509e37422e92e7364b4363c7b179310ee44","signature":false,"impliedFormat":1},{"version":"7b270dc53f35dd0b44bfa619ad4d351fffd512e14053c3688323ed007eda3f6d","signature":false,"impliedFormat":1},{"version":"3bfde94a5dab40b51ff3511a41cfb706d57f9584a15e938d243a0e36861e86fe","signature":false,"impliedFormat":1},{"version":"e86ad029224d4f2af3e188be8b5e9badf8c7083247572069bac7bd2193131fc7","signature":false,"impliedFormat":1},{"version":"057cac07c7bc5abdcfba44325fcea4906dff7919a3d7d82d4ec40f8b4c90cf2f","signature":false,"impliedFormat":1},{"version":"d94034601782f828aa556791279c86c37f09f7034a2ab873eefe136f77a6046b","signature":false,"impliedFormat":1},{"version":"105ae3dd61531488194f412386ba8c2b786f1389ac3415098cc47c712800da29","signature":false,"impliedFormat":1},{"version":"e3acb4eb63b7fc659d7c2ac476140f7c85842a516b98d0e8698ba81650a1abd4","signature":false,"impliedFormat":1},{"version":"4ee905052d0879e667444234d1462540107789cb1c80bd26e328574e4f3e4724","signature":false,"impliedFormat":1},{"version":"80e71af1e94ba805e791b9e8e03ff18dec32e8f483db3dca958441d284047d59","signature":false,"impliedFormat":1},{"version":"3448e2fa1ae3a52d50e1e82e50b6ae5b8bd911004a8824b0c6b26c8cdcd15fec","signature":false,"impliedFormat":1},{"version":"c0c0b22cefd1896b92d805556fcabda18720d24981b8cb74e08ffea1f73f96c2","signature":false,"impliedFormat":1},{"version":"ceec94a0cd2b3a121166b6bfe968a069f33974b48d9c3b45f6158e342396e6b2","signature":false,"impliedFormat":1},{"version":"49e35a90f8bd2aa4533286d7013d9c9ff4f1d9f2547188752c4a88c040e42885","signature":false,"impliedFormat":1},{"version":"09043c4926b04870c1fdfdea3f5fcf40a1c9912304a757326e505bebe04a6d5c","signature":false,"impliedFormat":1},{"version":"cc5dfb7ddc9ab17cf793506f342fffdcb2b6d1d7a9c0e7c8339772fee42b7f91","signature":false,"impliedFormat":1},{"version":"88c34f554b5926f4988d9ff26f84c4f18a4d010f261dac2ed52055eefb9e3c65","signature":false,"impliedFormat":1},{"version":"a7aec47aa991ef5080126c3e2732a8488c13fd846099f89b0d24dc35c0f790d3","signature":false,"impliedFormat":1},{"version":"35085777eb17b745911d00a75be17096fe28a8766081cbd644ef15b4ba756aa2","signature":false,"impliedFormat":1},{"version":"cb498c53a9d35ac1cf9a3515f3835d48b4626a612cf7540c5bfb99542c9ab1a5","signature":false,"impliedFormat":1},{"version":"0ace3010fe4a0e820155e3ccb0172375a01162e528ffc22eec2fa33d697bff24","signature":false,"impliedFormat":1},{"version":"a1b64f86e1279835a2edc6125121dff74b04ef116d0230c20995b013ba37150e","signature":false,"impliedFormat":1},{"version":"6ab2ab437a8f4fba95a7a410794fae5eb2a25b14b9778af588b5e7d73c51dfd6","signature":false,"impliedFormat":1},{"version":"a11288edc8161f664148ea7d56101517e380335f5fa1a94408db86efce025bba","signature":false,"impliedFormat":1},{"version":"eb45a1782ef50423c1ffac4d2a89c60004f4e2d25ed8e7dcb9e24e6cf984ccdb","signature":false,"impliedFormat":1},{"version":"07c333db8a26594bf2b80cf7b0ef0a83c42c28cb31cc727040f20061558df819","signature":false,"impliedFormat":1},{"version":"e5151e18c3e8d5d2f83ac60a4f4117f9bee54f643b64335858ceaa818e35d364","signature":false,"impliedFormat":1},{"version":"b52b0da52d2fee96d855936e9f3de93ea57e893677e776a46fc6eca96373d3be","signature":false,"impliedFormat":1},{"version":"03b7428a52323f9d455380f00da4f4b0798acb4f5f1c77525b48cb97ad9bc83c","signature":false,"impliedFormat":1},{"version":"6c3cf6de27512969bf59a541bd8e845ba1233e101e14c844e87d81e921fffa53","signature":false,"impliedFormat":1},{"version":"19207ec935fb6b0c022cdfd038ceffef1c948510394f249bde982170d4e57067","signature":false,"impliedFormat":1},{"version":"5276cc934ad4e253f53cf2331268451a66ebf711a027e71f4535af8642055bf8","signature":false,"impliedFormat":1},{"version":"185c55e63eec9da8263b4b1cf447d2ebe2fd7b892e5a0a5571e7e97b3c767bbb","signature":false,"impliedFormat":1},{"version":"f842cd4c63a3b077cf04f7d37ca163ab716f70f60ca5c5eed5c16b09a4c50c3a","signature":false,"impliedFormat":1},{"version":"00abe3d3cd26fcaf76ffeb6fde4ff7d6c8ad8154ac6c5ba41e05b4572fcd152b","signature":false,"impliedFormat":1},{"version":"49b3c93485a6c4cbc837b1959b07725541da298ef24d0e9e261f634a3fd34935","signature":false,"impliedFormat":1},{"version":"abf39cc833e3f8dfa67b4c8b906ac8d8305cf1050caed6c68b69b4b88f3f6321","signature":false,"impliedFormat":1},{"version":"dbbe2af77238c9c899b5369eca17bc950e4b010fa00bc2d340b21fa1714b8d54","signature":false,"impliedFormat":1},{"version":"c73d2f60d717b051a01b24cb97736e717d76863e7891eca4951e9f7f3bf6a0e6","signature":false,"impliedFormat":1},{"version":"2b79620ef917502a3035062a2fd0e247d21a22fef2b2677a2398b1546c93fb64","signature":false,"impliedFormat":1},{"version":"a54f60678f44415d01a810ca27244e04b4dde3d9b6d9492874262f1a95e56c7d","signature":false,"impliedFormat":1},{"version":"84058607d19ac1fdef225a04832d7480478808c094cbaedbceda150fa87c7e25","signature":false,"impliedFormat":1},{"version":"415d60633cf542e700dc0d6d5d320b31052efbdc519fcd8b6b30a1f992ef6d5c","signature":false,"impliedFormat":1},{"version":"901c640dced9243875645e850705362cb0a9a7f2eea1a82bb95ed53d162f38dd","signature":false,"impliedFormat":1},{"version":"ebb0d92294fe20f62a07925ce590a93012d6323a6c77ddce92b7743fa1e9dd20","signature":false,"impliedFormat":1},{"version":"b499f398b4405b9f073b99ad853e47a6394ae6e1b7397c5d2f19c23a4081f213","signature":false,"impliedFormat":1},{"version":"ef2cbb05dee40c0167de4e459b9da523844707ab4b3b32e40090c649ad5616e9","signature":false,"impliedFormat":1},{"version":"068a22b89ecc0bed7182e79724a3d4d3d05daacfe3b6e6d3fd2fa3d063d94f44","signature":false,"impliedFormat":1},{"version":"3f2009badf85a479d3659a735e40607d9f00f23606a0626ae28db3da90b8bf52","signature":false,"impliedFormat":1},{"version":"2c70425bd71c6c25c9765bc997b1cc7472bdc3cb4db281acda4b7001aec6f86f","signature":false,"impliedFormat":1},{"version":"8ed892f4b45c587ed34be88d4fc24cb9c72d1ed8675e4b710f7291fcba35d22a","signature":false,"impliedFormat":1},{"version":"d32b5a3d39b581f0330bd05a5ef577173bd1d51166a7fff43b633f0cc8020071","signature":false,"impliedFormat":1},{"version":"3f6af667357384c1f582ef006906ba36668dd87abe832f4497fffb315c160be9","signature":false,"impliedFormat":1},{"version":"363dd28f6a218239fbd45bbcc37202ad6a9a40b533b3e208e030137fa8037b03","signature":false,"impliedFormat":1},{"version":"c6986e90cf95cf639f7f55d8ca49c7aaf0d561d47e6d70ab6879e40f73518c8d","signature":false,"impliedFormat":1},{"version":"bb9918dbd22a2aa56203ed38b7e48d171262b09ce690ff39bae8123711b8e84a","signature":false,"impliedFormat":1},{"version":"1518707348d7bd6154e30d49487ba92d47b6bd9a32d320cd8e602b59700b5317","signature":false,"impliedFormat":1},{"version":"ede55f9bac348427d5b32a45ad7a24cc6297354289076d50c68f1692add61bce","signature":false,"impliedFormat":1},{"version":"d53a7e00791305f0bd04ea6e4d7ea9850ccc3538877f070f55308b3222f0a793","signature":false,"impliedFormat":1},{"version":"4ea5b45c6693288bb66b2007041a950a9d2fe765e376738377ba445950e927f6","signature":false,"impliedFormat":1},{"version":"7f25e826bfabe77a159a5fec52af069c13378d0a09d2712c6373ff904ba55d4b","signature":false,"impliedFormat":1},{"version":"ea2de1a0ec4c9b8828154a971bfe38c47df2f5e9ec511f1a66adce665b9f04b0","signature":false,"impliedFormat":1},{"version":"63c0926fcd1c3d6d9456f73ab17a6affcdfc41f7a0fa5971428a57e9ea5cf9e0","signature":false,"impliedFormat":1},{"version":"c30b346ad7f4df2f7659f5b3aff4c5c490a1f4654e31c44c839292c930199649","signature":false,"impliedFormat":1},{"version":"4ef0a17c5bcae3d68227136b562a4d54a4db18cfa058354e52a9ac167d275bbb","signature":false,"impliedFormat":1},{"version":"042b80988f014a04dd5808a4545b8a13ca226c9650cb470dc2bf6041fc20aca2","signature":false,"impliedFormat":1},{"version":"64269ed536e2647e12239481e8287509f9ee029cbb11169793796519cc37ecd4","signature":false,"impliedFormat":1},{"version":"c06fd8688dd064796b41170733bba3dcacfaf7e711045859364f4f778263fc7b","signature":false,"impliedFormat":1},{"version":"b0a8bf71fea54a788588c181c0bffbdd2c49904075a7c9cb8c98a3106ad6aa6d","signature":false,"impliedFormat":1},{"version":"434c5a40f2d5defeede46ae03fb07ed8b8c1d65e10412abd700291b24953c578","signature":false,"impliedFormat":1},{"version":"c5a6184688526f9cf53e3c9f216beb2123165bfa1ffcbfc7b1c3a925d031abf7","signature":false,"impliedFormat":1},{"version":"cd548f9fcd3cebe99b5ba91ae0ec61c3eae50bed9bc3cfd29d42dcfc201b68b5","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"14a8ec10f9faf6e0baff58391578250a51e19d2e14abcc6fc239edb0fb4df7c5","signature":false,"impliedFormat":1},{"version":"81b0cf8cd66ae6736fd5496c5bbb9e19759713e29c9ed414b00350bd13d89d70","signature":false,"impliedFormat":1},{"version":"4992afbc8b2cb81e0053d989514a87d1e6c68cc7dedfe71f4b6e1ba35e29b77a","signature":false,"impliedFormat":1},{"version":"f15480150f26caaccf7680a61c410a07bd4c765eedc6cbdca71f7bca1c241c32","signature":false,"impliedFormat":1},{"version":"1c390420d6e444195fd814cb9dc2d9ca65e86eb2df9c1e14ff328098e1dc48ae","signature":false,"impliedFormat":1},{"version":"ec8b45e83323be47c740f3b573760a6f444964d19bbe20d34e3bca4b0304b3ad","signature":false,"impliedFormat":1},{"version":"ab8b86168ceb965a16e6fc39989b601c0857e1fd3fd63ff8289230163b114171","signature":false,"impliedFormat":1},{"version":"62d2f0134c9b53d00823c0731128d446defe4f2434fb84557f4697de70a62789","signature":false,"impliedFormat":1},{"version":"02c7b5e50ac8fb827c9cdcd22e3e57e8ebd513f0670d065349bef3b417f706f8","signature":false,"impliedFormat":1},{"version":"9a197c04325f5ffb91b81d0dca917a656d29542b7c54c6a8092362bad4181397","signature":false,"impliedFormat":1},{"version":"e6c3141ae9d177716b7dd4eee5571eb76d926144b4a7349d74808f7ff7a3dee0","signature":false,"impliedFormat":1},{"version":"d8d48515af22cb861a2ac9474879b9302b618f2ed0f90645f0e007328f2dbb90","signature":false,"impliedFormat":1},{"version":"e9ad7a5fecd647e72338a98b348540ea20639dee4ea27846cbe57c744f78ec2d","signature":false,"impliedFormat":1},{"version":"2c531043b1d58842c58e0a185c7bd5ce31e9a708667398373d6b113938629f90","signature":false,"impliedFormat":1},{"version":"5304a80e169ba8fe8d9c77806e393db1f708333afc1f95dede329fdbd84e29c7","signature":false,"impliedFormat":1},{"version":"7f0f90d0ffdd54875c464b940afaa0f711396f65392f20e9ffafc0af12ccbf14","signature":false,"impliedFormat":1},{"version":"2e93bb867fefffaecf9a54a91dbf271787e007ec2fe301d3dce080944c5518e5","signature":false,"impliedFormat":1},{"version":"3ab58250eb2968101cb0f3698aab0faa603660bc2d41d30ae13eaa22d75900d1","signature":false,"impliedFormat":1},{"version":"1f18ceea8d29b75099cc85f357622e87d6a2e0793486f89ab6da32cf9e434feb","signature":false,"impliedFormat":1},{"version":"c280ec77789efcf60ea1f6fd7159774422f588104dae9dfa438c9c921f5ab168","signature":false,"impliedFormat":1},{"version":"2826b3526af4f0e2c8f303e7a9a9a6bb8632e4a96fece2c787f2df286a696cea","signature":false,"impliedFormat":1},{"version":"3ec6d90ec9586e6e96120ff558429cac6ca656d81eb644ce703f736a316a0cd6","signature":false,"impliedFormat":1},{"version":"453b07099526a6d20fd30f357059d413677f919df8abf7346fab7c9abfec43fa","signature":false,"impliedFormat":1},{"version":"485f7d76af9e2b5af78aac874b0ac5563c2ae8c0a7833f62b24d837df8561fb9","signature":false,"impliedFormat":1},{"version":"8bdf41d41ff195838a5f9e92e5cb3dfcdc4665bcca9882b8d2f82a370a52384e","signature":false,"impliedFormat":1},{"version":"0a3351a5b3c74e9b822ade0e87a866bc7c010c1618bcde4243641817883fb8df","signature":false,"impliedFormat":1},{"version":"fe8a3e5492c807cc5cfc8dda4e6464aff0f991dc54db09be5d620fb4968ba101","signature":false,"impliedFormat":1},{"version":"03742d13572a69af40e24e742f3c40e58dc817aa51776477cf2757ee106c6c89","signature":false,"impliedFormat":1},{"version":"414f9c021dde847ee2382c4086f7bd3a49a354be865f8db898ee89214b2d2ced","signature":false,"impliedFormat":1},{"version":"bbbc43627abe35080c1ab89865ec63645977025d0161bc5cc2121dfd8bc8bc2e","signature":false,"impliedFormat":1},{"version":"0be66c79867b62eabb489870ba9661c60c32a5b7295cce269e07e88e7bee5bf3","signature":false,"impliedFormat":1},{"version":"5766c26941ae00aa889335bcccc1ecb28271b774be92aede801354c9797074bb","signature":false,"impliedFormat":1},{"version":"3a19286bcc9303c9352c03d68bb4b63cecbf5c9b7848465847bb6c9ceafa1484","signature":false,"impliedFormat":1},{"version":"c573fef34c2e5cc5269fd9c95fe73a1eb9db17142f5d8f36ffe4a686378b8660","signature":false,"impliedFormat":1},{"version":"d97e30dd93590392fed422f2b27325d10ab007d034faaaf61e28e9ddc9d3825b","signature":false,"impliedFormat":1},{"version":"d1f8a829c5e90734bb47a1d1941b8819aeee6e81a2a772c3c0f70b30e3693fa9","signature":false,"impliedFormat":1},{"version":"be1dfacee25a14d79724ba21f1fde67f966b46e2128c68fed2e48c6e1e9822c5","signature":false,"impliedFormat":1},{"version":"19b3d0c212d241c237f79009b4cd0051e54971747fd89dc70a74f874d1192534","signature":false,"impliedFormat":1},{"version":"d6a0db08bed9312f7c4245ee3db068a96c4893ea7df69863eb9dd9c0af5b28f7","signature":false,"impliedFormat":1},{"version":"f17963b9935dd2142c08b006da53afeeaca2c9a600485f6eb9c018b96687275b","signature":false,"impliedFormat":1},{"version":"6671e036f299eda709114347015eb9cf2da8f9ea158871da9c21e9056f7e26ac","signature":false,"impliedFormat":1},{"version":"8375cf1206fa01c23097e5293405d442c83fd03109e938d1bf3d9784f84c2dbc","signature":false,"impliedFormat":1},{"version":"585516c0e8cfe3f12497eb1fd57c56c79f22bb7d729a2c0a32c458c93af68b03","signature":false,"impliedFormat":1},{"version":"a797a41988e5ba36b6707939953b0c0395ed92b91c1189359d384ca66e8fa0ab","signature":false,"impliedFormat":1},{"version":"2b1945f9ee3ccab0ecfed15c3d03ef5a196d62d0760cffab9ec69e5147f4b5aa","signature":false,"impliedFormat":1},{"version":"96f215cefc7628ac012e55c7c3e4e5ce342d66e83826777a28e7ed75f7935e10","signature":false,"impliedFormat":1},{"version":"82b4045609dc0918319f835de4f6cb6a931fd729602292921c443a732a6bb811","signature":false,"impliedFormat":1},{"version":"0fd70ca1eaef1e2dd6f48f16886df4838664821d992fd8076d07fc15e83c8498","signature":false,"impliedFormat":1},{"version":"ba30e6d2f1d20c707566cf485167331a10c539802a79040ced055b62a7aae53e","signature":false,"impliedFormat":1},{"version":"b129f3db6f7f63e3e0cafeb9ee9fc57ceede840577725dcdb01fe89b9d32cf2b","signature":false,"impliedFormat":1},{"version":"4ddd9b092c76bce6b8516c0c4d156de63af024994c2d1305a4812b6d64858f93","signature":false,"impliedFormat":1},{"version":"537a2b61594512c5e75fad7e29d25c23922e27e5a1506eb4fce74fe858472a6e","signature":false,"impliedFormat":1},{"version":"311ca94091f3db783c0874128808d0f93ab5d7be82abc20ceb74afe275315d4a","signature":false,"impliedFormat":1},{"version":"7c07838da165fd43759a54d2d490461315e977f9f37c046e0e357623c657fc42","signature":false,"impliedFormat":1},{"version":"b311d973a0028d6bc19dfbaae891ad3f7c5057684eb105cfbeec992ab71fbc13","signature":false,"impliedFormat":1},{"version":"115c8691bd8fac390f6f6eef5b356543d716da7cffa4c2f70f288d56c5b06aeb","signature":false,"impliedFormat":1},{"version":"e91516e66f9fbf39c978a4092c16ffda3bb0b32158fca6def75aae9fab358153","signature":false,"impliedFormat":1},{"version":"abd4563a6a7668fa6f8f5e5a425a0900b80fc2309fec5186e2cae67f3ce92663","signature":false,"impliedFormat":1},{"version":"cb48f3011e72efef9d5a5b312f4a956f699b8d423bf9f2772724cdded496bd50","signature":false,"impliedFormat":1},{"version":"9aed07904079877252e6c0aedf1d2cf1935ed91d4abc16f726c76b61ea453919","signature":false,"impliedFormat":1},{"version":"6621af294bd4af8f3f9dd9bd99bd83ed8d2facd16faa6690a5b02d305abd98ab","signature":false,"impliedFormat":1},{"version":"5eada4495ab95470990b51f467c78d47aecfccc42365df4b1e7e88a2952af1a3","signature":false,"impliedFormat":1},{"version":"ba87016094bafb7adef4665c2ae4bea1d93da4c02e439b26ea147f5e16c56107","signature":false,"impliedFormat":1},{"version":"40e9c2028b34c6c1e3281818d062f7008705254ee992d9857d051c603391e0f4","signature":false,"impliedFormat":1},{"version":"52d6b690b6e3ccd2ffeab9c9b4edf11883f3466d29a0c5b9f06b1e048227c280","signature":false,"impliedFormat":1},{"version":"4a34de405e3017bf9e153850386aacdf6d26bbcd623073d13ab3c42c2ae7314c","signature":false,"impliedFormat":1},{"version":"fe2d1251f167d801a27f0dfb4e2c14f4f08bf2214d9784a1b8c310fdfdcdaaea","signature":false,"impliedFormat":1},{"version":"2a1182578228dc1faad14627859042d59ea5ab7e3ac69cb2a3453329aaaa3b83","signature":false,"impliedFormat":1},{"version":"dfa99386b9a1c1803eb20df3f6d3adc9e44effc84fa7c2ab6537ed1cb5cc8cfb","signature":false,"impliedFormat":1},{"version":"79b0d5635af72fb87a2a4b62334b0ab996ff7a1a14cfdb895702e74051917718","signature":false,"impliedFormat":1},{"version":"5f00b052713bfe8e9405df03a1bbe406006b30ec6b0c2ce57d207e70b48cf4e9","signature":false,"impliedFormat":1},{"version":"7abcae770f21794b5ffbc3186483c3dbcf8b0c8e37d3ef3ed6277ece5c5dd4be","signature":false,"impliedFormat":1},{"version":"4720efe0341867600b139bca9a8fa7858b56b3a13a4a665bd98c77052ca64ea4","signature":false,"impliedFormat":1},{"version":"566fc645642572ec1ae3981e3c0a7dc976636976bd7a1d09740c23e8521496e5","signature":false,"impliedFormat":1},{"version":"66182e2432a30468eb5e2225063c391262b6a6732928bbc8ee794642b041dd87","signature":false,"impliedFormat":1},{"version":"11792ab82e35e82f93690040fd634689cad71e98ab56e0e31c3758662fc85736","signature":false,"impliedFormat":1},{"version":"0b2095c299151bc492b6c202432cb456fda8d70741b4fd58e86220b2b86e0c30","signature":false,"impliedFormat":1},{"version":"6c53c05df974ece61aca769df915345dc6d5b7649a01dc715b7da1809ce00a77","signature":false,"impliedFormat":1},{"version":"18c505381728b8cc6ea6986728403c1969f0d81216ed04163a867780af89f839","signature":false,"impliedFormat":1},{"version":"d121a48de03095d7dd5cd09d39e1a1c4892b520dad4c1d9c339c5d5008cfb536","signature":false,"impliedFormat":1},{"version":"3592c16d8a782be215356cb78cc3f6fad6132e802d157a874c1942d163151dcc","signature":false,"impliedFormat":1},{"version":"480ea50ea1ee14d243ea72e09d947488300ac6d82e98d6948219f47219511b8b","signature":false,"impliedFormat":1},{"version":"d575bcf7ebd470d7accf5787a0cf0f3c88c33ca7c111f277c03ebbe6d0e8b0b5","signature":false,"impliedFormat":1},{"version":"72141538e52e99ca6e7a02d80186ba8c877ff47a606fea613be1b7a3439c2b90","signature":false,"impliedFormat":1},{"version":"b43a0693d7162abf3a5b3b9e78acfafd0d4713af4d54d1778900e30c11bc4f83","signature":false,"impliedFormat":1},{"version":"115b155584649eaf75d50bdc8aaa9a0f528b60fade90f0cf78137c875ff7de7c","signature":false,"impliedFormat":1},{"version":"98d88eefab45da6b844d2bee8f6efa8d20c879f6dc870c17b90608a4ac0ad527","signature":false,"impliedFormat":1},{"version":"4eb2ca099a3febd21e98c36e29b3a9472458a1e76e888bf6499614c895ba6be7","signature":false,"impliedFormat":1},{"version":"f4dc28fbbba727722cb1fd82f51a7b9540fbe410ed04ddf35cab191d6aa2ba10","signature":false,"impliedFormat":1},{"version":"b8101e982968b04cfaabfc9613dc8f8244e0a8607007bba3537c1f7cbb2a9242","signature":false,"impliedFormat":1},{"version":"ed3e176bc769725ebc1d93f1d6890fc3d977b9155ae5d03be96ec2d49b303370","signature":false,"impliedFormat":1},{"version":"e2dc16f882661fe5e9e6cde0a9c3e6f18f56ce7243ab0a168e68bfab6a5b9830","signature":false,"impliedFormat":1},{"version":"fc5221aedb3b5c52b4fbdf7b940c2115bde632f6cba52e05599363d5cd31019e","signature":false,"impliedFormat":1},{"version":"0289a27db91cb5a004dcf1e6192a09a1f9e8ff8ce606ff8fd691d42de5752123","signature":false,"impliedFormat":1},{"version":"307c6b2de09a621629cef5b7d0ec0ccabe72a3cd1a8f3ee189229d9035f52051","signature":false,"impliedFormat":1},{"version":"3c196d2ef49db4ad0e33a2a7e515ae622106b06ee8479957303601fd3e00f4f8","signature":false,"impliedFormat":1},{"version":"7933769d84f5ae16546aef06537ca578f1c8d7cca0708452a00613050ac1f265","signature":false,"impliedFormat":1},{"version":"4a48a731413b6fae34620c2e458d0adf2f74083073544a72b1b3a96c32775b2f","signature":false,"impliedFormat":1},{"version":"d405963c5f69955e95c30ef121c7a3309f214f21ef09dceb5d7ac69557cbe0fa","signature":false,"impliedFormat":1},{"version":"0c03b1120ddb2fa74809f5d06516beb5b4a3b3561ee93619f1e1c98fdb74a660","signature":false,"impliedFormat":1},{"version":"c3dc147af5ef951e14797da29b2dcaf1fdddabb0175d538e1bedf64a34690b9e","signature":false,"impliedFormat":1},{"version":"77e6933a0f1e4e5d355175c6d5c517398002a3eb74f2218b7670a29814259e3a","signature":false,"impliedFormat":1},{"version":"f8ce447bbda4f75da74cecd866cc1ff9bdde62189ac9d8dc14a16c48b3d702fa","signature":false,"impliedFormat":1},{"version":"68969a0efd9030866f60c027aedbd600f66ea09e1c9290853cc24c2dcc92000f","signature":false,"impliedFormat":1},{"version":"757f7967151a9b1f043aba090f09c1bdb0abe54f229efd3b7a656eb6da616bf4","signature":false,"impliedFormat":1},{"version":"786691c952fe3feac79aca8f0e7e580d95c19afc8a4c6f8765e99fb756d8d9d7","signature":false,"impliedFormat":1},{"version":"c3b259ee9684c6680bd68159d47bf36b0f5f32ea3b707197bcd6921cf25bde36","signature":false,"impliedFormat":1},{"version":"7abc0a41bf6ba89ea19345f74e1b02795e8fda80ddcfe058d0a043b8870e1e23","signature":false,"impliedFormat":1},{"version":"ab0926fedbd1f97ec02ed906cf4b1cf74093ab7458a835c3617dba60f1950ba3","signature":false,"impliedFormat":1},{"version":"3e642f39da9ad0a4cd16ccbd7f363b6b5ad5fa16a5c6d44753f98fc1e3be9d96","signature":false,"impliedFormat":1},{"version":"7f5a6eac3d3d334e2f2eba41f659e9618c06361958762869055e22219f341554","signature":false,"impliedFormat":1},{"version":"6f996f44113b76a9960d3fad280f4f671115c5e971356d1dbb4d1b000af8b3b3","signature":false,"impliedFormat":1},{"version":"67f2cd6e208e68fdfa366967d1949575df6ccf90c104fc9747b3f1bdb69ad55a","signature":false,"impliedFormat":1},{"version":"f99ab9dffe6281c9b6df9ae9d8584d18eabf2107572bbd8fa5c83c8afe531af8","signature":false,"impliedFormat":1},{"version":"4fc9939c86a7d80ab6a361264e5666336d37e080a00d831d9358ad83575267da","signature":false,"impliedFormat":1},{"version":"f4ba385eedea4d7be1feeeac05aaa05d6741d931251a85ab48e0610271d001ce","signature":false,"impliedFormat":1},{"version":"52ae1d7a4eb815c20512a1662ca83931919ac3bb96da04c94253064291b9d583","signature":false,"impliedFormat":1},{"version":"6fa6ceb04be38c932343d6435eb6a4054c3170829993934b013b110273fe40af","signature":false,"impliedFormat":1},{"version":"0e8536310d6ed981aa0d07c5e2ca0060355f1394b19e98654fdd5c4672431b70","signature":false,"impliedFormat":1},{"version":"e71d84f5c649e283b31835f174df2afe6a01f4ef2cb1aafca5726b7d2b73a2e4","signature":false,"impliedFormat":1},{"version":"c01eade7cc9a8ce236a3e3cfd82860c50d73157b17102dec476755d6314fd441","signature":false,"impliedFormat":1},{"version":"8f2644578a3273f43fd700803b89b842d2cd09c1fba2421db45737357e50f5b1","signature":false,"impliedFormat":1},{"version":"639f94fe145a72ce520d3d7b9b3b6c9049624d90cbf85cff46fb47fb28d1d8fe","signature":false,"impliedFormat":1},{"version":"8327a51d574987a2b0f61ea40df4adddf959f67bc48c303d4b33d47ba3be114a","signature":false,"impliedFormat":1},{"version":"00e1da5fce4ae9975f7b3ca994dcb188cf4c21aee48643e1d6d4b44e72df21ee","signature":false,"impliedFormat":1},{"version":"1ab1e9156348a3a1a5255b56554831227d995cc7bd45c3c0a091e32371caa0e2","signature":false,"impliedFormat":1},{"version":"4d250e905299144850c6f8e74dad1ee892d847643bacf637e89adcce013f0700","signature":false,"impliedFormat":1},{"version":"51b4ab145645785c8ced29238192f870dbb98f1968a7c7ef2580cd40663b2940","signature":false,"impliedFormat":1},{"version":"589713fefe7282fd008a2672c5fbacc4a94f31138bae6a03db2c7b5453dc8788","signature":false,"impliedFormat":1},{"version":"26f7f55345682291a8280c99bb672e386722961063c890c77120aaca462ac2f9","signature":false,"impliedFormat":1},{"version":"100802c3378b835a3ce31f5d108de149bd152b45b555f22f50c2cafb3a962ead","signature":false,"impliedFormat":1},{"version":"fd4fef81d1930b60c464872e311f4f2da3586a2a398a1bdf346ffc7b8863150f","signature":false,"impliedFormat":1},{"version":"354f47aa8d895d523ebc47aea561b5fedb44590ac2f0eae94b56839a0f08056a","signature":false,"impliedFormat":1},{"version":"62b753ed351fba7e0f6b57103529ce90f2e11b949b8fc69c39464fe958535c25","signature":false,"impliedFormat":1},{"version":"514321f6616d04f0c879ac9f06374ed9cb8eac63e57147ac954e8c0e7440ce00","signature":false,"impliedFormat":1},{"version":"ce7b928daedd974205daf616493c6eb358069ed740ed9552c5f4e66da19fd4bf","signature":false,"impliedFormat":1},{"version":"3d59b606bca764ce06d7dd69130c48322d4a93a3acb26bb2968d4e79e1461c3c","signature":false,"impliedFormat":1},{"version":"0231f8c8413370642c1c061e66b5a03f075084edebf22af88e30f5ce8dbf69f4","signature":false,"impliedFormat":1},{"version":"474d9ca594140dffc0585ce4d4acdcfba9d691f30ae2cafacc86c97981101f5c","signature":false,"impliedFormat":1},{"version":"e9ae721d2f9df91bc707ea47ddd590b04328654cfea11e79a57e5aef832709ff","signature":false,"impliedFormat":1},{"version":"0e2a6b2eeadafbc7a27909527af46705d47e93c652d656f09cc3ef460774291b","signature":false,"impliedFormat":1},{"version":"ed56810efb2b1e988af16923b08b056508755245a2f8947e6ad491c5133664ed","signature":false,"impliedFormat":1},{"version":"ed012a19811c4010cb7d8920378f6dd50f22e1cf2842ecb44a157030667b165e","signature":false,"impliedFormat":1},{"version":"26a19453ef691cc08d257fbcbcc16edb1a2e78c9b116d5ee48ed69e473c8ff76","signature":false,"impliedFormat":1},{"version":"90f08678b00c7b7aaaad0c84fb6525a11b5c35dad624b59dcadd3d279a4366c4","signature":false,"impliedFormat":1},{"version":"97ba9ccb439e5269a46562c6201063fbf6310922012fd58172304670958c21f6","signature":false,"impliedFormat":1},{"version":"d037b771e89ef6dd81c71de92cc644d68b1b5d1ce25dbce9c2cfe407dd0b5796","signature":false,"impliedFormat":1},{"version":"25091d25f74760301f1e094456e2e6af52ceb6ef1ece48910463528e499992d8","signature":false,"impliedFormat":1},{"version":"853d02f4f46ca9700fefd0d45062f5b82c9335ba2224ca4d7bd34d6ae4fc4a7f","signature":false,"impliedFormat":1},{"version":"b3d1c579771490011614a16be1f6951aec87248fdc928dd46b682523edb8e503","signature":false,"impliedFormat":1},{"version":"b3cc1bb7311f35569b531e781d4a42d2b91f8dfd8bc194cc310c8b61011d6e43","signature":false,"impliedFormat":1},{"version":"cf6dc8f18bc5ee063dc1a37bccd3031dc0769f11622399018c375aacfcbda7c9","signature":false,"impliedFormat":1},{"version":"8ca2d01f5f3d4d4067aadea230570afa4c91e24e485fbe2e9d53ead3b33f80d0","signature":false,"impliedFormat":1},{"version":"fa80171c26ed3c427968499af16c938043089c6ee4d326a4dcf30d196c4a28a2","signature":false,"impliedFormat":1},{"version":"c7ddf2aa89f4541979c8337682b6bc278e5535be0f1fac98c778e222ef357703","signature":false,"impliedFormat":1},{"version":"dcf067993ca6e8af8050ebb538f3db1d9ab49fc1d8392ab2a9e2db50919e7337","signature":false,"impliedFormat":1},{"version":"9a0f11cc9d5419a5bf8387793c174c0d93fa2fd04a572be61bf0e35bf9d78639","signature":false,"impliedFormat":1},{"version":"08f6fdb76c35fbd6f0724e4e1af85458808b8972d8bfce3d076483ca283a561a","signature":false,"impliedFormat":1},{"version":"552ead309b375778c032812323b250e8377c5f39f25bee8c5abf541d22f2e175","signature":false,"impliedFormat":1},{"version":"a6f699977f924b838e4b2b825e010cb890c6b808e1620a457ef7a4d562a1ca1a","signature":false,"impliedFormat":1},{"version":"464636b40f3ad2b7f3173758534f050974e952a8f5b87749b984b07c64a0657e","signature":false,"impliedFormat":1},{"version":"08effdf08279a460b2f1180f15247b154b28c244513647c6a9dfb6fbb2285878","signature":false,"impliedFormat":1},{"version":"0e25124da4b48304c322416d7d127c80ee5e6ac9c8f13233df2e6a4d4f0fd9e9","signature":false,"impliedFormat":1},{"version":"275bfedc3743272cda41ca285f7a674a68152409acb601883be755bbd7d98ff4","signature":false,"impliedFormat":1},{"version":"47ce6df7b709f0961dc13a4b7c974bbc4e20668c0e53490649b9c470560f5be1","signature":false,"impliedFormat":1},{"version":"82989b1154c22be918bad5e480ae7ae17538eddc40b0092c825ca9f7fa4e2853","signature":false,"impliedFormat":1},{"version":"6b55a6fe21f0d5c045f28e3db2c7c16754b59cd4b659d229d178edf02e5d0987","signature":false,"impliedFormat":1},{"version":"40925ce52ff7f0c1cd64c5c7f7533ed250aba54a497e14a432bcfbcef6e07fd6","signature":false,"impliedFormat":1},{"version":"d657d7627ae7b741a145ce0d69cb3ec871df52e314335fb0653503e4304b51db","signature":false,"impliedFormat":1},{"version":"5fdf6800c44ea0ac4db17762144a0264946984236f84bf26de6a3335ba58d359","signature":false,"impliedFormat":1},{"version":"0369257f2b2e1a0f8c914d8895da07385801371ea1201710ddf664a33d5e742a","signature":false,"impliedFormat":1},{"version":"d61feb12b14bf11a9f18a1bab5e344e0f57618114e1c8d71d790b115b727c330","signature":false,"impliedFormat":1},{"version":"c745a0b7c7e51afb18fcca0aeef135d0b3464240a3683b686e076fe79da58b05","signature":false,"impliedFormat":1},{"version":"9591be31149bda8c806c69f4d75b92342e8c80af7fd6e3a886945eaa1577e5e4","signature":false,"impliedFormat":1},{"version":"dd5d1a74453d821ed20bbd3ffc49845f0ef8f5e619692807dde2f294b38ccf32","signature":false,"impliedFormat":1},{"version":"bc04c4db7a405683f62f526b3e26aa93d663758ebbf272726ff7f04477e90653","signature":false,"impliedFormat":1},{"version":"087001d9379039a22f625a91603c5c2b49c6e75834526adc470790a7c60774a6","signature":false,"impliedFormat":1},{"version":"058a2f208bdff64bb463f840870264703adba186b4395bffd30c0141182bca79","signature":false,"impliedFormat":1},{"version":"88d2a2e605548b14d505a0e42a17b8a3b50f8013712e2e0a9f09f941e81b60af","signature":false,"impliedFormat":1},{"version":"b4f181747e8e3df8f90744fc2c81b108839afa6c1cb4c4615ab989c281f1ac49","signature":false,"impliedFormat":1},{"version":"f439969ca8975cf2178e405fd662e77c20c35ba76f40a40594b5eb4f5827fd9c","signature":false,"impliedFormat":1},{"version":"7ac55c8e19e3e801e85dd09ac68c4b8cce56b81ab1c454d8e447364db25526ae","signature":false,"impliedFormat":1},{"version":"3ddaffbae86d35eb8738bb40742a8fbe04965e7ee5c6af0209c7ccb7e1d89c09","signature":false,"impliedFormat":1},{"version":"6aa2bbb6a1e3b9e7214bee0ec07065e7a827d8fd574d7b7fb9ef96ef86f6f242","signature":false,"impliedFormat":1},{"version":"ed7e3b4f1363ccaa50be28bda52c841c7ef962b3455afb611416c99f3eb175f5","signature":false,"impliedFormat":1},{"version":"784fe9478cd44296664ec123ed8e09fff3b637a09cc8b430e12cd0e965031bc4","signature":false,"impliedFormat":1},{"version":"e63b3d007cd4f72800c17c350d5670019c67d640e02f895851c51ba12aa0db14","signature":false,"impliedFormat":1},{"version":"124c9d7943b218f52066b9b10ce79acf24ca902e68223afdd9e2478b27d8a21d","signature":false,"impliedFormat":1},{"version":"6ee5c836dd2cb6d9b03a1ec183223c9335e86302ab62b87e68d9f4eabe31c95f","signature":false,"impliedFormat":1},{"version":"169a286ada4426d254933fe9c15bdfbe58e8de7eaed0daf28dfca33a92ec69e6","signature":false,"impliedFormat":1},{"version":"1d58ba93085f2c670b8fdaafe31d9214bcf0e2f30dd47949ee0535f23c33f216","signature":false,"impliedFormat":1},{"version":"a4a90c7dc70c4d43da3635f6419aefc5c1108d2c1d581813a4a9ebbf93a6d327","signature":false,"impliedFormat":1},{"version":"2dbccc77cf3b17d053958b9ccd732bf5c606c8568384e9be07141349ca7d02fd","signature":false,"impliedFormat":1},{"version":"b0e28de4b10dcc437812a4fa08e9afac328f0dd93d9e9edc2bcc554992b8cf98","signature":false,"impliedFormat":1},{"version":"76b977edb68998c5b0debb4197b007f2672aaf2fb3cda01a1096874983f66e2a","signature":false,"impliedFormat":1},{"version":"9c434e4fb6e06335b63a2b6e6cc6915b8c0b6666069a6aaf5893c0876904ff46","signature":false,"impliedFormat":1},{"version":"fac3a1dcb0946b8d913d792efa33bdba533bf305fc67715e0f9ac52ce7412717","signature":false,"impliedFormat":1},{"version":"ff4d4de1ed4438d5b8a573e0d175959259ba5caf91ff74ee432b6aac25730a05","signature":false,"impliedFormat":1},{"version":"c15398597ca37e4cc0933c37dffeb7b8571d23f0fac1861e979b45fb25b8c2a1","signature":false,"impliedFormat":1},{"version":"d1003bc6a76177639719da29301db8a720e547dc354173dacd1e816c43a6eced","signature":false,"impliedFormat":1},{"version":"e4a35903280e81c67c0779e4b94f8a1ef96e7964b29a62f093ec777b3188f36d","signature":false,"impliedFormat":1},{"version":"a01595f3e2a6816ec34bf420c45f3123360a141d160fdd5a7d96b59fe3a84fcf","signature":false,"impliedFormat":1},{"version":"17f7e6aadd41d1ddbcc30a794bda453fda8863531e037a5a96c326253bb31132","signature":false,"impliedFormat":1},{"version":"5a030b88cb2e570fed2f47cf00955f7cbfad8d2a8a7d3fb9e63f8d16e9f12d43","signature":false,"impliedFormat":1},{"version":"e770317dbd2ed9d9946964c65709a7c2b503e0eadd6a4bcbcfbdfa1744c85e3b","signature":false,"impliedFormat":1},{"version":"cd297f1dfc660e9c8e01168aa579f9765f5589917d933ee880b03b7ab2d6f401","signature":false,"impliedFormat":1},{"version":"41bd4d0432777c5aa46b06a2780d6c9e256364bb2c1a3d5d0f05bc10bf1db2b5","signature":false,"impliedFormat":1},{"version":"862ed0fc12b9355a9d5b08827e8ed9def936004bb7462e2331e1f2a3f5eb9c62","signature":false,"impliedFormat":1},{"version":"59832ba4ea98209dff81152f53879b3b73c7d772984be86c3a698834e2eb9a89","signature":false,"impliedFormat":1},{"version":"4c0b2960801a74218159b69e27cd0966682a6f3b75d214fc3fdb3be30c533a7d","signature":false,"impliedFormat":1},{"version":"921405d39dd6fc1a10dcc5c30d54e4657a272c3e4995b1b151f67083d845e4f4","signature":false,"impliedFormat":1},{"version":"d110688b82525303a53faf018a969d73ae78ec8fb15454764b9798523b8132e5","signature":false,"impliedFormat":1},{"version":"5614b807412af054aa5e51b0ed8f915784a7f1f13e5c2ce0aac1061486a1061c","signature":false,"impliedFormat":1},{"version":"92defa6c6d2c2094e10abf6893619ac6022ca76ef0151d27f2251ec58d94611c","signature":false,"impliedFormat":1},{"version":"0e516444886b41049ca2041c5169b70743c47c393a154d862325e47fec2a8044","signature":false,"impliedFormat":1},{"version":"cd3a747c87f506b02b8e6d44b2654c7a970bcd6caead2197a6a4302e3c30afea","signature":false,"impliedFormat":1},{"version":"1f2161e9c7e11f340f1b3f0eb73d180120d5068bbd1ba8866b9621a8073f75a3","signature":false,"impliedFormat":1},{"version":"4bc60372214bc642c01e62b3969036823efef8a674fc23e72fb9051de8374d65","signature":false,"impliedFormat":1},{"version":"46e546c6e82f49bb98764312ebdaf52780d5045e3488aac049bff718cec16c33","signature":false,"impliedFormat":1},{"version":"35ae7e125a111d694986fe5839a3fae42e4db22375ec4021bc03ae4d46e91bd9","signature":false,"impliedFormat":1},{"version":"47c3d4c3e3219626d3056476470216dd86d212fa69463833f24962a4c29780c8","signature":false,"impliedFormat":1},{"version":"d24e31bfddd925bb98537dbe797e93c4666431e93c5d7474c74d7713941feba2","signature":false,"impliedFormat":1},{"version":"607d5c81579f75a211c335a8b0c1895fd5a545ce807e7df503bf8ec159219732","signature":false,"impliedFormat":1},{"version":"f6f1bbe1a4962c439c6f06c643f78482506b08526f5b8ccdf9d1eb13db7780b2","signature":false,"impliedFormat":1},{"version":"0ba9ba72d414c89a5b715abc8059348871160bf507b68f73bc811a182f438994","signature":false,"impliedFormat":1},{"version":"9562a86e26e8931bf820ceb44350ff44d3d6fdc465760e7e2219d2a4f3f70612","signature":false,"impliedFormat":1},{"version":"3baae949d30f2698d78b776981416e7eb10c222e2a0fca26f07fe8f37a6e2fce","signature":false,"impliedFormat":1},{"version":"2ff149c02b7e8f591334242cbe6efd64d7e6df2cfbf59cb705f1e8a3de92c429","signature":false,"impliedFormat":1},{"version":"d033a8beed48cd201a547a97e09cfd6e0ec21f3db87b34e4d5b01efdd54f5761","signature":false,"impliedFormat":1},{"version":"ead03c40db8c6edeb554bbfcb939b8f031bd6e99bdf2531085aecca5a68d5724","signature":false,"impliedFormat":1},{"version":"054e5b2939d8e3f7131a652656eba3719471578b6dfa0668e51af801dc44bbc4","signature":false,"impliedFormat":1},{"version":"281ffc61d77ce1e885f9bc58df48fb00e67e79923a31a5d96713568b8a77e8a9","signature":false,"impliedFormat":1},{"version":"3bdc4a5022af063c39b6580c824c4ac42605dbaf24b16071338e45025db072b1","signature":false,"impliedFormat":1},{"version":"d8859b86af82721167877c87f14d3e81eff6b3de3777831792c1b8b3e0609a7f","signature":false,"impliedFormat":1},{"version":"a0f0d4ce8b66cba1bd7839aa123a815bd4bc2d68c6c68ba560f7a6b12674ec67","signature":false,"impliedFormat":1},{"version":"edf76148af5840ab075e3d7e9c1fdf1364f4f1b37622a54129a8303de63fcb34","signature":false,"impliedFormat":1},{"version":"38ac79f348486adb94b532b66b21ac5c2530f852b9579492e7ef6e233cbc8507","signature":false,"impliedFormat":1},{"version":"a8b235cc4f5aab241523bfb08f4d8884e6695ba481561466cd3a570b4dd1f2bf","signature":false,"impliedFormat":1},{"version":"58e86760166c9719bd05a21cbfa9b7b3d8e7bfa633b04af5d6047cc012c49668","signature":false,"impliedFormat":1},{"version":"873f75ac0dc6c6b90b304425afc7008ed2f42c1c71858d45dd090940a7414aec","signature":false,"impliedFormat":1},{"version":"b259d666f68b7a7978abb2797542b8efb03bef1afd23601b02cfdb27d65e9bf2","signature":false,"impliedFormat":1},{"version":"ce0e3d3334ab3958a12dfcc171437b439b0b5125ec8a77bce21f3f5bfd9ca38f","signature":false,"impliedFormat":1},{"version":"957f43a467d859bb666a93537b1a0d2c54cfd26b6aeadf589cede24a783cc703","signature":false,"impliedFormat":1},{"version":"605cb1b423fd6de9060f4130d593c4e08ae07e607ac49c25d004e8c24b7f2dfb","signature":false,"impliedFormat":1},{"version":"6b9736e51c6689d168d4bfde543c4281e2f902d36227053def6ea767089b1bef","signature":false,"impliedFormat":1},{"version":"0161d353f3e818d944195f6093fe009af437b70f80542e6dc2ed11f68eccef03","signature":false,"impliedFormat":1},{"version":"1fd7957867e5c6a280d2dfdfdba6e88b4da88cae9d028f0c3fd129b20067845d","signature":false,"impliedFormat":1},{"version":"8e18b2c4e630b9af8a7fd481b302135edeb6329b3f4857b884facafcc3f56043","signature":false,"impliedFormat":1},{"version":"3bc70061571df6f19cfad8c98528895160863bb6f3c7b55632cac47c459d626b","signature":false,"impliedFormat":1},{"version":"e9763b822eb011a81a8ab3de4fb21f76786f2b144b9cb6f09229dd0c25ec9171","signature":false,"impliedFormat":1},{"version":"480ded5fbfa04ca5fc1c288144cdf2e8fdfa7a43659906ad060bdf15e9064ea0","signature":false,"impliedFormat":1},{"version":"385d3d953e91bf65f7a7461f0315f63baa5d38841e6b24ee0973916049bd02a3","signature":false,"impliedFormat":1},{"version":"60bc2238a74caf6c24558be60cca3e2916ac787165c69ad62c25dc8d83022aca","signature":false,"impliedFormat":1},{"version":"e0e4ce212e20e3f6215fa7973240ad7eb50c2e17ba2edff9c8975bda813b99af","signature":false,"impliedFormat":1},{"version":"0e7963182ede1a135c1667a64120fdbf7e71ad8ade56fab985a81cdc9e44d93e","signature":false,"impliedFormat":1},{"version":"7126332e383fb5610a39f4a151850f82e7940c18140330c078c650e1b4b5cff0","signature":false,"impliedFormat":1},{"version":"d2ef66c3f5d3401bd95d48492fb7861f3f8e8992a17543c75f5bfb904e07d932","signature":false,"impliedFormat":1},{"version":"af4ad02f3a1457af2e2331399229a7d70e1cb1198b1aecc0bc18aa3b3b695bbc","signature":false,"impliedFormat":1},{"version":"52b6c07b8f8b1b46bf85c2129e0c4cf233203c199837d4a17e914459d09e986a","signature":false,"impliedFormat":1},{"version":"a6e4be936b6be61435f1558f6afe67b6d4c0792ba3e536533d6db3ee510edb9e","signature":false,"impliedFormat":1},{"version":"525430edcbdeef71abd84bb64e35a5cf23e1def38579b656d18a4c94ff1f58f5","signature":false,"impliedFormat":1},{"version":"8b1d35f7add4e38a0f88704782a0905c2ae237364c9b9bd9ddd29cc358ee59cc","signature":false,"impliedFormat":1},{"version":"615ad07ab7542be91ec72aa0656fd8daed4feac15a2459aaa7c36dfc32f4e37d","signature":false,"impliedFormat":1},{"version":"df12cb709574b860f8e33c022e9561f339ba71794cd5d4b0d22b8be3ea509f52","signature":false,"impliedFormat":1},{"version":"31ff5aebab2436465c61de78fcf94b7d6d03915951310e0cfb6dc61b1e3ed751","signature":false,"impliedFormat":1},{"version":"d2745be767c32464627abc322a88f5076df5802a16a260d7ccf13600ad0a615e","signature":false,"impliedFormat":1},{"version":"aa73259de07ff85e39d2b49fbd233847690ff8ad4875d0023805d2a015f4ea43","signature":false,"impliedFormat":1},{"version":"74a907fa14655328575b29e4dbdf58440dd07c081d9d245f785c4143d10510c8","signature":false,"impliedFormat":1},{"version":"fbcdb2ccec93060304b878e7f65246b6b2c992e896774e9eaf7744f58a9cd8a6","signature":false,"impliedFormat":1},{"version":"935094dc19b20214f20677d5b871aa34e0e3280e6c852dd57b6a118134a15764","signature":false,"impliedFormat":1},{"version":"ea99aa2e537966df22f8192e99929ee81719c1cf0b9d9d83d0c6fed53325ccc6","signature":false,"impliedFormat":1},{"version":"c624b65789f71d3fe13d03b599adbaaf8b17644382f519510097537736df461b","signature":false,"impliedFormat":1},{"version":"3fbeaff576ce5b8035224fbcb98ec13b7cdd16cdbbf8ee7b4052d3d6330683fb","signature":false,"impliedFormat":1},{"version":"cc8eac1829ee2ec61323b3af1967790ceb9d0815ef8c40c340bc8090c17a9064","signature":false,"impliedFormat":1},{"version":"5947f213795a08df7324841661f27341937a5603edcd63fa2d2d66fb11864ec9","signature":false,"impliedFormat":1},{"version":"2d9f4d58554a246616eeaa090a2fb0dddccf412e88617975138389fb15770ca9","signature":false,"impliedFormat":1},{"version":"9d5e2347ea0d666f938644fdd4ea2bd48abd70b69e68db435b0e9d82c21debe3","signature":false,"impliedFormat":1},{"version":"74eeab10497f9b660c5faa35a4c798985d501f4c6ac59ec0a4f5bf1e9e22f8d5","signature":false,"impliedFormat":1},{"version":"3425be72406c5edffa34483e23bd62b506ab5ecb2bac8566cfe2eae857db7f1e","signature":false,"impliedFormat":1},{"version":"e2356f9571e715915712ad24a73870a07f0daf49200ed67cd61f3c58d264c890","signature":false,"impliedFormat":1},{"version":"87b266d84f88f6e75394ff6cf0998bd25ad6349fb8816f64c42d33a5c19789c4","signature":false,"impliedFormat":1},{"version":"3274e8af4780f7e39a70aca92a6788fec71e9e094d0321d127d44bbd27b27865","signature":false,"impliedFormat":1},{"version":"396dc8899588d40c46e8caeb0cc306e92bc6c2187b44b26cf47e6e72544ef889","signature":false,"impliedFormat":1},{"version":"8ed8df53be6f8aa62ff077fb2caf0695d29c3e4f1c26c9b12e8eafdf61f49dc9","signature":false,"impliedFormat":1},{"version":"a6263670065421b3a42495bc07fc799b1c4d35d3bedf094a17eae4e768b4664a","signature":false},{"version":"ef94ff7a342ff47a936502a73dfb681422e11f20a11f72778e3dbaf5f023a659","signature":false},{"version":"0c86301e076eedb567dd3ca3e03e36a8155d88b46f911aeb2ae9b164b3863181","signature":false},{"version":"043043b113368e5f1fc154a139692e592542d6daadefeab98d694fa6524d2ed4","signature":false},{"version":"baa3a8e9ed39e20dfa4b4672c3487a26bbc061a2806ee69283e766d72b8bbeee","signature":false},{"version":"fc6106d63dff04961736c92f8abb2938585ee02a2a67d1e244a2743af353772f","signature":false},{"version":"9c7069bc980f5d76f26887fa5f3936268d71f60fb48ba110ed89d567474755fe","signature":false},{"version":"9b9340cd64d535be4ef95bb86f64cf23d47960a2f5b56db413ded9ffda4e6b10","signature":false},{"version":"2ab5217d2c68639aef4d0a538166b4eb4281163704b18a9d323c95c89d87e50d","signature":false},{"version":"52337dc768cdfc3d88cb059516ebc2bb2a494a5a4331eb9357224f1b3bcb8c27","signature":false},{"version":"06e85841b40f7e001134ee9f73ad9c02f86a25b493dab4e9823bce1a1c2cc48a","signature":false},{"version":"37fed3c28421a618bc04b50010ef5d49ace3f067d47188e1ec3bb0ae5b8003c5","signature":false},{"version":"1f43f21d4de6295cec7d601783732845e9c53a8f7c6abd2a9bf3ab1e09c537ac","signature":false},{"version":"62905cacd4b9a44d29aac854456a3c686216a08f8f5a1b966578e0b766035ce8","signature":false},{"version":"c0ada036978dbfeaa811026ecf2d29040f82f177a9a54fd4e20b0a4b1c9ea067","signature":false},{"version":"3d86eead83f5115f6fbf44f829744a5eef3c1e3af4fca60fee2bfc9ee946d622","signature":false},{"version":"a2487f6c330f4c45818bb9ca5e0d309b37b82a100161a0c7afe51e5834630b98","signature":false},{"version":"988bb91e4ff3db24dfefede656b8848c562525be0ca8643841806117a26ebce4","signature":false},{"version":"75fcb0b71dda79a2f3da197f196f22e479dc31f0b8f83df8b67efd8a1860bc9d","signature":false},{"version":"57bc48b63a704009cdeb9f3c89e0058cc2d1c4e284109ed586db8054ea2baf71","signature":false},{"version":"9ffbca1d2daf025bbe99c1013e83fe698709f910f8c491a84108a99fe06b1a3d","signature":false},{"version":"e213925cfd35a24f9e8c744e007ae051bcaea584dd41faeae23ad7b648e80fa1","signature":false},{"version":"078a8da5010709f9cc7bed6ef5ecdcb32bb712d81822cec232ad0908df4bc130","signature":false},{"version":"144097fe9aa9ef087aba640f9d925ec2f81b1fd1777b5f2fee776e9e332d16e7","signature":false},{"version":"faec3b275e005f31d786fa5b757b1b738a0c3ed1b924a6985005a66581d55717","signature":false},{"version":"ed7800680396d40bcddc6239b0503e55ed1aa93a993f845bfae9ce8ae9c67d3d","signature":false},{"version":"37cc7abda8f26c322bb2878125a677e394adb0ac5f85bb184e2f9a3d2a56c7a2","signature":false},{"version":"002a841597b1fc7bd1d2060a2e8525c581fbfa5805547bb855e92c6310dbac4a","signature":false},{"version":"168a6d5965668f30692ed335504bca87d59564a008aef23f4b2d4e32ddb046bc","signature":false},{"version":"faba1fb5fd89977ad289e21f282d6920dbff9b147ee7aaddde17d46d8fd649e7","signature":false},{"version":"32fb0c0c78caf27fecb53393910d06cc4579d4cf5920e41c3b6b23ace5172ae1","signature":false},{"version":"5eeb0f2776f7411df1e78646c1a1bf82c6f8e61bee7e02e5bd3c60ecadcaed39","signature":false},{"version":"e4a6267293800720da37c78d817cb3d6e04e75766a53d36fe86c53adcddb53fa","signature":false},{"version":"a99816742af49a40f1e712ecfb6886621552c74a480ab92a49c5ad363fb0dcfc","signature":false},{"version":"6a3f8406d8099f21399bfe23af048e19110ed4d3c288bcca334e1d5024cc9fd5","signature":false},{"version":"c70141c0ee2510c82ce1d68c1b984e861228f15184a3eef587e6d00d06c9fde7","signature":false},{"version":"9e3c2dab4687920a5303ce56a64f3e57186441aae6a768abfae91a1b0ffea9ba","signature":false},{"version":"7dab73f792f318cecb4626e8d084c9d883bb9c27bc308dbfb0310b77b87a8c25","signature":false},{"version":"0db0a61d7e880f39c1d3c2dd4f3e5dcbfa54cebdfd94d67f78129e089e910ef9","signature":false},{"version":"ac6741855a51096f6cfdf9f0d070a85674fe2fc686ce6b949d7e7dcb1d3af77c","signature":false},{"version":"648c9c01beea353d4a5a71872130905366d511a4f34bebc3f19b689bfb2bf576","signature":false},{"version":"ffad2af415f09c7ca9433dcbc958dfdf9a3508abaa03423725d32946b407885c","signature":false},{"version":"15fe687c59d62741b4494d5e623d497d55eb38966ecf5bea7f36e48fc3fbe15e","signature":false,"impliedFormat":1},{"version":"3ab23d2611d8748cd678d45818ade9d4dea08d334003e2a0f8758d2ad6f91a20","signature":false,"impliedFormat":1},{"version":"26d51d186bf97cd7a0aa6ad19e87195fd08ed72bb8df46e07cc2257b4d338eb5","signature":false,"impliedFormat":1},{"version":"3af37ceaa307f79685e68e8603235d61d7ae6b32c7ff004428101bafdaa4220c","signature":false},{"version":"0085f70070065de904be82184a3d1d30d16acd142cc10d5a589bb3b309b903d8","signature":false},{"version":"4038c5831bcc0d4caf08bf9b69a68ded7369fdba3197a0ee7d8d54044a959d75","signature":false},{"version":"fd26b84eb1b254038b9a4c759f222776bd0af4ab5d4fb69f54ebff2d116b9ece","signature":false},{"version":"2eb7f181858de3ca09b804acb152745fdaae760cab2288303007d8a17e46e792","signature":false},{"version":"b63557b61a9801561ec3dfb16682de6593a7cebe965cfd76444b44599575fa6f","signature":false},{"version":"1d2aa505a86ef8ceb77041c8194e31d80de31c84cb6bea71fe53182991e76249","signature":false},{"version":"023017e56ac9352a5bbf609e54582ae971cb2f1ee7fa156426c66b83790cb91f","signature":false},{"version":"348fef0dcf99e58fb4e455b94757b22eb6dc4a268be7ffeccb33055d107be711","signature":false},{"version":"8c851091fd02e2b479395bd43aabe52319321c017409400b8401bdf91f7de62f","signature":false},{"version":"1b7447a385ddf3a6664fd2299170b706d8a0c1025db61f72bb28c6d214c6a399","signature":false},{"version":"bbee821e43a9a4a27878abe90a5de0a3d8ce4e9e7779024ad8dfcf19d4c2ead0","signature":false},{"version":"7e4fd8ac84b0cb9d9f22d2dc531c1992c77a9b82ab3567474e1ed50ca260ab00","signature":false},{"version":"92f37819b58faae9a014a0b1d60c579a6b0272b6e133821df2c76df7310fd4ea","signature":false},{"version":"ad7fe506c28f89b10b3e22fa1b69b6f293cf438ec6c3d91aeadf529a5ac82dba","signature":false,"impliedFormat":99},{"version":"3ee21ad12c6082cf0eacc8d43598f4530d8fd4c7b1ea447892eda7d8dfb0b7d1","signature":false,"impliedFormat":99},{"version":"6dbc921d2aaf7e671f1ff52ad37051c4fa4ed1e6fd754f5ec54fab7c19e61ee0","signature":false,"impliedFormat":99},{"version":"18ba4decf9b61abc065cd517d0d9a950aaf30b9f657c731bbd28cfab47fa734a","signature":false,"impliedFormat":99},{"version":"2a75e428eb00526bccfae68ee750f0cfd74bc0206c9379eb7009d795b777e055","signature":false,"impliedFormat":99},{"version":"309b4b26e9f89995db963b3760022f62d32617f05868b24e57a624728a372b1b","signature":false,"impliedFormat":99},{"version":"87bbb8636f6b99f0fa194fe44c215830105196fe212bde83c9f389f0c6325a63","signature":false,"impliedFormat":99},{"version":"875ad5618915ff87eda0d9fbf9e338a471afe05295ed861eefd7517bbf1e8538","signature":false,"impliedFormat":99},{"version":"a18ae6474592927f74144d0cdeaf35b5ce6d966a2146961ccb5c93b6a4b186f9","signature":false,"impliedFormat":99},{"version":"22f07bcad72a9b74048b009307542e4ab4cd0b4895577bee33a017908fd3e746","signature":false,"impliedFormat":99},{"version":"830281ce27e529958ed6206ae35d8777ee94df5a986f1890865b34f08a8ce77e","signature":false,"impliedFormat":99},{"version":"0409888cea8cc11eb17c106343b4dba69a872cf9327487d2d45f5c5b3be4357b","signature":false,"impliedFormat":99},{"version":"ab45e566d188bc74649a1b295e556eee18ec5255b10669555c7d7d9cf7c96f65","signature":false,"impliedFormat":99},{"version":"f307b887454de60563a6c0958110b6357b0b2277055da9e4e80dc4f190f915b3","signature":false,"impliedFormat":99},{"version":"910198e867208549cccf56f19cf7c495d9315d42383c44abea32697226ed59c7","signature":false,"impliedFormat":99},{"version":"c5e204069b19526b2425dcdeb4ffe735f327d8e344256089ba1e2546870e3c81","signature":false,"impliedFormat":99},{"version":"7a82b37bf966755e247c60661091a06d3e9dfe630cb7c00d2c376ee5b444b798","signature":false,"impliedFormat":99},{"version":"54c38d4b238d051b2ff083b458b9080365957f1835e4154c8cce9461d0bb5f2d","signature":false,"impliedFormat":99},{"version":"8fdceccc4a365d9b18bd8299c1604b57a4d06c96ca568ba6bcc838d025e02dcf","signature":false,"impliedFormat":99},{"version":"b8f89312171e56d46fc8612a36e99ebe298761a9b04cc980b6f0d18a27a6f198","signature":false,"impliedFormat":99},{"version":"523dd58aee940fbd2c6a6452bb93ccb7cbb722669267f7f3f885f0ab1a347af6","signature":false,"impliedFormat":99},{"version":"629932b83fe44caf9ac3dffea9010d5eb42c7201c6faa57aec4a6494513c6501","signature":false,"impliedFormat":99},{"version":"5de48a3f2374e5cf5a38c4379f7efb69b6638b55ef416c8b3a512e4aab7c5c60","signature":false,"impliedFormat":99},{"version":"90a3419cc41adc38a2f9a311d5e7457b862b1308916819e7ba362a97f1ad8751","signature":false,"impliedFormat":99},{"version":"4a36194b00accb54b2f3876e4968b9b48b6e21c83247b7ebc960c55a2016afe4","signature":false,"impliedFormat":99},{"version":"612343dfb58b70234780edcc7c0a43bc1bea32e271743b2c1ddc86f41c0bac7e","signature":false,"impliedFormat":99},{"version":"d9a6e1098e070a9f7d7699d9d2301eb4c45584e96cc62d873db1052108e94cf6","signature":false,"impliedFormat":99},{"version":"43d79eea2ea8d44bb16fbb4d63a154c100014ff13b27017b6f0d8c44d9105d22","signature":false,"impliedFormat":99},{"version":"e314796b9b4dac22a8134dfc8853bdc9acb42e71c20a9c23bd82bf7a5a1f77d2","signature":false,"impliedFormat":99},{"version":"88bf2ae18bb8720948860e3500ec233f78dacab4135f419416dd09b88f04d83b","signature":false,"impliedFormat":99},{"version":"40046d2fe836e7ae453c578a825f6140a838ff73c894ee2858c92efa10dff6f7","signature":false,"impliedFormat":99},{"version":"442518b6e30901b44c5fd3f083ee70fd5292a32e269de7e7d0545b08fe102f56","signature":false,"impliedFormat":99},{"version":"cce361889b35bdfab9ac17a69aaa889e5676be2e53399b9eefc24aee2776b0e0","signature":false,"impliedFormat":99},{"version":"25e6ac2a8c928f97af0b0a95950782965f6343b4e68a771e2c6156a3e18b715c","signature":false,"impliedFormat":99},{"version":"c381ba8a838934dbcf3a6d17b3102b4de15a783b6edb356389aba1ff1ffc6aa1","signature":false,"impliedFormat":99},{"version":"4613f8fba081330b7282714a1bf7e642138077bd367e962edc9362aaa7b76b00","signature":false,"impliedFormat":99},{"version":"54bb8fad8c51dda9a9741abb6a1c1a320d7ce8ba6f7f419acd2070de89620d4b","signature":false,"impliedFormat":99},{"version":"b82dda74cdfeb31df934f5c86e96a42df3fcc6c2877cb10c1704cb5cf94735a5","signature":false,"impliedFormat":99},{"version":"cbd28a6973462b33bf5f92000fc24402b834559b9c196e6647a90ffa29047d8f","signature":false,"impliedFormat":99},{"version":"8573768d17320566534548e2b9ba072383c029bdec3db24ae341381151602ebf","signature":false,"impliedFormat":99},{"version":"9490e04f26d971d198db04c4bb7aaba26b77112ae1aea0151c4db694e74f688f","signature":false,"impliedFormat":99},{"version":"2f542551141578eca3d3d320108b4d254e5007d0e4e564dea342f2b36b486b43","signature":false,"impliedFormat":99},{"version":"c3e879bc4555ccea54996bd62c7cf8bb323faacfaf8124f4a6b5e174934e2192","signature":false,"impliedFormat":99},{"version":"a651806761356f19f2f32964edd6669b0888bfaaa2683fbc2aa1a2edcc829b41","signature":false,"impliedFormat":99},{"version":"9bc1de53de139acc286b888ff31c52b0886e79369d49951c482d24a58b027eca","signature":false,"impliedFormat":99},{"version":"ee7f62e22090091ca9ce6e93d295f5df86b78543cccd373192d9c6ba42c0626b","signature":false,"impliedFormat":99},{"version":"3524ce98b2367def6c5462607879495c2222a0d15576ec0d6b18c1bb5233a164","signature":false,"impliedFormat":99},{"version":"57c99c7abc9bc2aee6d6dd4a0c97f7a38edce5a70e95ae79c845a5eb4277e008","signature":false,"impliedFormat":99},{"version":"da944a2e302c850bee1cdf67366103f7c3124cc75d84c1724d8aca054b3ffa55","signature":false,"impliedFormat":99},{"version":"5eac9dd203cab97444b7c1066c32d1d315d74ba4e424f391d589cafcd339665c","signature":false,"impliedFormat":99},{"version":"45a1b52e453613ecc9683eda5903fb5c7f34bf49421788e73adb6c0fbcbf9432","signature":false,"impliedFormat":99},{"version":"8a737f322864a07fd92c8b487952b25fe547fba5d481165c0915c3d2678f541d","signature":false,"impliedFormat":99},{"version":"128bbf612a495b51113a4171e6527ad39e6b73121093fb817e18714098741517","signature":false,"impliedFormat":99},{"version":"69f343d1f18437de87812cb77f8915051b296cf028078e3efeb82a57d8304f01","signature":false,"impliedFormat":99},{"version":"03ae50c9696231747604742a9ffdc1f64e1fd270293ff7001093e2bb07676dce","signature":false,"impliedFormat":99},{"version":"55ba48ec88c08d555466cd2e7fd6cb94d51f16938ec8f2a457ab8ccadb7b36d9","signature":false,"impliedFormat":99},{"version":"d07e574689d3c306ddd8af1d4b116b2e8b4bd2c45887c0c9096e027dab154c8d","signature":false,"impliedFormat":99},{"version":"8535100652163d62c28aa373d5a0acba59adf2a5a0c00d57a8812b0017b2dc03","signature":false,"impliedFormat":99},{"version":"a4d8847f6ae630548c86ae8d2b03a318f085cc769084678d9c4147d7c2b0836b","signature":false,"impliedFormat":99},{"version":"8c2c431c6bec1dcdd706c45b9d8108b47f1a494dc75c7c38f45116533f1a0bf4","signature":false,"impliedFormat":99},{"version":"7d074c6fa81fdbe2daf9896e0479c6c560316284119060c28ed084232dd37c9d","signature":false,"impliedFormat":99},{"version":"383404fb0375c3515a47bed47ee8c406f5bdf9c088e5f5c79c4327106dfd1086","signature":false,"impliedFormat":99},{"version":"88483a2910d5fad0acd5fbbdf4358576dde9b163643bede3b51619e4d8fc9d41","signature":false,"impliedFormat":99},{"version":"eb0d6e551af23aba9132a0978c5ddc482c4b384246721b794d5c1980346f555d","signature":false,"impliedFormat":99},{"version":"cc816dd5985a75025819a9bf4a76f1def881ac9c2e9a4da20858dbb05ea44937","signature":false,"impliedFormat":99},{"version":"fc11c054213d51ac7ecadcf0ca518859f76db0c008762f049c58dba14243a211","signature":false,"impliedFormat":99},{"version":"70f40f02f8ffdce0407a30fca80c77f23cb5de8e9b768bfd8716fdafd1d8412d","signature":false,"impliedFormat":99},{"version":"f4cd0a72f9de457561bdacb82e5675b57d5635e87654134df52f9a4a4bb22890","signature":false,"impliedFormat":99},{"version":"7db389047e54da976b18533a3df3ab2c9c394cd820378f7dcaa8b4ad7dc836cd","signature":false,"impliedFormat":99},{"version":"6e340a85524fce7f8f58e5dcfb128b00e637619e8fa562e711ec2b43cbb9e2a0","signature":false,"impliedFormat":99},{"version":"b6cc89d55f02ef941bb221eff43d73936ad5bbc95cf5cfff3ac952b28166a711","signature":false,"impliedFormat":99},{"version":"137e8aeb2165de7c22c0c1dcebab9c91394de8333901d14b062ef6dce8c396e2","signature":false,"impliedFormat":99},{"version":"b489a50ada238964749a07f25cb5786f362e9ce79bc36fae6b52ec21c1339f62","signature":false,"impliedFormat":99},{"version":"fecaba840d51488eb9a8a51b2f99b092da8cf3c14b548010a03183cdff562645","signature":false,"impliedFormat":99},{"version":"41951657135679a5228d6490172f15cc316ce40aa2be486f6384584e3def6eeb","signature":false,"impliedFormat":99},{"version":"381c979fdcb2b33d564e737adb17df543996ba4dc61e08948be34f83de550a70","signature":false,"impliedFormat":99},{"version":"28364e5811990ba6a458a51a5a0a35d3a3eff450fac77abeed1e6c0b406a5069","signature":false,"impliedFormat":99},{"version":"8b3b1c047d6050a34bd3d25391bdb702de8d9688f4eeef3bdd5bf1d1e08f8112","signature":false,"impliedFormat":99},{"version":"995b49264458fb3c207eb6f58c54cfae72074af34f7e86cfe6faf201eb13663f","signature":false,"impliedFormat":99},{"version":"6dc5b19bea65d409640790e6cab3b6db88fb97fc97e54d5ee3860bbf7dd191a1","signature":false,"impliedFormat":99},{"version":"72a418fe7f3ecb26121b423d0b33aad1b56db8c446e37b3c145d840480509587","signature":false,"impliedFormat":99},{"version":"83d8accbb14a27cf3720631623be0a833f88cc34fb663216b65d42c6bf44ae14","signature":false,"impliedFormat":99},{"version":"645d03c345eb42f3dda7a95af111d00bc7a9a0175acbc5cc002956a67bfa80ac","signature":false,"impliedFormat":99},{"version":"e898e696d72178aa8dc6c3188fe9182cd1f41451e2ba164da5aa1e07fe016287","signature":false,"impliedFormat":99},{"version":"cc2e64e3910bd1e71626259d983857b89191fba5e31873394f4f57e349fc661f","signature":false,"impliedFormat":99},{"version":"85d9bc60772a19638ee30d3badb8857e53f25c42ac30dc5e82807fadeb7f2a56","signature":false,"impliedFormat":99},{"version":"6bb5bfb09f839b8052a78aaf1febe72e09c4c1cb5bf626fbe9af8933fb3cb807","signature":false,"impliedFormat":99},{"version":"a61d06849a436da868e27c4decaf953ec224fdb5d4c9b0cbe9e309d19fd357d9","signature":false,"impliedFormat":99},{"version":"a9b4b3be1009867de7122018d6b83b7ade0421d497dde42efec8eb678851389d","signature":false,"impliedFormat":99},{"version":"39529b831f72cfd453fa1f164e1f817a6d848d9a8337a24b984825bb9f3eae40","signature":false,"impliedFormat":99},{"version":"5266030294334654aa80948af12013781829e430db27a69336ee182cfa9c9b58","signature":false,"impliedFormat":99},{"version":"0d28abae53e4e24af5166421a6e4c872cbe935c24e1934f430f950418d46e2d2","signature":false,"impliedFormat":99},{"version":"0b6f0ca942435ae4e03bd75bce069d928182530111e646341762235bf4d119fa","signature":false,"impliedFormat":99},{"version":"ccd9c42cc99ad640a955457681e77a43ac56d6188512d16bea5da60effa83728","signature":false,"impliedFormat":99},{"version":"5f986c709cd66b1a23f97a6b868120d91d131e72fcfde759d2114545b89d0abe","signature":false,"impliedFormat":99},{"version":"93edd07660b0883b9c162fa93f85f8522b2103ec1a121b8a131165bfef0d83ac","signature":false},{"version":"99bdd818698ddcc4c75c8a51c2b29d6606bb954d71d325bf5b1f6a7558e69956","signature":false},{"version":"08388bf73ab45f06433a32ec5c3915dd1ca33f2d8aeb844bf9b49052a988a5f8","signature":false},{"version":"9b0568a6ad28863645cef69542a678f6705710dbddc7aee6c70727663ea029ad","signature":false},{"version":"3fc77ad73dcdb616c9ce94f4b5261900dc3368fb12ac3ddc4acf5e267eb2f98f","signature":false},{"version":"9732902485bd1e68cfd5f0d61630c740f753d766c5250e7dd011e9e0211f9b5f","signature":false},{"version":"dab883520fa35ce587bcc8ae06f39f2877e21b78627c1220b513524ea79c9082","signature":false},{"version":"a26d74bc8768e134734fa049d5a89fb674a560292f4bf1b39392416dc04cf49e","signature":false,"impliedFormat":1},{"version":"ea7f3d87bb25b8cf26c1b440de31b628c53b5e72e8f1ab1726356bf58acf5946","signature":false,"impliedFormat":1},{"version":"7ec047b73f621c526468517fea779fec2007dd05baa880989def59126c98ef79","signature":false,"impliedFormat":1},{"version":"148ad734850375f1a3d51523b329997d20d661381c7e9cbe26dd35e5238f8778","signature":false,"impliedFormat":1},{"version":"ef73bcfef9907c8b772a30e5a64a6bd86a5669cba3d210fcdcc6b625e3312459","signature":false,"impliedFormat":1},{"version":"2fbe402f0ee5aa8ab55367f88030f79d46211c0a0f342becaa9f648bf8534e9d","signature":false,"impliedFormat":1},{"version":"b94258ef37e67474ac5522e9c519489a55dcb3d4a8f645e335fc68ea2215fe88","signature":false,"impliedFormat":1},{"version":"8512cce0256f2fcad4dc4d72a978ef64fefab78c16a1141b31f2f2eba48823d1","signature":false,"impliedFormat":1},{"version":"26c57c9f839e6d2048d6c25e81f805ba0ca32a28fd4d824399fd5456c9b0575b","signature":false,"impliedFormat":1},{"version":"0d092ff6fecea1fbc38c1ffccfcf5d9c2662b7102334e7501930226f5418cd9d","signature":false},{"version":"f7c6db52f893e4c81cd0086be852bdfd559d860a9d78edcd16ab817e00ac5e2e","signature":false},{"version":"03e892344ad170438ccfc156b4ee7ff0be4e535a2939e038f64556ce03b934ed","signature":false},{"version":"92e5b566d09055d4359fa80774d33b9cbc3acf67b562ed69e30618a18a5d6ae5","signature":false},{"version":"c3d577953f04c0188d8b9c63b2748b814efda6440336fa49557f0079f5cf748a","signature":false,"impliedFormat":1},{"version":"787fe950e18951b7970ec98cb05b3d0b11fcdfeb2091a7ea481ac9e52bf6c086","signature":false,"impliedFormat":1},{"version":"13ceda04874f09091da1994ba5f58bf1e9439af93336616257691863560b3f13","signature":false,"impliedFormat":1},{"version":"03e892344ad170438ccfc156b4ee7ff0be4e535a2939e038f64556ce03b934ed","signature":false},{"version":"30f6c2bfb861fa4ffac4e212479494edd67d52b355b45006d0787b20811f446f","signature":false},{"version":"bfdfb8d8eba1e787f3182d538352de4c2ea118030b6e2dc75d266d2cdf12360d","signature":false},{"version":"e41377024460fcb29b6984c00cbb214566d86577bc2500cd51c58ad53aa2d2ef","signature":false},{"version":"229879864ede75969559434beb17b5a83d74138c028348b25573b075fb55c81d","signature":false},{"version":"b7f6fd7e8378bfc165cdc7d8f297e70deed2cdd82c7c3339bfc5b08c5eff5b21","signature":false},{"version":"f4e8f4151c3490cf7b68c685aabe901cbab19f962aaa2f118a97550e22689a76","signature":false,"impliedFormat":1},{"version":"799003c0ab928582fca04977f47b8d85b43a8de610f4eef0ad2d069fbb9f9399","signature":false,"impliedFormat":1},{"version":"d998eea476c695d8e4ff9d007d5b46d49ca2ffa052f74dc20ca516425abd57b1","signature":false,"impliedFormat":1},{"version":"a0bd46d587005aad4819980f6cf2dbcd80ebf584ed1a946202326a27158ba70e","signature":false,"impliedFormat":1},{"version":"07fcbb61a71bd69a92a5bbde69e60654666cf966b5675c2010c3bf9f436f056a","signature":false,"impliedFormat":1},{"version":"88b2eb23d36692162f2bf1e50577ebcde26de017260473e03ed9a0e61e2726a4","signature":false,"impliedFormat":1},{"version":"23ffbd8c0e20a697d2ea5a0cf7513fb6e42c955a7648f021da12541728f62182","signature":false,"impliedFormat":1},{"version":"43fba5fc019a4ce721a6f53ddb97fdc34c55049cfb793bc544d5c864ee5560b9","signature":false,"impliedFormat":1},{"version":"f4e12292c9a7663a13d152195019711c427c552eb0fa02705e0f61370cd5547a","signature":false,"impliedFormat":1},{"version":"c127ebf14d1b59d1604865008fb072865c5ca52277621f566092fe1f42ce0954","signature":false,"impliedFormat":1},{"version":"def638da26d84825a312113a20649d3086861de7c06a18ea13121278702976fd","signature":false,"impliedFormat":1},{"version":"fbaf86f8ba11298dea2727ce0da84b4ab6ae6c265e1919d44aff7d9b2bbc578a","signature":false,"impliedFormat":1},{"version":"c1010caaeaca8e420c6e040c2e822dbe18702459c93a7d2d5de38597d477b8cd","signature":false,"impliedFormat":1},{"version":"e1f0d8392efd9d71f2644eb97d3f33d90827e30ea8051d93b6f92bb11dff520a","signature":false,"impliedFormat":1},{"version":"085211167559ca307d4053bb8d2298d5ad83cbc3d2ae9bb4c8435a4cabf59369","signature":false,"impliedFormat":1},{"version":"55fc49198d8a85a73cdb79e596d9381cfdc9de93c32c77d42e661c1c1e7268ef","signature":false,"impliedFormat":1},{"version":"6a53fb3df8dd32ed1a65502ca30aeae19cfe80990e78ba68162d6cb2a7fed129","signature":false,"impliedFormat":1},{"version":"b5dcc18d7902597a5584a43c1146ca4fe0295ceb5125f724c1348f6a851dd6ed","signature":false,"impliedFormat":1},{"version":"0c6b0f3fbe6eb6a3805170b3766a341118c92ed7b6d1f193b9f35aa82f594846","signature":false,"impliedFormat":1},{"version":"60eaadb36cf157c5cae9c40e84fa367d04f52a150db3920dbe35139780739143","signature":false,"impliedFormat":1},{"version":"4680a32b1098c49dc87881329af1e68af9af94e051e1b9e19fed555a786f6ce6","signature":false,"impliedFormat":1},{"version":"89fcd129ec37f321cddcdb6b258ffe562de4281e90ec3ccbe7c1199ba39359ca","signature":false,"impliedFormat":1},{"version":"4313011f692861c2c1f5205d7f9a473e763adab6444f9853b96937b187fb19f7","signature":false,"impliedFormat":1},{"version":"caa57157e7bdb8d5f1efe56826fb84a6c8f22a1927bba7fa21fd54e2a44ccba2","signature":false,"impliedFormat":1},{"version":"6b74700abfe4a9b88be957fd8e373cfd998efb1a5f6ad122da49a92997e183ad","signature":false,"impliedFormat":1},{"version":"9ef1342f193bd8bae86c64e450c3ac468ef08652110355e1f3cdd45362eb95c4","signature":false,"impliedFormat":1},{"version":"6853c91662c36a2bf4c8371a87177c819007c76a23c293ef3f686ce9157ae4c8","signature":false,"impliedFormat":1},{"version":"9be1c5dabce43380d13fc621100676b03d420b5687b08d1288f479bee68ab7a8","signature":false,"impliedFormat":1},{"version":"8996d218010896712678e6a0337d8ef8b81c1066ab76f637dd8253f0d6ff838d","signature":false,"impliedFormat":1},{"version":"a15603bf387fc45defe28a68f405a6c29105e135c4e8538eeb6d0a1ef5b69a81","signature":false,"impliedFormat":1},{"version":"84e2532e4d42949a2775cdd8bb7b2b97370dd6ddb683d0c199b21bf6978b152d","signature":false,"impliedFormat":1},{"version":"22bf5f19f620db3b8392cfece44bdd587cdbed80ba39c88a53697d427135bf37","signature":false,"impliedFormat":1},{"version":"23ebbd8d484d07e1c1d8783169c20570ed8409966b28f6be6cf8e970d76ef491","signature":false,"impliedFormat":1},{"version":"18b6fa2c778cad6489f2febf76433453f5e2432ec3535f2d45ae7d803b93cc17","signature":false,"impliedFormat":1},{"version":"609d0d7419999cf44529e6ba687e2944b2fc7ad2570d278fd4e6b1683c075149","signature":false,"impliedFormat":1},{"version":"249cf421b8878a3fe948d9c02f6b0bae65491b3bb974c2ffc612341406fa78ff","signature":false,"impliedFormat":1},{"version":"b4aa22522d653428c8148ddbf1dcc1fb3a3471e15eb1964429a67c390d8c7f38","signature":false,"impliedFormat":1},{"version":"30b2cee905b1848b61c7d28082ebfa2675dd5545c0d25d1c093ce21a905cdccc","signature":false,"impliedFormat":1},{"version":"0a2a2eed4137368735205de97c245f2a685af1a7f1bf8d636b918a0ee4ff4326","signature":false,"impliedFormat":1},{"version":"69f342ce86706aa2835a62898e93ea7a1f21b1d89c70845da69371441bb6cd56","signature":false,"impliedFormat":1},{"version":"b5ab4282affcfd860dd1cc3201653f591509a586d110f8e5b1b010508ba79b2c","signature":false,"impliedFormat":1},{"version":"d396233f6cd3edf0d33c2fbfc84ded029c3ea4a05af3c94d09d31a367cced111","signature":false,"impliedFormat":1},{"version":"bc41a726c817624a5136ae893d7aac7c4dc93c771e8d243a670324bccf39b02b","signature":false,"impliedFormat":1},{"version":"710728600e4b3197f834c4dd1956443be787d2e647a72f190bf6519f235aaadd","signature":false,"impliedFormat":1},{"version":"a45097e01ef30ba26640fed365376ab3ccd5faf97d03f20daff3355a7e60286a","signature":false,"impliedFormat":1},{"version":"763cbb7c22199f43fd5c2b1566af5ba96bf7366f125dd31a038a2291cbc89254","signature":false,"impliedFormat":1},{"version":"031933bf279b7563e11100b5e1746397caf3a278596796a87bc0db23cf68dc9e","signature":false,"impliedFormat":1},{"version":"a4a54c1f58fc6e25a82e2c0f651bf680058bd7f72cfb2d43b85ee0ab5fe2e87e","signature":false,"impliedFormat":1},{"version":"9613d789b6f1037f2523a8f70e1b736f1da4566b470593da062be5c9e13dac57","signature":false,"impliedFormat":1},{"version":"0d2a320763a0c9c71493f8f1069971018c8720a6e7e5a8f10c26b6de79aa2f7d","signature":false,"impliedFormat":1},{"version":"817e0df27a237a268dc16e5acffc19f9a74467093af7a0ba164ee927007a4d25","signature":false,"impliedFormat":1},{"version":"43102521b5ca50ff1865188c3c60790feaed94dc9262b25d4adec4dbc76f9035","signature":false,"impliedFormat":1},{"version":"f99947f8d873b960b0115e506ef9c43f4e40c2071b1d20375564538af4a6023b","signature":false,"impliedFormat":1},{"version":"c1e5ad5ca89d18d2a36d25e8ec105623648cf35615825e202c7d8295a49d61ab","signature":false,"impliedFormat":1},{"version":"2b6c9cb81da4e0a2e32a58230e8c0dec49fc5b345efb7f7a3648b98956be4b13","signature":false,"impliedFormat":1},{"version":"99e34af3ede50062dcc826a1c3ce2d45562060dfd0f29f8066381a6ef548bf2a","signature":false,"impliedFormat":1},{"version":"49f5c2a23ea5fc4b2cdb4426f09d1c8b83f8409fa2af13ef38845cc9b9d4bc3d","signature":false,"impliedFormat":1},{"version":"e935227675144b64ecde3489e4a5e242eeb25fdd6b7464b8c21ad1f7a0faa88b","signature":false,"impliedFormat":1},{"version":"b42e6bbe88dc79c2d6dc5605fb9c15184e70f64bdd7b8d4069b802b90ce86df6","signature":false,"impliedFormat":1},{"version":"b9cd712399fdc00fdae07e96c9b39c3cb311e2a8a5425f1bd583f13cab35e44b","signature":false,"impliedFormat":1},{"version":"5a978550ae131b7fef441d67372fd972abab98ea9fdb9fa266e8bdc89edcb8d6","signature":false,"impliedFormat":1},{"version":"4f287919cfc1d26420db9f0457cd5c8780b1ef0a9f949570936abe48d3a43d91","signature":false,"impliedFormat":1},{"version":"496b23b2fd07e614bc01d90dd4388996cb18cd5f3a612d98201e9f683e58ad2e","signature":false,"impliedFormat":1},{"version":"dcfbe42824f37c5fb6dc7b9427ef2500791ec0d30825ecb614f15b8d5bf5a667","signature":false,"impliedFormat":1},{"version":"390124ad2361b46bf01851d25e331cd7eed355d04451d8b2a4aa985c9de4f8ce","signature":false,"impliedFormat":1},{"version":"14d94f17772c3a58eda01b6603490983d845ee2012cd643f7497b4e22566aacb","signature":false,"impliedFormat":1},{"version":"03ef2386c683707ce741a1c30cb126e8c51a908aa0acc01c3471fafb9baaacd5","signature":false,"impliedFormat":1},{"version":"66a372e03c41d2d5e920df5282dadcec2acae4c629cb51cab850825d2a144cea","signature":false,"impliedFormat":1},{"version":"5b48ba9a30a93176a93c87f9e0abf26a9df457eeb808928009439ca578b56f27","signature":false,"impliedFormat":1},{"version":"4707625392316d3c16edbd0716f4ac310e8ff5d346d58f4d01a2b7e0533a23df","signature":false,"impliedFormat":1},{"version":"154d58a4b2d9c552dc864ea39c223d66efd0ed2dd8b55bd13db5225d14322915","signature":false,"impliedFormat":1},{"version":"6a830433fa072931b4ea3eb9aa5fa7d283f470080586a27bfe69837a0f12de9a","signature":false,"impliedFormat":1},{"version":"d25e930e181f4f69b2b128514538f2abb54ef1d48a046ad776ac6f1cda885a72","signature":false,"impliedFormat":1},{"version":"0259b4c21bc93b52ca82c755f97fc90481072bcc44a8010131b2ea7326cf03fe","signature":false,"impliedFormat":1},{"version":"bea43a13a1104a640da0cb049db85c6993f484a6cc03660496b97824719ecc91","signature":false,"impliedFormat":1},{"version":"0224239d61fe66d4900544d912b2e11c2cca24b4707d53fdb94b874a01e29f48","signature":false,"impliedFormat":1},{"version":"2bce8fd2d16a9432110bbe0ba1e663fd02f7d8b8968cd10178ea7bc306c4a5df","signature":false,"impliedFormat":1},{"version":"9c4ad63738346873d685e5c086acbf41199e7022eff5b72bb668931e9ca42404","signature":false,"impliedFormat":1},{"version":"cfb6329bf8ce324e83fe4bbdee537d866a0d5328246f149a0958b75d033de409","signature":false,"impliedFormat":1},{"version":"efc3816f19ea87a7050c84271ea3d3aad9631a517c168013c4f4b6724c287ce0","signature":false,"impliedFormat":1},{"version":"f99f6737336140047e8dd4ade3859f08331aa4b17bc2bd5f156a25c54e0febbc","signature":false,"impliedFormat":1},{"version":"12a2b25c7c9c05c8994adf193e65749926acfcc076381f7166c2f709a97bdf0a","signature":false,"impliedFormat":1},{"version":"0f93a3fdd517c1e45218cd0027c1d6b82237e379dc6b66d693aab1fe74c82e81","signature":false,"impliedFormat":1},{"version":"03c753da0bee80ad0d0f1819b9b42dfe9bf9f436664caf15325aa426246fd891","signature":false,"impliedFormat":1},{"version":"18f5bf1dae429c451f20171427c9e3223fade4346af4dfd817725cbeb247a09d","signature":false,"impliedFormat":1},{"version":"a4eece5fab202e840dd84f7239e511017a8162edb8fc8b54ff2851c5c844125c","signature":false,"impliedFormat":1},{"version":"c4a94af483a63bf947d89f97553a55df5107c605ec8a26f0b9b8bdcc14bd6d89","signature":false,"impliedFormat":1},{"version":"19de2915ccebc0a1482c2337b34cb178d446def2493bf775c4018a4ea355adb8","signature":false,"impliedFormat":1},{"version":"9be8fc03c8b5392cd17d40fd61063d73f08d0ee3457ecf075dcb3768ae1427bd","signature":false,"impliedFormat":1},{"version":"3b568b63f0e8b3873629a4d7a918dce4266ad41461004ab979f8dcdfd13532bb","signature":false,"impliedFormat":1},{"version":"a5e5223c775fe30d606b8aaa521953c925d5ad176a531c2b69437d2461aaabbd","signature":false,"impliedFormat":1},{"version":"8cbf41d2d1ce8ac2066783ae00613c33feef07493796f638e30beaf892e4354a","signature":false,"impliedFormat":1},{"version":"e22ad737718160df198cd428f18da707177d0467934cecdeed4be6e067b0c619","signature":false,"impliedFormat":1},{"version":"15bf5ed8cb7c1a1e1db53fa9b45bc1a1c73c0497735343a8d0c59fdb596a3744","signature":false,"impliedFormat":1},{"version":"791fce84bce8b6948e4f23422d9cbbd7d08c74b3f91cca12dcae83d96079798b","signature":false,"impliedFormat":1},{"version":"8a2619c8e24305f6b9700b35af178394b995dcb28690a57a71cca87ee7e709ae","signature":false,"impliedFormat":1},{"version":"f95fd2fc3cc164921a891f5d6c935fa0d014a576223dd098fc64677e696b0025","signature":false,"impliedFormat":1},{"version":"8c9cecaaa9caba9a8caa47f46dcf24b524b27899b286d8edcc75a81b370d2ba3","signature":false,"impliedFormat":1},{"version":"2b7a82692ecc877c5379df9653902e23f2d0d0bc9f210ec3cf9e47be54413c5c","signature":false,"impliedFormat":1},{"version":"e2ad09c011cf9d7ee128875406bef787eeb504659495f42656a0098c15fe646c","signature":false,"impliedFormat":1},{"version":"eb518567ea6b0b2623f9a6d37c364e1b1ac9d8b508d79e558f64ac05c17e2685","signature":false,"impliedFormat":1},{"version":"630a48fb8f6b07161588e0aee3f9d301c59c97e1532c884118f89368baf4073b","signature":false,"impliedFormat":1},{"version":"14736c608aa46120f8d6d0bc5e0721b46b927bc7eba20e479600571935f27062","signature":false,"impliedFormat":1},{"version":"7574803692d2230db13205a7749b9c3587dccaccdf9e76f003f9e08078bb6d09","signature":false,"impliedFormat":1},{"version":"f3cc1588e666651c51353b1728460bee8acbc6e0f36be8c025eaaf292dca525d","signature":false,"impliedFormat":1},{"version":"0d4ea8a20527dcf3ad6cf1bd188b8ad4e449df174fad09b9e540ed81080af834","signature":false,"impliedFormat":1},{"version":"aa82876d59912d25becff5a79ed7341af04c71bfeb2221cc0417bc34531125e2","signature":false,"impliedFormat":1},{"version":"6f4b0389f439adc84cba35d45428668eabcfbdd351ba17e459d414ca51ab8eb8","signature":false,"impliedFormat":1},{"version":"d5dd33d15fbb07668c264b38065ac542a07a7650af4917727bbc09b58570e862","signature":false,"impliedFormat":1},{"version":"7d90202d0212e9cdc91a20bfddf04a539c89f09fe1d64db3343546fa2eb37e71","signature":false,"impliedFormat":1},{"version":"1a5d073c95a3a4480b17d2fa7fd41862a9df0cb2afaee86834b13649e96bdb45","signature":false,"impliedFormat":1},{"version":"2092495a5b3116c760527a690c4529748f2d8b126cdd5f56b2ce2230b48aba3f","signature":false,"impliedFormat":1},{"version":"620b29d6adbd4061bc0a8fedf145fcc8e8fc9648fb6e0a39726e33babb4e07bc","signature":false,"impliedFormat":1},{"version":"931eda51b5977f7f3fa7a0d9afde01cfd8b0cc1df0bb66dcf8c2cf6e7090384e","signature":false,"impliedFormat":1},{"version":"b084a412374bdd124048c52c4e8a82d64f3adec6c0a9ad5ecbb7317636039b0f","signature":false,"impliedFormat":1},{"version":"11199daa694c3ced3cc2a382a3fa7bd64e95eb40f9bbc3979fc8fb43f5ba38cc","signature":false,"impliedFormat":1},{"version":"2c86f279d7db3c024de0f21cd9c8c2c972972f842357016bfbbd86955723b223","signature":false,"impliedFormat":1},{"version":"dfb53b9d748df3e140b0fddb75f74d21d7623e800bb1f233817a1a2118d4bb24","signature":false,"impliedFormat":1},{"version":"8cfc293b33082003cacbf7856b8b5e2d6dd3bde46abbd575b0c935dc83af4844","signature":false,"impliedFormat":1},{"version":"7730c538d6d35efe95d2c0d246b1371565b13037e893178033360b4c9d2ac863","signature":false,"impliedFormat":1},{"version":"b256694544b0d45495942720852d9597116979d52f2b53c559fda31f635c60df","signature":false,"impliedFormat":1},{"version":"794e8831c68cc471671430ee0998397ea7a62c3b706b30304efdc3eaff77545a","signature":false,"impliedFormat":1},{"version":"9cfc1b227477e31988e3fb18d26b6988618f4a5da9b7da6bc3df7fc12fb2602e","signature":false,"impliedFormat":1},{"version":"264a292b6024567dd901fdabbf3239a8742bea426432cdbda4cf390b224188e1","signature":false,"impliedFormat":1},{"version":"f1556a28bb8e33862dcfa9da7e6f1dca0b149faf433fe6a50153ae76f3362db1","signature":false,"impliedFormat":1},{"version":"1d321aea1c6a77b2a44e02e5c2aeff290e3f1675ead1a86652b6d77f5fea2b32","signature":false,"impliedFormat":1},{"version":"4910efc2ce1f96d6e71a9e7c9437812ffae5764b33ab3831c614663f62294124","signature":false,"impliedFormat":1},{"version":"e3ceab51a36e8b34ab787af1a7cf02b9312b6651bac67c750579b3f05af646c1","signature":false,"impliedFormat":1},{"version":"baf9f145bcee1b765bed6e79fd45e1ff0ca297a81315944de81eb5d6fff2d13d","signature":false,"impliedFormat":1},{"version":"2afd62362b83db93cd20de22489fe4d46c6f51822069802620589a51ccad4b99","signature":false,"impliedFormat":1},{"version":"9f0cd9bd4ab608123b88328c78814738cbdee620f29258b89ef8cd923f07ff9c","signature":false,"impliedFormat":1},{"version":"801186c9e765583c825f28dab63a7ad12db5609e36dc6d9acbdc97d23888a463","signature":false,"impliedFormat":1},{"version":"96c515141c6135ccd6fb655fb9e3500074a9216ba956fb685dc8edc33f689594","signature":false,"impliedFormat":1},{"version":"416af6d65fc76c9ced6795f255cb1096c9d7947bede75b82289732b74d902784","signature":false,"impliedFormat":1},{"version":"a280c68b128ebba35fb044965d67895201c2f83b6b28281bb8b023ade68bf665","signature":false,"impliedFormat":1},{"version":"6fa118f15723b099a41d3beea98ed059bcd1b3eda708acf98c5eff0c7e88832f","signature":false,"impliedFormat":1},{"version":"dcbf582243e20ea50d283f28f4f64e9990b4ed4a608757e996160c63cff6aa99","signature":false,"impliedFormat":1},{"version":"efa432d8fd562529c4e9f859fd936676dd8fef5d3b4bedb06f754e4740056ea9","signature":false,"impliedFormat":1},{"version":"a59b66720b2ccf2e0150fafb49e8da8dabdf4e1be36244a4ccd92f5bd18e1e9e","signature":false,"impliedFormat":1},{"version":"c657fb1ec3b727d6a14a24c71ea20c41cb7d26a503e8e41b726bb919eb964534","signature":false,"impliedFormat":1},{"version":"50d6d3174868f6e974355bf8e8db8c8b3fcf059315282a0c359ecf799d95514a","signature":false,"impliedFormat":1},{"version":"86bf79091014a1424fc55122caa47f08622b721a4d614b97dd620e3037711541","signature":false,"impliedFormat":1},{"version":"7a63313dff3a57f824a926e49a7262f7bd14e0e833cf45fa5af6da25286769c2","signature":false,"impliedFormat":1},{"version":"36dcaeffe1a1aed1cb84d4feba32895bf442795170edccc874fa32232b2354e5","signature":false,"impliedFormat":1},{"version":"686c6962d04d90edafc174aa5940acb9c9db8949c8d425131c01d796cf9a3aef","signature":false,"impliedFormat":1},{"version":"2b1dbc3d5762d6865744b6e7be94b8b9004097698c37e93e06983e42dd8fe93b","signature":false,"impliedFormat":1},{"version":"eb5e8f74826bdf3a6a0644d37a0f48133f8ad0b5298cc2c574102868542ba4eb","signature":false,"impliedFormat":1},{"version":"c6a82a9673ba517cf04dd0803513257d0adf101aed2e3b162a54d840c9a1a3b2","signature":false,"impliedFormat":1},{"version":"fc9f0f415abaa323efcecc4a4e0b6763bfe576e32043546d44f1de6541b6399b","signature":false,"impliedFormat":1},{"version":"2c4d772ac7ac56a44deef82903364eb7c78dd7bc997701123df0ce4639fe39bb","signature":false,"impliedFormat":1},{"version":"9369ef11eed17c1c223fdea9c0fa39e83f3722914ef390b1448db3d71620c93a","signature":false,"impliedFormat":1},{"version":"aa84130dbc9049bba6095f87932138698f53259b642635f6c9e92dd0ddc7512c","signature":false,"impliedFormat":1},{"version":"084ceadd21efabd4b58667dca00d4f644306099151d2ee18cd28a395855b8009","signature":false,"impliedFormat":1},{"version":"b9503e29f06c99b352b7cae052da19e3599fa42899509d32b23a27c9bb5bebf6","signature":false,"impliedFormat":1},{"version":"75188920fe6ccc14070fe9a65c036049f1141d968c627b623d4a897ec3587e15","signature":false,"impliedFormat":1},{"version":"e2e1df7f45013d2b34f8d08e6ae5a9339724b0ea251b5445fcca3e170e640105","signature":false,"impliedFormat":1},{"version":"af06feb5d18a6ea11c088b683bdb571800d1f76b98d848eecdf41e5ec8f317fd","signature":false,"impliedFormat":1},{"version":"0596af52b95e0c8adc2c07f49f109d746b164739c5866fa8bb394dd6329a3725","signature":false,"impliedFormat":1},{"version":"c3365d08fe7a1ccc3b8e8638edc30123007f3241b4604e2585b9f14422ab97d8","signature":false,"impliedFormat":1},{"version":"a7a3d96b04bb0ec8cb7d2669767c4756f97dd70d08548f9e6522dde4de8e8a03","signature":false,"impliedFormat":1},{"version":"745e960e885a4ba04c872225cbb44bd67a7490d169ceaefab7c0dfc444768676","signature":false,"impliedFormat":1},{"version":"0b1ce1768cde3535493a9daf99e3bbb8c7dcc3a7f9d8cd358cb846af71ce5cdf","signature":false,"impliedFormat":1},{"version":"48b9603f6e8a7c94b727277592a089f94261baa64e6c9d18165da0481663a69e","signature":false,"impliedFormat":1},{"version":"3c20a3bb0c50c819419f44aa55acc58476dad4754a16884cef06012d02b0722f","signature":false,"impliedFormat":1},{"version":"4dc64902cb86e677a928293593658fbf53388f9a30d2b934140c70a7267b07ec","signature":false,"impliedFormat":1},{"version":"cb4fd56539a61d163ea9befe6b0292c32aa68a104c1f68f61416f1bc769bcfba","signature":false,"impliedFormat":1},{"version":"0d852bdc2b72b22393a8eebe374ee3efe3e0d44e630037b5e1b6087985388e62","signature":false,"impliedFormat":1},{"version":"b6c9a2deefb6a57ff68d2a38d33c34407b9939487fc9ee9f32ba3ecf2987a88a","signature":false,"impliedFormat":1},{"version":"f6b371377bab3018dac2bca63e27502ecbd5d06f708ad7e312658d3b5315d948","signature":false,"impliedFormat":1},{"version":"faa72893e85cb8ebb1dafde6b427e5204e60bb5f3ee6576bb64c01db1f255bc8","signature":false,"impliedFormat":1},{"version":"95b7ed47b31a6eaddcdd853ee0871f2bb61e39ce36a01d03dfafb83766f6c10c","signature":false,"impliedFormat":1},{"version":"19287d6b76288c2814f1633bdd68d2b76748757ffd355e73e41151644e4773d6","signature":false,"impliedFormat":1},{"version":"fc4e6ec7dade5f9d422b153c5d8f6ad074bd9cc4e280415b7dc58fb5c52b5df1","signature":false,"impliedFormat":1},{"version":"3aea973106e1184db82d8880f0ca134388b6cbc420f7309d1c8947b842886349","signature":false,"impliedFormat":1},{"version":"765e278c464923da94dda7c2b281ece92f58981642421ae097862effe2bd30fa","signature":false,"impliedFormat":1},{"version":"de260bed7f7d25593f59e859bd7c7f8c6e6bb87e8686a0fcafa3774cb5ca02d8","signature":false,"impliedFormat":1},{"version":"d95c4eaad4df9e564859f0c74a177fa0b2e5f8a155939b52580566ab6b311c3f","signature":false,"impliedFormat":1},{"version":"7192a6d17bfa06e83ba14287907b7c671bef9b7111c146f59c6ea753cfc736b9","signature":false,"impliedFormat":1},{"version":"5156d3d392db5d77e1e2f3ea723c0a8bd3ca8acffe3b754b10c84b12f55a6e10","signature":false,"impliedFormat":1},{"version":"a6494e7833ee04386a9f0c686726f7cb05f52f6e069d9293475ccb1e791ee0da","signature":false,"impliedFormat":1},{"version":"d9af0c89a310256851238f509a22aa1071a464d35dc22ea8c2a0bae42dd81bc5","signature":false,"impliedFormat":1},{"version":"291642a66e55e6ca38b029bc6921c7301f5c7b7acf21ae588a5f352e6c1f6d58","signature":false,"impliedFormat":1},{"version":"43cd7c37298b051d1ce0307d94105bcd792c6c7e017282c9d13f1097c27408e8","signature":false,"impliedFormat":1},{"version":"e00d8cce6e2e627654e49c543b582568ad0bf27c1d4ad1018d26aff78d7599df","signature":false,"impliedFormat":1},{"version":"ed13354f0d96fb6d5878655b1fead51722b54875e91d5e53ef16de5b71a0e278","signature":false,"impliedFormat":1},{"version":"fcb934d0fcdee06a8571bd90aa3a63aa288c784b3ebcecfe7ae90d3104d321f4","signature":false,"impliedFormat":1},{"version":"af682dfabe85688289b420d939020a10eb61f0120e393d53c127f1968b3e9f66","signature":false,"impliedFormat":1},{"version":"0dca04006bf13f72240c6a6a502df9c0b49c41c3cab2be75e81e9b592dcd4ea8","signature":false,"impliedFormat":1},{"version":"7dc0b5e3d7be8e1f451f0545448c2eaa02683f230797d24434b36f9820d5a641","signature":false,"impliedFormat":1},{"version":"247af61cdc3f4ec7876b9e993a2ecdd069e10934ff790c9cee5811842bff49eb","signature":false,"impliedFormat":1},{"version":"4be8c2c63d5cd1381081d90021ddfaef106881df4129eddeeaba906f2d0f75d0","signature":false,"impliedFormat":1},{"version":"012f621d6eb28172afb1b2dc23898d8bc74cf35a6d76b63e5581aa8e50fa71b3","signature":false,"impliedFormat":1},{"version":"3a561fa91097e4580c5349ce72e69d247c31c11d29f39e1d0bd3716042ff2c0b","signature":false,"impliedFormat":1},{"version":"bc9981a79dda3badea61d716d368a280c370267e900f43321f828495f4fef23c","signature":false,"impliedFormat":1},{"version":"2ed3b93d55aea416d7be8d49fe25016430caab0fe64c87d641e4c2c551130d17","signature":false,"impliedFormat":1},{"version":"3d66dfc31dd26092c3663d9623b6fc5cec90878606941a19e2b884c4eacd1a24","signature":false,"impliedFormat":1},{"version":"6916c678060af14a8ce8d78a1929d84184e9507fba7ab75142c1bcb646e1c789","signature":false,"impliedFormat":1},{"version":"3eea74afae095028597b3954bde69390f568afc66d457f64fff56e416ea47811","signature":false,"impliedFormat":1},{"version":"549fb2d19deb7d7cae64922918ddddf190109508cc6c7c47033478f7359556d2","signature":false,"impliedFormat":1},{"version":"e7023afc677a74f03f8ccb567532fe9eedd1f5241ee74be7b75ac2336514f6f6","signature":false,"impliedFormat":1},{"version":"ff55505622eac7d104b9ab9570f4cc67166ba47dd8f3badfb85605d55dd6bdc9","signature":false,"impliedFormat":1},{"version":"102fac015b1eebfa13305cb90fd91a4f0bbcabb10f2343556b3483bbb0a04b62","signature":false,"impliedFormat":1},{"version":"18a1f4493f2dbad5fd4f7d9bfba683c98cf5ed5a4fa704fa0d9884e3876e2446","signature":false,"impliedFormat":1},{"version":"f57e6707d035ab89a03797d34faef37deefd3dd90aa17d90de2f33dce46a2c56","signature":false,"impliedFormat":1},{"version":"cc8b559b2cf9380ca72922c64576a43f000275c72042b2af2415ce0fb88d7077","signature":false,"impliedFormat":1},{"version":"1a337ca294c428ba8f2eb01e887b28d080ee4a4307ae87e02e468b1d26af4a74","signature":false,"impliedFormat":1},{"version":"310fe80ff40a158c2de408efbe9de11e249c53d2de5e33ca32798e6f3fbc8822","signature":false,"impliedFormat":1},{"version":"d6ce96c7bb34945c1d444101f44e0f8ba0bba8ab7587a6cc009a9934b538c335","signature":false,"impliedFormat":1},{"version":"1b10a2715917601939a9288d49beccd45b591723256495b229569cd67bbe48a8","signature":false,"impliedFormat":1},{"version":"7498dfdeed2e003ec49cdf726ff6c293002d1d7fdadbc398ce8aafe6d0688de7","signature":false,"impliedFormat":1},{"version":"8492306a4864a1dc6fc7e0cc0de0ae9279cbd37f3aae3e9dc1065afcdc83dddc","signature":false,"impliedFormat":1},{"version":"9c86abbc4fd0248f56abc12aaecd76854517389af405d5ec2eb187fdb00a606f","signature":false,"impliedFormat":1},{"version":"9ffd906f14f8b059d6b95d6640920f530507e596e548f7a595da58ab66e3ce76","signature":false,"impliedFormat":1},{"version":"1884bccc10ce40adca470c2c371c1c938b36824f169c56f7f43d860416ca0a4c","signature":false,"impliedFormat":1},{"version":"986b55b4f920c99d77c1845f2542df6f746cb5adc9ab93eb1545a7e6ef37590d","signature":false,"impliedFormat":1},{"version":"cd00906068b81fbd8a22d021580ac505e272844408174520fafed0ae00627a5d","signature":false,"impliedFormat":1},{"version":"69fab68a769c17a52a24b868aeb644f3ee14abaa5064115f575ddd59231105ce","signature":false,"impliedFormat":1},{"version":"e181eb86b2caf80fe18c72efce6b913bc226e4a69a5456eaf4f859f1c29c6fd6","signature":false,"impliedFormat":1},{"version":"93f7871380478bc6acf02ad9f3dc7da0c21997caebbe782eb93a11b7bd06a46d","signature":false,"impliedFormat":1},{"version":"d00279ab020713264f570d5181c89ca362b7de8abddf96733de86bce0eca082c","signature":false,"impliedFormat":1},{"version":"f7db473f1d5d2a124f14886ac9dbfeccfbb94a98bbe1610a47c30c2933afa279","signature":false,"impliedFormat":1},{"version":"f44cf6c6d608ef925831e550b19841b5d71bd87195bd346604ff05644fb0d29c","signature":false,"impliedFormat":1},{"version":"154f23902d7a3fcdace4c20b654da7355fee4b7f807d1f77d6c9a24a8756013a","signature":false,"impliedFormat":1},{"version":"562f4f3c75a497d3ad7709381f850bb8c7646a9c6e94fdf8e91928e23d155411","signature":false,"impliedFormat":1},{"version":"4583380b676ee59b70a9696b42acfa986cd5f32430f37672e04f31f40b05df74","signature":false,"impliedFormat":1},{"version":"ad0a13f35a0d88803979f8ea9050ad7441e09d21a509abf2f303e18c1267af17","signature":false,"impliedFormat":1},{"version":"ba9781c718ab3d09cbde1216029072698d2da6135f0d2f856ba387d6caceb13e","signature":false,"impliedFormat":1},{"version":"d7c597c14698ba5fc8010076afa426f029b2d8edabb5073270c070cc645ba638","signature":false,"impliedFormat":1},{"version":"bd2afc69cf1d85cd950a99813bc7eff007d8afa496e7c2142a845cd1181d0474","signature":false,"impliedFormat":1},{"version":"558b462b23ea186d094dbff158d652acd58c0988c9fd53af81a8903412aa5901","signature":false,"impliedFormat":1},{"version":"0e984ae642a15973d652fd7b0d2712a284787d0d7a1db99aa49af0121e47f1df","signature":false,"impliedFormat":1},{"version":"0ad53ee208a23eef2a5cb3d85f2a9dc1019fd5e69179c4b0c02dc56c40d611c4","signature":false,"impliedFormat":1},{"version":"7a6898b26947bd356f33f4efef3eb23e61174d85dca19f41a8780d6bb4bfb405","signature":false,"impliedFormat":1},{"version":"9fe30349d26f34e85209fb06340bac34177f7eae3d6bb69dc12cd179d2c13ddf","signature":false,"impliedFormat":1},{"version":"d568c51d2c4360fd407445e39f4d86891dba04083402602bf5f24fd3969cacbb","signature":false,"impliedFormat":1},{"version":"b2483a924349ec835f4d778dd6787447a2f8bfbb651164851bff29d5b3d990a6","signature":false,"impliedFormat":1},{"version":"aae66889332cff4b2f7586c5c8758abc394d8d1c48f9b04b0c257e58f629d285","signature":false,"impliedFormat":1},{"version":"0f86c85130c64d6dbe6a9090bb3df71c4b0987bce4a08afe1ac4ece597655b9c","signature":false,"impliedFormat":1},{"version":"0ce28ad2671baed24517e1c1f4f2a986029137635bce788ee8fb542f002ac5b8","signature":false,"impliedFormat":1},{"version":"cd12e4fe77d24db98d66049360a4269299bcfb9dc3a1b47078ab1b4afac394cb","signature":false,"impliedFormat":1},{"version":"1589e5ac394b2b2e64264da3e1798d0e103b4f408f5bae1527d9e706f98269c7","signature":false,"impliedFormat":1},{"version":"ff8181aa0fde5ec2d737aecc5ebaa9e881379041f13e5ce1745620e17f78dcf9","signature":false,"impliedFormat":1},{"version":"0b2e54504b568c08df1e7db11c105786742866ba51e20486ab9b2286637d268f","signature":false,"impliedFormat":1},{"version":"bc1ffc3a2dca8ee715571739be3ec74d079e60505e1d0d2446e4978f6c75ba5c","signature":false,"impliedFormat":1},{"version":"770a40373470dff27b3f7022937ea2668a0854d7977c9d22073e1c62af537727","signature":false,"impliedFormat":1},{"version":"a0f8ce72cb02247a112ce4a2fa0f122478a8e99c90a5e6b676b41a68b1891ad2","signature":false,"impliedFormat":1},{"version":"6e957ea18b2bf951cf3995d115ad9bfa439e8d891aeb1afc901d793202c0b90d","signature":false,"impliedFormat":1},{"version":"a1c65bd78725f9172b5846c3c58ddf4bcbb43a30ab19e951f0102552fbfd3d5d","signature":false,"impliedFormat":1},{"version":"04718c7325e7df4bac9a6d026a0a2bd5a8b54501f274aaf93a03b5d1d0635bd1","signature":false,"impliedFormat":1},{"version":"405205f932d4e0ce688a380fa3150b1c7ff60e7fc89909e11a33eab7af240edb","signature":false,"impliedFormat":1},{"version":"566fc1a6616a522f8b45082032a33e6d37ff7df3f7d4d63c3cce9017d0345178","signature":false,"impliedFormat":1},{"version":"3b699b08db04559803b85aa0809748e61427b3d831f77834b8206e9f2ed20c93","signature":false,"impliedFormat":1},{"version":"b27242dd3af2a5548d0c7231db7da63d6373636d6c4e72d9b616adaa2acef7e1","signature":false,"impliedFormat":1},{"version":"e0ee7ba0571b83c53a3d6ec761cf391e7128d8f8f590f8832c28661b73c21b68","signature":false,"impliedFormat":1},{"version":"072bfd97fc61c894ef260723f43a416d49ebd8b703696f647c8322671c598873","signature":false,"impliedFormat":1},{"version":"e70875232f5d5528f1650dd6f5c94a5bed344ecf04bdbb998f7f78a3c1317d02","signature":false,"impliedFormat":1},{"version":"8e495129cb6cd8008de6f4ff8ce34fe1302a9e0dcff8d13714bd5593be3f7898","signature":false,"impliedFormat":1},{"version":"a1cd2b423f337e932a1a1bdf01125f1c4112cbdce3478645a25c51e623d6ce21","signature":false},{"version":"e36814f6891559f9832b5d20ba8221f22cf28eff6d0e1e7e938fada5fb478809","signature":false},{"version":"37bf6716b37de78b84ac6373957466761a7476fe55f12ec445077e6d19d5ac91","signature":false},{"version":"ef8b303e0266b1ee9dbfa28caa70648a71f58ff1e0891acad08056ffa734baa8","signature":false},{"version":"e4d2f26a7484bd94712d893ed7baa128a35218c55682e3d31fc997925a42aa01","signature":false,"affectsGlobalScope":true},{"version":"a897717960f62d2c61336e6160314666444415ca77f2af59d715f29c05ca1eae","signature":false},{"version":"7c8d7b003313e11a56e60ded934c77127c7cfa67121b117b88ed707c4fd9256e","signature":false},{"version":"d6037778f1e028f48bc047bec32123ce8a2de9136d1b0f54a6211c05305f3fe8","signature":false},{"version":"e430331127d01461b3332e861712bd22fc6d5807267d224f553b64ad461dc80e","signature":false},{"version":"42e46421f10445e774768ac710109ee6535574beba9d8038e71ba1124f871183","signature":false},{"version":"f9e135f0dc918fdc6fc2465c1927cc2f6579c1adb7217d4e67f22701b1134691","signature":false},{"version":"f007ff5c347ee58934a491517d2e6a64f3747f81072e60a6ff095284f2147923","signature":false},{"version":"8638de217e25431adc61af734fd7657fd35ef3ff8b1d5ecb3322b76ba9c4b5c6","signature":false},{"version":"695ed5c6593ad76dda888a9599c194d6a8c72f885185baf0ce5954d1691a3393","signature":false},{"version":"69fc870ed12c5765e77ad97fa137905e93d880198d642b33383cf97a9e63df25","signature":false},{"version":"f6921d2d5c4be18d4cc4d8a537072714c271cbb4b8e5080381847fb64b1f282c","signature":false},{"version":"af1b810717696236e4b3bf68d452d06f5b3b12adae187f84ebb83d54245160f3","signature":false},{"version":"f634e4c7d5cdba8e092d98098033b311c8ef304038d815c63ffdb9f78f3f7bb7","signature":false,"impliedFormat":1},{"version":"578a32ad3866acb8e350b85cf16b63a968acb769d1faa76163bbca241c5a6dd5","signature":false},{"version":"78f411de7955835abe48529d42832d88192c891dba286edab90b25781bafdc2f","signature":false},{"version":"e372a88fb60ea2375a7fdce12a18643c9e5c50add47daa744273a46bb9a67479","signature":false},{"version":"bdfbe9aef6a62323e268ebad32fda398c54b537b331935e7f6df5879efbde16a","signature":false,"affectsGlobalScope":true},{"version":"36a22c896b65bc88ec75120d344aad7fc75b4754094707336c7738e6d192839d","signature":false,"affectsGlobalScope":true},{"version":"62bcbba51d67355c65fb9a76bcab9e6c8c7491bd49b1e7ce083fdb2eb5a29fe1","signature":false},{"version":"eb862f6bb1fb469e28c51f664adc8f756943b19f90c5a38df7e86c0d69dfbf4d","signature":false},{"version":"049ba7baff04ca08593d267f44647725e4b9ac3471117cb87adf6bce84c0bf6b","signature":false},{"version":"74cc069906ccedc522f3b5663b35f4baf7e1fb050319d73d11529e9eed03e889","signature":false},{"version":"fe93c474ab38ac02e30e3af073412b4f92b740152cf3a751fdaee8cbea982341","signature":false,"impliedFormat":1},{"version":"c60093e32612d44af7042c3eb457c616aec3deee748a5a1eb1a6188e3d837f5c","signature":false,"impliedFormat":1},{"version":"1e00b8bf9e3766c958218cd6144ffe08418286f89ff44ba5a2cc830c03dd22c7","signature":false,"impliedFormat":1},{"version":"1729c6a33bda049e5ac5c747c35dffeb85652b666d922e6314b878f492207141","signature":false},{"version":"a80b7bc4eda856374c26a56f6f25297f4c393309d4c4548002a5238cd57b2b66","signature":false,"impliedFormat":1},{"version":"415ccc47cf69a2a87db699cc6da7f1fdcb799a1f40dab3a6220d91ac8da8abbe","signature":false},{"version":"ea7f3d87bb25b8cf26c1b440de31b628c53b5e72e8f1ab1726356bf58acf5946","signature":false,"impliedFormat":1},{"version":"260f551168be7a50e7f1d4588574894683709dad712e60cd31282f5ee31c1fa2","signature":false,"impliedFormat":1},{"version":"edbaecbc4f5cb6e16ecb39d3678d81b26e1a968dfc273dbb77821de3c8626377","signature":false},{"version":"6d5e2d8764e00a2c34e24bdc38f1bc1af6d4f52e509bcaa682d70f162993e1e0","signature":false},{"version":"f69f5899dc49c312fbdad3296cb61f4feae2b95b1ae1656f10ab4a0ece0435b8","signature":false},{"version":"ea7f3d87bb25b8cf26c1b440de31b628c53b5e72e8f1ab1726356bf58acf5946","signature":false,"impliedFormat":1},{"version":"7ec047b73f621c526468517fea779fec2007dd05baa880989def59126c98ef79","signature":false,"impliedFormat":1},{"version":"8dd450de6d756cee0761f277c6dc58b0b5a66b8c274b980949318b8cad26d712","signature":false,"impliedFormat":1},{"version":"6b5f886fe41e2e767168e491fe6048398ed6439d44e006d9f51cc31265f08978","signature":false,"impliedFormat":1},{"version":"f4a1eba860f7493d19df42373ddde4f3c6f31aa574b608e55e5b2bd459bba587","signature":false,"impliedFormat":1},{"version":"6b863463764ae572b9ada405bf77aac37b5e5089a3ab420d0862e4471051393b","signature":false,"impliedFormat":1},{"version":"904d6ad970b6bd825449480488a73d9b98432357ab38cf8d31ffd651ae376ff5","signature":false,"impliedFormat":1},{"version":"ec69ebd1c4850514ebb6724911ad56e71caa0d076891ed6b67cb10d3ebbf2586","signature":false,"impliedFormat":1},{"version":"89783bd45ab35df55203b522f8271500189c3526976af533a599a86caaf31362","signature":false,"impliedFormat":1},{"version":"26e6c521a290630ea31f0205a46a87cab35faac96e2b30606f37bae7bcda4f9d","signature":false,"impliedFormat":1},{"version":"7a7b953727d29ced0e7bc03fe05aad77dda6371e3e9a434a2f3f1f0b98223c5d","signature":false},{"version":"0345bc0b1067588c4ea4c48e34425d3284498c629bc6788ebc481c59949c9037","signature":false,"impliedFormat":1},{"version":"e30f5b5d77c891bc16bd65a2e46cd5384ea57ab3d216c377f482f535db48fc8f","signature":false,"impliedFormat":1},{"version":"f113afe92ee919df8fc29bca91cab6b2ffbdd12e4ac441d2bb56121eb5e7dbe3","signature":false,"impliedFormat":1},{"version":"49d567cc002efb337f437675717c04f207033f7067825b42bb59c9c269313d83","signature":false,"impliedFormat":1},{"version":"1d248f707d02dc76555298a934fba0f337f5028bb1163ce59cd7afb831c9070f","signature":false,"impliedFormat":1},{"version":"5d8debffc9e7b842dc0f17b111673fe0fc0cca65e67655a2b543db2150743385","signature":false,"impliedFormat":1},{"version":"5fccbedc3eb3b23bc6a3a1e44ceb110a1f1a70fa8e76941dce3ae25752caa7a9","signature":false,"impliedFormat":1},{"version":"f4031b95f3bab2b40e1616bd973880fb2f1a97c730bac5491d28d6484fac9560","signature":false,"impliedFormat":1},{"version":"dbe75b3c5ed547812656e7945628f023c4cd0bc1879db0db3f43a57fb8ec0e2b","signature":false,"impliedFormat":1},{"version":"b754718a546a1939399a6d2a99f9022d8a515f2db646bab09f7d2b5bff3cbb82","signature":false,"impliedFormat":1},{"version":"2eef10fb18ed0b4be450accf7a6d5bcce7b7f98e02cac4e6e793b7ad04fc0d79","signature":false,"impliedFormat":1},{"version":"c46f471e172c3be12c0d85d24876fedcc0c334b0dab48060cdb1f0f605f09fed","signature":false,"impliedFormat":1},{"version":"7d6ddeead1d208588586c58c26e4a23f0a826b7a143fb93de62ed094d0056a33","signature":false,"impliedFormat":1},{"version":"7c5782291ff6e7f2a3593295681b9a411c126e3736b83b37848032834832e6b9","signature":false,"impliedFormat":1},{"version":"3a3f09df6258a657dd909d06d4067ee360cd2dccc5f5d41533ae397944a11828","signature":false,"impliedFormat":1},{"version":"ea54615be964503fec7bce04336111a6fa455d3e8d93d44da37b02c863b93eb8","signature":false,"impliedFormat":1},{"version":"2a83694bc3541791b64b0e57766228ea23d92834df5bf0b0fcb93c5bb418069c","signature":false,"impliedFormat":1},{"version":"b5913641d6830e7de0c02366c08b1d26063b5758132d8464c938e78a45355979","signature":false,"impliedFormat":1},{"version":"46c095d39c1887979d9494a824eda7857ec13fb5c20a6d4f7d02c2975309bf45","signature":false,"impliedFormat":1},{"version":"f6e02ca076dc8e624aa38038e3488ebd0091e2faea419082ed764187ba8a6500","signature":false,"impliedFormat":1},{"version":"4d49e8a78aba1d4e0ad32289bf8727ae53bc2def9285dff56151a91e7d770c3e","signature":false,"impliedFormat":1},{"version":"63315cf08117cc728eab8f3eec8801a91d2cd86f91d0ae895d7fd928ab54596d","signature":false,"impliedFormat":1},{"version":"a14a6f3a5636bcaebfe9ec2ccfa9b07dc94deb1f6c30358e9d8ea800a1190d5e","signature":false,"impliedFormat":1},{"version":"21206e7e81876dabf2a7af7aa403f343af1c205bdcf7eff24d9d7f4eee6214c4","signature":false,"impliedFormat":1},{"version":"cd0a9f0ffec2486cad86b7ef1e4da42953ffeb0eb9f79f536e16ff933ec28698","signature":false,"impliedFormat":1},{"version":"f609a6ec6f1ab04dba769e14d6b55411262fd4627a099e333aa8876ea125b822","signature":false,"impliedFormat":1},{"version":"6d8052bb814be030c64cb22ca0e041fe036ad3fc8d66208170f4e90d0167d354","signature":false,"impliedFormat":1},{"version":"851f72a5d3e8a2bf7eeb84a3544da82628f74515c92bdf23c4a40af26dcc1d16","signature":false,"impliedFormat":1},{"version":"59692a7938aab65ea812a8339bbc63c160d64097fe5a457906ea734d6f36bcd4","signature":false,"impliedFormat":1},{"version":"8cb3b95e610c44a9986a7eab94d7b8f8462e5de457d5d10a0b9c6dd16bde563b","signature":false,"impliedFormat":1},{"version":"f571713abd9a676da6237fe1e624d2c6b88c0ca271c9f1acc1b4d8efeea60b66","signature":false,"impliedFormat":1},{"version":"16c5d3637d1517a3d17ed5ebcfbb0524f8a9997a7b60f6100f7c5309b3bb5ac8","signature":false,"impliedFormat":1},{"version":"ca1ec669726352c8e9d897f24899abf27ad15018a6b6bcf9168d5cd1242058ab","signature":false,"impliedFormat":1},{"version":"bffb1b39484facf6d0c5d5feefe6c0736d06b73540b9ce0cf0f12da2edfd8e1d","signature":false,"impliedFormat":1},{"version":"f1663c030754f6171b8bb429096c7d2743282de7733bccd6f67f84a4c588d96e","signature":false,"impliedFormat":1},{"version":"dd09693285e58504057413c3adc84943f52b07d2d2fd455917f50fa2a63c9d69","signature":false,"impliedFormat":1},{"version":"d94c94593d03d44a03810a85186ae6d61ebeb3a17a9b210a995d85f4b584f23d","signature":false,"impliedFormat":1},{"version":"c7c3bf625a8cb5a04b1c0a2fbe8066ecdbb1f383d574ca3ffdabe7571589a935","signature":false,"impliedFormat":1},{"version":"7a2f39a4467b819e873cd672c184f45f548511b18f6a408fe4e826136d0193bb","signature":false,"impliedFormat":1},{"version":"f8a0ae0d3d4993616196619da15da60a6ec5a7dfaf294fe877d274385eb07433","signature":false,"impliedFormat":1},{"version":"2cca80de38c80ef6c26deb4e403ca1ff4efbe3cf12451e26adae5e165421b58d","signature":false,"impliedFormat":1},{"version":"0070d3e17aa5ad697538bf865faaff94c41f064db9304b2b949eb8bcccb62d34","signature":false,"impliedFormat":1},{"version":"53df93f2db5b7eb8415e98242c1c60f6afcac2db44bce4a8830c8f21eee6b1dd","signature":false,"impliedFormat":1},{"version":"d67bf28dc9e6691d165357424c8729c5443290367344263146d99b2f02a72584","signature":false,"impliedFormat":1},{"version":"932557e93fbdf0c36cc29b9e35950f6875425b3ac917fa0d3c7c2a6b4f550078","signature":false,"impliedFormat":1},{"version":"e3dc7ec1597fb61de7959335fb7f8340c17bebf2feb1852ed8167a552d9a4a25","signature":false,"impliedFormat":1},{"version":"b64e15030511c5049542c2e0300f1fe096f926cf612662884f40227267f5cd9f","signature":false,"impliedFormat":1},{"version":"1932796f09c193783801972a05d8fb1bfef941bb46ac76fbe1abb0b3bfb674fa","signature":false,"impliedFormat":1},{"version":"d9575d5787311ee7d61ad503f5061ebcfaf76b531cfecce3dc12afb72bb2d105","signature":false,"impliedFormat":1},{"version":"5b41d96c9a4c2c2d83f1200949f795c3b6a4d2be432b357ad1ab687e0f0de07c","signature":false,"impliedFormat":1},{"version":"38ec829a548e869de4c5e51671245a909644c8fb8e7953259ebb028d36b4dd06","signature":false,"impliedFormat":1},{"version":"20c2c5e44d37dac953b516620b5dba60c9abd062235cdf2c3bfbf722d877a96b","signature":false,"impliedFormat":1},{"version":"875fe6f7103cf87c1b741a0895fda9240fed6353d5e7941c8c8cbfb686f072b4","signature":false,"impliedFormat":1},{"version":"c0ccccf8fbcf5d95f88ed151d0d8ce3015aa88cf98d4fd5e8f75e5f1534ee7ae","signature":false,"impliedFormat":1},{"version":"1b1f4aba21fd956269ced249b00b0e5bfdbd5ebd9e628a2877ab1a2cf493c919","signature":false,"impliedFormat":1},{"version":"939e3299952dff0869330e3324ba16efe42d2cf25456d7721d7f01a43c1b0b34","signature":false,"impliedFormat":1},{"version":"f0a9b52faec508ba22053dedfa4013a61c0425c8b96598cef3dea9e4a22637c6","signature":false,"impliedFormat":1},{"version":"d5b302f50db61181adc6e209af46ae1f27d7ef3d822de5ea808c9f44d7d219fd","signature":false,"impliedFormat":1},{"version":"19131632ba492c83e8eeadf91a481def0e0b39ffc3f155bc20a7f640e0570335","signature":false,"impliedFormat":1},{"version":"4581c03abea21396c3e1bb119e2fd785a4d91408756209cbeed0de7070f0ab5b","signature":false,"impliedFormat":1},{"version":"ebcd3b99e17329e9d542ef2ccdd64fddab7f39bc958ee99bbdb09056c02d6e64","signature":false,"impliedFormat":1},{"version":"4b148999deb1d95b8aedd1a810473a41d9794655af52b40e4894b51a8a4e6a6d","signature":false,"impliedFormat":1},{"version":"1781cc99a0f3b4f11668bb37cca7b8d71f136911e87269e032f15cf5baa339bf","signature":false,"impliedFormat":1},{"version":"33f1b7fa96117d690035a235b60ecd3cd979fb670f5f77b08206e4d8eb2eb521","signature":false,"impliedFormat":1},{"version":"01429b306b94ff0f1f5548ce5331344e4e0f5872b97a4776bd38fd2035ad4764","signature":false,"impliedFormat":1},{"version":"c1bc4f2136de7044943d784e7a18cb8411c558dbb7be4e4b4876d273cbd952af","signature":false,"impliedFormat":1},{"version":"5470f84a69b94643697f0d7ec2c8a54a4bea78838aaa9170189b9e0a6e75d2cf","signature":false,"impliedFormat":1},{"version":"36aaa44ee26b2508e9a6e93cd567e20ec700940b62595caf962249035e95b5e3","signature":false,"impliedFormat":1},{"version":"f8343562f283b7f701f86ad3732d0c7fd000c20fe5dc47fa4ed0073614202b4d","signature":false,"impliedFormat":1},{"version":"a53c572630a78cd99a25b529069c1e1370f8a5d8586d98e798875f9052ad7ad1","signature":false,"impliedFormat":1},{"version":"4ad3451d066711dde1430c544e30e123f39e23c744341b2dfd3859431c186c53","signature":false,"impliedFormat":1},{"version":"8069cbef9efa7445b2f09957ffbc27b5f8946fdbade4358fb68019e23df4c462","signature":false,"impliedFormat":1},{"version":"cd8b4e7ad04ba9d54eb5b28ac088315c07335b837ee6908765436a78d382b4c3","signature":false,"impliedFormat":1},{"version":"d533d8f8e5c80a30c51f0cbfe067b60b89b620f2321d3a581b5ba9ac8ffd7c3a","signature":false,"impliedFormat":1},{"version":"33f49f22fdda67e1ddbacdcba39e62924793937ea7f71f4948ed36e237555de3","signature":false,"impliedFormat":1},{"version":"710c31d7c30437e2b8795854d1aca43b540cb37cefd5900f09cfcd9e5b8540c4","signature":false,"impliedFormat":1},{"version":"b2c03a0e9628273bc26a1a58112c311ffbc7a0d39938f3878837ab14acf3bc41","signature":false,"impliedFormat":1},{"version":"a93beb0aa992c9b6408e355ea3f850c6f41e20328186a8e064173106375876c2","signature":false,"impliedFormat":1},{"version":"efdcba88fcd5421867898b5c0e8ea6331752492bd3547942dea96c7ebcb65194","signature":false,"impliedFormat":1},{"version":"a98e777e7a6c2c32336a017b011ba1419e327320c3556b9139413e48a8460b9a","signature":false,"impliedFormat":1},{"version":"ea44f7f8e1fe490516803c06636c1b33a6b82314366be1bd6ffa4ba89bc09f86","signature":false,"impliedFormat":1},{"version":"c25f22d78cc7f46226179c33bef0e4b29c54912bde47b62e5fdaf9312f22ffcb","signature":false,"impliedFormat":1},{"version":"d57579cfedc5a60fda79be303080e47dfe0c721185a5d95276523612228fcefc","signature":false,"impliedFormat":1},{"version":"a41630012afe0d4a9ff14707f96a7e26e1154266c008ddbd229e3f614e4d1cf7","signature":false,"impliedFormat":1},{"version":"298a858633dfa361bb8306bbd4cfd74f25ab7cc20631997dd9f57164bc2116d1","signature":false,"impliedFormat":1},{"version":"921782c45e09940feb232d8626a0b8edb881be2956520c42c44141d9b1ddb779","signature":false,"impliedFormat":1},{"version":"06117e4cc7399ce1c2b512aa070043464e0561f956bda39ef8971a2fcbcdbf2e","signature":false,"impliedFormat":1},{"version":"daccf332594b304566c7677c2732fed6e8d356da5faac8c5f09e38c2f607a4ab","signature":false,"impliedFormat":1},{"version":"4386051a0b6b072f35a2fc0695fecbe4a7a8a469a1d28c73be514548e95cd558","signature":false,"impliedFormat":1},{"version":"78e41de491fe25947a7fd8eeef7ebc8f1c28c1849a90705d6e33f34b1a083b90","signature":false,"impliedFormat":1},{"version":"3ccd198e0a693dd293ed22e527c8537c76b8fe188e1ebf20923589c7cfb2c270","signature":false,"impliedFormat":1},{"version":"2ebf2ee015d5c8008428493d4987e2af9815a76e4598025dd8c2f138edc1dcae","signature":false,"impliedFormat":1},{"version":"0dcc8f61382c9fcdafd48acc54b6ffda69ca4bb7e872f8ad12fb011672e8b20c","signature":false,"impliedFormat":1},{"version":"9db563287eb527ead0bcb9eb26fbec32f662f225869101af3cabcb6aee9259cf","signature":false,"impliedFormat":1},{"version":"068489bec523be43f12d8e4c5c337be4ff6a7efb4fe8658283673ae5aae14b85","signature":false,"impliedFormat":1},{"version":"838212d0dc5b97f7c5b5e29a89953de3906f72fce13c5ae3c5ade346f561d226","signature":false,"impliedFormat":1},{"version":"23b6ed00053916fc0eec801d21beee46f819f22f2f4396da0e704e06c77a89a7","signature":false},{"version":"6f9133005c6f6eb4bce2849ec49cf9447809e8d278e9448b91f782e331ac2784","signature":false},{"version":"015660caf9e9c6c84ee088345f710b0a6e5fd6d45d5c66063b9556a6e9bd4db9","signature":false},{"version":"8dd450de6d756cee0761f277c6dc58b0b5a66b8c274b980949318b8cad26d712","signature":false,"impliedFormat":1},{"version":"904d6ad970b6bd825449480488a73d9b98432357ab38cf8d31ffd651ae376ff5","signature":false,"impliedFormat":1},{"version":"dfcf16e716338e9fe8cf790ac7756f61c85b83b699861df970661e97bf482692","signature":false,"impliedFormat":1},{"version":"14ead69af27b1a1e7d33c4ce075eb41b0769df41b73647c9c483cbb596ca2b1b","signature":false},{"version":"aaf46918c590c2bf59e2afb7904dfd8e69317e12ee34ff93ed2746dd06cc994a","signature":false},{"version":"b326e2af874b14aa2ac18096ddbec512c6258f3fafc20ba6c8262818d48e6a5b","signature":false},{"version":"e6ddf6640c8d8bb60ac81db2ae0d05e7b7d7cc3ded3cb02e0e6016c36427f8a6","signature":false},{"version":"1cf197bb5a5d349c48038bb077188022bb20bc74c5cb0d94f0db96eb3e680a1c","signature":false},{"version":"e8c381c7691dddd08bb9757d6e1600a24a5b6f62ee9192f49f8d49c6a7a8e32d","signature":false},{"version":"6f2858502ab351f2cff39ea055166a8c5dec88a058a7f564b3d6d65f27e795ae","signature":false},{"version":"8a77a463799eee08773ec43738dda330c509bb80529df1d3ec959d825f53f231","signature":false},{"version":"05e5b3eb44dce90b44e42ca3b4bdc582c5f4bf1652e38237ff7276aa6bd66d8f","signature":false},{"version":"2c3260bedf00db61d740c985a83e2cb260976e400683c485a1ce7f5c0cc08c39","signature":false},{"version":"99716e5913721994ebb19f8feaed37acde676ac1100bda3a004a75185355847b","signature":false},{"version":"be5428c3d69baa784529a2934b0b6a8a9503a7bb6274754e934d5fc60a1e4e87","signature":false},{"version":"69afcf9c8e58ca6c3acf43c5b1ec9186bb6c88952f0ff49345dd2666f93d5480","signature":false},{"version":"c36a19cc8dd6c4e5e9db9ffc13edc44a07c11509fbd309565c0c7df3983c2ed2","signature":false},{"version":"ab58131ad6c14272036dce8d6f3483dc3e010a9c98d6fbdaa0c5e2e080a11fe2","signature":false},{"version":"4b7a26ba2e93eddffd0d0b76c055f334d9c50928f1bfa1113e126a7ebd374b4c","signature":false},{"version":"dd29ec71d32ce8ca7e4fa8ea4d52c3167d3449be54873ebcc8dd5f672a41cfa7","signature":false},{"version":"2c894d8a95ef67acda9e4a71fe6d99d84a7029d75b3291ee2ce75a19aac3ca9d","signature":false},{"version":"ea7f3d87bb25b8cf26c1b440de31b628c53b5e72e8f1ab1726356bf58acf5946","signature":false,"impliedFormat":1},{"version":"8085954ba165e611c6230596078063627f3656fed3fb68ad1e36a414c4d7599a","signature":false,"impliedFormat":1},{"version":"e78b35ed76c67d8ff50603fbe0dfa4fe600097bd860d89e65beea3e16683dad8","signature":false},{"version":"b75b3f0a1dd9e2bbc21b71e1186a1a1d7d792ce7cb4ffe4dec973a64a0a538d1","signature":false},{"version":"8c684344874461ade909834e166e84f7cb8053e895633a79fcab593b54bae0c8","signature":false},{"version":"b87d8aa197d8ed19d1057df29f4b164bfc3def91794bed1a5237467856f8ed4c","signature":false},{"version":"2834fb7b171a51541ba5bd6cd764cd36164fa289579d01febd171422b10e8bb1","signature":false,"impliedFormat":1},{"version":"843da8c5641a4834f8c112dd6eeb86a332712b58f2127306c52846c250980878","signature":false,"impliedFormat":1},{"version":"f7b88ad68531bc1963c8ba7cb3aea62383b486926d7ea9bd55211bd8d675757a","signature":false,"impliedFormat":1},{"version":"36d6eb859cdcf83552574cfc93c59fe2069aef933fe0b0759daa97e9a7243a42","signature":false,"impliedFormat":1},{"version":"856ba901b30b3868303b3a687f02fcd605718edc31a5212fd922caf9518210a3","signature":false,"impliedFormat":1},{"version":"ae40957f8abe3a8d9ac4856c5f6e439f8eda0edc35538fa7ce3c1f6681e4c541","signature":false,"impliedFormat":1},{"version":"66fbd1c789824e75bbbf189a3f0cf95fd9aecf2c3e332d1e5e66b784abf5fa10","signature":false,"impliedFormat":99},{"version":"4b35b89903645afce84f7df53d1c4da6627cbcda218d8df518facd7fc2a3b5e4","signature":false,"impliedFormat":99},{"version":"db5cb4cc17a3e7c0512317eb5685ec661db277d1b3d661a885bb940e2049e1ee","signature":false,"impliedFormat":99},{"version":"6e8863cbf569b27b719e9c5b0fc29b77f95a12e0aac07c96bafa1749d6067d9b","signature":false,"impliedFormat":99},{"version":"525b6833f0b657e7f7b9cb07077384fc0047244448435aebc16eab7b131d24a5","signature":false,"impliedFormat":99},{"version":"87c425de11264f12a9a999b508e750a8ff5cb7000befa0edfd4c0ac68e4595c4","signature":false,"impliedFormat":99},{"version":"36e49460a05986cfbe597b006d689b8a1e50374f6fa6d70da7f8c67cf16a41ff","signature":false,"impliedFormat":99},{"version":"def2af611983e3948ba464467eb6f044dbe3539fadb1ae9e5829dc3c27301ab0","signature":false,"impliedFormat":99},{"version":"c71e7f8e09a05a15122545f545835375fc1b3c9e441304eae83f920de711b41f","signature":false,"impliedFormat":99},{"version":"ec69ebd1c4850514ebb6724911ad56e71caa0d076891ed6b67cb10d3ebbf2586","signature":false,"impliedFormat":1},{"version":"7a14bf21ae8a29d64c42173c08f026928daf418bed1b97b37ac4bb2aa197b89b","signature":false,"impliedFormat":1},{"version":"0a16955983c96c27e2a315ac3c930f624ff28f41a2815aa17151aa3bc574ebba","signature":false},{"version":"ea7f3d87bb25b8cf26c1b440de31b628c53b5e72e8f1ab1726356bf58acf5946","signature":false,"impliedFormat":1},{"version":"71acd198e19fa38447a3cbc5c33f2f5a719d933fccf314aaff0e8b0593271324","signature":false,"impliedFormat":1},{"version":"2eac8fbb04002c42b0fbc4062d20d131e421796eaf65c37d2049e29e42ecbc5a","signature":false},{"version":"9c580c6eae94f8c9a38373566e59d5c3282dc194aa266b23a50686fe10560159","signature":false,"impliedFormat":1},{"version":"995c54f1c5c688f712a675fe35d55bcada2b31dba561dcc71553a1ad601e59ec","signature":false},{"version":"6b5f886fe41e2e767168e491fe6048398ed6439d44e006d9f51cc31265f08978","signature":false,"impliedFormat":1},{"version":"6b863463764ae572b9ada405bf77aac37b5e5089a3ab420d0862e4471051393b","signature":false,"impliedFormat":1},{"version":"233267a4a036c64aee95f66a0d31e3e0ef048cccc57dd66f9cf87582b38691e4","signature":false,"impliedFormat":1},{"version":"e4c39a17833122e02fbe896914e466bf101ea7173dc3d8f18a0201414c74fffc","signature":false},{"version":"2cef84bf00cbdb452fdc5d8ecfe7b8c0aa3fa788bdc4ad8961e2e636530dbb60","signature":false,"impliedFormat":99},{"version":"24104650185414f379d5cc35c0e2c19f06684a73de5b472bae79e0d855771ecf","signature":false,"impliedFormat":99},{"version":"799003c0ab928582fca04977f47b8d85b43a8de610f4eef0ad2d069fbb9f9399","signature":false,"impliedFormat":99},{"version":"b13dd41c344a23e085f81b2f5cd96792e6b35ae814f32b25e39d9841844ad240","signature":false,"impliedFormat":99},{"version":"17d8b4e6416e48b6e23b73d05fd2fde407e2af8fddbe9da2a98ede14949c3489","signature":false,"impliedFormat":99},{"version":"6d17b2b41f874ab4369b8e04bdbe660163ea5c8239785c850f767370604959e3","signature":false,"impliedFormat":99},{"version":"04b4c044c8fe6af77b6c196a16c41e0f7d76b285d036d79dcaa6d92e24b4982b","signature":false,"impliedFormat":99},{"version":"30bdeead5293c1ddfaea4097d3e9dd5a6b0bc59a1e07ff4714ea1bbe7c5b2318","signature":false,"impliedFormat":99},{"version":"e7df226dcc1b0ce76b32f160556f3d1550124c894aae2d5f73cefaaf28df7779","signature":false,"impliedFormat":99},{"version":"f2b7eef5c46c61e6e72fba9afd7cc612a08c0c48ed44c3c5518559d8508146a2","signature":false,"impliedFormat":99},{"version":"00f0ba57e829398d10168b7db1e16217f87933e61bd8612b53a894bd7d6371da","signature":false,"impliedFormat":99},{"version":"126b20947d9fa74a88bb4e9281462bda05e529f90e22d08ee9f116a224291e84","signature":false,"impliedFormat":99},{"version":"40d9e43acee39702745eb5c641993978ac40f227475eacc99a83ba893ad995db","signature":false,"impliedFormat":99},{"version":"8a66b69b21c8de9cb88b4b6d12f655d5b7636e692a014c5aa1bd81745c8c51d5","signature":false,"impliedFormat":99},{"version":"ebbb846bdd5a78fdacff59ae04cea7a097912aeb1a2b34f8d88f4ebb84643069","signature":false,"impliedFormat":99},{"version":"7321adb29ffd637acb33ee67ea035f1a97d0aa0b14173291cc2fd58e93296e04","signature":false,"impliedFormat":99},{"version":"320816f1a4211188f07a782bdb6c1a44555b3e716ce13018f528ad7387108d5f","signature":false,"impliedFormat":99},{"version":"b2cc8a474b7657f4a03c67baf6bff75e26635fd4b5850675e8cad524a09ddd0c","signature":false,"impliedFormat":99},{"version":"0d081e9dc251063cc69611041c17d25847e8bdbe18164baaa89b7f1f1633c0ab","signature":false,"impliedFormat":99},{"version":"a64c25d8f4ec16339db49867ea2324e77060782993432a875d6e5e8608b0de1e","signature":false,"impliedFormat":99},{"version":"0739310b6b777f3e2baaf908c0fbc622c71160e6310eb93e0d820d86a52e2e23","signature":false,"impliedFormat":99},{"version":"37b32e4eadd8cd3c263e7ac1681c58b2ac54f3f77bb34c5e4326cc78516d55a9","signature":false,"impliedFormat":99},{"version":"9b7a8974e028c4ed6f7f9abb969e3eb224c069fd7f226e26fcc3a5b0e2a1eba8","signature":false,"impliedFormat":99},{"version":"e8100b569926a5592146ed68a0418109d625a045a94ed878a8c5152b1379237c","signature":false,"impliedFormat":99},{"version":"594201c616c318b7f3149a912abd8d6bdf338d765b7bcbde86bca2e66b144606","signature":false,"impliedFormat":99},{"version":"03e380975e047c5c6ded532cf8589e6cc85abb7be3629e1e4b0c9e703f2fd36f","signature":false,"impliedFormat":99},{"version":"fae14b53b7f52a8eb3274c67c11f261a58530969885599efe3df0277b48909e1","signature":false,"impliedFormat":99},{"version":"c41206757c428186f2e0d1fd373915c823504c249336bdc9a9c9bbdf9da95fef","signature":false,"impliedFormat":99},{"version":"e961f853b7b0111c42b763a6aa46fc70d06a697db3d8ed69b38f7ba0ae42a62b","signature":false,"impliedFormat":99},{"version":"3db90f79e36bcb60b3f8de1bc60321026800979c150e5615047d598c787a64b7","signature":false,"impliedFormat":99},{"version":"639b6fb3afbb8f6067c1564af2bd284c3e883f0f1556d59bd5eb87cdbbdd8486","signature":false,"impliedFormat":99},{"version":"49795f5478cb607fd5965aa337135a8e7fd1c58bc40c0b6db726adf186dd403f","signature":false,"impliedFormat":99},{"version":"7d8890e6e2e4e215959e71d5b5bd49482cf7a23be68d48ea446601a4c99bd511","signature":false,"impliedFormat":99},{"version":"d56f72c4bb518de5702b8b6ae3d3c3045c99e0fd48b3d3b54c653693a8378017","signature":false,"impliedFormat":99},{"version":"4c9ac40163e4265b5750510d6d2933fb7b39023eed69f7b7c68b540ad960826e","signature":false,"impliedFormat":99},{"version":"8dfab17cf48e7be6e023c438a9cdf6d15a9b4d2fa976c26e223ba40c53eb8da8","signature":false,"impliedFormat":99},{"version":"38bdf7ccacfd8e418de3a7b1e3cecc29b5625f90abc2fa4ac7843a290f3bf555","signature":false,"impliedFormat":99},{"version":"9819e46a914735211fbc04b8dc6ba65152c62e3a329ca0601a46ba6e05b2c897","signature":false,"impliedFormat":99},{"version":"50f0dc9a42931fb5d65cdd64ba0f7b378aedd36e0cfca988aa4109aad5e714cb","signature":false,"impliedFormat":99},{"version":"894f23066f9fafccc6e2dd006ed5bd85f3b913de90f17cf1fe15a2eb677fd603","signature":false,"impliedFormat":99},{"version":"abdf39173867e6c2d6045f120a316de451bbb6351a6929546b8470ddf2e4b3b9","signature":false,"impliedFormat":99},{"version":"aa2cb4053f948fbd606228195bbe44d78733861b6f7204558bbee603202ee440","signature":false,"impliedFormat":99},{"version":"6911b41bfe9942ac59c2da1bbcbe5c3c1f4e510bf65cae89ed00f434cc588860","signature":false,"impliedFormat":99},{"version":"7b81bc4d4e2c764e85d869a8dd9fe3652b34b45c065482ac94ffaacc642b2507","signature":false,"impliedFormat":99},{"version":"895df4edb46ccdcbce2ec982f5eed292cf7ea3f7168f1efea738ee346feab273","signature":false,"impliedFormat":99},{"version":"8692bb1a4799eda7b2e3288a6646519d4cebb9a0bddf800085fc1bd8076997a0","signature":false,"impliedFormat":99},{"version":"239c9e98547fe99711b01a0293f8a1a776fc10330094aa261f3970aaba957c82","signature":false,"impliedFormat":99},{"version":"34833ec50360a32efdc12780ae624e9a710dd1fd7013b58c540abf856b54285a","signature":false,"impliedFormat":99},{"version":"647538e4007dcc351a8882067310a0835b5bb8559d1cfa5f378e929bceb2e64d","signature":false,"impliedFormat":99},{"version":"992d6b1abcc9b6092e5a574d51d441238566b6461ade5de53cb9718e4f27da46","signature":false,"impliedFormat":99},{"version":"938702305649bf1050bd79f3803cf5cc2904596fc1edd4e3b91033184eae5c54","signature":false,"impliedFormat":99},{"version":"1e931d3c367d4b96fe043e792196d9c2cf74f672ff9c0b894be54e000280a79d","signature":false,"impliedFormat":99},{"version":"05bec322ea9f6eb9efcd6458bb47087e55bd688afdd232b78379eb5d526816ed","signature":false,"impliedFormat":99},{"version":"4c449a874c2d2e5e5bc508e6aa98f3140218e78c585597a21a508a647acd780a","signature":false,"impliedFormat":99},{"version":"dae15e326140a633d7693e92b1af63274f7295ea94fb7c322d5cbe3f5e48be88","signature":false,"impliedFormat":99},{"version":"c2b0a869713bca307e58d81d1d1f4b99ebfc7ec8b8f17e80dde40739aa8a2bc6","signature":false,"impliedFormat":99},{"version":"6e4b4ff6c7c54fa9c6022e88f2f3e675eac3c6923143eb8b9139150f09074049","signature":false,"impliedFormat":99},{"version":"69559172a9a97bbe34a32bff8c24ef1d8c8063feb5f16a6d3407833b7ee504cf","signature":false,"impliedFormat":99},{"version":"86b94a2a3edcb78d9bfcdb3b382547d47cb017e71abe770c9ee8721e9c84857f","signature":false,"impliedFormat":99},{"version":"e3fafafda82853c45c0afc075fea1eaf0df373a06daf6e6c7f382f9f61b2deb3","signature":false,"impliedFormat":99},{"version":"a4ba4b31de9e9140bc49c0addddbfaf96b943a7956a46d45f894822e12bf5560","signature":false,"impliedFormat":99},{"version":"d8a7926fc75f2ed887f17bae732ee31a4064b8a95a406c87e430c58578ee1f67","signature":false,"impliedFormat":99},{"version":"9886ffbb134b0a0059fd82219eba2a75f8af341d98bc6331b6ef8a921e10ec68","signature":false,"impliedFormat":99},{"version":"c2ead057b70d0ae7b87a771461a6222ebdb187ba6f300c974768b0ae5966d10e","signature":false,"impliedFormat":99},{"version":"46687d985aed8485ab2c71085f82fafb11e69e82e8552cf5d3849c00e64a00a5","signature":false,"impliedFormat":99},{"version":"999ca66d4b5e2790b656e0a7ce42267737577fc7a52b891e97644ec418eff7ec","signature":false,"impliedFormat":99},{"version":"ec948ee7e92d0888f92d4a490fdd0afb27fbf6d7aabebe2347a3e8ac82c36db9","signature":false,"impliedFormat":99},{"version":"03ef2386c683707ce741a1c30cb126e8c51a908aa0acc01c3471fafb9baaacd5","signature":false,"impliedFormat":99},{"version":"66a372e03c41d2d5e920df5282dadcec2acae4c629cb51cab850825d2a144cea","signature":false,"impliedFormat":99},{"version":"ddf9b157bd4c06c2e4646c9f034f36267a0fbd028bd4738214709de7ea7c548b","signature":false,"impliedFormat":99},{"version":"3e795aac9be23d4ad9781c00b153e7603be580602e40e5228e2dafe8a8e3aba1","signature":false,"impliedFormat":99},{"version":"98c461ec5953dfb1b5d5bca5fee0833c8a932383b9e651ca6548e55f1e2c71c3","signature":false,"impliedFormat":99},{"version":"5c42107b46cb1d36b6f1dee268df125e930b81f9b47b5fa0b7a5f2a42d556c10","signature":false,"impliedFormat":99},{"version":"7e32f1251d1e986e9dd98b6ff25f62c06445301b94aeebdf1f4296dbd2b8652f","signature":false,"impliedFormat":99},{"version":"2f7e328dda700dcb2b72db0f58c652ae926913de27391bd11505fc5e9aae6c33","signature":false,"impliedFormat":99},{"version":"3de7190e4d37da0c316db53a8a60096dbcd06d1a50677ccf11d182fa26882080","signature":false,"impliedFormat":99},{"version":"a9d6f87e59b32b02c861aade3f4477d7277c30d43939462b93f48644fa548c58","signature":false,"impliedFormat":99},{"version":"2bce8fd2d16a9432110bbe0ba1e663fd02f7d8b8968cd10178ea7bc306c4a5df","signature":false,"impliedFormat":99},{"version":"798bedbf45a8f1e55594e6879cd46023e8767757ecce1d3feaa78d16ad728703","signature":false,"impliedFormat":99},{"version":"62723d5ac66f7ed6885a3931dd5cfa017797e73000d590492988a944832e8bc2","signature":false,"impliedFormat":99},{"version":"03db8e7df7514bf17fc729c87fff56ca99567b9aa50821f544587a666537c233","signature":false,"impliedFormat":99},{"version":"9b1f311ba4409968b68bf20b5d892dbd3c5b1d65c673d5841c7dbde351bc0d0b","signature":false,"impliedFormat":99},{"version":"2d1e8b5431502739fe335ceec0aaded030b0f918e758a5d76f61effa0965b189","signature":false,"impliedFormat":99},{"version":"e725839b8f884dab141b42e9d7ff5659212f6e1d7b4054caa23bc719a4629071","signature":false,"impliedFormat":99},{"version":"4fa38a0b8ae02507f966675d0a7d230ed67c92ab8b5736d99a16c5fbe2b42036","signature":false,"impliedFormat":99},{"version":"50ec1e8c23bad160ddedf8debeebc722becbddda127b8fdce06c23eacd3fe689","signature":false,"impliedFormat":99},{"version":"9a0aea3a113064fd607f41375ade308c035911d3c8af5ae9db89593b5ca9f1f9","signature":false,"impliedFormat":99},{"version":"8d643903b58a0bf739ce4e6a8b0e5fb3fbdfaacbae50581b90803934b27d5b89","signature":false,"impliedFormat":99},{"version":"19de2915ccebc0a1482c2337b34cb178d446def2493bf775c4018a4ea355adb8","signature":false,"impliedFormat":99},{"version":"9be8fc03c8b5392cd17d40fd61063d73f08d0ee3457ecf075dcb3768ae1427bd","signature":false,"impliedFormat":99},{"version":"a2d89a8dc5a993514ca79585039eea083a56822b1d9b9d9d85b14232e4782cbe","signature":false,"impliedFormat":99},{"version":"f526f20cae73f17e8f38905de4c3765287575c9c4d9ecacee41cfda8c887da5b","signature":false,"impliedFormat":99},{"version":"d9ec0978b7023612b9b83a71fee8972e290d02f8ff894e95cdd732cd0213b070","signature":false,"impliedFormat":99},{"version":"7ab10c473a058ec8ac4790b05cae6f3a86c56be9b0c0a897771d428a2a48a9f9","signature":false,"impliedFormat":99},{"version":"451d7a93f8249d2e1453b495b13805e58f47784ef2131061821b0e456a9fd0e1","signature":false,"impliedFormat":99},{"version":"21c56fe515d227ed4943f275a8b242d884046001722a4ba81f342a08dbe74ae2","signature":false,"impliedFormat":99},{"version":"d8311f0c39381aa1825081c921efde36e618c5cf46258c351633342a11601208","signature":false,"impliedFormat":99},{"version":"6b50c3bcc92dc417047740810596fcb2df2502aa3f280c9e7827e87896da168a","signature":false,"impliedFormat":99},{"version":"18a6b318d1e7b31e5749a52be0cf9bbce1b275f63190ef32e2c79db0579328ca","signature":false,"impliedFormat":99},{"version":"6a2d0af2c27b993aa85414f3759898502aa198301bc58b0d410948fe908b07b0","signature":false,"impliedFormat":99},{"version":"2da11b6f5c374300e5e66a6b01c3c78ec21b5d3fec0748a28cc28e00be73e006","signature":false,"impliedFormat":99},{"version":"0729691b39c24d222f0b854776b00530877217bfc30aac1dc7fa2f4b1795c536","signature":false,"impliedFormat":99},{"version":"ca45bb5c98c474d669f0e47615e4a5ae65d90a2e78531fda7862ee43e687a059","signature":false,"impliedFormat":99},{"version":"c1c058b91d5b9a24c95a51aea814b0ad4185f411c38ac1d5eef0bf3cebec17dc","signature":false,"impliedFormat":99},{"version":"3ab0ed4060b8e5b5e594138aab3e7f0262d68ad671d6678bcda51568d4fc4ccc","signature":false,"impliedFormat":99},{"version":"e2bf1faba4ff10a6020c41df276411f641d3fdce5c6bae1db0ec84a0bf042106","signature":false,"impliedFormat":99},{"version":"80b0a8fe14d47a71e23d7c3d4dcee9584d4282ef1d843b70cab1a42a4ea1588c","signature":false,"impliedFormat":99},{"version":"a0f02a73f6e3de48168d14abe33bf5970fdacdb52d7c574e908e75ad571e78f7","signature":false,"impliedFormat":99},{"version":"c728002a759d8ec6bccb10eed56184e86aeff0a762c1555b62b5d0fa9d1f7d64","signature":false,"impliedFormat":99},{"version":"586f94e07a295f3d02f847f9e0e47dbf14c16e04ccc172b011b3f4774a28aaea","signature":false,"impliedFormat":99},{"version":"cfe1a0f4ed2df36a2c65ea6bc235dbb8cf6e6c25feb6629989f1fa51210b32e7","signature":false,"impliedFormat":99},{"version":"8ba69c9bf6de79c177329451ffde48ddab7ec495410b86972ded226552f664df","signature":false,"impliedFormat":99},{"version":"15111cbe020f8802ad1d150524f974a5251f53d2fe10eb55675f9df1e82dbb62","signature":false,"impliedFormat":99},{"version":"782dc153c56a99c9ed07b2f6f497d8ad2747764966876dbfef32f3e27ce11421","signature":false,"impliedFormat":99},{"version":"cc2db30c3d8bb7feb53a9c9ff9b0b859dd5e04c83d678680930b5594b2bf99cb","signature":false,"impliedFormat":99},{"version":"46909b8c85a6fd52e0807d18045da0991e3bdc7373435794a6ba425bc23cc6be","signature":false,"impliedFormat":99},{"version":"e4e511ff63bb6bd69a2a51e472c6044298bca2c27835a34a20827bc3ef9b7d13","signature":false,"impliedFormat":99},{"version":"2c86f279d7db3c024de0f21cd9c8c2c972972f842357016bfbbd86955723b223","signature":false,"impliedFormat":99},{"version":"112c895cff9554cf754f928477c7d58a21191c8089bffbf6905c87fe2dc6054f","signature":false,"impliedFormat":99},{"version":"8cfc293b33082003cacbf7856b8b5e2d6dd3bde46abbd575b0c935dc83af4844","signature":false,"impliedFormat":99},{"version":"d2c5c53f85ce0474b3a876d76c4fc44ff7bb766b14ed1bf495f9abac181d7f5f","signature":false,"impliedFormat":99},{"version":"3c523f27926905fcbe20b8301a0cc2da317f3f9aea2273f8fc8d9ae88b524819","signature":false,"impliedFormat":99},{"version":"9ca0d706f6b039cc52552323aeccb4db72e600b67ddc7a54cebc095fc6f35539","signature":false,"impliedFormat":99},{"version":"a64909a9f75081342ddd061f8c6b49decf0d28051bc78e698d347bdcb9746577","signature":false,"impliedFormat":99},{"version":"7d8d55ae58766d0d52033eae73084c4db6a93c4630a3e17f419dd8a0b2a4dcd8","signature":false,"impliedFormat":99},{"version":"b8b5c8ba972d9ffff313b3c8a3321e7c14523fc58173862187e8d1cb814168ac","signature":false,"impliedFormat":99},{"version":"9c42c0fa76ee36cf9cc7cc34b1389fbb4bd49033ec124b93674ec635fabf7ffe","signature":false,"impliedFormat":99},{"version":"6184c8da9d8107e3e67c0b99dedb5d2dfe5ccf6dfea55c2a71d4037caf8ca196","signature":false,"impliedFormat":99},{"version":"4030ceea7bf41449c1b86478b786e3b7eadd13dfe5a4f8f5fe2eb359260e08b3","signature":false,"impliedFormat":99},{"version":"7bf516ec5dfc60e97a5bde32a6b73d772bd9de24a2e0ec91d83138d39ac83d04","signature":false,"impliedFormat":99},{"version":"e6a6fb3e6525f84edf42ba92e261240d4efead3093aca3d6eb1799d5942ba393","signature":false,"impliedFormat":99},{"version":"45df74648934f97d26800262e9b2af2f77ef7191d4a5c2eb1df0062f55e77891","signature":false,"impliedFormat":99},{"version":"3fe361e4e567f32a53af1f2c67ad62d958e3d264e974b0a8763d174102fe3b29","signature":false,"impliedFormat":99},{"version":"28b520acee4bc6911bfe458d1ad3ebc455fa23678463f59946ad97a327c9ab2b","signature":false,"impliedFormat":99},{"version":"121b39b1a9ad5d23ed1076b0db2fe326025150ef476dccb8bf87778fcc4f6dd7","signature":false,"impliedFormat":99},{"version":"f791f92a060b52aa043dde44eb60307938f18d4c7ac13df1b52c82a1e658953f","signature":false,"impliedFormat":99},{"version":"df09443e7743fd6adc7eb108e760084bacdf5914403b7aac5fbd4dc4e24e0c2c","signature":false,"impliedFormat":99},{"version":"eeb4ff4aa06956083eaa2aad59070361c20254b865d986bc997ee345dbd44cbb","signature":false,"impliedFormat":99},{"version":"ed84d5043444d51e1e5908f664addc4472c227b9da8401f13daa565f23624b6e","signature":false,"impliedFormat":99},{"version":"146bf888b703d8baa825f3f2fb1b7b31bda5dff803e15973d9636cdda33f4af3","signature":false,"impliedFormat":99},{"version":"b4ec8b7a8d23bdf7e1c31e43e5beac3209deb7571d2ccf2a9572865bf242da7c","signature":false,"impliedFormat":99},{"version":"3fba0d61d172091638e56fba651aa1f8a8500aac02147d29bd5a9cc0bc8f9ec2","signature":false,"impliedFormat":99},{"version":"a5a57deb0351b03041e0a1448d3a0cc5558c48e0ed9b79b69c99163cdca64ad8","signature":false,"impliedFormat":99},{"version":"9bcecf0cbc2bfc17e33199864c19549905309a0f9ecc37871146107aac6e05ae","signature":false,"impliedFormat":99},{"version":"d6a211db4b4a821e93c978add57e484f2a003142a6aef9dbfa1fe990c66f337b","signature":false,"impliedFormat":99},{"version":"bd4d10bd44ce3f630dd9ce44f102422cb2814ead5711955aa537a52c8d2cae14","signature":false,"impliedFormat":99},{"version":"08e4c39ab1e52eea1e528ee597170480405716bae92ebe7a7c529f490afff1e0","signature":false,"impliedFormat":99},{"version":"625bb2bc3867557ea7912bd4581288a9fca4f3423b8dffa1d9ed57fafc8610e3","signature":false,"impliedFormat":99},{"version":"d1992164ecc334257e0bef56b1fd7e3e1cea649c70c64ffc39999bb480c0ecdf","signature":false,"impliedFormat":99},{"version":"a53ff2c4037481eb357e33b85e0d78e8236e285b6428b93aa286ceea1db2f5dc","signature":false,"impliedFormat":99},{"version":"4fe608d524954b6857d78857efce623852fcb0c155f010710656f9db86e973a5","signature":false,"impliedFormat":99},{"version":"b53b62a9838d3f57b70cc456093662302abb9962e5555f5def046172a4fe0d4e","signature":false,"impliedFormat":99},{"version":"9866369eb72b6e77be2a92589c9df9be1232a1a66e96736170819e8a1297b61f","signature":false,"impliedFormat":99},{"version":"43abfbdf4e297868d780b8f4cfdd8b781b90ecd9f588b05e845192146a86df34","signature":false,"impliedFormat":99},{"version":"582419791241fb851403ae4a08d0712a63d4c94787524a7419c2bc8e0eb1b031","signature":false,"impliedFormat":99},{"version":"18437eeb932fe48590b15f404090db0ab3b32d58f831d5ffc157f63b04885ee5","signature":false,"impliedFormat":99},{"version":"0c5eaedf622d7a8150f5c2ec1f79ac3d51eea1966b0b3e61bfdea35e8ca213a7","signature":false,"impliedFormat":99},{"version":"fac39fc7a9367c0246de3543a6ee866a0cf2e4c3a8f64641461c9f2dac0d8aae","signature":false,"impliedFormat":99},{"version":"3b9f559d0200134f3c196168630997caedeadc6733523c8b6076a09615d5dec8","signature":false,"impliedFormat":99},{"version":"932af64286d9723da5ef7b77a0c4229829ce8e085e6bcc5f874cb0b83e8310d4","signature":false,"impliedFormat":99},{"version":"adeb9278f11f5561157feee565171c72fd48f5fe34ed06f71abf24e561fcaa1e","signature":false,"impliedFormat":99},{"version":"2269fef79b4900fc6b08c840260622ca33524771ff24fda5b9101ad98ea551f3","signature":false,"impliedFormat":99},{"version":"73d47498a1b73d5392d40fb42a3e7b009ae900c8423f4088c4faa663cc508886","signature":false,"impliedFormat":99},{"version":"7efc34cdc4da0968c3ba687bc780d5cacde561915577d8d1c1e46c7ac931d023","signature":false,"impliedFormat":99},{"version":"3c20a3bb0c50c819419f44aa55acc58476dad4754a16884cef06012d02b0722f","signature":false,"impliedFormat":99},{"version":"4569abf6bc7d51a455503670f3f1c0e9b4f8632a3b030e0794c61bfbba2d13be","signature":false,"impliedFormat":99},{"version":"98b2297b4dc1404078a54b61758d8643e4c1d7830af724f3ed2445d77a7a2d57","signature":false,"impliedFormat":99},{"version":"952ba89d75f1b589e07070fea2d8174332e3028752e76fd46e1c16cc51e6e2af","signature":false,"impliedFormat":99},{"version":"b6c9a2deefb6a57ff68d2a38d33c34407b9939487fc9ee9f32ba3ecf2987a88a","signature":false,"impliedFormat":99},{"version":"f6b371377bab3018dac2bca63e27502ecbd5d06f708ad7e312658d3b5315d948","signature":false,"impliedFormat":99},{"version":"31947dd8f1c8eeb7841e1f139a493a73bd520f90e59a6415375d0d8e6a031f01","signature":false,"impliedFormat":99},{"version":"95cd83b807e10b1af408e62caf5fea98562221e8ddca9d7ccc053d482283ddda","signature":false,"impliedFormat":99},{"version":"19287d6b76288c2814f1633bdd68d2b76748757ffd355e73e41151644e4773d6","signature":false,"impliedFormat":99},{"version":"fc4e6ec7dade5f9d422b153c5d8f6ad074bd9cc4e280415b7dc58fb5c52b5df1","signature":false,"impliedFormat":99},{"version":"3aea973106e1184db82d8880f0ca134388b6cbc420f7309d1c8947b842886349","signature":false,"impliedFormat":99},{"version":"765e278c464923da94dda7c2b281ece92f58981642421ae097862effe2bd30fa","signature":false,"impliedFormat":99},{"version":"de260bed7f7d25593f59e859bd7c7f8c6e6bb87e8686a0fcafa3774cb5ca02d8","signature":false,"impliedFormat":99},{"version":"b5c341ce978f5777fbe05bc86f65e9906a492fa6b327bda3c6aae900c22e76c6","signature":false,"impliedFormat":99},{"version":"686ddbfaf88f06b02c6324005042f85317187866ca0f8f4c9584dd9479653344","signature":false,"impliedFormat":99},{"version":"7f789c0c1db29dd3aab6e159d1ba82894a046bf8df595ac48385931ae6ad83e0","signature":false,"impliedFormat":99},{"version":"8eb3057d4fe9b59b2492921b73a795a2455ebe94ccb3d01027a7866612ead137","signature":false,"impliedFormat":99},{"version":"1e43c5d7aee1c5ec20611e28b5417f5840c75d048de9d7f1800d6808499236f8","signature":false,"impliedFormat":99},{"version":"d42610a5a2bee4b71769968a24878885c9910cd049569daa2d2ee94208b3a7a5","signature":false,"impliedFormat":99},{"version":"f6ed95506a6ed2d40ed5425747529befaa4c35fcbbc1e0d793813f6d725690fa","signature":false,"impliedFormat":99},{"version":"a6fcc1cd6583939506c906dff1276e7ebdc38fbe12d3e108ba38ad231bd18d97","signature":false,"impliedFormat":99},{"version":"ed13354f0d96fb6d5878655b1fead51722b54875e91d5e53ef16de5b71a0e278","signature":false,"impliedFormat":99},{"version":"1193b4872c1fb65769d8b164ca48124c7ebacc33eae03abf52087c2b29e8c46c","signature":false,"impliedFormat":99},{"version":"af682dfabe85688289b420d939020a10eb61f0120e393d53c127f1968b3e9f66","signature":false,"impliedFormat":99},{"version":"0dca04006bf13f72240c6a6a502df9c0b49c41c3cab2be75e81e9b592dcd4ea8","signature":false,"impliedFormat":99},{"version":"79d6ac4a2a229047259116688f9cd62fda25422dee3ad304f77d7e9af53a41ef","signature":false,"impliedFormat":99},{"version":"64534c17173990dc4c3d9388d16675a059aac407031cfce8f7fdffa4ee2de988","signature":false,"impliedFormat":99},{"version":"ba46d160a192639f3ca9e5b640b870b1263f24ac77b6895ab42960937b42dcbb","signature":false,"impliedFormat":99},{"version":"5e5ddd6fc5b590190dde881974ab969455e7fad61012e32423415ae3d085b037","signature":false,"impliedFormat":99},{"version":"1c16fd00c42b60b96fe0fa62113a953af58ddf0d93b0a49cb4919cf5644616f0","signature":false,"impliedFormat":99},{"version":"eb240c0e6b412c57f7d9a9f1c6cd933642a929837c807b179a818f6e8d3a4e44","signature":false,"impliedFormat":99},{"version":"4a7bde5a1155107fc7d9483b8830099f1a6072b6afda5b78d91eb5d6549b3956","signature":false,"impliedFormat":99},{"version":"3c1baaffa9a24cc7ef9eea6b64742394498e0616b127ca630aca0e11e3298006","signature":false,"impliedFormat":99},{"version":"87ca1c31a326c898fa3feb99ec10750d775e1c84dbb7c4b37252bcf3742c7b21","signature":false,"impliedFormat":99},{"version":"d7bd26af1f5457f037225602035c2d7e876b80d02663ab4ca644099ad3a55888","signature":false,"impliedFormat":99},{"version":"2ad0a6b93e84a56b64f92f36a07de7ebcb910822f9a72ad22df5f5d642aff6f3","signature":false,"impliedFormat":99},{"version":"523d1775135260f53f672264937ee0f3dc42a92a39de8bee6c48c7ea60b50b5a","signature":false,"impliedFormat":99},{"version":"e441b9eebbc1284e5d995d99b53ed520b76a87cab512286651c4612d86cd408e","signature":false,"impliedFormat":99},{"version":"76f853ee21425c339a79d28e0859d74f2e53dee2e4919edafff6883dd7b7a80f","signature":false,"impliedFormat":99},{"version":"00cf042cd6ba1915648c8d6d2aa00e63bbbc300ea54d28ed087185f0f662e080","signature":false,"impliedFormat":99},{"version":"f57e6707d035ab89a03797d34faef37deefd3dd90aa17d90de2f33dce46a2c56","signature":false,"impliedFormat":99},{"version":"cc8b559b2cf9380ca72922c64576a43f000275c72042b2af2415ce0fb88d7077","signature":false,"impliedFormat":99},{"version":"1a337ca294c428ba8f2eb01e887b28d080ee4a4307ae87e02e468b1d26af4a74","signature":false,"impliedFormat":99},{"version":"5a15362fc2e72765a908c0d4dd89e3ab3b763e8bc8c23f19234a709ecfd202fe","signature":false,"impliedFormat":99},{"version":"2dffdfe62ac8af0943853234519616db6fd8958fc7ff631149fd8364e663f361","signature":false,"impliedFormat":99},{"version":"5dbdb2b2229b5547d8177c34705272da5a10b8d0033c49efbc9f6efba5e617f2","signature":false,"impliedFormat":99},{"version":"6fc0498cd8823d139004baff830343c9a0d210c687b2402c1384fb40f0aa461c","signature":false,"impliedFormat":99},{"version":"8492306a4864a1dc6fc7e0cc0de0ae9279cbd37f3aae3e9dc1065afcdc83dddc","signature":false,"impliedFormat":99},{"version":"c011b378127497d6337a93f020a05f726db2c30d55dc56d20e6a5090f05919a6","signature":false,"impliedFormat":99},{"version":"f4556979e95a274687ae206bbab2bb9a71c3ad923b92df241d9ab88c184b3f40","signature":false,"impliedFormat":99},{"version":"50e82bb6e238db008b5beba16d733b77e8b2a933c9152d1019cf8096845171a4","signature":false,"impliedFormat":99},{"version":"d6011f8b8bbf5163ef1e73588e64a53e8bf1f13533c375ec53e631aad95f1375","signature":false,"impliedFormat":99},{"version":"693cd7936ac7acfa026d4bcb5801fce71cec49835ba45c67af1ef90dbfd30af7","signature":false,"impliedFormat":99},{"version":"195e2cf684ecddfc1f6420564535d7c469f9611ce7a380d6e191811f84556cd2","signature":false,"impliedFormat":99},{"version":"1dc6b6e7b2a7f2962f31c77f4713f3a5a132bbe14c00db75d557568fe82e4311","signature":false,"impliedFormat":99},{"version":"add93b1180e9aaac2dae4ef3b16f7655893e2ecbe62bd9e48366c305f0063d89","signature":false,"impliedFormat":99},{"version":"594bd896fe37c970aafb7a376ebeec4c0d636b62a5f611e2e27d30fb839ad8a5","signature":false,"impliedFormat":99},{"version":"b1c6a6faf60542ba4b4271db045d7faea56e143b326ef507d2797815250f3afc","signature":false,"impliedFormat":99},{"version":"8c8b165beb794260f462679329b131419e9f5f35212de11c4d53e6d4d9cbedf6","signature":false,"impliedFormat":99},{"version":"ee5a4cf57d49fcf977249ab73c690a59995997c4672bb73fcaaf2eed65dbd1b2","signature":false,"impliedFormat":99},{"version":"f9f36051f138ab1c40b76b230c2a12b3ce6e1271179f4508da06a959f8bee4c1","signature":false,"impliedFormat":99},{"version":"9dc2011a3573d271a45c12656326530c0930f92539accbec3531d65131a14a14","signature":false,"impliedFormat":99},{"version":"091521ce3ede6747f784ae6f68ad2ea86bbda76b59d2bf678bcad2f9d141f629","signature":false,"impliedFormat":99},{"version":"202c2be951f53bafe943fb2c8d1245e35ed0e4dfed89f48c9a948e4d186dd6d4","signature":false,"impliedFormat":99},{"version":"c618aead1d799dbf4f5b28df5a6b9ce13d72722000a0ec3fe90a8115b1ea9226","signature":false,"impliedFormat":99},{"version":"9b0bf59708549c3e77fddd36530b95b55419414f88bbe5893f7bc8b534617973","signature":false,"impliedFormat":99},{"version":"7e216f67c4886f1bde564fb4eebdd6b185f262fe85ad1d6128cad9b229b10354","signature":false,"impliedFormat":99},{"version":"cd51e60b96b4d43698df74a665aa7a16604488193de86aa60ec0c44d9f114951","signature":false,"impliedFormat":99},{"version":"b63341fb6c7ba6f2aeabd9fc46b43e6cc2d2b9eec06534cfd583d9709f310ec2","signature":false,"impliedFormat":99},{"version":"be2af50c81b15bcfe54ad60f53eb1c72dae681c72d0a9dce1967825e1b5830a3","signature":false,"impliedFormat":99},{"version":"be5366845dfb9726f05005331b9b9645f237f1ddc594c0def851208e8b7d297b","signature":false,"impliedFormat":99},{"version":"5ddd536aaeadd4bf0f020492b3788ed209a7050ce27abec4e01c7563ff65da81","signature":false,"impliedFormat":99},{"version":"e243b24da119c1ef0d79af2a45217e50682b139cb48e7607efd66cc01bd9dcda","signature":false,"impliedFormat":99},{"version":"5b1398c8257fd180d0bf62e999fe0a89751c641e87089a83b24392efda720476","signature":false,"impliedFormat":99},{"version":"1588b1359f8507a16dbef67cd2759965fc2e8d305e5b3eb71be5aa9506277dff","signature":false,"impliedFormat":99},{"version":"4c99f2524eee1ec81356e2b4f67047a4b7efaf145f1c4eb530cd358c36784423","signature":false,"impliedFormat":99},{"version":"b30c6b9f6f30c35d6ef84daed1c3781e367f4360171b90598c02468b0db2fc3d","signature":false,"impliedFormat":99},{"version":"79c0d32274ccfd45fae74ac61d17a2be27aea74c70806d22c43fc625b7e9f12a","signature":false,"impliedFormat":99},{"version":"1b7e3958f668063c9d24ac75279f3e610755b0f49b1c02bb3b1c232deb958f54","signature":false,"impliedFormat":99},{"version":"779d4022c3d0a4df070f94858a33d9ebf54af3664754536c4ce9fd37c6f4a8db","signature":false,"impliedFormat":99},{"version":"e662f063d46aa8c088edffdf1d96cb13d9a2cbf06bc38dc6fc62b4d125fb7b49","signature":false,"impliedFormat":99},{"version":"d1d612df1e41c90d9678b07740d13d4f8e6acec2f17390d4ff4be5c889a6d37d","signature":false,"impliedFormat":99},{"version":"c95933fe140918892d569186f17b70ef6b1162f851a0f13f6a89e8f4d599c5a1","signature":false,"impliedFormat":99},{"version":"1d8d30677f87c13c2786980a80750ac1e281bdb65aa013ea193766fe9f0edd74","signature":false,"impliedFormat":99},{"version":"4661673cbc984b8a6ee5e14875a71ed529b64e7f8e347e12c0db4cecc25ad67d","signature":false,"impliedFormat":99},{"version":"7f980a414274f0f23658baa9a16e21d828535f9eac538e2eab2bb965325841db","signature":false,"impliedFormat":99},{"version":"20fb747a339d3c1d4a032a31881d0c65695f8167575e01f222df98791a65da9b","signature":false,"impliedFormat":99},{"version":"dd4e7ebd3f205a11becf1157422f98db675a626243d2fbd123b8b93efe5fb505","signature":false,"impliedFormat":99},{"version":"43ec6b74c8d31e88bb6947bb256ad78e5c6c435cbbbad991c3ff39315b1a3dba","signature":false,"impliedFormat":99},{"version":"b27242dd3af2a5548d0c7231db7da63d6373636d6c4e72d9b616adaa2acef7e1","signature":false,"impliedFormat":99},{"version":"e0ee7ba0571b83c53a3d6ec761cf391e7128d8f8f590f8832c28661b73c21b68","signature":false,"impliedFormat":99},{"version":"072bfd97fc61c894ef260723f43a416d49ebd8b703696f647c8322671c598873","signature":false,"impliedFormat":99},{"version":"e70875232f5d5528f1650dd6f5c94a5bed344ecf04bdbb998f7f78a3c1317d02","signature":false,"impliedFormat":99},{"version":"8e495129cb6cd8008de6f4ff8ce34fe1302a9e0dcff8d13714bd5593be3f7898","signature":false,"impliedFormat":1},{"version":"216fdd04825aca879e8f4644a25b5c81451fbcb9fdfa86b6a1f61a04d7659750","signature":false,"impliedFormat":1},{"version":"271b27c549833361eb5407e3b1acd5f82f6a3588848e6e341b067611d36b41b8","signature":false,"impliedFormat":1},{"version":"3754da0d2705ad634693dd6a72bf1eff715d74661107a4d18611e4413c2c60d7","signature":false,"impliedFormat":1},{"version":"15001c9dd6ad2c0515b48a3b0cd3955f89256f7eb2bb3dd4f0bab899565646f7","signature":false,"impliedFormat":1},{"version":"16644569c814ea007149afbc849ba0dc726887e4baa513156787fbeccc96bb5f","signature":false,"impliedFormat":1},{"version":"6b72cd1871580dee6481d2ebdb0641f380c39e41b2c1f6aedfae86fe021b34a1","signature":false,"impliedFormat":1},{"version":"0693e3c9523391eb333248236f4e4df9a63961d729cda0081302ebf04e4745be","signature":false,"impliedFormat":1},{"version":"8456ecc963bc4816e34b14dba7c5806a674a9305778fedd44bd3fb9f7cd0a278","signature":false,"impliedFormat":1},{"version":"ef79a08ff6dbf02d7aa850d03768dfa7da8d38f1f8f1f70b5554b2eb69e30ef9","signature":false,"impliedFormat":1},{"version":"4b01bf8cb509dd9235289ae0f1dc1d11973eeae5c4e8a6f4f1f7e7a0fbd9981f","signature":false,"impliedFormat":1},{"version":"a6685c650245fc3edf0d01a5306b9741dfb4a10703fbfa73b11ff994e812ce71","signature":false,"impliedFormat":1},{"version":"828e999b464c2a240163f13a50801d8cd2d3f3bb1810f6b1cc51618cde1f5307","signature":false,"impliedFormat":1},{"version":"9f3cf8d45afb6c10da2ac7c5908a35b45942d80af726e11a56614e812c6cb1d9","signature":false,"impliedFormat":1},{"version":"296d4f462ea7a071d145b4d2cbd5171ae1656a2b96e23aa95359c4d3fc1d9956","signature":false,"impliedFormat":1},{"version":"79e52fd0cfd73ed170d509cdedc3eed59fc414527e1d05d455e69d60f825ca66","signature":false,"impliedFormat":1},{"version":"6036e0a9fa044af3b92d7e0daeefdf9f871f362b4170d4e2c99f18ca48dcd967","signature":false,"impliedFormat":1},{"version":"18c93713d0d514633603fe9a8cd44d7fbc90f23a231cd2c9a90aeaa3996837d6","signature":false,"impliedFormat":1},{"version":"48c5cee2757d97d85d2f01d3f29a9268f56eaea28cbbada0e98f948cfcbc7770","signature":false,"impliedFormat":1},{"version":"f0500091ff4e184c40bd50107a5000cb2846e40bfeee3f4bf9604fcc5ac1f764","signature":false,"impliedFormat":1},{"version":"2b4276dde46aa2faf0dd86119999c76b81e6488cd6b0d0fcf9fb985769cd11c0","signature":false,"impliedFormat":1},{"version":"56a37fc13e7a1756e3964204c146a056b48cbec22f74d8253b67901b271f9900","signature":false,"impliedFormat":1},{"version":"5ecea63968444d55f7c3cf677cbec9525db9229953b34f06be0386a24b0fffd2","signature":false,"impliedFormat":1},{"version":"b50ee4bde16b52ecb08e2407dca49a5649b38e046e353485335aa024f6efb8ef","signature":false,"impliedFormat":1},{"version":"0eb4089c3ae7e97d85c04dc70d78bac4b1e8ada6e9510f109fe8a86cdb42bb69","signature":false,"impliedFormat":1},{"version":"6a2a8cd85d369e0241533d1a27c869109d1758e65cadb0a55f479a984a0a989a","signature":false,"impliedFormat":1},{"version":"4e2d11861154220b941057210b53821022eb078f52a69bad9c44a0f3f4aaedb9","signature":false,"impliedFormat":1},{"version":"0c9175b5bd2e620bf90a40f4cdd308d533e348a9157dd6f2b8c2d5e181ce77bc","signature":false,"impliedFormat":1},{"version":"67f805fa48e767848d0a127e7c77df1f72e3a29b6a468243df0cfb4b3e0c75a7","signature":false,"impliedFormat":1},{"version":"fca012dddf52eb63eaf6e5959aef233f1904d92eedf1a75f881316a6fc705d85","signature":false,"impliedFormat":1},{"version":"ea7f3d87bb25b8cf26c1b440de31b628c53b5e72e8f1ab1726356bf58acf5946","signature":false,"impliedFormat":1},{"version":"ecd224c9132c9f44b2a93b9c4b6b29d839bef41df565fe2bc6f46a6f4f20d109","signature":false,"impliedFormat":1},{"version":"870e9819040c04fe40dd869b1076f908c63661fae5c627d657d759e4532c2334","signature":false},{"version":"5d5d0619a6b0a3f46de11e9b185b99d8d1676d72422234c159913b29c7b8175c","signature":false},{"version":"0a8f8e2965bdfde1b07adf5a9babd8e97f68b7c18573599e75b023c0601e4f74","signature":false},{"version":"e012eab367b1969bea02e82ee79bb8cdcfb97a8febd163782305f8f3cf3d8ee0","signature":false},{"version":"8f82886ba370430011e3163f4910b98a6d0459eb7b1b580e1b186092ad6f9059","signature":false},{"version":"98db5056f44b1bb8773c8043eb8590ae74ce9575ff25148d4ee35bffffd4f752","signature":false},{"version":"91b4ce96f6ad631a0a6920eb0ab928159ff01a439ae0e266ecdc9ea83126a195","signature":false,"impliedFormat":1},{"version":"e3448881d526bfca052d5f9224cc772f61d9fc84d0c52eb7154b13bd4db9d8b2","signature":false,"impliedFormat":1},{"version":"e348f128032c4807ad9359a1fff29fcbc5f551c81be807bfa86db5a45649b7ba","signature":false,"impliedFormat":1},{"version":"42f4d7040a48e5b9c9b20b5f17a04c381676211bdb0b5a580a183cf5908664be","signature":false,"impliedFormat":1},{"version":"ad4d2c881a46db2a93346d760aa4e5e9f7d79a87e4b443055f5416b10dbe748c","signature":false,"impliedFormat":1},{"version":"c2fc483dea0580d1266c1500f17e49a739ca6cfe408691da638ddc211dfffad0","signature":false,"impliedFormat":1},{"version":"7c31a2b77ae042fb1f057c21367e730f364849ae8fa1d72f5a9936cef963a8b2","signature":false,"impliedFormat":1},{"version":"650d4007870fee41b86182e7965c6fb80283388d0ba8882ce664cc311a2840b5","signature":false,"impliedFormat":1},{"version":"6cfa0cdc8ff57cef4d6452ac55f5db4bc1a8967f4c005785e7b679da560d2d9c","signature":false,"impliedFormat":1},{"version":"c16c3b97930e8fbf05022024f049d51c998dd5eb6509047e1f841777968e85c1","signature":false,"impliedFormat":1},{"version":"cce15e7530c8062dea0666a174f31c1fe445a97357885480748b072778fc6f36","signature":false,"impliedFormat":1},{"version":"535b2fc8c89091c20124fe144699bb4a96d5db4418a1594a9a0a6a863b2195ae","signature":false,"impliedFormat":1},{"version":"dd5165bf834f6e784b4aad9fae6d84307c19f140829e4c6c4123b2d1a707d8bd","signature":false,"impliedFormat":1},{"version":"7ee6cd3fbeb95b580c5447f49129a4dc1604bfc96defe387a76f96884d59f844","signature":false,"impliedFormat":1},{"version":"21575cdeaca6a2c2a0beb8c2ecbc981d9deb95f879f82dc7d6e325fe8737b5ba","signature":false,"impliedFormat":1},{"version":"d668cc634f10837bf57e2a9bf13ccc4952cbf997015f2b8095d935f50bf625d0","signature":false,"impliedFormat":1},{"version":"faba53dda443d501f30e2d92ed33a8d11f88b420b0e2f03c5d7d62ebe9e7c389","signature":false,"impliedFormat":1},{"version":"3eb7d541136cd8b66020417086e4f481fb1ae0e2b916846d43cbf0b540371954","signature":false,"impliedFormat":1},{"version":"9ff4b9f562c6b70f750ca1c7a88d460442f55007843531f233ab827c102ac855","signature":false,"impliedFormat":1},{"version":"4f4cbbada4295ab9497999bec19bd2eea1ede9212eb5b4d0d6e529df533c5a4b","signature":false,"impliedFormat":1},{"version":"cf81fae6e5447acb74958bc8353b0d50b6700d4b3a220c9e483f42ca7a7041aa","signature":false,"impliedFormat":1},{"version":"92f6f02b25b107a282f27fde90a78cbd46e21f38c0d7fc1b67aea3fff35f083e","signature":false,"impliedFormat":1},{"version":"479eec32bca85c1ff313f799b894c6bb304fdab394b50296e6efe4304d9f00aa","signature":false,"impliedFormat":1},{"version":"27c37f4535447fb3191a4c1bd9a5fcab1922bec4e730f13bace2cfa25f8d7367","signature":false,"impliedFormat":1},{"version":"3e9b3266a6b9e5b3e9a293c27fd670871753ab46314ce3eca898d2bcf58eb604","signature":false,"impliedFormat":1},{"version":"369b7270eeeb37982203b2cb18c7302947b89bf5818c1d3d2e95a0418f02b74e","signature":false,"impliedFormat":1},{"version":"3d724c9a01d0171d38a7492263ae15069e276791c9403c9dd24ee6189fbd2bf5","signature":false,"impliedFormat":1},{"version":"039bd8d1e0d151570b66e75ee152877fb0e2f42eca43718632ac195e6884be34","signature":false,"impliedFormat":1},{"version":"89fb1e22c3c98cbb86dc3e5949012bdae217f2b5d768a2cc74e1c4b413c25ad2","signature":false,"impliedFormat":1},{"version":"708733f625436da7047894887c1c17fa53b43094f36c9c3b1ce39d99aafd0a4b","signature":false,"impliedFormat":1},{"version":"2ad61964f27122a3ef7cf261f8b3dbda6b0f96be6687397151709bf34e5d5c76","signature":false,"impliedFormat":1},{"version":"302d3d92502a06fa7071406fa96d5c7f897006d73622aaf322df8405abc6f773","signature":false,"impliedFormat":1},{"version":"9a0acdbdf33f9ed3c450bba8e52ddd6e379f4c8b9881b95839bb62b2d0a83879","signature":false},{"version":"f014493efd0ebbeb7208c9c1287a888d1af91e3cfec0cb923bd6fa9edd03fd2b","signature":false,"impliedFormat":1},{"version":"1aba9cfb792bfa02b0fc8764dfd524d23e2191367863545963940034f61526ee","signature":false},{"version":"ed78a053a9db783f48d5dfab7398b630f87c17ed2e237b6f30a3eb153675960c","signature":false},{"version":"2a0adb16f15e260f528e01438c81e2f5ef3525eb9706115818bde4e221281568","signature":false},{"version":"1da243956282c040db49d5718d2f0093a705fbbdfa3a25f51c1a31a069c45093","signature":false},{"version":"ea32c79d3ed893e24f43024b41e7bbf2650a939bfc94698c70a1c7ddf2d53193","signature":false},{"version":"76778c25851459f6d06faf5f4deebf91532a5aea010a5f1acb583dbc3bee38f1","signature":false},{"version":"3aae9fdc903de1a4e1994ac31619b6f294a83d176ffeee1e7bc255605c9b9c0e","signature":false},{"version":"6ff201913abccdc0ccc20ea4d2fc37b690b64d528505daac791fea1e5e56965e","signature":false},{"version":"db0c316d3ff5d40d29a8a76a8f83190cd33f03aa195e555466436a1215bacf8d","signature":false},{"version":"9303862dc3cc0e31a3f929eb095accfacab49a43dab3e94f8a96afaf1b9de558","signature":false},{"version":"151ccd10cc37cb771bf74a0e9c9eb92ca5a044c136cb9ecb4f04a777e4a93850","signature":false},{"version":"6ae0792be9ed07ea58b338a6557595ebbe954e57f187c705bc0c805098c7b3dd","signature":false},{"version":"9da5a4a2a6953973d615c4352874237ce022d5917dbb62c02f04832313511faa","signature":false},{"version":"8d2aa6819b52d133173e29ae1cfcc237e646bc92dc3520afe1aaeab4ce0dafed","signature":false},{"version":"abae41323f251dff6cdc04e6285bb17e0d2f39e0ea91cefd44a70f7936053e5c","signature":false},{"version":"ca1279a8afa4f4fd6c5ce90daf592cc830471149ca3b72debfb9c257fff3b4c9","signature":false},{"version":"31c30cc54e8c3da37c8e2e40e5658471f65915df22d348990d1601901e8c9ff3","signature":false,"impliedFormat":1},{"version":"2ede53a17b342a8265b924563f08d352dc7358a91585b0332b3d4a055b692407","signature":false},{"version":"8b257b5a72c2f3fe759a88e72b6e7e01cece508539763bd92fee1f7b7df1bf4f","signature":false},{"version":"47d58030bb5abc2cb67a10292be609744b902dc284cc57f080f0a7225296c28a","signature":false},{"version":"237b71d52201046205ff93a2b4ef03b1b16616a94be66b557045b987513a74e4","signature":false},{"version":"8c48382eaa6e14119f60a789928b39c2b004cea987bed546384421c2ee4c4ba2","signature":false},{"version":"eb6b6085e0c10bd845863189667a6dc48c8a2f843ed70e2176e3b45ca85ca793","signature":false},{"version":"0e6d2374577b261efcefe39ecee43cadcad92797074ba504e1b99a162dd75ad9","signature":false},{"version":"5eab89e96a70daa12f932503cd36a5e526a8d861863a860c76a62f83ad21e8ae","signature":false},{"version":"57977e7fa392272ced19da26fee459faf791f7e74eacac0a0b209f9778afe40e","signature":false,"impliedFormat":99},{"version":"dc0b22e7ee8a91f00d17002a455ad877aaf2786c889908e4b7e9243928333ae9","signature":false,"impliedFormat":1},{"version":"557f2190e7a613e7df91b338a737c005fb64a11b8719581f23f6740dc118a3ca","signature":false,"impliedFormat":1},{"version":"2dcae443e032a43d5dd3c465dee03125d807c7fcb6c9405cafdf227742d416ff","signature":false,"impliedFormat":1},{"version":"f47990ba068a013fb489707165879c05dc62bbefca51e3caef2bdded20983a5b","signature":false,"impliedFormat":1},{"version":"1aa17f1c8dc6463584469bf19e1dd16a41be2d7e278dabb4ebf3919e0b7a1e07","signature":false,"impliedFormat":1},{"version":"da86eb3bc83c7cbc0fc1e8310e574e611a6605d7fd1a34d5ba7ec290f4b23ba9","signature":false,"impliedFormat":99},{"version":"27679e96d1bd38c5938178aaf4abe8627493090b63d6bae2ce8436e6a87ebe4d","signature":false,"impliedFormat":1},{"version":"76dc594f914e6da282383403446d609d5bff33eafd667f997d8e9f5cbb3fe635","signature":false,"impliedFormat":99},{"version":"6285ff8f3b56d56135250d2b62fea3abbf059d014f87ea760921d1667edc98ee","signature":false,"impliedFormat":99},{"version":"a90d4802d1110ebb9f1445b44f347f36f754c1a053b5b1b95fa60464a698d76e","signature":false,"impliedFormat":99},{"version":"d63b8f8ee9d8be8da2b7c8320b6238687d5c6b4c2fff451656a76675ce02b0fa","signature":false,"impliedFormat":99},{"version":"adb2e6cc71064145f68624b098b6bba0cab56d8c89572a5e93deddc95e4f2b19","signature":false,"impliedFormat":99},{"version":"a794389adadfc3d0fe94092764c3eff6e26d1f3829b2381591b4af2cfd0608a0","signature":false,"impliedFormat":99},{"version":"3c7288a8c3b8aa9f3ca66bd2e2bd8dfad287d9e0db2f5bcc883ee1dda8f28a1f","signature":false,"impliedFormat":99},{"version":"87d30580154d4b795efae2b2cc0b6aef66cd19aba94aa3413cf9f435285b798b","signature":false,"impliedFormat":99},{"version":"089048a2e2ccc7431a43dfa3bc4df2251eb407427f38c28dbec511d21e60febb","signature":false,"impliedFormat":99},{"version":"2f1648af95bc62a8c300b176b7567a46ef01c32dda5f67a50c0348f48503f42b","signature":false,"impliedFormat":99},{"version":"bdf36476cb5ac1e86466cc11f4cd94e3ec87546426e7685ae55b08174ed93258","signature":false,"impliedFormat":99},{"version":"85a16f96e2724745fdcbcc393bde7effd95815bd42969ad706b8aaf719bc491e","signature":false,"impliedFormat":99},{"version":"7bb47913fa240508dd3b9acdbb4e2621150965c160015b4c5960cb17d4302028","signature":false,"impliedFormat":99},{"version":"104175004387fc1d7842464a7335db4cc7091ea8c8458c7aa0fc53c6521ecb0a","signature":false,"impliedFormat":99},{"version":"41531d66ecc0d7b8b6511b013597170807bb3862dd94a4a6c32dd831d83a26a2","signature":false,"impliedFormat":99},{"version":"d59174277a60df9be8664a6a01ae3b8d311919335e56b388f53aacffa5fe50f6","signature":false,"impliedFormat":99},{"version":"cbb7fe3478fdd2ae52af0d6715e2c7d2b63da0238c0cac60c54ce99eff276520","signature":false,"impliedFormat":99},{"version":"27805c27fe815e9311d06d4b489965662d197ce055be3224e0890d0511ffbefc","signature":false,"impliedFormat":99},{"version":"3668fab5115de694079d3c99f07dcee9ec461910d5c2710aa6e41684a37f494f","signature":false,"impliedFormat":99},{"version":"1c6de808f68b5c9e18fd58a98ca8ecd487396d5dd4f2f1ef62aa7f72c271166d","signature":false,"impliedFormat":99},{"version":"2df0294fa8e7da699cfdc6d3e92c2e58f5834f70c89158e0e656c6062225a3e3","signature":false},{"version":"608b579d8348ec93c4fad8e6be2af271bd5d10d7c8f69f7fe77e78aa56d247d3","signature":false},{"version":"67cd9ed80cec0c731ee9b9b3a8b4f07142822e009298e833d0865974a8cf095b","signature":false},{"version":"4e5d6c43e9e988b946daf9d1c755078c3163a31f777835f315d086b78292c5be","signature":false},{"version":"436c60c52e010b3e42dda9c49eb2ad89e9b36d19e195ab08878aaece201b169c","signature":false},{"version":"060352d03f5f5a910b012d3d1d734d89e30b95e0d697a0fdc24f7fbb8009f955","signature":false},{"version":"c59cf90923f74ef8d903330fa3b0215db8993539c09856025c74dc25382b3e52","signature":false},{"version":"98783c18d4e046c1b6acd4a7546afae54f8694f996584124ef070b577c1cb11c","signature":false},{"version":"1fac4c3c2bac5112025cee493f0ddd42130a554e88e78fe7646db393a0929d28","signature":false},{"version":"e999e5294709cf2a8927622303467a364f67e7df1e812e65b6399e4923fd0eee","signature":false},{"version":"78f22aff2b6207a449c88287e3e66fc9b66df2e91913fad286589fa271b3e437","signature":false},{"version":"ae39b0c431bc533ffa0128b69a393c8f59623eb8321f6dddeb5c381cac6fe15e","signature":false},{"version":"e0d363994e45b4d6fa51b804c67f71081c2d904760d324e96ec0136b8421188c","signature":false},{"version":"5817c4bb84481753b458dec642f734265e667eab1dbaa0329b60295f8b67517f","signature":false},{"version":"cfba35e9a0abc69e7fa23ec2beaa230fa07c487a4d0d7bb11fa41f2fd1ffe3f1","signature":false},{"version":"7255c57745c1b9df03bb6c74a95509b215c9c111a4df13ec376ab15e8af0264d","signature":false},{"version":"fb4a9ad4de2276882f8c48f8230167e717f0ace08d1051a45f1dbb5dbc5d8cc6","signature":false},{"version":"3b589adc4fa68758da03775f5651ac10fca3eb840bf396750ee2d9509d72d12c","signature":false},{"version":"140a10ef112c106943e732bbf96c8adfe2ba6a57ae825a723ee48e96a4a90647","signature":false},{"version":"928c0b86a07640052d8d6790ae782636251a238b0226193ef7c4c96b0b038119","signature":false},{"version":"f16015ccb6e6b6bb4055a6bc3cc6234c15a8f98537b076aab5486ee056ba0f70","signature":false},{"version":"aa90435e5ebdb963994df2e4a5b6e3082d2d66c3548ced2af00c9de84788ea6c","signature":false},{"version":"4d79d22c9bceadbecc39dbcad71ddc96f051282747a1fe44512a7eb61a395283","signature":false},{"version":"148fb60d296fd647ca0dc8082ea5fe2744387ed3562a837d466da9c0988257f0","signature":false},{"version":"a965622d6d01091e962e1d5408eb8b8046d7bf42a13fe9bd79b6595907e853e6","signature":false},{"version":"c3d3dcb0d82fc5e91d8830bac7fead905686fe876f1f42c3ed872bb0a6b6584e","signature":false},{"version":"86c72841293b0e3beae2d1b49a45429e5407917870ec80815bd745cffa61ba38","signature":false},{"version":"ff8ce5ffa39d53bdec72feca7dbd6b9e4ce3af91531c5df42e984fad2fa954fd","signature":false},{"version":"d30e67059f5c545c5f8f0cc328a36d2e03b8c4a091b4301bc1d6afb2b1491a3a","signature":false,"impliedFormat":1},{"version":"8aec11a1e80df7a1c9154e767e50c12b0043e13cfb3b398dc20e9ed48b26f4d1","signature":false,"impliedFormat":1},{"version":"fecaa95894679ecb8cac80c91c701f17c05ba46e925715f0d86d072e49eb1c5d","signature":false},{"version":"65054b91edc8b6bd1afeb3d8ef076ac8a423a9c2bd3532e36725b6579cb7d4e2","signature":false,"affectsGlobalScope":true},{"version":"fb56752d9b771c6e4a4a98cc4caeed303778329fa542cf80d0d6b15e0a6218b7","signature":false},{"version":"0e118c7697f1b42e6e5d5fed9a9ddc78ca70172ce6e4605befadcdb00abdf010","signature":false},{"version":"8d16cdfdc38bae73c5a0836e9846ffac43abd4ff5e925eaed38405f2fde8c3a8","signature":false},{"version":"955f00798f31b8b98ee120b1391b2ebf4518b4a48880095e238d6849062c47b0","signature":false},{"version":"8a97d7acf3866878d03bbc7059bc7f12734ec8c0252ec6c00b89107b09bd4bd5","signature":false},{"version":"0123f7947e61bad720b9579f12fca788178738cd04218c9523bdc0b113655e28","signature":false},{"version":"132e3cfb59c64299f2cae4e71cedca1eb6184f72602ad8a95c2487d789177101","signature":false},{"version":"f93f6a9ca5e2238ea528900185edec98c64937452a2700156de5d3a83de21c43","signature":false},{"version":"c7523fa54e6a66b5dd2a54460b302805ff7d9ea67ab248d9c461d467592f0c84","signature":false},{"version":"41565b11a5b920c5f49c46a55352352aacdd68c31eb10636e49bb0b41d5e6019","signature":false},{"version":"a019ff95dd1294a365ff7bc2b9f5f6c8b773289490c3de5e0faaacd0a5d5ec6b","signature":false},{"version":"218a44121655698c1daa297631d9a4b6a0521dd9054e1c713f45664a6e84a756","signature":false},{"version":"7fd327d98f272972cee17a26fd44fe8376df65953146152ad80d57498fc33488","signature":false},{"version":"f573ef62c4513c24b861823fa8510e63f4bb59df326e0896bc1634a70a9364f0","signature":false},{"version":"18e2b3e6a03183d4f4b0685b1a010f8df57fc99f52fce91425427f30b48f3927","signature":false},{"version":"a3d7abd9bc42b8d92382a2aedabbe980b40ebf5c119fb48bd4fa569181364878","signature":false},{"version":"5515b7c2c39715ac901300668a3e9511bf97b643abbf68615a97b7b47987cb2d","signature":false},{"version":"6817d96123ad96d2e907c31bdd71fc76f2156fef9077ca25b92056cdcd3e97a1","signature":false},{"version":"4be1e3a7edc4223df321e764a6f3b382410484822140e3e77f8e42de3d31ae63","signature":false},{"version":"594b4f16b43707ca4f6d20e19914304898a1e74d8b49744ee089c125ffbe92c1","signature":false},{"version":"766ee48c26982c2f0ef7ecbcea495c34c4932f13d2cbf29fb68c2236831c47f2","signature":false},{"version":"24283b270a91bece1037fddc52a47a9d149e500587de55653e5b6736c0a3af96","signature":false},{"version":"102307bbca788b144b696bf699fbc2589b9a54e5ce03881024297d610842b1b8","signature":false},{"version":"236aaa124c007eeeca0d54853f07a3feb1a56c3f45f44de1bc4f524f44b77738","signature":false},{"version":"356c4626acc24b118c101d7ff384a2a107ce8d29a2a770e2643735a24c4f3441","signature":false},{"version":"6ba37a4b78ccd262f56c280c3517bb0c81129f75da3ee9544a1490a51e733088","signature":false},{"version":"fa3a26e1f325bb901de9a024c421afa220749fda1f24842d9deea1ee6ca0051e","signature":false},{"version":"0ae522ebbc333e03571d21bd9395c8550d31fea079d7bfec2fd9a37ee039d896","signature":false},{"version":"4274767cb299c0be09a9e8d9d8470b13d67cfc67d1fb1754dc1caefbcfbab91b","signature":false},{"version":"75d0fbb7006fdf142525cfb41e65cf571bd5c5442ec553b353cc9fc82dfa38a7","signature":false},{"version":"84b236df6d7065dae01cb89c946ba24a244b3883fba780d43d3a58241c723108","signature":false},{"version":"d9c2c2215e785d277c01aa18efdfb9c7f7afb0fe92775742bd93a2581504b7f4","signature":false},{"version":"9f4039db97deee6028b5d2167f87c7393b8f29a06d7420f1982d36b9e2087be6","signature":false},{"version":"e9baf49f6f59e8d9797b54d141de7e19dd89394b5f0bc8a1fdc3ad8303958065","signature":false},{"version":"be57b075b12ec808829b33f97f8ee97e84d556a5d1d47b073548bb8eb64126b0","signature":false},{"version":"c1242c38225ba0a3abdec4791d9cb42b58ce54aac2a1c736e48d8f6a85a9d833","signature":false},{"version":"fcbe8d8f05c4beb05d59b479a895fdae8b8d8afe8215c89be7da6697f9e57381","signature":false},{"version":"f5720f3e7f9aa9dd56541bb6ca53c1fb6acd0bad456a866fa0c398b23450b6dc","signature":false},{"version":"6a37f30999dd3bed51c5e70bbe0ab4b4b80b3b1758c5dff163d4db8acfd3e287","signature":false},{"version":"3a9d94df9464896e4fca5251bd615680c02cf5b3c707ee9d8af598e50b532773","signature":false,"affectsGlobalScope":true},{"version":"89fa6e551d6985a0d8b642b8ec1a7d459023316f39d7dfaa2d6ab4f23403a374","signature":false},{"version":"42037847c04d56125cf57d9afd3e0d25eaaf9a2dea77fab32e3712643d520423","signature":false},{"version":"5969ff17acfcc1f28cc26203c648bf4374c48c65cc6dba651a8d7478bc034b4f","signature":false},{"version":"f93d2823b86ae18f153bcc563695f47ce8709b60ec6848689e66053b49733036","signature":false},{"version":"5020b29af503216c1a2412591435396b683ef6cfdb50c9f4b85c1c558d369ae4","signature":false},{"version":"b56b9a32ce5a0f1e59a7c8a91b8f936bdd6b41d12f9ab32158ebd3c57e567e0d","signature":false},{"version":"b67e3341084eb61dc693c070a107e03e4a2b8d960bffa6f308df0c212c53a946","signature":false},{"version":"debd551b4cf39b4d3cedf1e5baa3c47473323ac86cb229bdcb8a85a8650846d3","signature":false},{"version":"b25b36643d1853b3f8e2fa378c20d39a08c670e29bf256b7ec38284882c2d7f3","signature":false},{"version":"8cb17ddf2dd6e358f05a79af0f8d215bf19eba94c0921b14f2c922511b66deb5","signature":false},{"version":"031be7c76ce91915ae7b0030bc3c5fffb1bd75ddade091f7f5a3f11c7bfae240","signature":false},{"version":"423396c31250445964a9582556ddeafa82a4ac73f0efd29e611445f628187480","signature":false},{"version":"113fb7e43963878e076ea65fe7c12df9071b8068f251845cc35ed01cd00cf8ca","signature":false},{"version":"e0fa6fb1007672d3372f229e8bef804e536ede857e7f624204510b77bb4d1422","signature":false},{"version":"b918bfab237833ff71c52e3bdd2337c9db6eeacf80bf43bba11a22aadb88e044","signature":false},{"version":"980bfad93c4627bfb800049c1b1fce316e0b5989e017db76ad6687d33143e44d","signature":false},{"version":"cdddeab6c557c47777650c058b748027fbbb878e0396c1307f4f8ceedbc1fe34","signature":false},{"version":"11b2fd6ccd7ede9c9def487f52ed975ae8ff6cf815c96a8dcc01dfe4bba24e48","signature":false},{"version":"9ba01567dc021e5f62c16971aaddcf1982a37cab04d0bbb3936aaf2ff48dabc1","signature":false},{"version":"f9ddf3c8fe1775866b15aab64f2bb0ce772ac018d373fead8808bcf8c233ff41","signature":false},{"version":"0943a6e4e026d0de8a4969ee975a7283e0627bf41aa4635d8502f6f24365ac9b","signature":false,"impliedFormat":1},{"version":"1461efc4aefd3e999244f238f59c9b9753a7e3dfede923ebe2b4a11d6e13a0d0","signature":false,"impliedFormat":1},{"version":"1cc98c2ab5106d8d476f1da4aa8dd535198a8113513b2c918938ea76d90bbbc9","signature":false},{"version":"36d8011f1437aecf0e6e88677d933e4fb3403557f086f4ac00c5a4cb6d028ac2","signature":false,"impliedFormat":1},{"version":"589c299c27e2ad99c2e96c9a90e6ad49051cf99fc88f0c42a13465177379186f","signature":false},{"version":"8079d851ffa1dbe193fe36643b3d67f4fdf8d360df4c900065788eff44bc15a7","signature":false,"impliedFormat":1},{"version":"7626e43c40fbf82f96292c1ca8d8cb9ced31f257d83c9b0fe48694ec04d127b6","signature":false},{"version":"e516240bc1e5e9faef055432b900bc0d3c9ca7edce177fdabbc6c53d728cced8","signature":false,"impliedFormat":1},{"version":"5402765feacf44e052068ccb4535a346716fa1318713e3dae1af46e1e85f29a9","signature":false,"impliedFormat":1},{"version":"d897f248f2cb57f015d0fac1766c90103679b5d87c752386396a33cb3f54054f","signature":false,"impliedFormat":1},{"version":"8fd6830f047abc26e14f10f4a89970f67e64592cc833cc3f983a83902d2401c4","signature":false,"impliedFormat":1},{"version":"9f1886f3efddfac35babcada2d454acd4e23164345d11c979966c594af63468b","signature":false,"impliedFormat":1},{"version":"dbe93fa70ad261476f6ba3371c882b30624680c3e2fb450cf770d705055eb50a","signature":false,"impliedFormat":1},{"version":"2e579a59ec687131ef9de9c24649c5af9175206dd71bd7bdb264065fb84fc939","signature":false,"impliedFormat":1},{"version":"9b4c036d0d4d6a1a00a647e39af33a8b35b7a8d9208148e613c8f7888b56ec9b","signature":false,"impliedFormat":1},{"version":"621d5bf4d3bd5552feca78bf424a4ecbd64bdbbbe6642bc03bb21332f3b01766","signature":false,"impliedFormat":1},{"version":"39e0da933908de42ba76ea1a92e4657305ae195804cfaa8760664e80baac2d6a","signature":false,"impliedFormat":1},{"version":"a7707f896e13ca21c53525700358fa84a391fe830e6a32690d3cece5eca92b5b","signature":false,"impliedFormat":1},{"version":"788a0faf3f28d43ce3793b4147b7539418a887b4a15a00ffb037214ed8f0b7f6","signature":false,"impliedFormat":1},{"version":"a3e66e7b8ccdab967cd4ada0f178151f1c42746eabb589a06958482fd4ed354e","signature":false,"impliedFormat":1},{"version":"f84fa1aefe6f569c28f4792d9bb481c44084c0761930899c4d3881c035ec2ac0","signature":false,"impliedFormat":1},{"version":"39973a12c57e06face646fb79462aabe8002e5523eec4e86e399228eb34b32c9","signature":false,"impliedFormat":1},{"version":"ad723c8e266e90389f5bf641c9707c3216ce7c5ef4613d6e194ece2f0ebf751e","signature":false,"impliedFormat":1},{"version":"09f4c929151b78cc55a50f82e611837655a9692ea92a831858d3e85370315dda","signature":false,"impliedFormat":1},{"version":"d8f74abfe31b7d792094880f5123f8e7043d28fad4106eee48df5525e679dc8a","signature":false,"impliedFormat":1},{"version":"70013a3b8f4958a48e8a6abd9e2ed859b22dd8d7e78b84ae209c38eb892f919a","signature":false,"impliedFormat":1},{"version":"e9741233f44e2513a0b8023e23fad5ab7c8acaf7aa342dc28b8cb6dc0c6441ec","signature":false,"impliedFormat":1},{"version":"537a23444430b69c3d41ff8c28e1831f83314487142cf9f17de6962e3d652305","signature":false,"impliedFormat":1},{"version":"d988e7fedaf2a779ea557266660d169827222ed3cf620846e53f6850b0309173","signature":false,"impliedFormat":1},{"version":"3381c2776e31ffaee07600a165a03e3e88816915b11b48b75c0d699b1030da04","signature":false,"impliedFormat":1},{"version":"4d6ce1119a41e67a2e4feb75818d6954bba34361463c03c145a1415410bae362","signature":false,"impliedFormat":1},{"version":"198c02d8f5ee437f2e6de2e14fbe88654e9c31ed394a02a55fb9494873ad6283","signature":false,"impliedFormat":1},{"version":"d565b8e08ffd457396226e1c4a12bc3d81a19b2e3fc9201b615e4a983599ec0d","signature":false,"impliedFormat":1},{"version":"c1de40f567be178269f4b0c31f56a3918e4049ce1706607899f01cad66876709","signature":false,"impliedFormat":1},{"version":"42ad4f1581b7aae4ee0909810460da90b5ee91884da126364518deea96a13f75","signature":false,"impliedFormat":1},{"version":"bc3962606aa44e9b6a14eb384fb762df50d9cc786c12076d84bb53a3ebc86db5","signature":false,"impliedFormat":1},{"version":"4d602c8ce7b9bef57985e29adbd429d5108c111a6f2049a51a84353a18fd5a64","signature":false,"impliedFormat":1},{"version":"f03d940cef38486528b55f87e6b2614a5426ec11067a3fa46b180c098abd06b2","signature":false,"impliedFormat":1},{"version":"479b402c5b48068698570f86ec3505dec875f9528b7963def7bbc6a2481bcdb9","signature":false,"impliedFormat":1},{"version":"1c3c98bb568cee7e654d9b332918743303e9f9d668da0e66cea57a9cf1f3005d","signature":false,"impliedFormat":1},{"version":"a2310df5daf38b9834bf33eee3ba45a75891d3ee8331af5df7f2a8db011c4d90","signature":false,"impliedFormat":1},{"version":"dd129c2d348be7dbf9f15d34661defdfc11ee00628ca6f7161bead46095c6bc3","signature":false,"impliedFormat":1},{"version":"2678117f8d645d77c6c99c59f4c59899f39475d7485a8344252f3da2db5c3e7f","signature":false,"impliedFormat":1},{"version":"69686986376cbc02a5f907b1ca8a7a759808c4e8df1200517c57ec749e8484cd","signature":false},{"version":"7e3373dde2bba74076250204bd2af3aa44225717435e46396ef076b1954d2729","signature":false,"impliedFormat":1},{"version":"1c3dfad66ff0ba98b41c98c6f41af096fc56e959150bc3f44b2141fb278082fd","signature":false,"impliedFormat":1},{"version":"56208c500dcb5f42be7e18e8cb578f257a1a89b94b3280c506818fed06391805","signature":false,"impliedFormat":1},{"version":"1ba55e9efbea1dcf7a6563969ff406de1a9a865cbbdaea2714f090fff163e2b5","signature":false,"impliedFormat":1},{"version":"eb9271b3c585ea9dc7b19b906a921bf93f30f22330408ffec6df6a22057f3296","signature":false,"impliedFormat":1},{"version":"82b7bf38f1bc606dc662c35b8c80905e40956e4c2212d523402ae925bd75de63","signature":false,"impliedFormat":1},{"version":"81be14ad77be99cea7343fdc92a0f4058bcdebaa789d944e04ce4f86f0ca5fbb","signature":false,"impliedFormat":1},{"version":"9f1e00eab512de990ba27afa8634ca07362192063315be1f8166bc3dcc7f0e0f","signature":false,"impliedFormat":1},{"version":"1cdbf5cc31860b39bd1881f19809357ee3600331ff1317f9d700c21665649aa8","signature":false,"impliedFormat":1},{"version":"86dac6ce3fcd0a069b67a1ac9abdbce28588ea547fd2b42d73c1a2b7841cf182","signature":false,"impliedFormat":1},{"version":"4d34fbeadba0009ed3a1a5e77c99a1feedec65d88c4d9640910ff905e4e679f7","signature":false,"impliedFormat":1},{"version":"2f3ec8a345eefed1af66b5975da98ccf3178d13ba9308359d34d2f7f87dd4c9c","signature":false,"impliedFormat":1},{"version":"8fcc5571404796a8fe56e5c4d05049acdeac9c7a72205ac15b35cb463916d614","signature":false,"impliedFormat":1},{"version":"a3b3a1712610260c7ab96e270aad82bd7b28a53e5776f25a9a538831057ff44c","signature":false,"impliedFormat":1},{"version":"33a2af54111b3888415e1d81a7a803d37fada1ed2f419c427413742de3948ff5","signature":false,"impliedFormat":1},{"version":"d5a4fca3b69f2f740e447efb9565eecdbbe4e13f170b74dd4a829c5c9a5b8ebf","signature":false,"impliedFormat":1},{"version":"56f1e1a0c56efce87b94501a354729d0a0898508197cb50ab3e18322eb822199","signature":false,"impliedFormat":1},{"version":"8960e8c1730aa7efb87fcf1c02886865229fdbf3a8120dd08bb2305d2241bd7e","signature":false,"impliedFormat":1},{"version":"27bf82d1d38ea76a590cbe56873846103958cae2b6f4023dc59dd8282b66a38a","signature":false,"impliedFormat":1},{"version":"0daaab2afb95d5e1b75f87f59ee26f85a5f8d3005a799ac48b38976b9b521e69","signature":false,"impliedFormat":1},{"version":"f94362be0203351e67499c41bd1f3c91f4dabf6872e5c880f269d5ad7ffda603","signature":false,"impliedFormat":1},{"version":"bb220eaac1677e2ad82ac4e7fd3e609a0c7b6f2d6d9c673a35068c97f9fcd5cd","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"c60b14c297cc569c648ddaea70bc1540903b7f4da416edd46687e88a543515a1","signature":false,"impliedFormat":1},{"version":"d03cf6cd011da250c9a67c35a3378de326f6136c4192a90dd11f3a84627b4ef6","signature":false,"impliedFormat":1},{"version":"9c0217750253e3bf9c7e3821e51cff04551c00e63258d5e190cf8bd3181d5d4a","signature":false,"impliedFormat":1},{"version":"5c2e7f800b757863f3ddf1a98d7521b8da892a95c1b2eafb48d652a782891677","signature":false,"impliedFormat":1},{"version":"73ed3ff18ca862b9d7272de3b0d137d284a0c40e1c94cbf37acd5270ce9b7cd6","signature":false,"impliedFormat":1},{"version":"c61d8275c35a76cb12c271b5fa8707bb46b1e5778a370fd6037c244c4df6a725","signature":false,"impliedFormat":1},{"version":"c7793cb5cd2bef461059ca340fbcd19d7ddac7ab3dcc6cd1c90432fca260a6ae","signature":false,"impliedFormat":1},{"version":"fd3bf6d545e796ebd31acc33c3b20255a5bc61d963787fc8473035ea1c09d870","signature":false,"impliedFormat":1},{"version":"c7af51101b509721c540c86bb5fc952094404d22e8a18ced30c38a79619916fa","signature":false,"impliedFormat":1},{"version":"59c8f7d68f79c6e3015f8aee218282d47d3f15b85e5defc2d9d1961b6ffed7a0","signature":false,"impliedFormat":1},{"version":"93a2049cbc80c66aa33582ec2648e1df2df59d2b353d6b4a97c9afcbb111ccab","signature":false,"impliedFormat":1},{"version":"d04d359e40db3ae8a8c23d0f096ad3f9f73a9ef980f7cb252a1fdc1e7b3a2fb9","signature":false,"impliedFormat":1},{"version":"84aa4f0c33c729557185805aae6e0df3bd084e311da67a10972bbcf400321ff0","signature":false,"impliedFormat":1},{"version":"cf6cbe50e3f87b2f4fd1f39c0dc746b452d7ce41b48aadfdb724f44da5b6f6ed","signature":false,"impliedFormat":1},{"version":"3cf494506a50b60bf506175dead23f43716a088c031d3aa00f7220b3fbcd56c9","signature":false,"impliedFormat":1},{"version":"f2d47126f1544c40f2b16fc82a66f97a97beac2085053cf89b49730a0e34d231","signature":false,"impliedFormat":1},{"version":"724ac138ba41e752ae562072920ddee03ba69fe4de5dafb812e0a35ef7fb2c7e","signature":false,"impliedFormat":1},{"version":"e4eb3f8a4e2728c3f2c3cb8e6b60cadeb9a189605ee53184d02d265e2820865c","signature":false,"impliedFormat":1},{"version":"f16cb1b503f1a64b371d80a0018949135fbe06fb4c5f78d4f637b17921a49ee8","signature":false,"impliedFormat":1},{"version":"f4808c828723e236a4b35a1415f8f550ff5dec621f81deea79bf3a051a84ffd0","signature":false,"impliedFormat":1},{"version":"3b810aa3410a680b1850ab478d479c2f03ed4318d1e5bf7972b49c4d82bacd8d","signature":false,"impliedFormat":1},{"version":"0ce7166bff5669fcb826bc6b54b246b1cf559837ea9cc87c3414cc70858e6097","signature":false,"impliedFormat":1},{"version":"90ae889ba2396d54fe9c517fcb0d5a8923d3023c3e6cbd44676748045853d433","signature":false,"impliedFormat":1},{"version":"3549400d56ee2625bb5cc51074d3237702f1f9ffa984d61d9a2db2a116786c22","signature":false,"impliedFormat":1},{"version":"5ffe02488a8ffd06804b75084ecc66b512f85186508e7c9b57b5335283b1f487","signature":false,"impliedFormat":1},{"version":"b60f6734309d20efb9b0e0c7e6e68282ee451592b9c079dd1a988bb7a5eeb5e7","signature":false,"impliedFormat":1},{"version":"f4187a4e2973251fd9655598aa7e6e8bba879939a73188ee3290bb090cc46b15","signature":false,"impliedFormat":1},{"version":"44c1a26f578277f8ccef3215a4bd642a0a4fbbaf187cf9ae3053591c891fdc9c","signature":false,"impliedFormat":1},{"version":"a5989cd5e1e4ca9b327d2f93f43e7c981f25ee12a81c2ebde85ec7eb30f34213","signature":false,"impliedFormat":1},{"version":"f65b8fa1532dfe0ef2c261d63e72c46fe5f089b28edcd35b3526328d42b412b8","signature":false,"impliedFormat":1},{"version":"1060083aacfc46e7b7b766557bff5dafb99de3128e7bab772240877e5bfe849d","signature":false,"impliedFormat":1},{"version":"1b32f14ef9e26be36776d6115d3661747508a3437f5bb2528a39ce60f622b5aa","signature":false,"impliedFormat":1},{"version":"9ee50ea4e24ac33273880940358802dd98baddf27173f19ea061752eb192c44d","signature":false,"impliedFormat":1},{"version":"111e1ef247e53abc607bd921154a477a4b19b3e876abb79c672012f06f69b368","signature":false,"impliedFormat":1},{"version":"7ec569bb000dbd2ae79f6e5888fa16765a7c579936054a4f50b021eaf31b0998","signature":false,"impliedFormat":1},{"version":"dd0b9b00a39436c1d9f7358be8b1f32571b327c05b5ed0e88cc91f9d6b6bc3c9","signature":false,"impliedFormat":1},{"version":"a951a7b2224a4e48963762f155f5ad44ca1145f23655dde623ae312d8faeb2f2","signature":false,"impliedFormat":1},{"version":"f7eb7fc7e7c956605835e5bbbdfc4b6d1c36f1d41a162bfffba4540eae5d4257","signature":false,"impliedFormat":1},{"version":"cf7698e227b8f0e3373106ef29db72fc52661c0fdaa823205fbfc357985ec219","signature":false,"impliedFormat":1},{"version":"9f20de1b5776e653764e55f059d02ef460d7e2c064c304bfda1d7ba2dda43886","signature":false,"impliedFormat":1},{"version":"890ed5cccf66fdced5795066488cd006379dfc84b1670e459f03d40c625341ca","signature":false,"impliedFormat":1},{"version":"d8e8ab0dbaee5220b21dfbbb33fefc684ef4d87b07743a998f39e9d88ffe9776","signature":false,"impliedFormat":1},{"version":"977aeb024f773799d20985c6817a4c0db8fed3f601982a52d4093e0c60aba85f","signature":false,"impliedFormat":1},{"version":"d59cf5116848e162c7d3d954694f215b276ad10047c2854ed2ee6d14a481411f","signature":false,"impliedFormat":1},{"version":"50098be78e7cbfc324dfc04983571c80539e55e11a0428f83a090c13c41824a2","signature":false,"impliedFormat":1},{"version":"40894bcf307f326ec4d371cd2ff304dac0fa303d1c6c71ad7dc65742239114da","signature":false,"impliedFormat":1},{"version":"dd6051c7b02af0d521857069c49897adb8595d1f0e94487d53ebc157294ef864","signature":false,"impliedFormat":1},{"version":"79c6a11f75a62151848da39f6098549af0dd13b22206244961048326f451b2a8","signature":false,"impliedFormat":1},{"version":"62ebd887366a84fc1c5f05fe1a2cb539db1869a73c9008e2cd74e1462075a4a3","signature":false},{"version":"f4cdd104de29928bfcd40b865c7d08eed9157a537fbb8b5e6d0921f02b63cc04","signature":false},{"version":"41baad0050b9280cfe30362c267eba7b89161d528112bccea69f7b4d49ab3102","signature":false,"impliedFormat":1},{"version":"a19d8fdb1d4a6c02c071e1f35afab99b2e759c5cd04ded8c2bfd6ad84dfb8962","signature":false},{"version":"89783bd45ab35df55203b522f8271500189c3526976af533a599a86caaf31362","signature":false,"impliedFormat":1},{"version":"6da2e0928bdab05861abc4e4abebea0c7cf0b67e25374ba35a94df2269563dd8","signature":false,"impliedFormat":1},{"version":"42db115335540179d04c5ef013399c4ef09789ffc87e340b8a9ad0a6d1c08ca9","signature":false},{"version":"ad3362b8881ffb0d53ad3dd902f6eba9381f407d5682d354f1a0745d8ae0005e","signature":false,"impliedFormat":1},{"version":"774316527ddc577fc54012a0c898ebcf7cf8f11152126e550828b53004a5b70c","signature":false},{"version":"89ad9a4e8044299f356f38879a1c2176bc60c997519b442c92cc5a70b731a360","signature":false,"impliedFormat":1},{"version":"c6d7e532ba61870b182feffa9bcf468c385c99784123dbb50ae13d2282bd58ea","signature":false},{"version":"b843496b17a2bbd79c83809c73fd9c59fab53d3e361e04e52e2d489524eea764","signature":false,"impliedFormat":1},{"version":"6bd87d79f93679b469b00eda027a7a37d841ad76ca40fa45d5b4639805e50aca","signature":false},{"version":"6a8bd22c9f4ad416a3934d5601636d621efb893c7cc7fe124285440ef95ac75a","signature":false},{"version":"fd4f58cd6b5fc8ce8af0d04bfef5142f15c4bafaac9a9899c6daa056f10bb517","signature":false,"impliedFormat":1},{"version":"2e9ff10dead52ac74fe7863932edd31edcfeb7c637c7da4b82886ce73ec4b078","signature":false},{"version":"6fb3298e948c919dddff11c2b835e0d78e0b7f8597aff359c359a0e5a64cffe0","signature":false,"impliedFormat":1},{"version":"f876363b4931492eccba17cf0416f4aca9b777d67831aaf7567d41a09c72fbc6","signature":false,"impliedFormat":1},{"version":"c07f503f41162b190bef100ba0ad31a8eaa9c790f3f782ba7df220e26f23b93a","signature":false},{"version":"633741b3081c800b6fbaaa051b81de4eb776c968a0e1a6766307054d77a049de","signature":false},{"version":"2535fc1a5fe64892783ff8f61321b181c24f824e688a4a05ae738da33466605b","signature":false,"impliedFormat":1},{"version":"8a10fdf10a500f709581fb49690c3a86c82d07db969266ee47bcad6f0c2782e5","signature":false},{"version":"cbfd5ef0c8fdb4983202252b5f5758a579f4500edc3b9ad413da60cffb5c3564","signature":false,"impliedFormat":1},{"version":"8c036da4baed076de68d27719929dc98151a81b51456bfa6a2488d835303b1d7","signature":false},{"version":"76595c0e5a532556431fbda63e041df8a34902f4ed3404064d0f846bc19fa98d","signature":false,"impliedFormat":1},{"version":"4e0515412cad83083f8b13e0f8f6bbdd4dd74d4156601f969a353a822de66a50","signature":false},{"version":"ad37aec058ed443d7460433df152313718febcae11564e2c7940f4535ce02233","signature":false,"impliedFormat":1},{"version":"3509a51f87227ae65de0e428750e4b8c4148681b5cb56385b6526c79bfb51275","signature":false,"impliedFormat":1},{"version":"348c13a1c9160681e41bc5cd3cc519dd8170d38a36a30480b41849f60f5bf8a0","signature":false,"impliedFormat":1},{"version":"39d3b53ba8a622ae29df44e9429e8c0b632f302623b2246a5fcafdff14a93908","signature":false,"impliedFormat":1},{"version":"279248c34ecd223fc46224f86384ebf49c775eb69329ad644d3d99f1205f3e7d","signature":false,"impliedFormat":1},{"version":"284a96a6ad160f5982dcc1d6fa36350e042f94d84d49f46db454b356dcb824a8","signature":false,"impliedFormat":1},{"version":"3aa3513d5e13d028202e788d763f021d2d113bd673087b42a2606ab50345492d","signature":false,"impliedFormat":1},{"version":"f012173d64d0579875aa60405de21ad379af7971b93bf46bee23acc5fa2b76a4","signature":false,"impliedFormat":1},{"version":"dcf5dc3ce399d472929c170de58422b549130dd540531623c830aaaaf3dd5f93","signature":false,"impliedFormat":1},{"version":"ec35f1490510239b89c745c948007c5dd00a8dca0861a836dcf0db5360679a2d","signature":false,"impliedFormat":1},{"version":"32868e4ec9b6bd4b1d96d24611343404b3a0a37064a7ac514b1d66b48325a911","signature":false,"impliedFormat":1},{"version":"4bbea07f21ff84bf3ceeb218b5a8c367c6e0f08014d3fd09e457d2ffb2826b9c","signature":false,"impliedFormat":1},{"version":"873a07dbeb0f8a3018791d245c0cf10c3289c8f7162cdbbb4a5b9cf723136185","signature":false,"impliedFormat":1},{"version":"43839af7f24edbd4b4e42e861eb7c0d85d80ec497095bb5002c93b451e9fcf88","signature":false,"impliedFormat":1},{"version":"54a7ee56aadecbe8126744f7787f54f79d1e110adab8fe7026ad83a9681f136a","signature":false,"impliedFormat":1},{"version":"6333c727ee2b79cdab55e9e10971e59cbfee26c73dfb350972cfd97712fc2162","signature":false,"impliedFormat":1},{"version":"8743b4356e522c26dc37f20cde4bcdb5ebd0a71a3afe156e81c099db7f34621d","signature":false,"impliedFormat":1},{"version":"af3d97c3a0da9491841efc4e25585247aa76772b840dd279dbff714c69d3a1ec","signature":false,"impliedFormat":1},{"version":"d9ac50fe802967929467413a79631698b8d8f4f2dc692b207e509b6bb3a92524","signature":false,"impliedFormat":1},{"version":"3cb4960dce78abf548af390b5849e0eec1a0ce34fb16e3fab2bbd95ed434c026","signature":false,"impliedFormat":1},{"version":"b4fbfaa34aacd768965b0135a0c4e7dbaa055a8a4d6ffe7bedf1786d3dc614de","signature":false,"impliedFormat":1},{"version":"70d1e35a5fb0897af7063cdd841d8ed636e1c332ef7ea6469f0f175a5a93dddf","signature":false},{"version":"0bc986cb21ed59d8215c3bc4c37e27511d2dec04bc43502cab094e3fad990718","signature":false},{"version":"9051eb9d885a18c0521c63c945480effcfca29282d2a342cb3ce7f9d080c6d38","signature":false},{"version":"ad0936f84f1df79d3697bfbff9c18f8ad58431c1cbaf2359c6a853b0fcc9f28b","signature":false},{"version":"a72a9d8fc1c1999b5411a33391c5e70048863c5865629077280e943ca85689a8","signature":false},{"version":"72aeae5c68c361fce30abd8926dd056e2a7351b16b9223347e1fa68610be3a69","signature":false},{"version":"cc3738ba01d9af5ba1206a313896837ff8779791afcd9869e582783550f17f38","signature":false,"impliedFormat":1},{"version":"48bd0ba32cc7f341ecca995374be73111da2f761694cfcf91dbf8d4d9e632c06","signature":false},{"version":"6c05d0fcee91437571513c404e62396ee798ff37a2d8bef2104accdc79deb9c0","signature":false,"impliedFormat":1},{"version":"346b11390f79f881601afa9965929b6e6903fe364f593ea91f7ced0da1ab387b","signature":false,"impliedFormat":1},{"version":"771ab8637d27384c3ed030ba3be01a07b90c791c294eae06646250f8e81bc49e","signature":false},{"version":"4a5aa16151dbec524bb043a5cbce2c3fec75957d175475c115a953aca53999a9","signature":false,"impliedFormat":1},{"version":"2cb63bb07b23867e89b026d82bd7817448511d4c547ec1f251d80f9edb4f4dfc","signature":false},{"version":"69ec8d900cfec3d40e50490fedbbea5c1b49d32c38adbc236e73a3b8978c0b11","signature":false,"impliedFormat":1},{"version":"7fd629484ba6772b686885b443914655089246f75a13dd685845d0abae337671","signature":false,"impliedFormat":1},{"version":"10783ad8d10a3405551a84e13d86dc2cb8f7b87005508e07445eab8b34d77032","signature":false},{"version":"dba95ead40d163af6959198ded9853a2cc9282b2cb534980f99937a65edf4e2d","signature":false},{"version":"ad0936f84f1df79d3697bfbff9c18f8ad58431c1cbaf2359c6a853b0fcc9f28b","signature":false},{"version":"36957ba538f4c4cf5129fc1b753e76197a48e2778d135bb4f0eaa50babdff449","signature":false},{"version":"c3085aa7c267e4a12c37d1330a7a4a29c38f8626db50456302ec5a79c215f656","signature":false},{"version":"4e81cb76d3fd1ad432eef3890379a09a346074bc71617720bba0aa5e03a8afd4","signature":false},{"version":"4a1b75cc689558d7243ad1d5e72feee42a3dd69d40e08b0190df21e18b4df547","signature":false},{"version":"25609c38d9342731084d19ddce7b22edc973f8b8d49c49e2257d2383b04997ae","signature":false},{"version":"da3e86034b20fab8d57a890e99a12607ec6787260a438aa55dbc1fe6ed7c58a7","signature":false},{"version":"01971ad79acf995de4ccacd7574e87710cbea571c13e20f62923ee8b67509f87","signature":false},{"version":"7f48134f6c37b09a6b23a8276231863cfc122110c942ec32b8c891b30e8050bb","signature":false},{"version":"e9f3f76aac4334cfc361fb8a93cd778d49023481eabdb002f35df8593f777377","signature":false},{"version":"69b271ca1aef2a122eaa7ae63cb68587a19bb290f500c52547415e1eaa6b6730","signature":false},{"version":"815b161edc7dea226e9ba77fd56c06c1de3577a6d85758adc4d9130f9ae63617","signature":false},{"version":"324204f147d807d001f23dc6ef2aae474692e1ff69f6929c11e4ea26ff64bae7","signature":false},{"version":"c01b7422ceaebf89fec8b6a7f5c1ce1c480afa3317be35c92ccba5c6ae50e0e5","signature":false},{"version":"71beb08da9a378336e08b36e798f74055a8d2edd6118ad97891416ba6972e506","signature":false},{"version":"14a2fb1699ef7dd3a40070dc3a57b868b03a547a3e4f7fbadfe67dc90dfbe6a6","signature":false},{"version":"2e0c7a2d0e01cf4453d3e19ec9dfc60f53d429a8c52b224efba1efc35e5c84ae","signature":false},{"version":"b7995d6282b9e6959caa4cc6316f6672530f1d1c57999d016a46833ec876aa20","signature":false},{"version":"6ece6b6804522fd73a996ed16f6ba1da4b5328bc59d48bc775af52b924a09406","signature":false},{"version":"a808f9d86b132f250d8ffaae7395311feafab56e1ff5258496c98e8c604de759","signature":false},{"version":"91719b4fb1673f7659044b3a5207c768bedb2cca2b7c4235b5267c2025d3618c","signature":false},{"version":"52b8cc71b4fb8623cb2442e1b0f4e2219f6309348f03176b4cbb28929db58762","signature":false},{"version":"4b2071750191fd03c6de46aeb8b7860c9df7cdb6ab338017de100a3ddb7d047e","signature":false},{"version":"d0617035188f99dfb972258a2eb5e7d4b9c917d8776f1cb94b8391d55446a07f","signature":false},{"version":"6bd43774bf43530a84e3068f450fd7e55f370d2d928c0e09a6ec57d362f645d0","signature":false},{"version":"6c88ddea2320bf56ba2e1eb480e9fe030af2c280f5cfcbe510b91484b5f5bb8e","signature":false},{"version":"776f0786ffd20ac0b981c571b64b736a6ef910da8b300c53db52f55ad8a30ecd","signature":false},{"version":"30bb74cee7944556497ac0988461c52f40f375584c578d3ce23f1fb6b03ff040","signature":false},{"version":"9f66537f582eb023054df2d2585004aa6593ef32da349461e57b1fdfc4d0907b","signature":false},{"version":"e4e391daece589044c1efc651515bb9979c32b075e5269158a705983de7a9481","signature":false},{"version":"d8d10053c53c66fa88090a164b3e782ab0a381b96a580001f5770573931817e0","signature":false},{"version":"89055443d012c1a95e361a68f4c352a48e7b0778993177a2a0fb9097a45d0303","signature":false},{"version":"e2b5d3086684aea4da60580e942baefd14a64dd3362de7ecc23e7e99fbb12f7c","signature":false},{"version":"90fad4a6000592dd7629b21b8daccb977a963e1366886025c637ae7ebf3f2bf9","signature":false},{"version":"861b26a2155c2d155d0150675296bb9766fbdaa2b464a83a710de080b955f20a","signature":false},{"version":"a009c9d8d9b9a9e6f7241d560d4aee535d051376f6d5a9d08a0f78708c618331","signature":false},{"version":"644ed072e105598e503b489d02d6cbec98f753ebe401d68de4e8ea0661a008d6","signature":false},{"version":"7b8a2fd2f5c5b428ccfad8dc9c71bff357e0c5baf55b590011e381c2232fe43a","signature":false},{"version":"abf1fe945c84e34be2b7b49cd2e3ef1698466cab22f637b8c5925967d25adcf6","signature":false},{"version":"1b8d262ae05d8fab2f06884b5d20e55bdb6ecfb5186479632b631f9541061262","signature":false},{"version":"eb269f18ed2c4dd8cd3dea6bf62a32747b26f75ed21881418c4a4e6566d5286e","signature":false},{"version":"4b3b4efaacd6de31a47fd82164da4ec172c853f8eb3da3c04121cdcb91f230f8","signature":false},{"version":"8ab02c93972a0b01575b05df416d33dd26a8521213cfdea0e241367a9fe4a278","signature":false},{"version":"9821fcb2484965347dfed8f84d3f689ccec3399ed8fa24be9ae62153e7751ff0","signature":false},{"version":"7d4a7458d60c67c090b2a72fa792b75f53061d587fe7326ece565cec43074a91","signature":false},{"version":"b659aa00796fc46717daeadcf8d8549826cc6aeb4d48ca581f79260c6f18e020","signature":false},{"version":"df32d7cf490d2b93f744bcd78761f390fe374dec4007672b58cb400c2b952cbc","signature":false},{"version":"a3d8b91746410f551afde30a850bddfea315a70ecba3fbf6f75af1647f30c73f","signature":false},{"version":"a513486789319be5a4199f6c0730c948ff26f1123c12c7f1c1aeac9b100ff6c8","signature":false},{"version":"965599154a6f9c34d4e4ae8dc84ef8c6ec88bed1cb5d42ad290090d6ab563623","signature":false},{"version":"a853a0e324ac3820bf2c6fb7eaadec257777d1321976871c365a557710984c22","signature":false},{"version":"0e81bd04c3c9a44b219d9c23d345eaee30078759393457fa2f34e75494bdb6af","signature":false},{"version":"6af5f0b1b585ec8f9aae721d67fbef3ed19d3ccd5114f61b9ffa9eb918105232","signature":false},{"version":"bb9bdc3cec6408f6cad55f33abad809d89811ad375345100723fc3ab2d420d3e","signature":false},{"version":"0221f6911b022824e110c6cbbd32b004ba8808b68e53681c8be04e3aca14fd9a","signature":false},{"version":"3e2c65f11645f7ab2889daf1d36d9ad6e38dc5204015d82714cf48968159b280","signature":false},{"version":"d1e14bf6d335fc89d7855f1621ded6699a3385c12d1c450613e6e67f25a8b973","signature":false},{"version":"c0c06a645e763909cd0655be3872d4a5ef8080eb93bc90025e82655707363c49","signature":false},{"version":"6db0417eaa94cb88da85ff570ec42e5c6d5945419e9afbc09d00bb31657d3c09","signature":false},{"version":"8723f0996815f9913fe7cd4f95088079976b30c5f5ca2282d0b9e4758ef1e383","signature":false},{"version":"68c78f5c27a8c78a0dfaf8298b2fd943484c23c16e3b7ecc4dd44668297f984f","signature":false},{"version":"746e259aa7a2f7945864da1a90b7573e2cc8d2217e23cc3c544025820d12f95b","signature":false},{"version":"8a50df48fc5460e2c20735cab8af4b61dc3e87087ec58e54e14ac03fa142315e","signature":false},{"version":"5812a16b2db84252202ead275c9d6518b59e600082aaf9a108c511016b8862aa","signature":false},{"version":"6ef35891fc597d7f691962e445da9dc0e14728f6d8728e4c9999b900c9583b00","signature":false},{"version":"53bd73d46e707823794e0b0c6ea0beb02332adb5e35551cbb301005f0c6c4094","signature":false},{"version":"2a8cc79d2e4e595f2f853fb2489c81ba33925cbd9c3f8ea9287e0f7c78a0485c","signature":false},{"version":"f70fc7b6a8850a95bb50dd132e66b86ef10b5dd565bf11d1d3affd3180fc7144","signature":false},{"version":"773d74cd9eee6711f577825e9918b67f0887d8a5c6788406984683fd37bf16b2","signature":false},{"version":"f15e12166604cb98cf791ec6a8d6d01dcd04d98b785a53f286e51f343397777c","signature":false},{"version":"8ba2767cee0c37d6235faa0e5ffb9fd726cda1c0586abc84b206c2b94717ce99","signature":false},{"version":"7273c90e5f1b96d4803d5d25fa45ba8020d2c4e6e2bb280b20c2ad860352c026","signature":false},{"version":"2e04d0dad2bd6083f2118e82b642f22e6a2d6b69f24b99c0b20e429d0f2ef647","signature":false},{"version":"3eff30bf6182ee8da9f422e1c0e3b2cbd75510801ba35b2cd85f2e3c0b6ddbd5","signature":false},{"version":"105e90fa2c5c6235504d65ea2f10532129621cc2edefdb6e86916052f8c4cd9f","signature":false},{"version":"4367c60493e66756f36ffffdf3af9493dde1595881d3f36ca083fc667405dad4","signature":false},{"version":"fd1dbfa452cb41044165295b1a81c253736879cc864708875c2275df0d6ee481","signature":false},{"version":"a04f82d62f7c1183180c447aecb3e8b2e010620f33ed21bf11fba84c0f102b1d","signature":false},{"version":"e5fd7f87699a73f6757543cd2352f4b47c2f7aaa55dbab5d1048cb324a4817a7","signature":false},{"version":"245fdb1c103af446e354b351e75cefe9cf5f14be532f4f7163164ad5280800ea","signature":false},{"version":"d0edf266cba195522daefa66968071eaa3cddb80d9018b24a4c1cc12b69c7d80","signature":false},{"version":"ff65de6a701cb90af043d650d63f043d91199fd72ee313d5a63599dcbbbb7036","signature":false},{"version":"7d7ba08f444c58547b7810ef28a88b4fec5df121346b5c79e57c843f19ad43f8","signature":false},{"version":"2c724b180d64c6ce618b3ff8747d1d2f5bc11fdcb39db5bc48f8268a6642df05","signature":false},{"version":"b64775436d9e43e07d5580421c93e58cbb65a464cf446da2ae22a7bd8af9c2b3","signature":false},{"version":"956aeadc14473add235a1e3f825a74fb10b420f7a64e7d5764772281afd9a7c2","signature":false},{"version":"69ba23bde2988e879c080ff719e242a18d6081543b9f4f051ccf4e55d0ffbb10","signature":false},{"version":"5bff59a002b12a7b6ee3ac4ce371a01ed46ea7e496a0d3b555def81b5efdc79a","signature":false},{"version":"50bb038c419b309941f9983906a2c7ef33aab780a296231f716e8d0f1fe93bfa","signature":false},{"version":"e4af6083e834ef16bfbe5c7d9b93f7462a148d63cdd1947a27e990a2180d288a","signature":false},{"version":"f5f3d6bd9baecd76466ff204a0d5e0e659c29f50f8e83d90edc09774db0eabea","signature":false},{"version":"201b22bfa37c1ff4fdff58b4014d8e45189ab15d0ee2302858119b91f9086ce6","signature":false},{"version":"04cfb91de1f6948d54f603f1523a61fbad9ad6b83d6cbdad453ceaee04fd7d06","signature":false},{"version":"668423039cd367e16eb780fb90f9ce4797df0cf0a902e91464d5a68af3a4c9ff","signature":false},{"version":"8a49c107fff029e4918631079e549e7e5c6a687633fd31c87b789f82241f3678","signature":false},{"version":"dd44aa6e4b136c29f8d094b4c44185825070f449881f02840d83f2403fdbbe91","signature":false},{"version":"ffab743fb7f5d6b3170ed6453d727a67891d124cb295f2eb2f63b73ac813e056","signature":false},{"version":"9946e8055e572dfd36ee78ecde1d2bc79119adc2432deed8bcd948f0eba13c80","signature":false},{"version":"d5e6cc939578f597325df8974aabebdf55f6e52692b137a82c2af8724ee7199b","signature":false},{"version":"c2a782dff1202324eb535a4d11fd8a6216edfe4fa293d0dbf8ae6f24d366ebf2","signature":false},{"version":"fe7ca6747a1880f19710d2459d6cd6f3328101522c85c60c7e878903c0b7e5a5","signature":false},{"version":"0f46ff7218a651113a3c6eaa0c5eb346fd95705b36ff93a030b978c0012177d2","signature":false},{"version":"1bc94a3173f1dbda5ecadfcbe97cc83fd4e03a0d773f76a9cd917919446a991e","signature":false},{"version":"675c5363b4c22fbd5be8427bb6663e874919b4572c4082184529e0c70a21c1c3","signature":false},{"version":"e68a3080da2461fec69bd47c1e8369c8ab8d5bdbbc5adc9edaa3c58e34168675","signature":false},{"version":"f074dca3e8d303508d0d7de31202b82dd457d065b8ab8187c03e97238657104f","signature":false},{"version":"eb35192b359a3b6b835ff3cb1859d9d5881312c019b622f86ac47631a40e5e8a","signature":false},{"version":"cf3b9afb48fc66922ea8b60f34a5f7b8a020567df1f902bd5260807e281cdcbd","signature":false},{"version":"0d3e88baacc02c3bad45158d24159fc7989465d3b52e9bef9b23d1fcff01aded","signature":false},{"version":"dd1244fcb1c90b393e3fc25d3f2ef16d742ee36536da35d6ba9a20acbe74da44","signature":false},{"version":"6fc0f9cc0d046e997cbc51a984e84663e563be278c0e308574fe82da913c2c71","signature":false},{"version":"78f305d76d9664bab90b6ac3cd9ad95065ed539eef74765e17937f563e312f98","signature":false},{"version":"b54d5c22803cc1866cc8d1b5c2830b4bc08bc93be05a9eecd18334e612e6a60c","signature":false},{"version":"34125123801a7cd044cc334ce466b229de06807e8ac99681633f65234d322243","signature":false},{"version":"682b1691f0e9ec48a2419ba967f369a7c088ff91fb1a7b6261e50fb4cacb95fe","signature":false},{"version":"bc000e93b1892df423d3b666e52a4ad28ff82f699f8348d817088b65038b54d7","signature":false},{"version":"72eb564cdc91c9ef2238f0ad47c2f2d464ac5104b2142a47fb6ed633ef86f296","signature":false},{"version":"f96e90565776cb7068d8786191dee5c51fd4f7f23e19a60caf140dd45b059192","signature":false},{"version":"5ba305346778e3ac4a3cc7360e87fe533ebc9cf0f566261ca8cefd64fd029d9c","signature":false},{"version":"4d0bc85306bb092544fa811c8d1249d748bfebf2ddf1019203618483fe18e37e","signature":false},{"version":"dc04959cd08653cf2ec8210b10f63381c32ec569b27d54467eca542825cb286a","signature":false},{"version":"b6597c4e98f708f836e9ffcd67d5483f5a97469cef83dc2a4decc29349531dc9","signature":false},{"version":"38c9bd89efed37c215bb39d055d84115a4463f2649eae4dfe01b5c89a54572c2","signature":false},{"version":"1fbc064adbafd6a9b34e99f984222e9b3ed3621c0ad50250c8d6ffbb6da10243","signature":false},{"version":"9389ce506025c36ec97376afd115cbcce2f1f1d0c0b58e6b9fa5622d547ea40d","signature":false},{"version":"3df610e631ea9566a69d47ac8fd760075fd611a16acc04d94dc503abcf135d4a","signature":false},{"version":"d77e5e2e9642e7d55dd14f3c6cd094c28c654acee08892be5b6d3110eb3b52f0","signature":false},{"version":"a3d3f704c5339a36da3ca8c62b29072f87e86c783b8452d235992142ec71aa2d","signature":false,"impliedFormat":1},{"version":"42baf4ca38c38deaf411ea73f37bc39ff56c6e5c761a968b64ac1b25c92b5cd8","signature":false,"impliedFormat":1},{"version":"d7dbe0ad36bdca8a6ecf143422a48e72cc8927bab7b23a1a2485c2f78a7022c6","signature":false,"impliedFormat":1},{"version":"8718fa41d7cf4aa91de4e8f164c90f88e0bf343aa92a1b9b725a9c675c64e16b","signature":false,"impliedFormat":1},{"version":"f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","signature":false,"impliedFormat":1},{"version":"e0c868a08451c879984ccf4d4e3c1240b3be15af8988d230214977a3a3dad4ce","signature":false,"impliedFormat":1},{"version":"6fc1a4f64372593767a9b7b774e9b3b92bf04e8785c3f9ea98973aa9f4bbe490","signature":false,"impliedFormat":1},{"version":"ff09b6fbdcf74d8af4e131b8866925c5e18d225540b9b19ce9485ca93e574d84","signature":false,"impliedFormat":1},{"version":"d5895252efa27a50f134a9b580aa61f7def5ab73d0a8071f9b5bf9a317c01c2d","signature":false,"impliedFormat":1},{"version":"1f366bde16e0513fa7b64f87f86689c4d36efd85afce7eb24753e9c99b91c319","signature":false,"impliedFormat":1},{"version":"fb893a0dfc3c9fb0f9ca93d0648694dd95f33cbad2c0f2c629f842981dfd4e2e","signature":false,"impliedFormat":1},{"version":"3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","signature":false,"impliedFormat":1},{"version":"2c3b8be03577c98530ef9cb1a76e2c812636a871f367e9edf4c5f3ce702b77f8","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"ecec8f82ddf42db544c8320eddf7f09a9a788723f7473e82e903401a3d14d488","signature":false,"impliedFormat":1},{"version":"ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","signature":false,"impliedFormat":1},{"version":"52e0d4a8762141a86861c8175312030724ff444f7ae548c61e7263f774160fc3","signature":false,"impliedFormat":1},{"version":"19990350fca066265b2c190c9b6cde1229f35002ea2d4df8c9e397e9942f6c89","signature":false,"impliedFormat":99},{"version":"8fb8fdda477cd7382477ffda92c2bb7d9f7ef583b1aa531eb6b2dc2f0a206c10","signature":false,"impliedFormat":99},{"version":"66995b0c991b5c5d42eff1d950733f85482c7419f7296ab8952e03718169e379","signature":false,"impliedFormat":99},{"version":"9863f888da357e35e013ca3465b794a490a198226bd8232c2f81fb44e16ff323","signature":false,"impliedFormat":99},{"version":"3ee468ba409b231f05d8120a257d8fd52f81db173cfd55d2d38825d4a9e0d4d8","signature":false,"impliedFormat":1},{"version":"3ee468ba409b231f05d8120a257d8fd52f81db173cfd55d2d38825d4a9e0d4d8","signature":false,"impliedFormat":1},{"version":"8eda1b176639dc7e6dfb326bd10532e2de9e18c4f100ed9f3d0753b04e2c9f53","signature":false,"impliedFormat":1},{"version":"e61235deb17d4d200b1aebd5e1b78a9f7f03108d3fe73c522476de89f2169d88","signature":false,"impliedFormat":1},{"version":"fa292ea8941a603dc795593c5811d9b865b96e560f99dcfcec94705d5264296d","signature":false,"impliedFormat":99},{"version":"db085d2171d48938a99e851dafe0e486dce9859e5dfa73c21de5ed3d4d6fb0c5","signature":false,"impliedFormat":99},{"version":"fb741132c87a219532b69832d9389ed13db734b436ad3d0d62d722de86321869","signature":false,"impliedFormat":99},{"version":"a77be6fc44c876bc10c897107f84eaba10790913ebdcad40fcda7e47469b2160","signature":false,"impliedFormat":99},{"version":"0b098b627c5198819456b7466aef8253f562a6a64d66810804cfad6ff36204c6","signature":false,"impliedFormat":99},{"version":"91f5dbcdb25d145a56cffe957ec665256827892d779ef108eb2f3864faff523b","signature":false,"impliedFormat":99},{"version":"052ba354bab8fb943e0bc05a0769f7b81d7c3b3c6cd0f5cfa53c7b2da2a525c5","signature":false,"impliedFormat":99},{"version":"927955a3de5857e0a1c575ced5a4245e74e6821d720ed213141347dd1870197f","signature":false,"impliedFormat":99},{"version":"fec804d54cd97dd77e956232fc37dc13f53e160d4bbeeb5489e86eeaa91f7ebd","signature":false,"impliedFormat":99},{"version":"c1d53a14aad7cda2cb0b91f5daccd06c8e3f25cb26c09e008f46ad2896c80bf1","signature":false,"impliedFormat":1},{"version":"c789127b81f23a44e7cd20eaff043bb8ddd8b75aca955504b81217d6347709d8","signature":false,"impliedFormat":1},{"version":"1e13bda0589d714493973ae87a135aadb8bdadc2b8ba412a62d6a8f05f13ae76","signature":false,"impliedFormat":1},{"version":"9e9217786bc4dced2d11b82eaf62c77f172a2b4671f1a6353835dcbf7eef0843","signature":false,"impliedFormat":1},{"version":"8c18473f354a9648fd8798196f520b3c3868181c315ab6a726177e5b5d2ada1c","signature":false,"impliedFormat":1},{"version":"067fe0fe11f79aa3eef819ee2f1d7beecc7a6d9e95ee1b2b84553495fb61b2fe","signature":false,"impliedFormat":1},{"version":"65e7aa0d38b9513dad1d66fa622ca0897efd8f6e11cb3887231451eb1dde719a","signature":false,"impliedFormat":1},{"version":"cf8d966c5b46aa3b4e2bc55aeaf5932253a734d2c09fc9e05867d47f7fc3fe31","signature":false,"impliedFormat":1},{"version":"e11fb3c6b0788cddcda16e472a173c03d8729201dc325beb1251f54d2630ebbb","signature":false,"impliedFormat":1},{"version":"9034c961e85ef73bdd4e07e2c56d7adfa4c00ee6cf568dcfc13d059575aac8a8","signature":false,"impliedFormat":1},{"version":"48676769d0f4904e916425f778ae25c140370fb90b33ad85151c7ebab166a0cc","signature":false,"impliedFormat":1},{"version":"b70a8d1c0d9628260158c2e96982f5ffb415ca87f97388ea743e52bd6ef37a9c","signature":false,"impliedFormat":1},{"version":"709bae51a9b0263a888c6adf48fb1380634e37267abcea46a52eb02a14b76292","signature":false,"impliedFormat":1},{"version":"7a625afe5721361715736bc3f9548206e1f173dcdc43eecaf7f70557f5151361","signature":false,"impliedFormat":1},{"version":"4d114e382693704d3792d2d6da45adc1aa2d8a86c1b8ebe5fc225dccd30aaf36","signature":false,"impliedFormat":1},{"version":"329760175a249a5e13e16f281ede4d8da4a4a72d511bf631bf7e5bd363146a80","signature":false,"impliedFormat":1},{"version":"9fbdb40eb68109a83dcc5f19c450556b20699b4fa19783dabdfc06a9937c9c30","signature":false,"impliedFormat":1},{"version":"afb75becf7075fc3673a6f1f7b669b5bb909ae67609284ce6548ec44d8038a61","signature":false,"impliedFormat":1},{"version":"4018b7fb337b14d2a40dd091208fbd39b3400136dfda00e9995b51cf64783a9f","signature":false,"impliedFormat":1},{"version":"6f5a9b68ce8608014210f5a777f8dd82e6382285f6278c811b7b0214bbcac5bd","signature":false,"impliedFormat":1},{"version":"af11413ffc8c34a2a2475cb9d2982b4cc87a9317bf474474eedaacc4aaab4582","signature":false,"affectsGlobalScope":true,"impliedFormat":1},{"version":"fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4","signature":false,"impliedFormat":1},{"version":"d2a38ad7bb4676e7fd5d058a08105d81ac232c363ee56be0b401fc277d50dbb1","signature":false,"impliedFormat":1},{"version":"2ac2e08e0d0ed266849cb9da521c3be170a8bc111d25eeeb668c7dbf0ac4171a","signature":false,"impliedFormat":1},{"version":"169cc96316cacf8b489aaab4ac6bcef7b33e8779a8902bce57c737b4aa372d16","signature":false,"impliedFormat":1},{"version":"a589f9f052276a3fc00b75e62f73b93ea568fce3e935b86ed7052945f99d9dc2","signature":false,"impliedFormat":1},{"version":"17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","signature":false,"impliedFormat":1},{"version":"6e5c9272f6b3783be7bdddaf207cccdb8e033be3d14c5beacc03ae9d27d50929","signature":false,"impliedFormat":1},{"version":"9b4f7ff9681448c72abe38ea8eefd7ffe0c3aefe495137f02012a08801373f71","signature":false,"impliedFormat":1},{"version":"0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","signature":false,"impliedFormat":1},{"version":"e3aabca89d192e443c78dcee37c0112c6d912f366e64960389731b5d1cbe0b4b","signature":false,"impliedFormat":1},{"version":"10a60d0cc51552184ceb31c27ef547eb365b918b0927b155176be3c3d5cba82c","signature":false,"impliedFormat":1},{"version":"1a86aff0e5cf0da881c826ada253aa5256ff0d53c2123c62cd7851559eaee9b9","signature":false,"impliedFormat":1},{"version":"324869b470cb6aa2bc54e8fb057b90d972f90d24c7059c027869b2587efe01aa","signature":false,"impliedFormat":1},{"version":"33cab874df12e466fc76d5cd770ccd8134e54c0214c651655be493bfd3948e38","signature":false,"impliedFormat":1},{"version":"03c258e060b7da220973f84b89615e4e9850e9b5d30b3a8e4840b3e3268ae8eb","signature":false,"impliedFormat":1},{"version":"62ba45a86b9a31eb84ea03ae0b9e800a507d980c1f38dcec6528f10078cfdedd","signature":false,"impliedFormat":1},{"version":"c2eb1bc18bcba42184bd385ae433db3657f9f0f2804c40a3df3b233e448f6899","signature":false,"impliedFormat":1},{"version":"74d5a87c3616cd5d8691059d531504403aa857e09cbaecb1c64dfb9ace0db185","signature":false,"impliedFormat":1}],"root":[475,476,500,565,584,585,[609,623],627,[629,635],[638,655],[1066,1107],[1111,1124],[1220,1226],[1236,1239],[1243,1248],[1506,1522],[1524,1532],1536,1538,[1541,1543],1554,[1651,1653],[1657,1674],[1677,1680],1698,1701,1703,1707,[1997,2002],2035,[2037,2052],[2054,2061],[2090,2117],[2120,2181],2184,2186,2188,2225,2296,2297,2299,2302,2304,2306,2308,2309,2311,2314,2315,2317,2319,2321,[2343,2348],2350,2353,2355,[2358,2486]],"options":{"allowJs":true,"composite":false,"declarationMap":false,"emitDeclarationOnly":false,"esModuleInterop":true,"jsx":1,"module":1,"skipLibCheck":true,"strict":true,"target":4,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[[2364,1],[2365,2],[2366,3],[2367,4],[2368,5],[2369,6],[2370,7],[2372,8],[2371,9],[2373,10],[2374,11],[2375,12],[2376,13],[2380,14],[2379,15],[2378,16],[2381,17],[2382,18],[2377,19],[2385,20],[2386,21],[2384,22],[2388,23],[2389,24],[2390,25],[2387,26],[2391,27],[2392,28],[2393,29],[2394,30],[2395,31],[2397,32],[2396,33],[2398,34],[2399,35],[2383,36],[2400,37],[2401,38],[2402,39],[2403,40],[2408,41],[2404,42],[2405,43],[2406,44],[2407,45],[2409,46],[2411,47],[2410,48],[2414,49],[2413,50],[2412,51],[2415,52],[2416,53],[2420,54],[2421,55],[2419,56],[2418,57],[2422,58],[2423,59],[2417,60],[2424,61],[2426,62],[2425,63],[2427,64],[2429,65],[2428,66],[2430,67],[2431,68],[2433,69],[2434,70],[2435,71],[2432,72],[2436,73],[2437,74],[2438,75],[2439,76],[2441,77],[2440,78],[2443,79],[2442,80],[2444,81],[2445,82],[2448,83],[2449,84],[2447,85],[2446,86],[2450,87],[2451,88],[2452,89],[2453,90],[2456,91],[2454,92],[2455,93],[2457,94],[2458,95],[2459,96],[2460,97],[2461,98],[2462,99],[2463,100],[2466,101],[2464,102],[2465,103],[2470,104],[2469,105],[2467,106],[2471,107],[2468,108],[2472,109],[2473,110],[2363,111],[2474,112],[2475,113],[2476,114],[2477,115],[2478,116],[2479,117],[2480,118],[2481,119],[2482,120],[2483,121],[2484,122],[2485,123],[2486,124],[2362,125],[1680,126],[1999,127],[2001,128],[2002,128],[2044,129],[610,130],[611,131],[613,132],[612,132],[614,133],[615,134],[565,135],[616,136],[617,137],[621,132],[620,132],[619,132],[622,138],[623,132],[618,139],[634,140],[635,140],[633,140],[639,141],[640,142],[641,141],[638,143],[642,144],[643,142],[644,140],[645,140],[646,142],[648,145],[647,146],[649,147],[651,148],[632,149],[652,144],[653,143],[654,150],[655,151],[1075,152],[1067,153],[1068,154],[1073,155],[1074,156],[1076,154],[1078,132],[1077,132],[1081,136],[1080,136],[1079,136],[1082,136],[1083,157],[1089,158],[1090,159],[1088,160],[1087,161],[1091,160],[1092,162],[1086,163],[1093,164],[1095,165],[1094,166],[1096,167],[1100,168],[1098,169],[1102,170],[1103,154],[1105,155],[1106,155],[1107,155],[1104,155],[1113,171],[1114,165],[1115,131],[1116,136],[1099,153],[1097,153],[1117,153],[1101,153],[1118,156],[1119,172],[1124,136],[1221,173],[1123,136],[1122,174],[2045,128],[2046,128],[2047,128],[2048,128],[2050,175],[2051,176],[2049,177],[2000,178],[1222,179],[2094,180],[2052,181],[2093,182],[2095,128],[2096,128],[2100,183],[2101,128],[2102,184],[1223,177],[1668,185],[2103,128],[2104,186],[2107,187],[2105,177],[2106,188],[2111,189],[2110,190],[2108,191],[2116,192],[2109,193],[2117,194],[2123,195],[1679,196],[2130,197],[1224,181],[2131,128],[2132,128],[2133,128],[2134,128],[2135,198],[2136,199],[2138,200],[2139,128],[2141,201],[1225,181],[1120,181],[1226,181],[2142,202],[2143,128],[2144,128],[2039,203],[2042,204],[2041,205],[2043,206],[1664,199],[2153,207],[2154,208],[2137,209],[1666,177],[2145,210],[1671,211],[1998,212],[2155,213],[2156,210],[2157,214],[2129,215],[2128,215],[2126,216],[2158,181],[2124,217],[2125,218],[2127,177],[2159,177],[2160,177],[2161,215],[1661,219],[1674,220],[2058,221],[2091,222],[2162,223],[2163,219],[2164,224],[2165,219],[2166,225],[2167,226],[2061,227],[2092,228],[2168,229],[2171,230],[2059,231],[2057,232],[2056,233],[2170,234],[2169,235],[2055,236],[2060,219],[2172,237],[2090,238],[2146,239],[1673,240],[2173,181],[1663,241],[2097,242],[1667,243],[1662,244],[2099,245],[2147,246],[2174,181],[2177,181],[2113,247],[2112,248],[2175,249],[2114,250],[2176,181],[2149,251],[2148,252],[1672,253],[1660,254],[1653,255],[2120,256],[2178,181],[2121,257],[2122,258],[1678,259],[2150,260],[1536,208],[1670,217],[2179,177],[1652,261],[2180,181],[1543,262],[1542,263],[2151,181],[2140,181],[2152,264],[2184,265],[2054,266],[2038,267],[2186,268],[1677,269],[1651,267],[2115,270],[1538,271],[2188,272],[1669,273],[2225,274],[2296,275],[1997,276],[2181,277],[2297,278],[2299,279],[2302,280],[1657,281],[2304,282],[1554,283],[2035,284],[2306,285],[2308,286],[1659,273],[1701,287],[2309,181],[2311,288],[2314,289],[2315,290],[2317,291],[2319,292],[2321,293],[2343,294],[2344,295],[1541,296],[2037,297],[1703,298],[2345,299],[2348,300],[2347,301],[2350,302],[2353,303],[2355,304],[2040,273],[1698,305],[1658,273],[1237,306],[1665,307],[2359,308],[2358,309],[1707,310],[2360,177],[1238,311],[2361,312],[2098,313],[476,181],[1239,314],[1507,315],[1508,316],[1510,317],[1512,318],[1513,177],[2346,177],[1514,319],[1243,311],[1519,320],[1515,321],[1121,322],[584,323],[1516,324],[1220,325],[1085,326],[1517,327],[585,327],[609,328],[1509,329],[1066,330],[1112,331],[631,332],[629,333],[1084,334],[1071,335],[1070,336],[1072,337],[650,338],[630,339],[1518,340],[627,181],[1069,181],[1236,341],[1520,181],[1111,342],[1521,343],[1247,344],[1246,345],[1248,346],[1506,347],[1244,181],[475,348],[568,349],[567,350],[1038,351],[936,352],[939,353],[940,353],[941,353],[942,353],[943,353],[944,353],[945,353],[946,353],[947,353],[948,353],[949,353],[950,353],[951,353],[952,353],[953,353],[954,353],[955,353],[956,353],[957,353],[958,353],[959,353],[960,353],[961,353],[962,353],[963,353],[964,353],[965,353],[966,353],[967,353],[968,353],[969,353],[970,353],[971,353],[972,353],[973,353],[974,353],[975,353],[976,353],[977,353],[978,353],[979,353],[980,353],[981,353],[982,353],[983,353],[984,353],[985,353],[986,353],[987,353],[988,353],[989,353],[990,353],[991,353],[992,353],[993,353],[994,353],[995,353],[1043,354],[996,353],[997,353],[998,353],[999,353],[1000,353],[1001,353],[1002,353],[1003,353],[1004,353],[1005,353],[1006,353],[1007,353],[1008,353],[1009,353],[1011,355],[1012,355],[1013,355],[1014,355],[1015,355],[1016,355],[1017,355],[1018,355],[1019,355],[1020,355],[1021,355],[1022,355],[1023,355],[1024,355],[1025,355],[1026,355],[1027,355],[1028,355],[1029,355],[1030,355],[1031,355],[1032,355],[1033,355],[1034,355],[1035,355],[1036,355],[1037,355],[935,356],[1039,357],[1059,358],[1058,359],[938,360],[1010,361],[937,362],[1049,363],[1044,364],[1045,365],[1046,366],[1047,367],[1048,368],[1040,369],[1042,370],[1041,371],[1057,372],[1053,373],[1054,373],[1055,374],[1056,374],[934,375],[918,181],[921,376],[919,377],[920,377],[924,378],[923,379],[927,380],[925,381],[922,382],[926,383],[928,384],[929,181],[933,385],[930,181],[931,356],[932,356],[738,386],[734,181],[737,356],[740,387],[739,387],[741,387],[742,388],[744,389],[735,390],[736,390],[743,386],[745,356],[746,356],[825,391],[748,392],[747,356],[749,356],[792,393],[791,394],[794,395],[807,383],[808,381],[820,396],[809,397],[821,398],[790,377],[793,399],[822,400],[823,356],[824,401],[826,356],[828,402],[827,403],[1060,404],[1065,405],[1064,406],[1063,407],[1062,408],[1061,409],[750,356],[751,356],[752,356],[753,356],[754,356],[755,356],[756,356],[765,410],[766,356],[767,181],[768,356],[769,356],[770,356],[771,356],[759,181],[772,181],[773,356],[758,411],[760,412],[757,356],[763,413],[761,411],[762,356],[789,414],[774,356],[775,412],[776,356],[777,356],[778,181],[779,356],[780,356],[781,356],[782,356],[783,356],[784,356],[785,415],[786,356],[787,356],[764,356],[788,356],[1986,416],[1988,417],[1989,418],[2553,419],[1985,181],[1987,181],[1689,420],[1688,421],[1690,420],[1695,422],[1686,423],[1685,424],[1684,424],[1683,424],[1682,425],[1681,424],[1687,426],[1692,422],[1694,427],[1691,428],[1693,429],[2034,430],[2032,431],[2033,432],[1217,433],[1161,181],[1162,181],[1164,434],[1163,181],[1187,435],[1186,181],[1130,181],[1129,181],[1131,436],[1133,181],[1132,181],[1147,181],[1194,181],[1145,437],[1143,181],[1140,181],[1144,438],[1141,439],[1142,440],[1153,441],[1154,442],[1197,181],[1188,181],[1177,181],[1178,443],[1135,181],[1155,181],[1209,181],[1166,444],[1192,445],[1191,181],[1204,181],[1170,181],[1156,181],[1180,181],[1182,181],[1183,443],[1184,181],[1193,181],[1157,181],[1158,181],[1160,446],[1200,447],[1199,181],[1201,448],[1205,181],[1167,449],[1168,181],[1148,181],[1165,450],[1206,181],[1152,181],[1196,181],[1190,451],[1136,443],[1137,181],[1128,181],[1134,181],[1169,452],[1150,453],[1151,454],[1159,181],[1189,446],[1149,455],[1208,456],[1212,181],[1207,181],[1195,181],[1171,181],[1172,181],[1173,457],[1174,181],[1214,181],[1219,458],[1125,459],[1127,460],[1138,461],[1139,462],[1146,463],[1175,464],[1176,465],[1179,466],[1181,467],[1185,468],[1202,469],[1198,470],[1126,471],[1203,472],[1210,473],[1211,474],[1213,475],[1215,476],[1216,181],[1218,181],[419,181],[569,477],[566,181],[2183,478],[2053,479],[1704,480],[2185,480],[1676,481],[1675,177],[1996,481],[1995,177],[2182,482],[2301,483],[1227,177],[1656,484],[1229,480],[1553,485],[1547,486],[1545,486],[1546,486],[1552,487],[1549,488],[1550,486],[1544,177],[1551,481],[1654,480],[2305,489],[1700,486],[1699,177],[2300,490],[2310,491],[2313,492],[2316,493],[1705,494],[1655,480],[1228,177],[2318,482],[2320,495],[1696,482],[1540,481],[1539,177],[2036,493],[1702,480],[2349,482],[1537,496],[2354,482],[1697,495],[1230,497],[2357,498],[2356,480],[1706,489],[2312,480],[1548,181],[833,499],[829,381],[830,381],[832,500],[831,356],[843,501],[834,381],[836,502],[835,356],[838,503],[837,181],[841,504],[842,505],[839,506],[840,506],[884,507],[885,181],[888,508],[886,396],[887,181],[889,509],[844,356],[845,510],[848,511],[850,512],[849,356],[851,511],[852,511],[853,513],[846,356],[847,181],[864,514],[865,382],[866,181],[870,515],[867,356],[868,356],[869,516],[863,517],[862,356],[732,518],[720,356],[730,519],[731,356],[733,520],[813,521],[814,522],[815,356],[816,523],[812,524],[810,356],[811,356],[819,525],[817,181],[818,356],[721,181],[722,181],[723,181],[724,181],[729,526],[725,356],[726,356],[727,527],[728,356],[797,181],[803,356],[798,356],[799,356],[800,356],[804,356],[806,528],[801,356],[802,356],[805,356],[796,529],[795,356],[871,356],[890,530],[891,531],[892,181],[893,532],[894,181],[895,181],[896,181],[897,181],[898,356],[899,530],[900,356],[902,533],[903,534],[901,356],[904,181],[905,181],[917,535],[906,181],[907,181],[908,356],[909,181],[910,181],[911,181],[912,530],[913,181],[914,181],[915,181],[916,181],[656,536],[657,537],[658,181],[659,181],[672,538],[673,539],[670,540],[671,541],[674,542],[677,543],[679,544],[680,545],[662,546],[681,181],[685,547],[683,548],[684,181],[678,181],[687,549],[663,550],[689,551],[690,552],[693,553],[692,554],[688,555],[691,556],[686,557],[694,558],[695,559],[699,560],[700,561],[698,562],[676,563],[664,181],[667,564],[701,565],[702,566],[703,566],[660,181],[705,567],[704,566],[719,568],[665,181],[669,569],[706,570],[707,181],[661,181],[697,571],[708,572],[696,573],[709,574],[710,575],[711,543],[712,543],[713,576],[682,181],[715,577],[716,578],[675,181],[717,579],[714,181],[666,580],[668,557],[718,536],[855,581],[859,181],[857,582],[860,181],[858,583],[861,584],[856,356],[854,181],[872,181],[874,356],[873,585],[875,586],[876,587],[877,585],[878,585],[879,588],[883,589],[880,590],[881,591],[882,181],[1051,592],[1052,593],[1050,356],[2487,181],[2491,594],[608,181],[2492,181],[2493,181],[2494,181],[2495,595],[2246,181],[2229,596],[2247,597],[2228,181],[2496,181],[2498,598],[2500,599],[2501,600],[2118,181],[2489,181],[2502,601],[624,591],[2539,602],[2540,603],[2541,604],[2119,605],[626,606],[2544,181],[2543,607],[2542,608],[2497,181],[136,609],[137,609],[138,610],[96,611],[139,612],[140,613],[141,614],[91,181],[94,615],[92,181],[93,181],[142,616],[143,617],[144,618],[145,619],[146,620],[147,621],[148,621],[150,622],[149,623],[151,624],[152,625],[153,626],[135,627],[95,181],[154,628],[155,629],[156,630],[189,631],[157,632],[158,633],[159,634],[160,635],[161,636],[162,637],[163,638],[164,639],[165,640],[166,641],[167,641],[168,642],[169,181],[170,181],[171,643],[173,644],[172,645],[174,646],[175,647],[176,648],[177,649],[178,650],[179,651],[180,652],[181,653],[182,654],[183,655],[184,656],[185,657],[186,658],[187,659],[188,660],[551,661],[538,591],[545,662],[541,663],[539,664],[542,665],[546,666],[547,662],[544,667],[543,668],[548,669],[549,670],[550,671],[540,672],[2550,673],[2552,674],[81,181],[2554,675],[193,676],[194,677],[192,177],[190,678],[191,679],[79,181],[82,680],[266,177],[2490,681],[2555,181],[2499,682],[1108,181],[2556,181],[2557,181],[2558,683],[628,181],[637,684],[636,181],[97,181],[1233,685],[1232,686],[1231,181],[2298,687],[80,181],[1336,688],[1315,689],[1412,181],[1316,690],[1252,688],[1253,181],[1254,181],[1255,181],[1256,181],[1257,181],[1258,181],[1259,181],[1260,181],[1261,181],[1262,181],[1263,181],[1264,688],[1265,688],[1266,181],[1267,181],[1268,181],[1269,181],[1270,181],[1271,181],[1272,181],[1273,181],[1274,181],[1276,181],[1275,181],[1277,181],[1278,181],[1279,688],[1280,181],[1281,181],[1282,688],[1283,181],[1284,181],[1285,688],[1286,181],[1287,688],[1288,688],[1289,688],[1290,181],[1291,688],[1292,688],[1293,688],[1294,688],[1295,688],[1297,688],[1298,181],[1299,181],[1296,688],[1300,688],[1301,181],[1302,181],[1303,181],[1304,181],[1305,181],[1306,181],[1307,181],[1308,181],[1309,181],[1310,181],[1311,181],[1312,688],[1313,181],[1314,181],[1317,691],[1318,688],[1319,688],[1320,692],[1321,693],[1322,688],[1323,688],[1324,688],[1325,688],[1328,688],[1326,181],[1327,181],[1250,181],[1329,181],[1330,181],[1331,181],[1332,181],[1333,181],[1334,181],[1335,181],[1337,694],[1338,181],[1339,181],[1340,181],[1342,181],[1341,181],[1343,181],[1344,181],[1345,181],[1346,688],[1347,181],[1348,181],[1349,181],[1350,181],[1351,688],[1352,688],[1354,688],[1353,688],[1355,181],[1356,181],[1357,181],[1358,181],[1505,695],[1359,688],[1360,688],[1361,181],[1362,181],[1363,181],[1364,181],[1365,181],[1366,181],[1367,181],[1368,181],[1369,181],[1370,181],[1371,181],[1372,181],[1373,688],[1374,181],[1375,181],[1376,181],[1377,181],[1378,181],[1379,181],[1380,181],[1381,181],[1382,181],[1383,181],[1384,688],[1385,181],[1386,181],[1387,181],[1388,181],[1389,181],[1390,181],[1391,181],[1392,181],[1393,181],[1394,688],[1395,181],[1396,181],[1397,181],[1398,181],[1399,181],[1400,181],[1401,181],[1402,181],[1403,688],[1404,181],[1405,181],[1406,181],[1407,181],[1408,181],[1409,181],[1410,688],[1411,181],[1413,696],[1650,697],[1555,690],[1557,690],[1558,690],[1559,690],[1560,690],[1561,690],[1556,690],[1562,690],[1564,690],[1563,690],[1565,690],[1566,690],[1567,690],[1568,690],[1569,690],[1570,690],[1571,690],[1572,690],[1574,690],[1573,690],[1575,690],[1576,690],[1577,690],[1578,690],[1579,690],[1580,690],[1581,690],[1582,690],[1583,690],[1584,690],[1585,690],[1586,690],[1587,690],[1588,690],[1589,690],[1591,690],[1592,690],[1590,690],[1593,690],[1594,690],[1595,690],[1596,690],[1597,690],[1598,690],[1599,690],[1600,690],[1601,690],[1602,690],[1603,690],[1604,690],[1606,690],[1605,690],[1608,690],[1607,690],[1609,690],[1610,690],[1611,690],[1612,690],[1613,690],[1614,690],[1615,690],[1616,690],[1617,690],[1618,690],[1619,690],[1620,690],[1621,690],[1623,690],[1622,690],[1624,690],[1625,690],[1626,690],[1628,690],[1627,690],[1629,690],[1630,690],[1631,690],[1632,690],[1633,690],[1634,690],[1636,690],[1635,690],[1637,690],[1638,690],[1639,690],[1640,690],[1641,690],[1249,688],[1642,690],[1643,690],[1645,690],[1644,690],[1646,690],[1647,690],[1648,690],[1649,690],[1414,181],[1415,688],[1416,181],[1417,181],[1418,181],[1419,181],[1420,181],[1421,181],[1422,181],[1423,181],[1424,181],[1425,688],[1426,181],[1427,181],[1428,181],[1429,181],[1430,181],[1431,181],[1432,181],[1437,698],[1435,699],[1436,700],[1434,701],[1433,688],[1438,181],[1439,181],[1440,688],[1441,181],[1442,181],[1443,181],[1444,181],[1445,181],[1446,181],[1447,181],[1448,181],[1449,181],[1450,688],[1451,688],[1452,181],[1453,181],[1454,181],[1455,688],[1456,181],[1457,688],[1458,181],[1459,694],[1460,181],[1461,181],[1462,181],[1463,181],[1464,181],[1465,181],[1466,181],[1467,181],[1468,181],[1469,688],[1470,688],[1471,181],[1472,181],[1473,181],[1474,181],[1475,181],[1476,181],[1477,181],[1478,181],[1479,181],[1480,181],[1481,181],[1482,181],[1483,688],[1484,688],[1485,181],[1486,181],[1487,688],[1488,181],[1489,181],[1490,181],[1491,181],[1492,181],[1493,181],[1494,181],[1495,181],[1496,181],[1497,181],[1498,181],[1499,181],[1500,688],[1251,702],[1501,181],[1502,181],[1503,181],[1504,181],[602,181],[1109,682],[1523,703],[2223,704],[2224,705],[2189,181],[2197,706],[2191,707],[2198,181],[2220,708],[2195,709],[2219,710],[2216,711],[2199,712],[2200,181],[2193,181],[2190,181],[2221,713],[2217,714],[2201,181],[2218,715],[2202,716],[2204,717],[2205,718],[2194,719],[2206,720],[2207,719],[2209,720],[2210,721],[2211,722],[2213,723],[2208,724],[2214,725],[2215,726],[2192,727],[2212,728],[2196,729],[2203,181],[2222,730],[2510,731],[2509,181],[2507,181],[2508,181],[2063,181],[625,181],[2307,177],[600,732],[601,733],[599,734],[587,735],[592,736],[593,737],[596,738],[595,739],[594,740],[597,741],[604,742],[607,743],[606,744],[605,745],[598,746],[588,591],[603,747],[590,748],[586,749],[591,750],[589,735],[1110,751],[534,752],[503,753],[513,753],[504,753],[514,753],[505,753],[506,753],[521,753],[520,753],[522,753],[523,753],[515,753],[507,753],[516,753],[508,753],[517,753],[509,753],[511,753],[519,754],[512,753],[518,754],[524,754],[510,753],[525,753],[530,753],[531,753],[526,753],[502,181],[532,181],[528,753],[527,753],[529,753],[533,753],[564,181],[2488,622],[1234,177],[501,133],[1240,755],[554,756],[553,757],[560,758],[562,759],[558,760],[557,761],[561,757],[555,762],[552,763],[556,764],[563,765],[536,181],[537,766],[1242,767],[1241,768],[559,181],[2351,177],[89,769],[422,770],[427,125],[429,771],[215,772],[370,773],[397,774],[226,181],[207,181],[213,181],[359,775],[294,776],[214,181],[360,777],[399,778],[400,779],[347,780],[356,781],[264,782],[364,783],[365,784],[363,785],[362,181],[361,786],[398,787],[216,788],[301,181],[302,789],[211,181],[227,790],[217,791],[239,790],[270,790],[200,790],[369,792],[379,181],[206,181],[325,793],[326,794],[320,496],[450,181],[328,181],[329,496],[321,795],[341,177],[455,796],[454,797],[449,181],[267,798],[402,181],[355,799],[354,181],[448,800],[322,177],[242,801],[240,802],[451,181],[453,803],[452,181],[241,804],[443,805],[446,806],[251,807],[250,808],[249,809],[458,177],[248,810],[289,181],[461,181],[1534,811],[1533,181],[464,181],[463,177],[465,812],[196,181],[366,813],[367,814],[368,815],[391,181],[205,816],[195,181],[198,817],[340,818],[339,819],[330,181],[331,181],[338,181],[333,181],[336,820],[332,181],[334,821],[337,822],[335,821],[212,181],[203,181],[204,790],[421,823],[430,824],[434,825],[373,826],[372,181],[285,181],[466,827],[382,828],[323,829],[324,830],[317,831],[307,181],[315,181],[316,832],[345,833],[308,834],[346,835],[343,836],[342,181],[344,181],[298,837],[374,838],[375,839],[309,840],[313,841],[305,842],[351,843],[381,844],[384,845],[287,846],[201,847],[380,848],[197,774],[403,181],[404,849],[415,850],[401,181],[414,851],[90,181],[389,852],[273,181],[303,853],[385,181],[202,181],[234,181],[413,854],[210,181],[276,855],[312,856],[371,857],[311,181],[412,181],[406,858],[407,859],[208,181],[409,860],[410,861],[392,181],[411,847],[232,862],[390,863],[416,864],[219,181],[222,181],[220,181],[224,181],[221,181],[223,181],[225,865],[218,181],[279,866],[278,181],[284,867],[280,868],[283,869],[282,869],[286,867],[281,868],[238,870],[268,871],[378,872],[468,181],[438,873],[440,874],[310,181],[439,875],[376,838],[467,876],[327,838],[209,181],[269,877],[235,878],[236,879],[237,880],[233,881],[350,881],[245,881],[271,882],[246,882],[229,883],[228,181],[277,884],[275,885],[274,886],[272,887],[377,888],[349,889],[348,890],[319,891],[358,892],[357,893],[353,894],[263,895],[265,896],[262,897],[230,898],[297,181],[426,181],[296,899],[352,181],[288,900],[306,813],[304,901],[290,902],[292,903],[462,181],[291,904],[293,904],[424,181],[423,181],[425,181],[460,181],[295,905],[260,177],[88,181],[243,906],[252,181],[300,907],[231,181],[432,177],[442,908],[259,177],[436,496],[258,909],[418,910],[257,908],[199,181],[444,911],[255,177],[256,177],[247,181],[299,181],[254,912],[253,913],[244,914],[314,640],[383,640],[408,181],[387,915],[386,181],[428,181],[261,177],[318,177],[420,916],[83,177],[86,917],[87,918],[84,177],[85,181],[405,919],[396,920],[395,181],[394,921],[393,181],[417,922],[431,923],[433,924],[435,925],[1535,926],[437,927],[441,928],[474,929],[445,929],[473,930],[447,931],[456,932],[457,933],[459,934],[469,935],[472,816],[471,181],[470,936],[535,937],[2062,181],[2505,938],[2518,939],[2503,181],[2504,940],[2519,941],[2514,942],[2515,943],[2513,944],[2517,945],[2511,946],[2506,947],[2516,948],[2512,939],[2549,949],[2546,936],[2548,950],[2547,181],[2545,181],[493,951],[491,952],[492,953],[480,954],[481,952],[488,955],[479,956],[484,957],[494,181],[485,958],[490,959],[495,960],[478,961],[486,962],[487,963],[482,964],[489,951],[483,965],[2064,181],[2067,966],[2065,967],[2066,968],[2068,969],[2071,970],[2075,971],[2074,970],[2072,972],[2088,973],[2083,974],[2081,975],[2070,976],[2082,181],[2073,977],[2087,978],[2076,979],[2085,980],[2086,181],[2077,981],[2078,982],[2079,983],[2084,984],[2080,984],[2069,181],[2089,985],[1981,986],[1993,177],[1982,177],[1980,177],[1966,987],[1968,988],[1994,989],[1967,177],[1971,990],[1973,991],[1972,177],[1975,992],[1974,988],[1992,993],[1983,177],[1984,177],[1976,988],[1970,994],[1969,177],[1991,995],[1977,988],[1979,996],[1978,177],[1990,419],[1796,997],[1775,998],[1872,181],[1776,999],[1712,997],[1713,997],[1714,997],[1715,997],[1716,997],[1717,997],[1718,997],[1719,997],[1720,997],[1721,997],[1722,997],[1723,997],[1724,997],[1725,997],[1726,997],[1727,997],[1728,997],[1729,997],[1708,181],[1730,997],[1731,997],[1732,181],[1733,997],[1734,997],[1736,997],[1735,997],[1737,997],[1738,997],[1739,997],[1740,997],[1741,997],[1742,997],[1743,997],[1744,997],[1745,997],[1746,997],[1747,997],[1748,997],[1749,997],[1750,997],[1751,997],[1752,997],[1753,997],[1754,997],[1755,997],[1757,997],[1758,997],[1759,997],[1756,997],[1760,997],[1761,997],[1762,997],[1763,997],[1764,997],[1765,997],[1766,997],[1767,997],[1768,997],[1769,997],[1770,997],[1771,997],[1772,997],[1773,997],[1774,997],[1777,1000],[1778,997],[1779,997],[1780,1001],[1781,1002],[1782,997],[1783,997],[1784,997],[1785,997],[1788,997],[1786,997],[1787,997],[1710,181],[1789,997],[1790,997],[1791,997],[1792,997],[1793,997],[1794,997],[1795,997],[1797,1003],[1798,997],[1799,997],[1800,997],[1802,997],[1801,997],[1803,997],[1804,997],[1805,997],[1806,997],[1807,997],[1808,997],[1809,997],[1810,997],[1811,997],[1812,997],[1814,997],[1813,997],[1815,997],[1816,181],[1817,181],[1818,181],[1965,1004],[1819,997],[1820,997],[1821,997],[1822,997],[1823,997],[1824,997],[1825,181],[1826,997],[1827,181],[1828,997],[1829,997],[1830,997],[1831,997],[1832,997],[1833,997],[1834,997],[1835,997],[1836,997],[1837,997],[1838,997],[1839,997],[1840,997],[1841,997],[1842,997],[1843,997],[1844,997],[1845,997],[1846,997],[1847,997],[1848,997],[1849,997],[1850,997],[1851,997],[1852,997],[1853,997],[1854,997],[1855,997],[1856,997],[1857,997],[1858,997],[1859,997],[1860,181],[1861,997],[1862,997],[1863,997],[1864,997],[1865,997],[1866,997],[1867,997],[1868,997],[1869,997],[1870,997],[1871,997],[1873,1005],[1709,997],[1874,997],[1875,997],[1876,181],[1877,181],[1878,181],[1879,997],[1880,181],[1881,181],[1882,181],[1883,181],[1884,181],[1885,997],[1886,997],[1887,997],[1888,997],[1889,997],[1890,997],[1891,997],[1892,997],[1897,1006],[1895,1007],[1896,1008],[1894,1009],[1893,997],[1898,997],[1899,997],[1900,997],[1901,997],[1902,997],[1903,997],[1904,997],[1905,997],[1906,997],[1907,997],[1908,181],[1909,181],[1910,997],[1911,997],[1912,181],[1913,181],[1914,181],[1915,997],[1916,997],[1917,997],[1918,997],[1919,1003],[1920,997],[1921,997],[1922,997],[1923,997],[1924,997],[1925,997],[1926,997],[1927,997],[1928,997],[1929,997],[1930,997],[1931,997],[1932,997],[1933,997],[1934,997],[1935,997],[1936,997],[1937,997],[1938,997],[1939,997],[1940,997],[1941,997],[1942,997],[1943,997],[1944,997],[1945,997],[1946,997],[1947,997],[1948,997],[1949,997],[1950,997],[1951,997],[1952,997],[1953,997],[1954,997],[1955,997],[1956,997],[1957,997],[1958,997],[1959,997],[1960,997],[1711,1010],[1961,181],[1962,181],[1963,181],[1964,181],[2187,1011],[2003,181],[2018,1012],[2019,1012],[2031,1013],[2020,1014],[2021,1015],[2016,1016],[2014,1017],[2005,181],[2009,1018],[2013,1019],[2011,1020],[2017,1021],[2006,1022],[2007,1023],[2008,1024],[2010,1025],[2012,1026],[2015,1027],[2022,1014],[2023,1014],[2024,1014],[2025,1012],[2026,1014],[2027,1014],[2004,1014],[2028,181],[2030,1028],[2029,1014],[2341,1029],[2323,1030],[2325,1031],[2327,1032],[2326,1033],[2324,181],[2328,181],[2329,181],[2330,181],[2331,181],[2332,181],[2333,181],[2334,181],[2335,181],[2336,181],[2337,1034],[2339,1035],[2340,1035],[2338,181],[2322,177],[2342,1036],[2269,1037],[2271,1038],[2261,1039],[2266,1040],[2267,1041],[2273,1042],[2268,1043],[2265,1044],[2264,1045],[2263,1046],[2274,1047],[2231,1040],[2232,1040],[2272,1040],[2277,1048],[2287,1049],[2281,1049],[2289,1049],[2293,1049],[2279,1050],[2280,1049],[2282,1049],[2285,1049],[2288,1049],[2284,1051],[2286,1049],[2290,177],[2283,1040],[2278,1052],[2240,177],[2244,177],[2234,1040],[2237,177],[2242,1040],[2243,1053],[2236,1054],[2239,177],[2241,177],[2238,1055],[2227,177],[2226,177],[2295,1056],[2292,1057],[2258,1058],[2257,1040],[2255,177],[2256,1040],[2259,1059],[2260,1060],[2253,177],[2249,1061],[2252,1040],[2251,1040],[2250,1040],[2245,1040],[2254,1061],[2291,1040],[2270,1062],[2276,1063],[2275,1064],[2294,181],[2262,181],[2235,181],[2233,1065],[388,591],[2352,177],[477,181],[1235,181],[498,1066],[497,181],[496,181],[499,1067],[2530,1068],[2520,181],[2521,1069],[2531,1070],[2532,1071],[2533,1068],[2534,1068],[2535,181],[2538,1072],[2536,1068],[2537,181],[2527,181],[2524,1073],[2525,181],[2526,181],[2523,1074],[2522,181],[2528,1068],[2529,181],[77,181],[78,181],[13,181],[14,181],[16,181],[15,181],[2,181],[17,181],[18,181],[19,181],[20,181],[21,181],[22,181],[23,181],[24,181],[3,181],[25,181],[26,181],[4,181],[27,181],[31,181],[28,181],[29,181],[30,181],[32,181],[33,181],[34,181],[5,181],[35,181],[36,181],[37,181],[38,181],[6,181],[42,181],[39,181],[40,181],[41,181],[43,181],[7,181],[44,181],[49,181],[50,181],[45,181],[46,181],[47,181],[48,181],[8,181],[54,181],[51,181],[52,181],[53,181],[55,181],[9,181],[56,181],[57,181],[58,181],[60,181],[59,181],[61,181],[62,181],[10,181],[63,181],[64,181],[65,181],[11,181],[66,181],[67,181],[68,181],[69,181],[70,181],[1,181],[71,181],[72,181],[12,181],[75,181],[74,181],[73,181],[76,181],[113,1075],[123,1076],[112,1075],[133,1077],[104,1078],[103,1079],[132,936],[126,1080],[131,1081],[106,1082],[120,1083],[105,1084],[129,1085],[101,1086],[100,936],[130,1087],[102,1088],[107,1089],[108,181],[111,1089],[98,181],[134,1090],[124,1091],[115,1092],[116,1093],[118,1094],[114,1095],[117,1096],[127,936],[109,1097],[110,1098],[119,1099],[99,588],[122,1091],[121,1089],[125,181],[128,1100],[2303,1101],[2230,1102],[2248,1103],[2551,588],[583,1104],[574,1105],[581,1106],[576,181],[577,181],[575,1107],[578,1104],[570,181],[571,181],[582,1108],[573,1109],[579,181],[580,1110],[572,1111],[1522,1112],[1524,1113],[500,1114],[1525,181],[1526,1115],[1527,181],[1245,181],[1528,181],[1511,181],[1529,340],[1530,181],[1531,181],[1532,181]],"changeFileSet":[2364,2365,2366,2367,2368,2369,2370,2372,2371,2373,2374,2375,2376,2380,2379,2378,2381,2382,2377,2385,2386,2384,2388,2389,2390,2387,2391,2392,2393,2394,2395,2397,2396,2398,2399,2383,2400,2401,2402,2403,2408,2404,2405,2406,2407,2409,2411,2410,2414,2413,2412,2415,2416,2420,2421,2419,2418,2422,2423,2417,2424,2426,2425,2427,2429,2428,2430,2431,2433,2434,2435,2432,2436,2437,2438,2439,2441,2440,2443,2442,2444,2445,2448,2449,2447,2446,2450,2451,2452,2453,2456,2454,2455,2457,2458,2459,2460,2461,2462,2463,2466,2464,2465,2470,2469,2467,2471,2468,2472,2473,2363,2474,2475,2476,2477,2478,2479,2480,2481,2482,2483,2484,2485,2486,2362,1680,1999,2001,2002,2044,610,611,613,612,614,615,565,616,617,621,620,619,622,623,618,634,635,633,639,640,641,638,642,643,644,645,646,648,647,649,651,632,652,653,654,655,1075,1067,1068,1073,1074,1076,1078,1077,1081,1080,1079,1082,1083,1089,1090,1088,1087,1091,1092,1086,1093,1095,1094,1096,1100,1098,1102,1103,1105,1106,1107,1104,1113,1114,1115,1116,1099,1097,1117,1101,1118,1119,1124,1221,1123,1122,2045,2046,2047,2048,2050,2051,2049,2000,1222,2094,2052,2093,2095,2096,2100,2101,2102,1223,1668,2103,2104,2107,2105,2106,2111,2110,2108,2116,2109,2117,2123,1679,2130,1224,2131,2132,2133,2134,2135,2136,2138,2139,2141,1225,1120,1226,2142,2143,2144,2039,2042,2041,2043,1664,2153,2154,2137,1666,2145,1671,1998,2155,2156,2157,2129,2128,2126,2158,2124,2125,2127,2159,2160,2161,1661,1674,2058,2091,2162,2163,2164,2165,2166,2167,2061,2092,2168,2171,2059,2057,2056,2170,2169,2055,2060,2172,2090,2146,1673,2173,1663,2097,1667,1662,2099,2147,2174,2177,2113,2112,2175,2114,2176,2149,2148,1672,1660,1653,2120,2178,2121,2122,1678,2150,1536,1670,2179,1652,2180,1543,1542,2151,2140,2152,2184,2054,2038,2186,1677,1651,2115,1538,2188,1669,2225,2296,1997,2181,2297,2299,2302,1657,2304,1554,2035,2306,2308,1659,1701,2309,2311,2314,2315,2317,2319,2321,2343,2344,1541,2037,1703,2345,2348,2347,2350,2353,2355,2040,1698,1658,1237,1665,2359,2358,1707,2360,1238,2361,2098,476,1239,1507,1508,1510,1512,1513,2346,1514,1243,1519,1515,1121,584,1516,1220,1085,1517,585,609,1509,1066,1112,631,629,1084,1071,1070,1072,650,630,1518,627,1069,1236,1520,1111,1521,1247,1246,1248,1506,1244,475,568,567,1038,936,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,1043,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1011,1012,1013,1014,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,935,1039,1059,1058,938,1010,937,1049,1044,1045,1046,1047,1048,1040,1042,1041,1057,1053,1054,1055,1056,934,918,921,919,920,924,923,927,925,922,926,928,929,933,930,931,932,738,734,737,740,739,741,742,744,735,736,743,745,746,825,748,747,749,792,791,794,807,808,820,809,821,790,793,822,823,824,826,828,827,1060,1065,1064,1063,1062,1061,750,751,752,753,754,755,756,765,766,767,768,769,770,771,759,772,773,758,760,757,763,761,762,789,774,775,776,777,778,779,780,781,782,783,784,785,786,787,764,788,1986,1988,1989,2553,1985,1987,1689,1688,1690,1695,1686,1685,1684,1683,1682,1681,1687,1692,1694,1691,1693,2034,2032,2033,1217,1161,1162,1164,1163,1187,1186,1130,1129,1131,1133,1132,1147,1194,1145,1143,1140,1144,1141,1142,1153,1154,1197,1188,1177,1178,1135,1155,1209,1166,1192,1191,1204,1170,1156,1180,1182,1183,1184,1193,1157,1158,1160,1200,1199,1201,1205,1167,1168,1148,1165,1206,1152,1196,1190,1136,1137,1128,1134,1169,1150,1151,1159,1189,1149,1208,1212,1207,1195,1171,1172,1173,1174,1214,1219,1125,1127,1138,1139,1146,1175,1176,1179,1181,1185,1202,1198,1126,1203,1210,1211,1213,1215,1216,1218,419,569,566,2183,2053,1704,2185,1676,1675,1996,1995,2182,2301,1227,1656,1229,1553,1547,1545,1546,1552,1549,1550,1544,1551,1654,2305,1700,1699,2300,2310,2313,2316,1705,1655,1228,2318,2320,1696,1540,1539,2036,1702,2349,1537,2354,1697,1230,2357,2356,1706,2312,1548,833,829,830,832,831,843,834,836,835,838,837,841,842,839,840,884,885,888,886,887,889,844,845,848,850,849,851,852,853,846,847,864,865,866,870,867,868,869,863,862,732,720,730,731,733,813,814,815,816,812,810,811,819,817,818,721,722,723,724,729,725,726,727,728,797,803,798,799,800,804,806,801,802,805,796,795,871,890,891,892,893,894,895,896,897,898,899,900,902,903,901,904,905,917,906,907,908,909,910,911,912,913,914,915,916,656,657,658,659,672,673,670,671,674,677,679,680,662,681,685,683,684,678,687,663,689,690,693,692,688,691,686,694,695,699,700,698,676,664,667,701,702,703,660,705,704,719,665,669,706,707,661,697,708,696,709,710,711,712,713,682,715,716,675,717,714,666,668,718,855,859,857,860,858,861,856,854,872,874,873,875,876,877,878,879,883,880,881,882,1051,1052,1050,2487,2491,608,2492,2493,2494,2495,2246,2229,2247,2228,2496,2498,2500,2501,2118,2489,2502,624,2539,2540,2541,2119,626,2544,2543,2542,2497,136,137,138,96,139,140,141,91,94,92,93,142,143,144,145,146,147,148,150,149,151,152,153,135,95,154,155,156,189,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,173,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,551,538,545,541,539,542,546,547,544,543,548,549,550,540,2550,2552,81,2554,193,194,192,190,191,79,82,266,2490,2555,2499,1108,2556,2557,2558,628,637,636,97,1233,1232,1231,2298,80,1336,1315,1412,1316,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264,1265,1266,1267,1268,1269,1270,1271,1272,1273,1274,1276,1275,1277,1278,1279,1280,1281,1282,1283,1284,1285,1286,1287,1288,1289,1290,1291,1292,1293,1294,1295,1297,1298,1299,1296,1300,1301,1302,1303,1304,1305,1306,1307,1308,1309,1310,1311,1312,1313,1314,1317,1318,1319,1320,1321,1322,1323,1324,1325,1328,1326,1327,1250,1329,1330,1331,1332,1333,1334,1335,1337,1338,1339,1340,1342,1341,1343,1344,1345,1346,1347,1348,1349,1350,1351,1352,1354,1353,1355,1356,1357,1358,1505,1359,1360,1361,1362,1363,1364,1365,1366,1367,1368,1369,1370,1371,1372,1373,1374,1375,1376,1377,1378,1379,1380,1381,1382,1383,1384,1385,1386,1387,1388,1389,1390,1391,1392,1393,1394,1395,1396,1397,1398,1399,1400,1401,1402,1403,1404,1405,1406,1407,1408,1409,1410,1411,1413,1650,1555,1557,1558,1559,1560,1561,1556,1562,1564,1563,1565,1566,1567,1568,1569,1570,1571,1572,1574,1573,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1591,1592,1590,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1606,1605,1608,1607,1609,1610,1611,1612,1613,1614,1615,1616,1617,1618,1619,1620,1621,1623,1622,1624,1625,1626,1628,1627,1629,1630,1631,1632,1633,1634,1636,1635,1637,1638,1639,1640,1641,1249,1642,1643,1645,1644,1646,1647,1648,1649,1414,1415,1416,1417,1418,1419,1420,1421,1422,1423,1424,1425,1426,1427,1428,1429,1430,1431,1432,1437,1435,1436,1434,1433,1438,1439,1440,1441,1442,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1454,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1470,1471,1472,1473,1474,1475,1476,1477,1478,1479,1480,1481,1482,1483,1484,1485,1486,1487,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1251,1501,1502,1503,1504,602,1109,1523,2223,2224,2189,2197,2191,2198,2220,2195,2219,2216,2199,2200,2193,2190,2221,2217,2201,2218,2202,2204,2205,2194,2206,2207,2209,2210,2211,2213,2208,2214,2215,2192,2212,2196,2203,2222,2510,2509,2507,2508,2063,625,2307,600,601,599,587,592,593,596,595,594,597,604,607,606,605,598,588,603,590,586,591,589,1110,534,503,513,504,514,505,506,521,520,522,523,515,507,516,508,517,509,511,519,512,518,524,510,525,530,531,526,502,532,528,527,529,533,564,2488,1234,501,1240,554,553,560,562,558,557,561,555,552,556,563,536,537,1242,1241,559,2351,89,422,427,429,215,370,397,226,207,213,359,294,214,360,399,400,347,356,264,364,365,363,362,361,398,216,301,302,211,227,217,239,270,200,369,379,206,325,326,320,450,328,329,321,341,455,454,449,267,402,355,354,448,322,242,240,451,453,452,241,443,446,251,250,249,458,248,289,461,1534,1533,464,463,465,196,366,367,368,391,205,195,198,340,339,330,331,338,333,336,332,334,337,335,212,203,204,421,430,434,373,372,285,466,382,323,324,317,307,315,316,345,308,346,343,342,344,298,374,375,309,313,305,351,381,384,287,201,380,197,403,404,415,401,414,90,389,273,303,385,202,234,413,210,276,312,371,311,412,406,407,208,409,410,392,411,232,390,416,219,222,220,224,221,223,225,218,279,278,284,280,283,282,286,281,238,268,378,468,438,440,310,439,376,467,327,209,269,235,236,237,233,350,245,271,246,229,228,277,275,274,272,377,349,348,319,358,357,353,263,265,262,230,297,426,296,352,288,306,304,290,292,462,291,293,424,423,425,460,295,260,88,243,252,300,231,432,442,259,436,258,418,257,199,444,255,256,247,299,254,253,244,314,383,408,387,386,428,261,318,420,83,86,87,84,85,405,396,395,394,393,417,431,433,435,1535,437,441,474,445,473,447,456,457,459,469,472,471,470,535,2062,2505,2518,2503,2504,2519,2514,2515,2513,2517,2511,2506,2516,2512,2549,2546,2548,2547,2545,493,491,492,480,481,488,479,484,494,485,490,495,478,486,487,482,489,483,2064,2067,2065,2066,2068,2071,2075,2074,2072,2088,2083,2081,2070,2082,2073,2087,2076,2085,2086,2077,2078,2079,2084,2080,2069,2089,1981,1993,1982,1980,1966,1968,1994,1967,1971,1973,1972,1975,1974,1992,1983,1984,1976,1970,1969,1991,1977,1979,1978,1990,1796,1775,1872,1776,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1708,1730,1731,1732,1733,1734,1736,1735,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1750,1751,1752,1753,1754,1755,1757,1758,1759,1756,1760,1761,1762,1763,1764,1765,1766,1767,1768,1769,1770,1771,1772,1773,1774,1777,1778,1779,1780,1781,1782,1783,1784,1785,1788,1786,1787,1710,1789,1790,1791,1792,1793,1794,1795,1797,1798,1799,1800,1802,1801,1803,1804,1805,1806,1807,1808,1809,1810,1811,1812,1814,1813,1815,1816,1817,1818,1965,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1840,1841,1842,1843,1844,1845,1846,1847,1848,1849,1850,1851,1852,1853,1854,1855,1856,1857,1858,1859,1860,1861,1862,1863,1864,1865,1866,1867,1868,1869,1870,1871,1873,1709,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1897,1895,1896,1894,1893,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1958,1959,1960,1711,1961,1962,1963,1964,2187,2003,2018,2019,2031,2020,2021,2016,2014,2005,2009,2013,2011,2017,2006,2007,2008,2010,2012,2015,2022,2023,2024,2025,2026,2027,2004,2028,2030,2029,2341,2323,2325,2327,2326,2324,2328,2329,2330,2331,2332,2333,2334,2335,2336,2337,2339,2340,2338,2322,2342,2269,2271,2261,2266,2267,2273,2268,2265,2264,2263,2274,2231,2232,2272,2277,2287,2281,2289,2293,2279,2280,2282,2285,2288,2284,2286,2290,2283,2278,2240,2244,2234,2237,2242,2243,2236,2239,2241,2238,2227,2226,2295,2292,2258,2257,2255,2256,2259,2260,2253,2249,2252,2251,2250,2245,2254,2291,2270,2276,2275,2294,2262,2235,2233,388,2352,477,1235,498,497,496,499,2530,2520,2521,2531,2532,2533,2534,2535,2538,2536,2537,2527,2524,2525,2526,2523,2522,2528,2529,77,78,13,14,16,15,2,17,18,19,20,21,22,23,24,3,25,26,4,27,31,28,29,30,32,33,34,5,35,36,37,38,6,42,39,40,41,43,7,44,49,50,45,46,47,48,8,54,51,52,53,55,9,56,57,58,60,59,61,62,10,63,64,65,11,66,67,68,69,70,1,71,72,12,75,74,73,76,113,123,112,133,104,103,132,126,131,106,120,105,129,101,100,130,102,107,108,111,98,134,124,115,116,118,114,117,127,109,110,119,99,122,121,125,128,2303,2230,2248,2551,583,574,581,576,577,575,578,570,571,582,573,579,580,572,1522,1524,500,1525,1526,1527,1245,1528,1511,1529,1530,1531,1532],"version":"5.7.3"} \ No newline at end of file diff --git a/.next/cache/webpack/client-production/0.pack b/.next/cache/webpack/client-production/0.pack new file mode 100644 index 00000000..253ecdc1 Binary files /dev/null and b/.next/cache/webpack/client-production/0.pack differ diff --git a/.next/cache/webpack/client-production/1.pack b/.next/cache/webpack/client-production/1.pack new file mode 100644 index 00000000..076a8d6f Binary files /dev/null and b/.next/cache/webpack/client-production/1.pack differ diff --git a/.next/cache/webpack/client-production/2.pack b/.next/cache/webpack/client-production/2.pack new file mode 100644 index 00000000..c4444f11 Binary files /dev/null and b/.next/cache/webpack/client-production/2.pack differ diff --git a/.next/cache/webpack/client-production/3.pack b/.next/cache/webpack/client-production/3.pack new file mode 100644 index 00000000..691c2560 Binary files /dev/null and b/.next/cache/webpack/client-production/3.pack differ diff --git a/.next/cache/webpack/client-production/4.pack b/.next/cache/webpack/client-production/4.pack new file mode 100644 index 00000000..b7c06988 Binary files /dev/null and b/.next/cache/webpack/client-production/4.pack differ diff --git a/.next/cache/webpack/client-production/5.pack b/.next/cache/webpack/client-production/5.pack new file mode 100644 index 00000000..82c30ce0 Binary files /dev/null and b/.next/cache/webpack/client-production/5.pack differ diff --git a/.next/cache/webpack/client-production/index.pack b/.next/cache/webpack/client-production/index.pack new file mode 100644 index 00000000..b924c755 Binary files /dev/null and b/.next/cache/webpack/client-production/index.pack differ diff --git a/.next/cache/webpack/client-production/index.pack.old b/.next/cache/webpack/client-production/index.pack.old new file mode 100644 index 00000000..5fea9e2a Binary files /dev/null and b/.next/cache/webpack/client-production/index.pack.old differ diff --git a/.next/cache/webpack/edge-server-production/0.pack b/.next/cache/webpack/edge-server-production/0.pack new file mode 100644 index 00000000..f22dcafa Binary files /dev/null and b/.next/cache/webpack/edge-server-production/0.pack differ diff --git a/.next/cache/webpack/edge-server-production/index.pack b/.next/cache/webpack/edge-server-production/index.pack new file mode 100644 index 00000000..8f121593 Binary files /dev/null and b/.next/cache/webpack/edge-server-production/index.pack differ diff --git a/.next/cache/webpack/server-production/0.pack b/.next/cache/webpack/server-production/0.pack new file mode 100644 index 00000000..5cb19be6 Binary files /dev/null and b/.next/cache/webpack/server-production/0.pack differ diff --git a/.next/cache/webpack/server-production/1.pack b/.next/cache/webpack/server-production/1.pack new file mode 100644 index 00000000..3cd56cd7 Binary files /dev/null and b/.next/cache/webpack/server-production/1.pack differ diff --git a/.next/cache/webpack/server-production/2.pack b/.next/cache/webpack/server-production/2.pack new file mode 100644 index 00000000..e34bdf4e Binary files /dev/null and b/.next/cache/webpack/server-production/2.pack differ diff --git a/.next/cache/webpack/server-production/3.pack b/.next/cache/webpack/server-production/3.pack new file mode 100644 index 00000000..42087067 Binary files /dev/null and b/.next/cache/webpack/server-production/3.pack differ diff --git a/.next/cache/webpack/server-production/4.pack b/.next/cache/webpack/server-production/4.pack new file mode 100644 index 00000000..a7d75449 Binary files /dev/null and b/.next/cache/webpack/server-production/4.pack differ diff --git a/.next/cache/webpack/server-production/5.pack b/.next/cache/webpack/server-production/5.pack new file mode 100644 index 00000000..9289aad1 Binary files /dev/null and b/.next/cache/webpack/server-production/5.pack differ diff --git a/.next/cache/webpack/server-production/index.pack b/.next/cache/webpack/server-production/index.pack new file mode 100644 index 00000000..86dd3b86 Binary files /dev/null and b/.next/cache/webpack/server-production/index.pack differ diff --git a/.next/cache/webpack/server-production/index.pack.old b/.next/cache/webpack/server-production/index.pack.old new file mode 100644 index 00000000..07596136 Binary files /dev/null and b/.next/cache/webpack/server-production/index.pack.old differ diff --git a/.next/diagnostics/build-diagnostics.json b/.next/diagnostics/build-diagnostics.json new file mode 100644 index 00000000..5ccdc35a --- /dev/null +++ b/.next/diagnostics/build-diagnostics.json @@ -0,0 +1,6 @@ +{ + "buildStage": "static-generation", + "buildOptions": { + "useBuildWorker": "false" + } +} \ No newline at end of file diff --git a/.next/diagnostics/framework.json b/.next/diagnostics/framework.json new file mode 100644 index 00000000..02cd1777 --- /dev/null +++ b/.next/diagnostics/framework.json @@ -0,0 +1 @@ +{"name":"Next.js","version":"15.3.1"} \ No newline at end of file diff --git a/.next/export-marker.json b/.next/export-marker.json new file mode 100644 index 00000000..e4c41c98 --- /dev/null +++ b/.next/export-marker.json @@ -0,0 +1,6 @@ +{ + "version": 1, + "hasExportPathMap": false, + "exportTrailingSlash": false, + "isNextImageImported": false +} \ No newline at end of file diff --git a/.next/images-manifest.json b/.next/images-manifest.json new file mode 100644 index 00000000..4a87163f --- /dev/null +++ b/.next/images-manifest.json @@ -0,0 +1,57 @@ +{ + "version": 1, + "images": { + "deviceSizes": [ + 640, + 750, + 828, + 1080, + 1200, + 1920, + 2048, + 3840 + ], + "imageSizes": [ + 16, + 32, + 48, + 64, + 96, + 128, + 256, + 384 + ], + "path": "/_next/image", + "loader": "default", + "loaderFile": "", + "domains": [], + "disableStaticImages": false, + "minimumCacheTTL": 60, + "formats": [ + "image/webp" + ], + "dangerouslyAllowSVG": false, + "contentSecurityPolicy": "script-src 'none'; frame-src 'none'; sandbox;", + "contentDispositionType": "attachment", + "remotePatterns": [], + "unoptimized": false, + "sizes": [ + 640, + 750, + 828, + 1080, + 1200, + 1920, + 2048, + 3840, + 16, + 32, + 48, + 64, + 96, + 128, + 256, + 384 + ] + } +} \ No newline at end of file diff --git a/.next/next-minimal-server.js.nft.json b/.next/next-minimal-server.js.nft.json new file mode 100644 index 00000000..82418251 --- /dev/null +++ b/.next/next-minimal-server.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../node_modules/styled-jsx/index.js","../node_modules/styled-jsx/package.json","../node_modules/styled-jsx/dist/index/index.js","../node_modules/react/package.json","../node_modules/react/index.js","../node_modules/client-only/package.json","../node_modules/react/cjs/react.production.min.js","../node_modules/client-only/index.js","../node_modules/styled-jsx/style.js","../node_modules/next/dist/compiled/next-server/server.runtime.prod.js","../node_modules/next/package.json","../node_modules/next/dist/lib/is-error.js","../node_modules/next/dist/lib/constants.js","../node_modules/next/dist/server/body-streams.js","../node_modules/next/dist/shared/lib/constants.js","../node_modules/next/dist/server/web/utils.js","../node_modules/next/dist/client/components/app-router-headers.js","../node_modules/next/dist/server/lib/trace/tracer.js","../node_modules/next/dist/server/lib/trace/constants.js","../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../node_modules/next/dist/server/app-render/work-async-storage.external.js","../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../node_modules/next/dist/shared/lib/is-plain-object.js","../node_modules/next/dist/lib/picocolors.js","../node_modules/next/dist/shared/lib/modern-browserslist-target.js","../node_modules/next/dist/shared/lib/is-thenable.js","../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../node_modules/next/dist/shared/lib/runtime-config.external.js","../node_modules/next/dist/server/after/builtin-request-context.js","../node_modules/next/dist/server/patch-error-inspect.js","../node_modules/next/dist/experimental/testmode/fetch.js","../node_modules/next/dist/experimental/testmode/context.js","../node_modules/@swc/helpers/_/_interop_require_default/package.json","../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../node_modules/next/dist/server/app-render/async-local-storage.js","../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../node_modules/@swc/helpers/package.json","../node_modules/next/dist/compiled/jsonwebtoken/package.json","../node_modules/next/dist/shared/lib/error-source.js","../node_modules/next/dist/client/components/react-dev-overlay/server/middleware-webpack.js","../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../node_modules/next/dist/compiled/ws/package.json","../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../node_modules/next/dist/compiled/jsonwebtoken/index.js","../node_modules/next/dist/client/components/react-dev-overlay/server/shared.js","../node_modules/next/dist/compiled/ws/index.js","../node_modules/next/dist/experimental/testmode/server-edge.js","../node_modules/next/dist/compiled/source-map/package.json","../node_modules/next/dist/shared/lib/is-internal.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/launch-editor.js","../node_modules/next/dist/client/components/react-dev-overlay/server/middleware-response.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/get-source-map-from-file.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/node-stack-frames.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/parse-stack.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/webpack-module-path.js","../node_modules/next/dist/compiled/source-map/source-map.js","../node_modules/next/dist/compiled/debug/package.json","../node_modules/next/dist/lib/semver-noop.js","../node_modules/next/dist/compiled/debug/index.js","../node_modules/next/dist/compiled/babel/code-frame.js","../node_modules/next/dist/client/components/is-hydration-error.js","../node_modules/next/dist/compiled/source-map08/package.json","../node_modules/next/dist/client/components/react-dev-overlay/utils/get-source-map-url.js","../node_modules/next/dist/compiled/babel/package.json","../node_modules/next/dist/compiled/source-map08/source-map.js","../node_modules/next/dist/compiled/babel/bundle.js","../node_modules/next/dist/compiled/data-uri-to-buffer/package.json","../node_modules/next/dist/compiled/shell-quote/package.json","../node_modules/next/dist/compiled/stacktrace-parser/package.json","../node_modules/next/dist/compiled/data-uri-to-buffer/index.js","../node_modules/next/dist/compiled/shell-quote/index.js","../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../node_modules/next/dist/compiled/browserslist/package.json","../node_modules/next/dist/compiled/babel-packages/package.json","../node_modules/next/dist/compiled/json5/package.json","../node_modules/next/dist/compiled/semver/package.json","../node_modules/next/dist/compiled/lru-cache/package.json","../node_modules/next/dist/compiled/browserslist/index.js","../node_modules/next/dist/compiled/babel-packages/packages-bundle.js","../node_modules/next/dist/compiled/json5/index.js","../node_modules/next/dist/compiled/semver/index.js","../node_modules/next/dist/compiled/lru-cache/index.js","../node_modules/caniuse-lite/dist/unpacker/feature.js","../node_modules/caniuse-lite/dist/unpacker/region.js","../node_modules/caniuse-lite/dist/unpacker/agents.js","../node_modules/caniuse-lite/package.json","../node_modules/next/dist/compiled/babel/parser.js","../node_modules/next/dist/compiled/babel/types.js","../node_modules/next/dist/compiled/babel/traverse.js","../node_modules/next/dist/compiled/babel/core.js","../node_modules/caniuse-lite/data/agents.js","../node_modules/caniuse-lite/dist/unpacker/browsers.js","../node_modules/caniuse-lite/dist/lib/statuses.js","../node_modules/caniuse-lite/dist/unpacker/browserVersions.js","../node_modules/caniuse-lite/dist/lib/supported.js","../node_modules/caniuse-lite/data/browsers.js","../node_modules/caniuse-lite/data/browserVersions.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/amp-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-metadata.js","../node_modules/next/dist/server/route-modules/app-page/module.compiled.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/amp-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/router-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/server-inserted-html.js","../node_modules/next/dist/server/route-modules/pages/module.compiled.js"]} \ No newline at end of file diff --git a/.next/next-server.js.nft.json b/.next/next-server.js.nft.json new file mode 100644 index 00000000..5c94547a --- /dev/null +++ b/.next/next-server.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../node_modules/styled-jsx/index.js","../node_modules/styled-jsx/package.json","../node_modules/styled-jsx/dist/index/index.js","../node_modules/react/package.json","../node_modules/react/index.js","../node_modules/client-only/package.json","../node_modules/react/cjs/react.production.min.js","../node_modules/client-only/index.js","../node_modules/styled-jsx/style.js","../node_modules/next/dist/server/next-server.js","../node_modules/next/package.json","../node_modules/next/dist/server/base-server.js","../node_modules/next/dist/server/node-environment.js","../node_modules/next/dist/server/require-hook.js","../node_modules/next/dist/server/node-polyfill-crypto.js","../node_modules/next/dist/server/request-meta.js","../node_modules/next/dist/lib/find-pages-dir.js","../node_modules/next/dist/server/send-payload.js","../node_modules/next/dist/server/require.js","../node_modules/next/dist/server/load-components.js","../node_modules/next/dist/lib/is-error.js","../node_modules/next/dist/server/setup-http-agent-env.js","../node_modules/next/dist/lib/constants.js","../node_modules/next/dist/server/body-streams.js","../node_modules/next/dist/server/load-manifest.js","../node_modules/next/dist/lib/interop-default.js","../node_modules/next/dist/lib/format-dynamic-import-path.js","../node_modules/next/dist/lib/generate-interception-routes-rewrites.js","../node_modules/next/dist/server/route-kind.js","../node_modules/next/dist/server/pipe-readable.js","../node_modules/next/dist/lib/static-env.js","../node_modules/next/dist/server/image-optimizer.js","../node_modules/next/dist/lib/format-server-error.js","../node_modules/next/dist/server/serve-static.js","../node_modules/next/dist/shared/lib/utils.js","../node_modules/next/dist/shared/lib/constants.js","../node_modules/next/dist/server/base-http/node.js","../node_modules/next/dist/build/output/log.js","../node_modules/next/dist/server/web/utils.js","../node_modules/next/dist/server/lib/node-fs-methods.js","../node_modules/next/dist/client/components/app-router-headers.js","../node_modules/next/dist/server/route-matches/pages-api-route-match.js","../node_modules/next/dist/server/use-cache/handlers.js","../node_modules/next/dist/shared/lib/invariant-error.js","../node_modules/next/dist/server/lib/mock-request.js","../node_modules/next/dist/server/after/awaiter.js","../node_modules/next/dist/server/lib/async-callback-set.js","../node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js","../node_modules/next/dist/shared/lib/page-path/normalize-page-path.js","../node_modules/next/dist/server/lib/trace/tracer.js","../node_modules/next/dist/server/lib/trace/constants.js","../node_modules/next/dist/server/route-modules/app-page/module.render.js","../node_modules/next/dist/server/route-modules/pages/module.render.js","../node_modules/next/dist/server/lib/module-loader/route-module-loader.js","../node_modules/next/dist/shared/lib/router/utils/route-matcher.js","../node_modules/next/dist/shared/lib/router/utils/parse-url.js","../node_modules/next/dist/shared/lib/router/utils/querystring.js","../node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js","../node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js","../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.js","../node_modules/next/dist/server/web/spec-extension/adapters/next-request.js","../node_modules/next/dist/shared/lib/router/utils/route-regex.js","../node_modules/next/dist/compiled/next-server/pages.runtime.prod.js","../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../node_modules/next/dist/server/app-render/work-async-storage.external.js","../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../node_modules/next/dist/server/app-render/action-async-storage.external.js","../node_modules/react/jsx-runtime.js","../node_modules/next/dist/server/api-utils/index.js","../node_modules/next/dist/server/response-cache/index.js","../node_modules/next/dist/server/web/sandbox/index.js","../node_modules/next/dist/server/lib/incremental-cache/index.js","../node_modules/next/dist/lib/wait.js","../node_modules/next/dist/server/node-environment-baseline.js","../node_modules/next/dist/lib/detached-promise.js","../node_modules/next/dist/server/client-component-renderer-logger.js","../node_modules/next/dist/lib/url.js","../node_modules/@next/env/package.json","../node_modules/next/dist/server/node-environment-extensions/random.js","../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../node_modules/next/dist/server/node-environment-extensions/date.js","../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../node_modules/next/dist/server/lib/etag.js","../node_modules/next/dist/server/lib/cache-control.js","../node_modules/next/dist/server/lib/lru-cache.js","../node_modules/next/dist/server/app-render/action-utils.js","../node_modules/next/dist/server/app-render/encryption-utils.js","../node_modules/next/dist/lib/metadata/is-metadata-route.js","../node_modules/next/dist/shared/lib/is-plain-object.js","../node_modules/next/dist/shared/lib/deep-freeze.js","../node_modules/next/dist/shared/lib/match-remote-pattern.js","../node_modules/next/dist/shared/lib/image-blur-svg.js","../node_modules/next/dist/shared/lib/match-local-pattern.js","../node_modules/next/dist/experimental/testmode/server.js","../node_modules/next/dist/lib/picocolors.js","../node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js","../node_modules/next/dist/server/base-http/index.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/next/dist/shared/lib/modern-browserslist-target.js","../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../node_modules/next/dist/server/lib/cache-handlers/default.js","../node_modules/next/dist/shared/lib/is-thenable.js","../node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js","../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../node_modules/next/dist/server/route-modules/pages/module.compiled.js","../node_modules/next/dist/server/route-modules/app-page/module.compiled.js","../node_modules/next/dist/server/lib/module-loader/node-module-loader.js","../node_modules/@next/env/dist/index.js","../node_modules/next/dist/shared/lib/segment.js","../node_modules/next/dist/server/base-http/helpers.js","../node_modules/next/dist/shared/lib/escape-regexp.js","../node_modules/next/dist/lib/batcher.js","../node_modules/next/dist/lib/scheduler.js","../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../node_modules/next/dist/server/web/spec-extension/request.js","../node_modules/next/dist/server/response-cache/types.js","../node_modules/next/dist/server/response-cache/utils.js","../node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js","../node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js","../node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js","../node_modules/next/dist/shared/lib/router/utils/prepare-destination.js","../node_modules/next/dist/server/server-utils.js","../node_modules/next/dist/server/lib/to-route.js","../node_modules/next/dist/server/web/spec-extension/adapters/headers.js","../node_modules/next/dist/lib/is-edge-runtime.js","../node_modules/next/dist/lib/redirect-status.js","../node_modules/next/dist/server/render-result.js","../node_modules/next/dist/server/utils.js","../node_modules/next/dist/server/send-response.js","../node_modules/next/dist/lib/fallback.js","../node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js","../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.js","../node_modules/next/dist/server/web/sandbox/sandbox.js","../node_modules/next/dist/server/web/sandbox/context.js","../node_modules/sharp/package.json","../node_modules/next/dist/server/request/fallback-params.js","../node_modules/next/dist/server/lib/format-hostname.js","../node_modules/next/dist/shared/lib/runtime-config.external.js","../node_modules/next/dist/shared/lib/get-hostname.js","../node_modules/next/dist/server/normalizers/locale-route-normalizer.js","../node_modules/next/dist/server/route-matcher-providers/app-page-route-matcher-provider.js","../node_modules/next/dist/server/route-matcher-providers/pages-api-route-matcher-provider.js","../node_modules/next/dist/server/route-matcher-providers/app-route-route-matcher-provider.js","../node_modules/next/dist/server/route-matcher-managers/default-route-matcher-manager.js","../node_modules/next/dist/server/lib/i18n-provider.js","../node_modules/next/dist/server/route-matcher-providers/pages-route-matcher-provider.js","../node_modules/next/dist/server/lib/match-next-data-pathname.js","../node_modules/next/dist/server/route-modules/checks.js","../node_modules/next/dist/server/lib/server-action-request-meta.js","../node_modules/next/dist/server/lib/patch-set-header.js","../node_modules/next/dist/server/after/builtin-request-context.js","../node_modules/next/dist/server/stream-utils/encodedTags.js","../node_modules/next/dist/server/instrumentation/utils.js","../node_modules/next/dist/server/web/adapter.js","../node_modules/next/dist/server/lib/streaming-metadata.js","../node_modules/next/dist/server/lib/decode-query-path-parameter.js","../node_modules/next/dist/server/app-render/strip-flight-headers.js","../node_modules/next/dist/shared/lib/router/utils/index.js","../node_modules/next/dist/server/normalizers/request/rsc.js","../node_modules/next/dist/server/normalizers/request/next-data.js","../node_modules/next/dist/server/normalizers/request/prefetch-rsc.js","../node_modules/next/dist/server/lib/experimental/ppr.js","../node_modules/next/dist/server/normalizers/request/segment-prefix-rsc.js","../node_modules/next/dist/server/api-utils/node/try-get-preview-data.js","../node_modules/next/dist/server/lib/router-utils/decode-path-params.js","../node_modules/next/dist/server/patch-error-inspect.js","../node_modules/next/dist/lib/is-app-route-route.js","../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/server-manifest-loader.js","../node_modules/next/dist/shared/lib/router/utils/get-route-from-asset-path.js","../node_modules/next/dist/server/node-environment-extensions/utils.js","../node_modules/next/dist/experimental/testmode/fetch.js","../node_modules/next/dist/experimental/testmode/context.js","../node_modules/next/dist/experimental/testmode/httpget.js","../node_modules/sharp/lib/index.js","../node_modules/next/dist/compiled/path-to-regexp/package.json","../node_modules/next/dist/compiled/fresh/package.json","../node_modules/next/dist/compiled/image-size/package.json","../node_modules/next/dist/compiled/content-disposition/package.json","../node_modules/next/dist/compiled/is-animated/package.json","../node_modules/next/dist/compiled/send/package.json","../node_modules/next/dist/client/components/redirect-status-code.js","../node_modules/next/dist/server/api-utils/get-cookie-parser.js","../node_modules/react-dom/package.json","../node_modules/next/dist/compiled/@hapi/accept/package.json","../node_modules/@swc/helpers/_/_interop_require_default/package.json","../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../node_modules/react-dom/server.browser.js","../node_modules/next/dist/server/app-render/async-local-storage.js","../node_modules/next/dist/server/web/error.js","../node_modules/next/dist/server/web/next-url.js","../node_modules/next/dist/compiled/path-to-regexp/index.js","../node_modules/next/dist/compiled/fresh/index.js","../node_modules/next/dist/compiled/image-size/index.js","../node_modules/next/dist/compiled/content-disposition/index.js","../node_modules/next/dist/compiled/is-animated/index.js","../node_modules/next/dist/compiled/send/index.js","../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../node_modules/next/dist/server/web/spec-extension/cookies.js","../node_modules/@swc/helpers/package.json","../node_modules/next/dist/compiled/cookie/package.json","../node_modules/next/dist/compiled/jsonwebtoken/package.json","../node_modules/next/dist/lib/multi-file-writer.js","../node_modules/next/dist/lib/pick.js","../node_modules/next/dist/compiled/@hapi/accept/index.js","../node_modules/next/dist/server/stream-utils/node-web-streams-helper.js","../node_modules/next/dist/shared/lib/router/utils/path-match.js","../node_modules/next/dist/lib/is-app-page-route.js","../node_modules/next/dist/lib/is-api-route.js","../node_modules/next/dist/server/internal-utils.js","../node_modules/next/dist/shared/lib/error-source.js","../node_modules/next/dist/shared/lib/router/utils/parse-path.js","../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../node_modules/next/dist/server/lib/is-ipv6.js","../node_modules/next/dist/server/route-matcher-providers/manifest-route-matcher-provider.js","../node_modules/next/dist/server/route-matchers/app-page-route-matcher.js","../node_modules/next/dist/server/route-matchers/app-route-route-matcher.js","../node_modules/next/dist/server/route-matchers/pages-api-route-matcher.js","../node_modules/next/dist/server/route-matchers/pages-route-matcher.js","../node_modules/next/dist/server/route-matchers/locale-route-matcher.js","../node_modules/next/dist/server/web/globals.js","../node_modules/next/dist/server/async-storage/request-store.js","../node_modules/next/dist/server/web/web-on-close.js","../node_modules/next/dist/server/lib/implicit-tags.js","../node_modules/next/dist/server/web/get-edge-preview-props.js","../node_modules/next/dist/server/async-storage/work-store.js","../node_modules/next/dist/server/crypto-utils.js","../node_modules/next/dist/shared/lib/isomorphic/path.js","../node_modules/next/dist/server/web/sandbox/fetch-inline-assets.js","../node_modules/next/dist/server/web/sandbox/resource-managers.js","../node_modules/next/dist/server/web/spec-extension/response.js","../node_modules/next/dist/server/web/spec-extension/fetch-event.js","../node_modules/next/dist/server/web/spec-extension/adapters/reflect.js","../node_modules/next/dist/client/components/react-dev-overlay/server/middleware-webpack.js","../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../node_modules/next/dist/shared/lib/router/utils/relativize-url.js","../node_modules/next/dist/compiled/ws/package.json","../node_modules/next/dist/server/normalizers/request/suffix.js","../node_modules/next/dist/server/normalizers/request/prefix.js","../node_modules/next/dist/compiled/cookie/index.js","../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../node_modules/next/dist/server/app-render/dynamic-rendering.js","../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../node_modules/next/dist/compiled/jsonwebtoken/index.js","../node_modules/next/dist/client/components/react-dev-overlay/server/shared.js","../node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js","../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js","../node_modules/react-dom/cjs/react-dom-server.browser.production.min.js","../node_modules/next/dist/compiled/picomatch/package.json","../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js","../node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js","../node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js","../node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js","../node_modules/next/dist/server/normalizers/built/pages/index.js","../node_modules/next/dist/server/normalizers/built/app/index.js","../node_modules/next/dist/compiled/ws/index.js","../node_modules/next/dist/server/route-modules/pages/module.js","../node_modules/next/dist/server/route-modules/app-page/module.js","../node_modules/next/dist/compiled/picomatch/index.js","../node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js","../node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js","../node_modules/next/dist/server/stream-utils/uint8array-helpers.js","../node_modules/next/dist/experimental/testmode/server-edge.js","../node_modules/next/dist/shared/lib/errors/constants.js","../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../node_modules/next/dist/server/route-matchers/route-matcher.js","../node_modules/next/dist/server/async-storage/draft-mode-provider.js","../node_modules/next/dist/server/lib/lazy-result.js","../node_modules/next/dist/server/after/after-context.js","../node_modules/next/dist/server/route-matcher-providers/helpers/cached-route-matcher-provider.js","../node_modules/next/dist/compiled/edge-runtime/package.json","../node_modules/next/dist/server/dynamic-rendering-utils.js","../node_modules/next/dist/compiled/source-map/package.json","../node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js","../node_modules/next/dist/client/components/static-generation-bailout.js","../node_modules/next/dist/client/components/hooks-server-context.js","../node_modules/next/dist/lib/metadata/metadata-constants.js","../node_modules/next/dist/shared/lib/is-internal.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/launch-editor.js","../node_modules/next/dist/client/components/react-dev-overlay/server/middleware-response.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/get-source-map-from-file.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/node-stack-frames.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/parse-stack.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/webpack-module-path.js","../node_modules/next/dist/compiled/edge-runtime/index.js","../node_modules/next/dist/compiled/source-map/source-map.js","../node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/package.json","../node_modules/next/dist/server/render.js","../node_modules/next/dist/server/route-modules/route-module.js","../node_modules/next/dist/server/app-render/app-render.js","../node_modules/next/dist/server/normalizers/built/pages/pages-bundle-path-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-filename-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-page-normalizer.js","../node_modules/next/dist/server/normalizers/built/pages/pages-pathname-normalizer.js","../node_modules/next/dist/server/normalizers/built/app/app-bundle-path-normalizer.js","../node_modules/next/dist/server/normalizers/built/app/app-filename-normalizer.js","../node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js","../node_modules/next/dist/server/normalizers/built/app/app-page-normalizer.js","../node_modules/next/dist/compiled/debug/package.json","../node_modules/@img/sharp-darwin-arm64/LICENSE","../node_modules/@img/sharp-darwin-arm64/package.json","../node_modules/@img/sharp-libvips-darwin-arm64/package.json","../node_modules/@img/sharp-libvips-darwin-arm64/versions.json","../node_modules/@img/sharp-libvips-linux-arm64/package.json","../node_modules/@img/sharp-libvips-linux-arm64/versions.json","../node_modules/@img/sharp-libvips-linuxmusl-arm64/package.json","../node_modules/@img/sharp-libvips-linuxmusl-arm64/versions.json","../node_modules/@img/sharp-linux-arm64/LICENSE","../node_modules/@img/sharp-linux-arm64/package.json","../node_modules/@img/sharp-linuxmusl-arm64/LICENSE","../node_modules/@img/sharp-linuxmusl-arm64/package.json","../node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node","../node_modules/@img/sharp-libvips-darwin-arm64/lib/index.js","../node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.16.1.dylib","../node_modules/@img/sharp-libvips-linux-arm64/lib/index.js","../node_modules/@img/sharp-libvips-linux-arm64/lib/libvips-cpp.so.8.16.1","../node_modules/@img/sharp-libvips-linuxmusl-arm64/lib/index.js","../node_modules/@img/sharp-libvips-linuxmusl-arm64/lib/libvips-cpp.so.8.16.1","../node_modules/@img/sharp-linux-arm64/lib/sharp-linux-arm64.node","../node_modules/@img/sharp-linuxmusl-arm64/lib/sharp-linuxmusl-arm64.node","../node_modules/next/dist/server/revalidation-utils.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/route-modules/app-page/vendored/ssr/entrypoints.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.js","../node_modules/next/dist/server/route-modules/app-page/vendored/rsc/entrypoints.js","../node_modules/next/dist/lib/semver-noop.js","../node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js","../node_modules/next/dist/shared/lib/router/utils/add-locale.js","../node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js","../node_modules/next/dist/compiled/@edge-runtime/cookies/package.json","../node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js","../node_modules/sharp/lib/input.js","../node_modules/sharp/lib/composite.js","../node_modules/sharp/lib/constructor.js","../node_modules/sharp/lib/operation.js","../node_modules/sharp/lib/resize.js","../node_modules/sharp/lib/output.js","../node_modules/sharp/lib/colour.js","../node_modules/sharp/lib/channel.js","../node_modules/sharp/lib/utility.js","../node_modules/next/dist/compiled/debug/index.js","../node_modules/next/dist/compiled/path-browserify/package.json","../node_modules/next/dist/compiled/babel/code-frame.js","../node_modules/next/dist/client/components/is-hydration-error.js","../node_modules/next/dist/compiled/source-map08/package.json","../node_modules/next/dist/lib/is-serializable-props.js","../node_modules/next/dist/server/post-process.js","../node_modules/next/dist/compiled/@edge-runtime/cookies/index.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/get-source-map-url.js","../node_modules/next/dist/shared/lib/amp-mode.js","../node_modules/next/dist/shared/lib/head.js","../node_modules/next/dist/shared/lib/loadable.shared-runtime.js","../node_modules/next/dist/shared/lib/loadable-context.shared-runtime.js","../node_modules/next/dist/shared/lib/amp-context.shared-runtime.js","../node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js","../node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js","../node_modules/next/dist/shared/lib/html-context.shared-runtime.js","../node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js","../node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js","../node_modules/next/dist/shared/lib/router-context.shared-runtime.js","../node_modules/next/dist/compiled/babel/package.json","../node_modules/next/dist/compiled/path-browserify/index.js","../node_modules/next/dist/shared/lib/router/adapters.js","../node_modules/next/dist/client/components/redirect.js","../node_modules/next/dist/client/components/redirect-error.js","../node_modules/next/dist/server/app-render/create-error-handler.js","../node_modules/next/dist/server/app-render/get-short-dynamic-param-type.js","../node_modules/next/dist/server/app-render/flight-render-result.js","../node_modules/next/dist/server/app-render/get-script-nonce-from-header.js","../node_modules/next/dist/server/app-render/get-segment-param.js","../node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js","../node_modules/next/dist/server/app-render/action-handler.js","../node_modules/next/dist/server/app-render/server-inserted-html.js","../node_modules/next/dist/server/app-render/required-scripts.js","../node_modules/next/dist/server/app-render/parse-and-validate-flight-router-state.js","../node_modules/next/dist/server/app-render/make-get-server-inserted-html.js","../node_modules/next/dist/server/app-render/create-component-tree.js","../node_modules/next/dist/server/app-render/get-asset-query-string.js","../node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js","../node_modules/next/dist/lib/metadata/metadata-context.js","../node_modules/next/dist/server/app-render/postponed-state.js","../node_modules/next/dist/server/app-render/use-flight-response.js","../node_modules/next/dist/server/app-render/app-render-render-utils.js","../node_modules/next/dist/client/components/app-router-instance.js","../node_modules/next/dist/server/app-render/prospective-render-utils.js","../node_modules/next/dist/server/app-render/app-render-prerender-utils.js","../node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js","../node_modules/next/dist/server/app-render/parse-loader-tree.js","../node_modules/next/dist/server/resume-data-cache/resume-data-cache.js","../node_modules/next/dist/client/components/dev-root-http-access-fallback-boundary.js","../node_modules/next/dist/server/app-render/cache-signal.js","../node_modules/next/dist/server/use-cache/use-cache-errors.js","../node_modules/next/dist/client/components/app-router.js","../node_modules/next/dist/lib/page-types.js","../node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js","../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../node_modules/next/dist/server/lib/trace/utils.js","../node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js","../node_modules/next/dist/server/app-render/metadata-insertion/create-server-inserted-metadata.js","../node_modules/next/dist/compiled/source-map08/source-map.js","../node_modules/next/dist/server/normalizers/prefixing-normalizer.js","../node_modules/next/dist/server/normalizers/normalizers.js","../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js","../node_modules/next/dist/server/normalizers/absolute-filename-normalizer.js","../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../node_modules/sharp/lib/is.js","../node_modules/sharp/lib/sharp.js","../node_modules/sharp/lib/libvips.js","../node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js","../node_modules/next/dist/shared/lib/server-inserted-metadata.shared-runtime.js","../node_modules/next/dist/compiled/p-queue/package.json","../node_modules/next/dist/server/ReactDOMServerPages.js","../node_modules/next/dist/lib/non-nullable.js","../node_modules/next/dist/server/optimize-amp.js","../node_modules/next/dist/compiled/babel/bundle.js","../node_modules/next/dist/compiled/p-queue/index.js","../node_modules/next/dist/shared/lib/side-effect.js","../node_modules/next/dist/shared/lib/image-config.js","../node_modules/next/dist/lib/error-telemetry-utils.js","../node_modules/next/dist/server/htmlescape.js","../node_modules/next/dist/lib/client-and-server-references.js","../node_modules/next/dist/client/add-base-path.js","../node_modules/next/dist/client/remove-base-path.js","../node_modules/next/dist/client/has-base-path.js","../node_modules/next/dist/compiled/data-uri-to-buffer/package.json","../node_modules/next/dist/compiled/shell-quote/package.json","../node_modules/next/dist/compiled/stacktrace-parser/package.json","../node_modules/next/dist/compiled/react-is/package.json","../node_modules/next/dist/compiled/strip-ansi/package.json","../node_modules/next/dist/shared/lib/utils/warn-once.js","../node_modules/next/dist/client/components/is-next-router-error.js","../node_modules/next/dist/server/app-render/types.js","../node_modules/next/dist/server/app-render/csrf-protection.js","../node_modules/next/dist/server/app-render/react-server.node.js","../node_modules/next/dist/shared/lib/encode-uri-path.js","../node_modules/next/dist/server/lib/app-dir-module.js","../node_modules/next/dist/server/app-render/interop-default.js","../node_modules/next/dist/server/app-render/get-layer-assets.js","../node_modules/next/dist/server/lib/patch-fetch.js","../node_modules/next/dist/server/app-render/has-loading-component-in-tree.js","../node_modules/next/dist/client/components/parallel-route-default.js","../node_modules/next/dist/server/app-render/get-preloadable-fonts.js","../node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js","../node_modules/next/dist/client/components/match-segments.js","../node_modules/next/dist/client/components/segment-cache.js","../node_modules/next/dist/client/components/use-action-queue.js","../node_modules/next/dist/client/components/links.js","../node_modules/next/dist/server/app-render/render-css-resource.js","../node_modules/next/dist/server/resume-data-cache/cache-store.js","../node_modules/next/dist/client/components/error-boundary.js","../node_modules/next/dist/client/components/redirect-boundary.js","../node_modules/next/dist/client/components/app-router-announcer.js","../node_modules/next/dist/client/components/unresolved-thenable.js","../node_modules/next/dist/client/components/nav-failure-handler.js","../node_modules/next/dist/client/flight-data-helpers.js","../node_modules/next/dist/server/lib/server-ipc/utils.js","../node_modules/next/dist/client/components/router-reducer/router-reducer-types.js","../node_modules/next/dist/client/components/router-reducer/router-reducer.js","../node_modules/next/dist/client/components/router-reducer/create-href-from-url.js","../node_modules/next/dist/client/components/router-reducer/compute-changed-path.js","../node_modules/next/dist/client/components/http-access-fallback/error-boundary.js","../node_modules/next/dist/server/app-render/render-to-string.js","../node_modules/next/dist/compiled/nanoid/package.json","../node_modules/detect-libc/package.json","../node_modules/next/dist/client/components/router-reducer/reducers/prefetch-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js","../node_modules/next/dist/client/components/react-dev-overlay/app/hot-reloader-client.js","../node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js","../node_modules/next/dist/client/components/router-reducer/fill-lazy-items-till-leaf-with-head.js","../node_modules/next/dist/client/components/router-reducer/prefetch-cache-utils.js","../node_modules/next/dist/client/components/router-reducer/refetch-inactive-parallel-segments.js","../node_modules/color/index.js","../node_modules/next/dist/shared/lib/page-path/absolute-path-to-page.js","../node_modules/next/dist/compiled/data-uri-to-buffer/index.js","../node_modules/next/dist/compiled/shell-quote/index.js","../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../node_modules/next/dist/compiled/react-is/index.js","../node_modules/next/dist/compiled/strip-ansi/index.js","../node_modules/react/jsx-dev-runtime.js","../node_modules/color/package.json","../node_modules/detect-libc/lib/detect-libc.js","../node_modules/next/dist/compiled/nanoid/index.cjs","../node_modules/sharp/node_modules/semver/functions/coerce.js","../node_modules/sharp/node_modules/semver/functions/satisfies.js","../node_modules/sharp/node_modules/semver/functions/gte.js","../node_modules/react-dom/index.js","../node_modules/sharp/node_modules/semver/package.json","../node_modules/busboy/package.json","../node_modules/next/dist/client/normalize-trailing-slash.js","../node_modules/next/dist/shared/lib/server-reference-info.js","../node_modules/@swc/helpers/_/_interop_require_wildcard/package.json","../node_modules/next/dist/server/lib/clone-response.js","../node_modules/next/dist/client/components/not-found.js","../node_modules/next/dist/server/lib/dedupe-fetch.js","../node_modules/next/dist/client/components/navigation-untracked.js","../node_modules/next/dist/client/components/navigation.js","../node_modules/react/cjs/react-jsx-dev-runtime.production.min.js","../node_modules/busboy/lib/index.js","../node_modules/next/dist/client/components/segment-cache-impl/navigation.js","../node_modules/next/dist/client/components/segment-cache-impl/scheduler.js","../node_modules/next/dist/client/components/segment-cache-impl/cache.js","../node_modules/next/dist/client/components/segment-cache-impl/cache-key.js","../node_modules/next/dist/client/components/segment-cache-impl/prefetch.js","../node_modules/next/dist/compiled/string-hash/package.json","../node_modules/next/dist/compiled/superstruct/package.json","../node_modules/next/dist/compiled/bytes/package.json","../node_modules/detect-libc/lib/filesystem.js","../node_modules/detect-libc/lib/process.js","../node_modules/next/dist/client/components/promise-queue.js","../node_modules/next/dist/server/dev/hot-reloader-types.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/dev-indicator/use-sync-dev-render-indicator.js","../node_modules/next/dist/lib/metadata/get-metadata-route.js","../node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js","../node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js","../node_modules/next/dist/client/components/router-reducer/apply-flight-data.js","../node_modules/next/dist/client/components/router-reducer/fetch-server-response.js","../node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js","../node_modules/next/dist/client/components/react-dev-overlay/shared.js","../node_modules/next/dist/client/components/errors/use-error-handler.js","../node_modules/next/dist/client/components/errors/stitched-error.js","../node_modules/next/dist/client/components/errors/runtime-error-handler.js","../node_modules/next/dist/shared/lib/page-path/remove-page-path-tail.js","../node_modules/next/dist/compiled/react-is/cjs/react-is.production.js","../node_modules/next/dist/compiled/react-is/cjs/react-is.development.js","../node_modules/next/dist/client/components/react-dev-overlay/app/app-dev-overlay.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/report-hmr-latency.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/parse-component-stack.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/turbopack-hot-reloader-common.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/use-websocket.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/format-webpack-messages.js","../node_modules/next/dist/client/dev/dev-build-indicator/internal/handle-dev-build-indicator-hmr-events.js","../node_modules/react-dom/cjs/react-dom.production.min.js","../node_modules/next/dist/compiled/string-hash/index.js","../node_modules/next/dist/compiled/superstruct/index.cjs","../node_modules/next/dist/compiled/bytes/index.js","../node_modules/sharp/node_modules/semver/classes/semver.js","../node_modules/sharp/node_modules/semver/internal/re.js","../node_modules/sharp/node_modules/semver/functions/parse.js","../node_modules/sharp/node_modules/semver/classes/range.js","../node_modules/sharp/node_modules/semver/functions/compare.js","../node_modules/color-string/index.js","../node_modules/color-convert/index.js","../node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs","../node_modules/color-string/package.json","../node_modules/color-convert/package.json","../node_modules/busboy/lib/utils.js","../node_modules/next/dist/compiled/browserslist/package.json","../node_modules/next/dist/compiled/babel-packages/package.json","../node_modules/next/dist/compiled/json5/package.json","../node_modules/next/dist/compiled/semver/package.json","../node_modules/next/dist/compiled/lru-cache/package.json","../node_modules/busboy/lib/types/multipart.js","../node_modules/busboy/lib/types/urlencoded.js","../node_modules/next/dist/client/components/navigation.react-server.js","../node_modules/next/dist/client/components/bailout-to-client-rendering.js","../node_modules/next/dist/client/app-build-id.js","../node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.js","../node_modules/next/dist/client/components/router-reducer/ppr-navigations.js","../node_modules/next/dist/compiled/browserslist/index.js","../node_modules/next/dist/compiled/babel-packages/packages-bundle.js","../node_modules/next/dist/compiled/json5/index.js","../node_modules/color-convert/conversions.js","../node_modules/color-convert/route.js","../node_modules/next/dist/client/app-find-source-map-url.js","../node_modules/next/dist/client/assign-location.js","../node_modules/next/dist/client/app-call-server.js","../node_modules/next/dist/compiled/semver/index.js","../node_modules/next/dist/compiled/lru-cache/index.js","../node_modules/next/dist/client/components/segment-cache-impl/lru.js","../node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js","../node_modules/next/dist/client/components/segment-cache-impl/tuple-map.js","../node_modules/next/dist/shared/lib/hash.js","../node_modules/next/dist/client/lib/console.js","../node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js","../node_modules/next/dist/client/components/router-reducer/apply-router-state-patch-to-tree.js","../node_modules/next/dist/client/components/router-reducer/handle-mutable.js","../node_modules/next/dist/client/components/router-reducer/invalidate-cache-below-flight-segmentpath.js","../node_modules/next/dist/client/components/router-reducer/should-hard-navigate.js","../node_modules/next/dist/client/components/router-reducer/clear-cache-node-data-for-segment-path.js","../node_modules/next/dist/client/components/router-reducer/aliased-prefetch-navigations.js","../node_modules/next/dist/client/components/router-reducer/handle-segment-mismatch.js","../node_modules/next/dist/client/components/router-reducer/fill-cache-with-new-subtree-data.js","../node_modules/next/dist/client/components/router-reducer/set-cache-busting-search-param.js","../node_modules/next/dist/client/components/errors/attach-hydration-error-state.js","../node_modules/next/dist/client/components/errors/hydration-error-info.js","../node_modules/next/dist/client/components/errors/enqueue-client-error.js","../node_modules/next/dist/client/components/errors/console-error.js","../node_modules/next/dist/client/components/router-reducer/reducers/has-interception-route-in-current-tree.js","../node_modules/sharp/node_modules/semver/internal/constants.js","../node_modules/sharp/node_modules/semver/internal/debug.js","../node_modules/sharp/node_modules/semver/internal/lrucache.js","../node_modules/sharp/node_modules/semver/classes/comparator.js","../node_modules/sharp/node_modules/semver/internal/parse-options.js","../node_modules/sharp/node_modules/semver/internal/identifiers.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/dev-indicator/dev-render-indicator.js","../node_modules/next/dist/client/components/react-dev-overlay/app/app-dev-overlay-error-boundary.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/dev-overlay.js","../node_modules/next/dist/client/components/react-dev-overlay/font/font-styles.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/get-socket-url.js","../node_modules/next/dist/client/dev/dev-build-indicator/internal/dev-build-indicator.js","../node_modules/scheduler/package.json","../node_modules/color-name/package.json","../node_modules/simple-swizzle/index.js","../node_modules/scheduler/index.js","../node_modules/next/dist/client/components/unauthorized.js","../node_modules/next/dist/client/components/unstable-rethrow.js","../node_modules/next/dist/client/components/forbidden.js","../node_modules/color-name/index.js","../node_modules/simple-swizzle/package.json","../node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json","../node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json","../node_modules/streamsearch/package.json","../node_modules/next/dist/client/components/router-reducer/invalidate-cache-by-router-state.js","../node_modules/sharp/node_modules/semver/functions/cmp.js","../node_modules/streamsearch/lib/sbmh.js","../node_modules/scheduler/cjs/scheduler.production.min.js","../node_modules/scheduler/cjs/scheduler.development.js","../node_modules/next/dist/shared/lib/normalized-asset-prefix.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/css.js","../node_modules/next/dist/client/dev/dev-build-indicator/internal/initialize.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/shadow-portal.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/styles/base.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/styles/css-reset.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/styles/component-styles.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/styles/dark-theme.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/styles/colors.js","../node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs","../node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs","../node_modules/next/dist/client/components/unstable-rethrow.server.js","../node_modules/next/dist/client/components/unstable-rethrow.browser.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/container/runtime-error/render-error.js","../node_modules/caniuse-lite/dist/unpacker/feature.js","../node_modules/caniuse-lite/dist/unpacker/region.js","../node_modules/caniuse-lite/dist/unpacker/agents.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay/error-overlay.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-info/preferences.js","../node_modules/caniuse-lite/package.json","../node_modules/is-arrayish/index.js","../node_modules/next/dist/compiled/babel/parser.js","../node_modules/next/dist/compiled/babel/types.js","../node_modules/next/dist/compiled/babel/traverse.js","../node_modules/next/dist/compiled/babel/core.js","../node_modules/is-arrayish/package.json","../node_modules/sharp/node_modules/semver/functions/eq.js","../node_modules/sharp/node_modules/semver/functions/neq.js","../node_modules/sharp/node_modules/semver/functions/gt.js","../node_modules/sharp/node_modules/semver/functions/lt.js","../node_modules/sharp/node_modules/semver/functions/lte.js","../node_modules/caniuse-lite/data/agents.js","../node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json","../node_modules/caniuse-lite/dist/unpacker/browsers.js","../node_modules/caniuse-lite/dist/lib/statuses.js","../node_modules/caniuse-lite/dist/unpacker/browserVersions.js","../node_modules/caniuse-lite/dist/lib/supported.js","../node_modules/next/dist/server/lib/router-utils/is-postpone.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/container/errors.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/container/build-error.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/get-error-by-type.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/overlay/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/terminal/editor-link.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-footer/error-overlay-footer.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/hooks/use-delayed-render.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/icons/gear-icon.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-info/dev-tools-info.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-info/turbopack-info.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-info/route-info.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-info/user-preferences.js","../node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/utils.js","../node_modules/caniuse-lite/data/browsers.js","../node_modules/caniuse-lite/data/browserVersions.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/dialog/index.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/toast/index.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/container/runtime-error/index.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/copy-button/index.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/fader/index.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js","../node_modules/next/dist/client/components/react-dev-overlay/utils/stack-frame.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/icons/external.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/utils/use-open-in-editor.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/icons/file.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/utils/cx.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/code-frame/parse-code-frame.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/icons/left-arrow.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/icons/right-arrow.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/icons/eye-icon.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/icons/dark-icon.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/icons/system-icon.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/icons/light-icon.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/overlay/overlay.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dialog/dialog.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dialog/body.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dialog/header.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/utils/merge-refs.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-footer/error-feedback/error-feedback.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/hot-linked-text/index.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/overlay/index.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/terminal/index.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/use-minimum-loading-time-multiple.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/toast/toast.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/toast/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/dialog/dialog-content.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/dialog/dialog.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/dialog/dialog-header.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/dialog/styles.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/dialog/dialog-body.js","../node_modules/next/dist/compiled/anser/package.json","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/hydration-diff/diff-view.js","../node_modules/next/dist/compiled/anser/index.js","../node_modules/next/dist/shared/lib/magic-identifier.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/overlay/overlay.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/icons/thumbs/thumbs-up.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/icons/thumbs/thumbs-down.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/hooks/use-on-click-outside.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/hooks/use-measure-height.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/icons/collapse-icon.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/components/overlay/body-locker.js","../node_modules/next/dist/client/components/react-dev-overlay/ui/utils/parse-url-from-text.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/amp-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js","../node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-metadata.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/amp-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/hooks-client-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/image-config-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/router-context.js","../node_modules/next/dist/server/route-modules/pages/vendored/contexts/server-inserted-html.js"]} \ No newline at end of file diff --git a/.next/package.json b/.next/package.json new file mode 100644 index 00000000..7156107e --- /dev/null +++ b/.next/package.json @@ -0,0 +1 @@ +{"type": "commonjs"} \ No newline at end of file diff --git a/.next/prerender-manifest.json b/.next/prerender-manifest.json new file mode 100644 index 00000000..e2e26b43 --- /dev/null +++ b/.next/prerender-manifest.json @@ -0,0 +1,11 @@ +{ + "version": 4, + "routes": {}, + "dynamicRoutes": {}, + "notFoundRoutes": [], + "preview": { + "previewModeId": "a67ac6cbdf3e218be8ff26fcee870f14", + "previewModeSigningKey": "f7e2169376d37076740dab399c7753c6201c235feb58b6fdcc50c1a1a68b2fb6", + "previewModeEncryptionKey": "9875d46ec21de2163563e48535844050fbd45fd101401c35266ac2241c984f05" + } +} \ No newline at end of file diff --git a/.next/react-loadable-manifest.json b/.next/react-loadable-manifest.json new file mode 100644 index 00000000..420189a4 --- /dev/null +++ b/.next/react-loadable-manifest.json @@ -0,0 +1,31 @@ +{ + "components/email/RichEmailEditor.tsx -> quill": { + "id": 57477, + "files": [ + "static/chunks/7477.89fee76d41baa612.js" + ] + }, + "components/email/RichEmailEditor.tsx -> quill-better-table": { + "id": 98789, + "files": [ + "static/chunks/7477.89fee76d41baa612.js", + "static/chunks/8789.9102a49283389d18.js" + ] + }, + "components/missions/missions-admin-panel.tsx -> @/lib/s3": { + "id": 77192, + "files": [ + "static/chunks/8318a8be.bf5e5d6ca6da8e03.js", + "static/chunks/8322.5427bbb8ba95c77f.js", + "static/chunks/7192.a79c55d917a7065f.js" + ] + }, + "components/observatory/observatory-map.tsx -> ./map-component": { + "id": 18568, + "files": [ + "static/css/1de76be520b4de19.css", + "static/chunks/d0deef33.a586094e67e92d1c.js", + "static/chunks/8568.cc2ee106cdc286e9.js" + ] + } +} \ No newline at end of file diff --git a/.next/required-server-files.json b/.next/required-server-files.json new file mode 100644 index 00000000..7a4105ce --- /dev/null +++ b/.next/required-server-files.json @@ -0,0 +1,308 @@ +{ + "version": 1, + "config": { + "env": {}, + "eslint": { + "ignoreDuringBuilds": false + }, + "typescript": { + "ignoreBuildErrors": false, + "tsconfigPath": "tsconfig.json" + }, + "distDir": ".next", + "cleanDistDir": true, + "assetPrefix": "", + "cacheMaxMemorySize": 52428800, + "configOrigin": "next.config.js", + "useFileSystemPublicRoutes": true, + "generateEtags": true, + "pageExtensions": [ + "tsx", + "ts", + "jsx", + "js" + ], + "poweredByHeader": true, + "compress": true, + "images": { + "deviceSizes": [ + 640, + 750, + 828, + 1080, + 1200, + 1920, + 2048, + 3840 + ], + "imageSizes": [ + 16, + 32, + 48, + 64, + 96, + 128, + 256, + 384 + ], + "path": "/_next/image", + "loader": "default", + "loaderFile": "", + "domains": [], + "disableStaticImages": false, + "minimumCacheTTL": 60, + "formats": [ + "image/webp" + ], + "dangerouslyAllowSVG": false, + "contentSecurityPolicy": "script-src 'none'; frame-src 'none'; sandbox;", + "contentDispositionType": "attachment", + "remotePatterns": [], + "unoptimized": false + }, + "devIndicators": { + "position": "bottom-left" + }, + "onDemandEntries": { + "maxInactiveAge": 60000, + "pagesBufferLength": 5 + }, + "amp": { + "canonicalBase": "" + }, + "basePath": "", + "sassOptions": {}, + "trailingSlash": false, + "i18n": null, + "productionBrowserSourceMaps": false, + "excludeDefaultMomentLocales": true, + "serverRuntimeConfig": {}, + "publicRuntimeConfig": {}, + "reactProductionProfiling": false, + "reactStrictMode": null, + "reactMaxHeadersLength": 6000, + "httpAgentOptions": { + "keepAlive": true + }, + "logging": {}, + "expireTime": 31536000, + "staticPageGenerationTimeout": 60, + "modularizeImports": { + "@mui/icons-material": { + "transform": "@mui/icons-material/{{member}}" + }, + "lodash": { + "transform": "lodash/{{member}}" + } + }, + "outputFileTracingRoot": "/Users/alma/Documents/NeahNew", + "experimental": { + "nodeMiddleware": false, + "cacheLife": { + "default": { + "stale": 300, + "revalidate": 900, + "expire": 4294967294 + }, + "seconds": { + "stale": 0, + "revalidate": 1, + "expire": 60 + }, + "minutes": { + "stale": 300, + "revalidate": 60, + "expire": 3600 + }, + "hours": { + "stale": 300, + "revalidate": 3600, + "expire": 86400 + }, + "days": { + "stale": 300, + "revalidate": 86400, + "expire": 604800 + }, + "weeks": { + "stale": 300, + "revalidate": 604800, + "expire": 2592000 + }, + "max": { + "stale": 300, + "revalidate": 2592000, + "expire": 4294967294 + } + }, + "cacheHandlers": {}, + "cssChunking": true, + "multiZoneDraftMode": false, + "appNavFailHandling": false, + "prerenderEarlyExit": true, + "serverMinification": true, + "serverSourceMaps": false, + "linkNoTouchStart": false, + "caseSensitiveRoutes": false, + "clientSegmentCache": false, + "dynamicOnHover": false, + "preloadEntriesOnStart": true, + "clientRouterFilter": true, + "clientRouterFilterRedirects": false, + "fetchCacheKeyPrefix": "", + "middlewarePrefetch": "flexible", + "optimisticClientCache": true, + "manualClientBasePath": false, + "cpus": 7, + "memoryBasedWorkersCount": false, + "imgOptConcurrency": null, + "imgOptTimeoutInSeconds": 7, + "imgOptMaxInputPixels": 268402689, + "imgOptSequentialRead": null, + "isrFlushToDisk": true, + "workerThreads": false, + "optimizeCss": false, + "nextScriptWorkers": false, + "scrollRestoration": false, + "externalDir": false, + "disableOptimizedLoading": false, + "gzipSize": true, + "craCompat": false, + "esmExternals": true, + "fullySpecified": false, + "swcTraceProfiling": false, + "forceSwcTransforms": false, + "largePageDataBytes": 128000, + "typedRoutes": false, + "typedEnv": false, + "parallelServerCompiles": false, + "parallelServerBuildTraces": false, + "ppr": false, + "authInterrupts": false, + "webpackMemoryOptimizations": false, + "optimizeServerReact": true, + "useEarlyImport": false, + "viewTransition": false, + "routerBFCache": false, + "staleTimes": { + "dynamic": 0, + "static": 300 + }, + "serverComponentsHmrCache": true, + "staticGenerationMaxConcurrency": 8, + "staticGenerationMinPagesPerWorker": 25, + "dynamicIO": false, + "inlineCss": false, + "useCache": false, + "optimizePackageImports": [ + "lucide-react", + "date-fns", + "lodash-es", + "ramda", + "antd", + "react-bootstrap", + "ahooks", + "@ant-design/icons", + "@headlessui/react", + "@headlessui-float/react", + "@heroicons/react/20/solid", + "@heroicons/react/24/solid", + "@heroicons/react/24/outline", + "@visx/visx", + "@tremor/react", + "rxjs", + "@mui/material", + "@mui/icons-material", + "recharts", + "react-use", + "effect", + "@effect/schema", + "@effect/platform", + "@effect/platform-node", + "@effect/platform-browser", + "@effect/platform-bun", + "@effect/sql", + "@effect/sql-mssql", + "@effect/sql-mysql2", + "@effect/sql-pg", + "@effect/sql-squlite-node", + "@effect/sql-squlite-bun", + "@effect/sql-squlite-wasm", + "@effect/sql-squlite-react-native", + "@effect/rpc", + "@effect/rpc-http", + "@effect/typeclass", + "@effect/experimental", + "@effect/opentelemetry", + "@material-ui/core", + "@material-ui/icons", + "@tabler/icons-react", + "mui-core", + "react-icons/ai", + "react-icons/bi", + "react-icons/bs", + "react-icons/cg", + "react-icons/ci", + "react-icons/di", + "react-icons/fa", + "react-icons/fa6", + "react-icons/fc", + "react-icons/fi", + "react-icons/gi", + "react-icons/go", + "react-icons/gr", + "react-icons/hi", + "react-icons/hi2", + "react-icons/im", + "react-icons/io", + "react-icons/io5", + "react-icons/lia", + "react-icons/lib", + "react-icons/lu", + "react-icons/md", + "react-icons/pi", + "react-icons/ri", + "react-icons/rx", + "react-icons/si", + "react-icons/sl", + "react-icons/tb", + "react-icons/tfi", + "react-icons/ti", + "react-icons/vsc", + "react-icons/wi" + ], + "trustHostHeader": false, + "isExperimentalCompile": false + }, + "htmlLimitedBots": "Mediapartners-Google|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti", + "bundlePagesRouterDependencies": false, + "configFileName": "next.config.js", + "turbopack": { + "root": "/Users/alma/Documents/NeahNew" + } + }, + "appDir": "/Users/alma/Documents/NeahNew", + "relativeAppDir": "", + "files": [ + ".next/routes-manifest.json", + ".next/server/pages-manifest.json", + ".next/build-manifest.json", + ".next/prerender-manifest.json", + ".next/server/functions-config-manifest.json", + ".next/server/middleware-manifest.json", + ".next/server/middleware-build-manifest.js", + ".next/server/middleware-react-loadable-manifest.js", + ".next/react-loadable-manifest.json", + ".next/server/app-paths-manifest.json", + ".next/app-path-routes-manifest.json", + ".next/app-build-manifest.json", + ".next/server/server-reference-manifest.js", + ".next/server/server-reference-manifest.json", + ".next/BUILD_ID", + ".next/server/next-font-manifest.js", + ".next/server/next-font-manifest.json" + ], + "ignore": [ + "node_modules/next/dist/compiled/@ampproject/toolbox-optimizer/**/*" + ] +} \ No newline at end of file diff --git a/.next/routes-manifest.json b/.next/routes-manifest.json new file mode 100644 index 00000000..cbe0d920 --- /dev/null +++ b/.next/routes-manifest.json @@ -0,0 +1,459 @@ +{ + "version": 3, + "pages404": true, + "caseSensitive": false, + "basePath": "", + "redirects": [ + { + "source": "/:path+/", + "destination": "/:path+", + "internal": true, + "statusCode": 308, + "regex": "^(?:/((?:[^/]+?)(?:/(?:[^/]+?))*))/$" + } + ], + "headers": [], + "dynamicRoutes": [ + { + "page": "/api/announcements/[id]", + "regex": "^/api/announcements/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPid": "nxtPid" + }, + "namedRegex": "^/api/announcements/(?[^/]+?)(?:/)?$" + }, + { + "page": "/api/auth/[...nextauth]", + "regex": "^/api/auth/(.+?)(?:/)?$", + "routeKeys": { + "nxtPnextauth": "nxtPnextauth" + }, + "namedRegex": "^/api/auth/(?.+?)(?:/)?$" + }, + { + "page": "/api/calendars/[id]", + "regex": "^/api/calendars/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPid": "nxtPid" + }, + "namedRegex": "^/api/calendars/(?[^/]+?)(?:/)?$" + }, + { + "page": "/api/calendars/[id]/events", + "regex": "^/api/calendars/([^/]+?)/events(?:/)?$", + "routeKeys": { + "nxtPid": "nxtPid" + }, + "namedRegex": "^/api/calendars/(?[^/]+?)/events(?:/)?$" + }, + { + "page": "/api/calendars/[id]/events/[eventId]", + "regex": "^/api/calendars/([^/]+?)/events/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPid": "nxtPid", + "nxtPeventId": "nxtPeventId" + }, + "namedRegex": "^/api/calendars/(?[^/]+?)/events/(?[^/]+?)(?:/)?$" + }, + { + "page": "/api/calendars/[id]/share", + "regex": "^/api/calendars/([^/]+?)/share(?:/)?$", + "routeKeys": { + "nxtPid": "nxtPid" + }, + "namedRegex": "^/api/calendars/(?[^/]+?)/share(?:/)?$" + }, + { + "page": "/api/courrier/[id]", + "regex": "^/api/courrier/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPid": "nxtPid" + }, + "namedRegex": "^/api/courrier/(?[^/]+?)(?:/)?$" + }, + { + "page": "/api/courrier/[id]/flag", + "regex": "^/api/courrier/([^/]+?)/flag(?:/)?$", + "routeKeys": { + "nxtPid": "nxtPid" + }, + "namedRegex": "^/api/courrier/(?[^/]+?)/flag(?:/)?$" + }, + { + "page": "/api/courrier/[id]/mark-read", + "regex": "^/api/courrier/([^/]+?)/mark\\-read(?:/)?$", + "routeKeys": { + "nxtPid": "nxtPid" + }, + "namedRegex": "^/api/courrier/(?[^/]+?)/mark\\-read(?:/)?$" + }, + { + "page": "/api/events/[id]", + "regex": "^/api/events/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPid": "nxtPid" + }, + "namedRegex": "^/api/events/(?[^/]+?)(?:/)?$" + }, + { + "page": "/api/groups/[groupId]", + "regex": "^/api/groups/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPgroupId": "nxtPgroupId" + }, + "namedRegex": "^/api/groups/(?[^/]+?)(?:/)?$" + }, + { + "page": "/api/groups/[groupId]/members", + "regex": "^/api/groups/([^/]+?)/members(?:/)?$", + "routeKeys": { + "nxtPgroupId": "nxtPgroupId" + }, + "namedRegex": "^/api/groups/(?[^/]+?)/members(?:/)?$" + }, + { + "page": "/api/missions/image/[...path]", + "regex": "^/api/missions/image/(.+?)(?:/)?$", + "routeKeys": { + "nxtPpath": "nxtPpath" + }, + "namedRegex": "^/api/missions/image/(?.+?)(?:/)?$" + }, + { + "page": "/api/missions/[missionId]", + "regex": "^/api/missions/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPmissionId": "nxtPmissionId" + }, + "namedRegex": "^/api/missions/(?[^/]+?)(?:/)?$" + }, + { + "page": "/api/missions/[missionId]/attachments", + "regex": "^/api/missions/([^/]+?)/attachments(?:/)?$", + "routeKeys": { + "nxtPmissionId": "nxtPmissionId" + }, + "namedRegex": "^/api/missions/(?[^/]+?)/attachments(?:/)?$" + }, + { + "page": "/api/missions/[missionId]/attachments/download/[attachmentId]", + "regex": "^/api/missions/([^/]+?)/attachments/download/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPmissionId": "nxtPmissionId", + "nxtPattachmentId": "nxtPattachmentId" + }, + "namedRegex": "^/api/missions/(?[^/]+?)/attachments/download/(?[^/]+?)(?:/)?$" + }, + { + "page": "/api/missions/[missionId]/attachments/[attachmentId]", + "regex": "^/api/missions/([^/]+?)/attachments/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPmissionId": "nxtPmissionId", + "nxtPattachmentId": "nxtPattachmentId" + }, + "namedRegex": "^/api/missions/(?[^/]+?)/attachments/(?[^/]+?)(?:/)?$" + }, + { + "page": "/api/notifications/[id]/read", + "regex": "^/api/notifications/([^/]+?)/read(?:/)?$", + "routeKeys": { + "nxtPid": "nxtPid" + }, + "namedRegex": "^/api/notifications/(?[^/]+?)/read(?:/)?$" + }, + { + "page": "/api/users/[userId]", + "regex": "^/api/users/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPuserId": "nxtPuserId" + }, + "namedRegex": "^/api/users/(?[^/]+?)(?:/)?$" + }, + { + "page": "/api/users/[userId]/password", + "regex": "^/api/users/([^/]+?)/password(?:/)?$", + "routeKeys": { + "nxtPuserId": "nxtPuserId" + }, + "namedRegex": "^/api/users/(?[^/]+?)/password(?:/)?$" + }, + { + "page": "/api/users/[userId]/roles", + "regex": "^/api/users/([^/]+?)/roles(?:/)?$", + "routeKeys": { + "nxtPuserId": "nxtPuserId" + }, + "namedRegex": "^/api/users/(?[^/]+?)/roles(?:/)?$" + }, + { + "page": "/courrier/[id]", + "regex": "^/courrier/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPid": "nxtPid" + }, + "namedRegex": "^/courrier/(?[^/]+?)(?:/)?$" + }, + { + "page": "/mission-tab/[missionId]", + "regex": "^/mission\\-tab/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPmissionId": "nxtPmissionId" + }, + "namedRegex": "^/mission\\-tab/(?[^/]+?)(?:/)?$" + }, + { + "page": "/missions/[missionId]", + "regex": "^/missions/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPmissionId": "nxtPmissionId" + }, + "namedRegex": "^/missions/(?[^/]+?)(?:/)?$" + }, + { + "page": "/missions/[missionId]/edit", + "regex": "^/missions/([^/]+?)/edit(?:/)?$", + "routeKeys": { + "nxtPmissionId": "nxtPmissionId" + }, + "namedRegex": "^/missions/(?[^/]+?)/edit(?:/)?$" + }, + { + "page": "/[section]", + "regex": "^/([^/]+?)(?:/)?$", + "routeKeys": { + "nxtPsection": "nxtPsection" + }, + "namedRegex": "^/(?[^/]+?)(?:/)?$" + } + ], + "staticRoutes": [ + { + "page": "/", + "regex": "^/(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/(?:/)?$" + }, + { + "page": "/_not-found", + "regex": "^/_not\\-found(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/_not\\-found(?:/)?$" + }, + { + "page": "/agenda", + "regex": "^/agenda(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/agenda(?:/)?$" + }, + { + "page": "/agilite", + "regex": "^/agilite(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/agilite(?:/)?$" + }, + { + "page": "/alma", + "regex": "^/alma(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/alma(?:/)?$" + }, + { + "page": "/announcement", + "regex": "^/announcement(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/announcement(?:/)?$" + }, + { + "page": "/apprendre", + "regex": "^/apprendre(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/apprendre(?:/)?$" + }, + { + "page": "/artlab", + "regex": "^/artlab(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/artlab(?:/)?$" + }, + { + "page": "/calcul", + "regex": "^/calcul(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/calcul(?:/)?$" + }, + { + "page": "/chapitre", + "regex": "^/chapitre(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/chapitre(?:/)?$" + }, + { + "page": "/courrier", + "regex": "^/courrier(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/courrier(?:/)?$" + }, + { + "page": "/crm", + "regex": "^/crm(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/crm(?:/)?$" + }, + { + "page": "/dossiers", + "regex": "^/dossiers(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/dossiers(?:/)?$" + }, + { + "page": "/equipes", + "regex": "^/equipes(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/equipes(?:/)?$" + }, + { + "page": "/gite", + "regex": "^/gite(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/gite(?:/)?$" + }, + { + "page": "/groups", + "regex": "^/groups(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/groups(?:/)?$" + }, + { + "page": "/livres", + "regex": "^/livres(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/livres(?:/)?$" + }, + { + "page": "/mediation", + "regex": "^/mediation(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/mediation(?:/)?$" + }, + { + "page": "/mission-tab", + "regex": "^/mission\\-tab(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/mission\\-tab(?:/)?$" + }, + { + "page": "/missions", + "regex": "^/missions(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/missions(?:/)?$" + }, + { + "page": "/missions/new", + "regex": "^/missions/new(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/missions/new(?:/)?$" + }, + { + "page": "/ms", + "regex": "^/ms(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/ms(?:/)?$" + }, + { + "page": "/observatory", + "regex": "^/observatory(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/observatory(?:/)?$" + }, + { + "page": "/pages", + "regex": "^/pages(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/pages(?:/)?$" + }, + { + "page": "/parole", + "regex": "^/parole(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/parole(?:/)?$" + }, + { + "page": "/press", + "regex": "^/press(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/press(?:/)?$" + }, + { + "page": "/radio", + "regex": "^/radio(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/radio(?:/)?$" + }, + { + "page": "/showcase", + "regex": "^/showcase(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/showcase(?:/)?$" + }, + { + "page": "/signin", + "regex": "^/signin(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/signin(?:/)?$" + }, + { + "page": "/signout", + "regex": "^/signout(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/signout(?:/)?$" + }, + { + "page": "/the-message", + "regex": "^/the\\-message(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/the\\-message(?:/)?$" + }, + { + "page": "/timetracker", + "regex": "^/timetracker(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/timetracker(?:/)?$" + }, + { + "page": "/users", + "regex": "^/users(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/users(?:/)?$" + }, + { + "page": "/vision", + "regex": "^/vision(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/vision(?:/)?$" + }, + { + "page": "/wp-admin", + "regex": "^/wp\\-admin(?:/)?$", + "routeKeys": {}, + "namedRegex": "^/wp\\-admin(?:/)?$" + } + ], + "dataRoutes": [], + "rsc": { + "header": "RSC", + "varyHeader": "RSC, Next-Router-State-Tree, Next-Router-Prefetch, Next-Router-Segment-Prefetch", + "prefetchHeader": "Next-Router-Prefetch", + "didPostponeHeader": "x-nextjs-postponed", + "contentTypeHeader": "text/x-component", + "suffix": ".rsc", + "prefetchSuffix": ".prefetch.rsc", + "prefetchSegmentHeader": "Next-Router-Segment-Prefetch", + "prefetchSegmentSuffix": ".segment.rsc", + "prefetchSegmentDirSuffix": ".segments" + }, + "rewriteHeaders": { + "pathHeader": "x-nextjs-rewritten-path", + "queryHeader": "x-nextjs-rewritten-query" + }, + "rewrites": [] +} \ No newline at end of file diff --git a/.next/server/app-paths-manifest.json b/.next/server/app-paths-manifest.json new file mode 100644 index 00000000..7ce16206 --- /dev/null +++ b/.next/server/app-paths-manifest.json @@ -0,0 +1,123 @@ +{ + "/api/admin/view-redis-credentials/route": "app/api/admin/view-redis-credentials/route.js", + "/_not-found/page": "app/_not-found/page.js", + "/api/admin/restore-credentials/route": "app/api/admin/restore-credentials/route.js", + "/api/announcements/[id]/route": "app/api/announcements/[id]/route.js", + "/api/announcements/route": "app/api/announcements/route.js", + "/api/auth/[...nextauth]/route": "app/api/auth/[...nextauth]/route.js", + "/api/auth/debug-keycloak/route": "app/api/auth/debug-keycloak/route.js", + "/api/auth/refresh-keycloak-session/route": "app/api/auth/refresh-keycloak-session/route.js", + "/api/calendars/[id]/events/route": "app/api/calendars/[id]/events/route.js", + "/api/calendars/[id]/route": "app/api/calendars/[id]/route.js", + "/api/calendar/route": "app/api/calendar/route.js", + "/api/calendars/[id]/share/route": "app/api/calendars/[id]/share/route.js", + "/api/calendars/[id]/events/[eventId]/route": "app/api/calendars/[id]/events/[eventId]/route.js", + "/api/calendars/default/route": "app/api/calendars/default/route.js", + "/api/courrier/[id]/flag/route": "app/api/courrier/[id]/flag/route.js", + "/api/calendars/route": "app/api/calendars/route.js", + "/api/courrier/[id]/mark-read/route": "app/api/courrier/[id]/mark-read/route.js", + "/api/courrier/[id]/route": "app/api/courrier/[id]/route.js", + "/api/courrier/account-folders/route": "app/api/courrier/account-folders/route.js", + "/api/courrier/account-details/route": "app/api/courrier/account-details/route.js", + "/api/courrier/credentials/route": "app/api/courrier/credentials/route.js", + "/api/courrier/account-list/route": "app/api/courrier/account-list/route.js", + "/api/courrier/debug-account/route": "app/api/courrier/debug-account/route.js", + "/api/courrier/emails/route": "app/api/courrier/emails/route.js", + "/api/courrier/delete/route": "app/api/courrier/delete/route.js", + "/api/courrier/account/route": "app/api/courrier/account/route.js", + "/api/courrier/fix-folders/route": "app/api/courrier/fix-folders/route.js", + "/api/courrier/refresh/route": "app/api/courrier/refresh/route.js", + "/api/courrier/microsoft/route": "app/api/courrier/microsoft/route.js", + "/api/courrier/route": "app/api/courrier/route.js", + "/api/courrier/recache/route": "app/api/courrier/recache/route.js", + "/api/courrier/send/route": "app/api/courrier/send/route.js", + "/api/courrier/microsoft/callback/route": "app/api/courrier/microsoft/callback/route.js", + "/api/courrier/test-connection/route": "app/api/courrier/test-connection/route.js", + "/api/debug-email/route": "app/api/debug-email/route.js", + "/api/debug/notifications/route": "app/api/debug/notifications/route.js", + "/api/debug/create-all-folders/route": "app/api/debug/create-all-folders/route.js", + "/api/debug/leantime-methods/route": "app/api/debug/leantime-methods/route.js", + "/api/courrier/session/route": "app/api/courrier/session/route.js", + "/api/debug/s3/route": "app/api/debug/s3/route.js", + "/api/emails/route": "app/api/emails/route.js", + "/api/groups/[groupId]/members/route": "app/api/groups/[groupId]/members/route.js", + "/api/courrier/unread-counts/route": "app/api/courrier/unread-counts/route.js", + "/api/events/[id]/route": "app/api/events/[id]/route.js", + "/api/groups/[groupId]/route": "app/api/groups/[groupId]/route.js", + "/api/events/route": "app/api/events/route.js", + "/api/groups/route": "app/api/groups/route.js", + "/api/leantime/status-labels/route": "app/api/leantime/status-labels/route.js", + "/api/missions/[missionId]/attachments/[attachmentId]/route": "app/api/missions/[missionId]/attachments/[attachmentId]/route.js", + "/api/leantime/tasks/route": "app/api/leantime/tasks/route.js", + "/api/missions/[missionId]/attachments/download/[attachmentId]/route": "app/api/missions/[missionId]/attachments/download/[attachmentId]/route.js", + "/api/missions/[missionId]/route": "app/api/missions/[missionId]/route.js", + "/api/missions/all/route": "app/api/missions/all/route.js", + "/api/missions/[missionId]/attachments/route": "app/api/missions/[missionId]/attachments/route.js", + "/api/missions/image/[...path]/route": "app/api/missions/image/[...path]/route.js", + "/api/news/route": "app/api/news/route.js", + "/api/missions/route": "app/api/missions/route.js", + "/api/missions/upload/route": "app/api/missions/upload/route.js", + "/api/news/test-backend/route": "app/api/news/test-backend/route.js", + "/api/nextcloud/files/content/route": "app/api/nextcloud/files/content/route.js", + "/api/nextcloud/files/route": "app/api/nextcloud/files/route.js", + "/api/nextcloud/status/route": "app/api/nextcloud/status/route.js", + "/api/notifications/count/route": "app/api/notifications/count/route.js", + "/api/notifications/[id]/read/route": "app/api/notifications/[id]/read/route.js", + "/api/nextcloud/init/route": "app/api/nextcloud/init/route.js", + "/api/notifications/route": "app/api/notifications/route.js", + "/api/redis/status/route": "app/api/redis/status/route.js", + "/api/parse-email/route": "app/api/parse-email/route.js", + "/api/roles/route": "app/api/roles/route.js", + "/api/storage/files/route": "app/api/storage/files/route.js", + "/api/storage/files/content/route": "app/api/storage/files/content/route.js", + "/api/storage/init/route": "app/api/storage/init/route.js", + "/api/sync-users/route": "app/api/sync-users/route.js", + "/api/users/[userId]/password/route": "app/api/users/[userId]/password/route.js", + "/api/rocket-chat/messages/route": "app/api/rocket-chat/messages/route.js", + "/api/storage/status/route": "app/api/storage/status/route.js", + "/api/users/[userId]/route": "app/api/users/[userId]/route.js", + "/api/news/purge-cache/route": "app/api/news/purge-cache/route.js", + "/api/notifications/read-all/route": "app/api/notifications/read-all/route.js", + "/api/users/route": "app/api/users/route.js", + "/courrier/[id]/route": "app/courrier/[id]/route.js", + "/api/storage/init/folder/route": "app/api/storage/init/folder/route.js", + "/api/users/[userId]/roles/route": "app/api/users/[userId]/roles/route.js", + "/[section]/page": "app/[section]/page.js", + "/agilite/page": "app/agilite/page.js", + "/alma/page": "app/alma/page.js", + "/apprendre/page": "app/apprendre/page.js", + "/calcul/page": "app/calcul/page.js", + "/artlab/page": "app/artlab/page.js", + "/dossiers/page": "app/dossiers/page.js", + "/crm/page": "app/crm/page.js", + "/chapitre/page": "app/chapitre/page.js", + "/gite/page": "app/gite/page.js", + "/livres/page": "app/livres/page.js", + "/mediation/page": "app/mediation/page.js", + "/ms/page": "app/ms/page.js", + "/observatory/page": "app/observatory/page.js", + "/showcase/page": "app/showcase/page.js", + "/page": "app/page.js", + "/parole/page": "app/parole/page.js", + "/radio/page": "app/radio/page.js", + "/the-message/page": "app/the-message/page.js", + "/vision/page": "app/vision/page.js", + "/signout/page": "app/signout/page.js", + "/timetracker/page": "app/timetracker/page.js", + "/press/page": "app/press/page.js", + "/announcement/page": "app/announcement/page.js", + "/wp-admin/page": "app/wp-admin/page.js", + "/pages/page": "app/pages/page.js", + "/agenda/page": "app/agenda/page.js", + "/groups/page": "app/groups/page.js", + "/equipes/page": "app/equipes/page.js", + "/users/page": "app/users/page.js", + "/mission-tab/[missionId]/page": "app/mission-tab/[missionId]/page.js", + "/missions/[missionId]/page": "app/missions/[missionId]/page.js", + "/missions/new/page": "app/missions/new/page.js", + "/missions/page": "app/missions/page.js", + "/missions/[missionId]/edit/page": "app/missions/[missionId]/edit/page.js", + "/courrier/page": "app/courrier/page.js", + "/mission-tab/page": "app/mission-tab/page.js", + "/signin/page": "app/signin/page.js" +} \ No newline at end of file diff --git a/.next/server/app/[section]/page.js b/.next/server/app/[section]/page.js new file mode 100644 index 00000000..07902a53 --- /dev/null +++ b/.next/server/app/[section]/page.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=2910,e.ids=[2910],e.modules={163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return o}});let o=r(71042).unstable_rethrow;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},14985:e=>{"use strict";e.exports=require("dns")},15637:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var o=r(37413),n=r(39916);let u={board:"https://example.com/board",chapter:"https://example.com/chapter",flow:"https://example.com/flow",design:"https://example.com/design",gitlab:"https://gitlab.com",crm:"https://example.com/crm",missions:"https://example.com/missions"};async function i({params:e}){let{section:t}=await e,r=u[t];return r||(0,n.notFound)(),(0,o.jsx)("div",{className:"w-full h-[calc(100vh-8rem)]",children:(0,o.jsx)("iframe",{src:r,className:"w-full h-full border-none",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})}},17905:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>i.a,__next_app__:()=>c,pages:()=>l,routeModule:()=>p,tree:()=>d});var o=r(65239),n=r(48088),u=r(88170),i=r.n(u),s=r(30893),a={};for(let e in s)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(a[e]=()=>s[e]);r.d(t,a);let d={children:["",{children:["[section]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,15637)),"/Users/alma/Documents/NeahNew/app/[section]/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/Users/alma/Documents/NeahNew/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,l=["/Users/alma/Documents/NeahNew/app/[section]/page.tsx"],c={require:r,loadChunk:()=>Promise.resolve()},p=new o.AppPageRouteModule({definition:{kind:n.RouteKind.APP_PAGE,page:"/[section]/page",pathname:"/[section]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:d}})},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:e=>{"use strict";e.exports=require("os")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},34631:e=>{"use strict";e.exports=require("tls")},39916:(e,t,r)=>{"use strict";var o=r(97576);r.o(o,"notFound")&&r.d(t,{notFound:function(){return o.notFound}}),r.o(o,"redirect")&&r.d(t,{redirect:function(){return o.redirect}})},41204:e=>{"use strict";e.exports=require("string_decoder")},48976:(e,t,r)=>{"use strict";function o(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"forbidden",{enumerable:!0,get:function(){return o}}),r(8704).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},62765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return n}});let o=""+r(8704).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function n(){let e=Object.defineProperty(Error(o),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw e.digest=o,e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},70899:(e,t,r)=>{"use strict";function o(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unauthorized",{enumerable:!0,get:function(){return o}}),r(8704).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},71042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,i.isNextRouterError)(t)||(0,u.isBailoutToCSRError)(t)||(0,a.isDynamicServerError)(t)||(0,s.isDynamicPostpone)(t)||(0,n.isPostpone)(t)||(0,o.isHangingPromiseRejectionError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let o=r(68388),n=r(52637),u=r(51846),i=r(31162),s=r(84971),a=r(98479);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},83997:e=>{"use strict";e.exports=require("tty")},86897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return c},getRedirectTypeFromError:function(){return l},getURLFromRedirectError:function(){return d},permanentRedirect:function(){return a},redirect:function(){return s}});let o=r(52836),n=r(49026),u=r(19121).actionAsyncStorage;function i(e,t,r){void 0===r&&(r=o.RedirectStatusCode.TemporaryRedirect);let u=Object.defineProperty(Error(n.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return u.digest=n.REDIRECT_ERROR_CODE+";"+t+";"+e+";"+r+";",u}function s(e,t){var r;throw null!=t||(t=(null==u||null==(r=u.getStore())?void 0:r.isAction)?n.RedirectType.push:n.RedirectType.replace),i(e,t,o.RedirectStatusCode.TemporaryRedirect)}function a(e,t){throw void 0===t&&(t=n.RedirectType.replace),i(e,t,o.RedirectStatusCode.PermanentRedirect)}function d(e){return(0,n.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function l(e){if(!(0,n.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return e.digest.split(";",2)[1]}function c(e){if(!(0,n.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(e.digest.split(";").at(-2))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91645:e=>{"use strict";e.exports=require("net")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{},97576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return l},RedirectType:function(){return n.RedirectType},forbidden:function(){return i.forbidden},notFound:function(){return u.notFound},permanentRedirect:function(){return o.permanentRedirect},redirect:function(){return o.redirect},unauthorized:function(){return s.unauthorized},unstable_rethrow:function(){return a.unstable_rethrow}});let o=r(86897),n=r(49026),u=r(62765),i=r(48976),s=r(70899),a=r(163);class d extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class l extends URLSearchParams{append(){throw new d}delete(){throw new d}set(){throw new d}sort(){throw new d}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),o=t.X(0,[4243,5419,8794,1642,6724,748,6781,5500],()=>r(17905));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/[section]/page.js.nft.json b/.next/server/app/[section]/page.js.nft.json new file mode 100644 index 00000000..378af17f --- /dev/null +++ b/.next/server/app/[section]/page.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/1642.js","../../chunks/4243.js","../../chunks/5419.js","../../chunks/5500.js","../../chunks/6724.js","../../chunks/6781.js","../../chunks/748.js","../../chunks/8794.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/[section]/page_client-reference-manifest.js b/.next/server/app/[section]/page_client-reference-manifest.js new file mode 100644 index 00000000..25c35228 --- /dev/null +++ b/.next/server/app/[section]/page_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[section]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/[section]/page":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/_not-found/page.js b/.next/server/app/_not-found/page.js new file mode 100644 index 00000000..10c8dd63 --- /dev/null +++ b/.next/server/app/_not-found/page.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=9492,e.ids=[9492],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},14985:e=>{e.exports=require("dns")},19121:e=>{e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{e.exports=require("zlib")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96855:(e,r,t)=>{t.r(r),t.d(r,{GlobalError:()=>i.a,__next_app__:()=>l,pages:()=>d,routeModule:()=>x,tree:()=>a});var o=t(65239),s=t(48088),n=t(88170),i=t.n(n),p=t(30893),u={};for(let e in p)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(u[e]=()=>p[e]);t.d(r,u);let a={children:["",{children:["/_not-found",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.t.bind(t,57398,23)),"next/dist/client/components/not-found-error"]}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,58014)),"/Users/alma/Documents/NeahNew/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(t.t.bind(t,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(t.t.bind(t,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,d=[],l={require:t,loadChunk:()=>Promise.resolve()},x=new o.AppPageRouteModule({definition:{kind:s.RouteKind.APP_PAGE,page:"/_not-found/page",pathname:"/_not-found",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:a}})}};var r=require("../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,8794,1642,6724,748,6781,5500],()=>t(96855));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/_not-found/page.js.nft.json b/.next/server/app/_not-found/page.js.nft.json new file mode 100644 index 00000000..964b0a61 --- /dev/null +++ b/.next/server/app/_not-found/page.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/package.json","../../../package.json","../../chunks/1642.js","../../chunks/4243.js","../../chunks/5419.js","../../chunks/5500.js","../../chunks/6724.js","../../chunks/6781.js","../../chunks/748.js","../../chunks/8794.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/_not-found/page_client-reference-manifest.js b/.next/server/app/_not-found/page_client-reference-manifest.js new file mode 100644 index 00000000..34544bc2 --- /dev/null +++ b/.next/server/app/_not-found/page_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/_not-found/page":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/agenda/page.js b/.next/server/app/agenda/page.js new file mode 100644 index 00000000..555380e5 --- /dev/null +++ b/.next/server/app/agenda/page.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=395,e.ids=[395],e.modules={163:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return r}});let r=n(71042).unstable_rethrow;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},14230:(e,t,n)=>{Promise.resolve().then(n.bind(n,65868))},14985:e=>{"use strict";e.exports=require("dns")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},19681:(e,t,n)=>{"use strict";let r,i,s;n.d(t,{CalendarClient:()=>c0});var o,a,l,c,d,u,p,h,f,g,m,v=n(60687),y=n(76180),b=n.n(y),D=n(43210),w=n.t(D,2),E=n.n(D),S=n(51215),C=n.n(S),_={},A=[],x=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function k(e,t){for(var n in t)e[n]=t[n];return e}function R(e){var t=e.parentNode;t&&t.removeChild(e)}function T(e,t,n){var r,i,s,o={};for(s in t)"key"==s?r=t[s]:"ref"==s?i=t[s]:o[s]=t[s];if(arguments.length>2&&(o.children=arguments.length>3?c.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===o[s]&&(o[s]=e.defaultProps[s]);return M(e,o,r,i,null)}function M(e,t,n,r,i){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++u:i};return null==i&&null!=d.vnode&&d.vnode(s),s}function N(){return{current:null}}function O(e){return e.children}function I(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||x.test(t)?n:n+"px"}function P(e,t,n,r,i){var s;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||I(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||I(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])s=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=n,n?r||e.addEventListener(t,s?H:j,s):e.removeEventListener(t,s?H:j,s);else if("dangerouslySetInnerHTML"!==t){if(i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&-1==t.indexOf("-")?e.removeAttribute(t):e.setAttribute(t,n))}}function j(e){p=!0;try{return this.l[e.type+!1](d.event?d.event(e):e)}finally{p=!1}}function H(e){p=!0;try{return this.l[e.type+!0](d.event?d.event(e):e)}finally{p=!1}}function L(e,t){this.props=e,this.context=t}function F(e,t){if(null==t)return e.__?F(e.__,e.__.__k.indexOf(e)+1):null;for(var n;tt&&h.sort(function(e,t){return e.__v.__b-t.__v.__b}));B.__r=0}function z(e,t,n,r,i,s,o,a,l,c){var u,p,h,f,g,m,v,y=r&&r.__k||A,b=y.length;for(n.__k=[],u=0;u0?M(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):f)){if(f.__=n,f.__b=n.__b+1,null===(h=y[u])||h&&f.key==h.key&&f.type===h.type)y[u]=void 0;else for(p=0;p=0;n--)if((r=t.__k[n])&&(i=e(r)))return i}return null}(r).nextSibling),function e(t,n,r){var i,s;if(d.unmount&&d.unmount(t),(i=t.ref)&&(i.current&&i.current!==t.__e||G(i,null,n)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){d.__e(e,n)}i.base=i.__P=null,t.__c=void 0}if(i=t.__k)for(s=0;s=n.__.length&&n.__.push({__V:en}),n.__[e]}function ec(){for(var e;e=et.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eu),e.__H.__h.forEach(ep),e.__H.__h=[]}catch(t){e.__H.__h=[],d.__e(t,e.__v)}}d.__b=function(e){$=null,er&&er(e)},d.__r=function(e){ei&&ei(e),K=0;var t=($=e.__c).__H;t&&(X===$?(t.__h=[],$.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=en,e.__N=e.i=void 0})):(t.__h.forEach(eu),t.__h.forEach(ep),t.__h=[])),X=$},d.diffed=function(e){es&&es(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==et.push(t)&&J===d.requestAnimationFrame||((J=d.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ed&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ed&&(t=requestAnimationFrame(n))})(ec)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==en&&(e.__=e.__V),e.i=void 0,e.__V=en})),X=$=null},d.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eu),e.__h=e.__h.filter(function(e){return!e.__||ep(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],d.__e(n,e.__v)}}),eo&&eo(e,t)},d.unmount=function(e){ea&&ea(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{eu(e)}catch(e){t=e}}),n.__H=void 0,t&&d.__e(t,n.__v))};var ed="function"==typeof requestAnimationFrame;function eu(e){var t=$,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),$=t}function ep(e){var t=$;e.__c=e.__(),$=t}function eh(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function ef(e,t){return"function"==typeof t?t(e):t}function eg(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function em(e){this.props=e}(em.prototype=new L).isPureReactComponent=!0,em.prototype.shouldComponentUpdate=function(e,t){return eg(this.props,e)||eg(this.state,t)};var ev=d.__b;d.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ev&&ev(e)},"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var ey=d.__e;d.__e=function(e,t,n,r){if(e.then){for(var i,s=t;s=s.__;)if((i=s.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}ey(e,t,n,r)};var eb=d.unmount;function eD(){this.__u=0,this.t=null,this.__b=null}function ew(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function eE(){this.u=null,this.o=null}d.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),eb&&eb(e)},(eD.prototype=new L).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=ew(r.__v),s=!1,o=function(){s||(s=!0,n.__R=null,i?i(a):a())};n.__R=o;var a=function(){if(!--r.__u){if(r.state.__a){var e,t=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)}),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(t,t.__c.__P,t.__c.__O)}for(r.setState({__a:r.__b=null});e=r.t.pop();)e.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},eD.prototype.componentWillUnmount=function(){this.t=[]},eD.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=function(e,t){for(var n in t)e[n]=t[n];return e}({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)})),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&T(O,null,e.fallback);return i&&(i.__h=null),[T(O,null,t.__a?null:e.children),i]};var eS=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(e)}}),Z(T(eC,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(eE.prototype=new L).__a=function(e){var t=this,n=ew(t.__v),r=t.o.get(e);return r[0]++,function(i){var s=function(){t.props.revealOrder?(r.push(i),eS(t,e,r)):i()};n?n(s):s()}},eE.prototype.render=function(e){this.u=null,this.o=new Map;var t=W(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},eE.prototype.componentDidUpdate=eE.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){eS(e,n,t)})};var eA="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ex=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ek="undefined"!=typeof document;L.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(L.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var eR=d.event;function eT(){}function eM(){return this.cancelBubble}function eN(){return this.defaultPrevented}d.event=function(e){return eR&&(e=eR(e)),e.persist=eT,e.isPropagationStopped=eM,e.isDefaultPrevented=eN,e.nativeEvent=e};var eO,eI={configurable:!0,get:function(){return this.class}},eP=d.vnode;d.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var s in r={},n){var o,a=n[s];ek&&"children"===s&&"noscript"===t||"value"===s&&"defaultValue"in n&&null==a||("defaultValue"===s&&"value"in n&&null==n.value?s="value":"download"===s&&!0===a?a="":/ondoubleclick/i.test(s)?s="ondblclick":/^onchange(textarea|input)/i.test(s+t)&&(o=n.type,!("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(o))?s="oninput":/^onfocus$/i.test(s)?s="onfocusin":/^onblur$/i.test(s)?s="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(s)?s=s.toLowerCase():i&&ex.test(s)?s=s.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===a&&(a=void 0),/^oninput$/i.test(s)&&r[s=s.toLowerCase()]&&(s="oninputCapture"),r[s]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=W(n.children).forEach(function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)})),"select"==t&&null!=r.defaultValue&&(r.value=W(n.children).forEach(function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value})),e.props=r,n.class!=n.className&&(eI.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",eI))}e.$$typeof=eA,eP&&eP(e)};var ej=d.__r;d.__r=function(e){ej&&ej(e),e.__c};let eH=[],eL=new Map;function eF(e){eH.push(e),eL.forEach(t=>{eB(t,e)})}function eU(e){let t=eL.get(e);if(!t||!t.isConnected){if(!(t=e.querySelector("style[data-fullcalendar]"))){(t=document.createElement("style")).setAttribute("data-fullcalendar","");let n=(void 0===r&&(r=function(){let e=document.querySelector('meta[name="csp-nonce"]');if(e&&e.hasAttribute("content"))return e.getAttribute("content");let t=document.querySelector("script[nonce]");return t&&t.nonce||""}()),r);n&&(t.nonce=n);let i=e===document?document.head:e,s=e===document?i.querySelector("script,link[rel=stylesheet],link[as=style],style"):i.firstChild;i.insertBefore(t,s)}eL.set(e,t),function(e){for(let t of eH)eB(e,t)}(t)}}function eB(e,t){let{sheet:n}=e,r=n.cssRules.length;t.split("}").forEach((e,t)=>{(e=e.trim())&&n.insertRule(e+"}",r+t)})}"undefined"!=typeof document&&eU(document),eF(':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}');class ez{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:t}=this;t[e]=(t[e]||0)+1,this.clearTimeout()}resume(e="",t){let{pauseDepths:n}=this;e in n&&(t?delete n[e]:(n[e]-=1,n[e]<=0&&delete n[e]),this.tryDrain())}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}function eW(e){e.parentNode&&e.parentNode.removeChild(e)}function eY(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(function(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}let eV=/(top|left|right|bottom|width|height)$/i;function eQ(e,t){for(let n in t)eG(e,n,t[n])}function eG(e,t,n){null==n?e.style[t]="":"number"==typeof n&&eV.test(t)?e.style[t]=`${n}px`:e.style[t]=n}function eq(e){var t,n;return null!=(n=null==(t=e.composedPath)?void 0:t.call(e)[0])?n:e.target}let eZ=0;function eK(){return"fc-dom-"+(eZ+=1)}function e$(e){e.preventDefault()}function eX(e,t,n,r){let i=e=>{let t=eY(e.target,n);t&&r.call(t,e,t)};return e.addEventListener(t,i),()=>{e.removeEventListener(t,i)}}let eJ=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function e0(e){return Object.assign({onClick:e},e1(e))}function e1(e){return{tabIndex:0,onKeyDown(t){("Enter"===t.key||" "===t.key)&&(e(t),t.preventDefault())}}}let e2=0;function e4(){return String(e2+=1)}function e3(){document.body.classList.add("fc-not-allowed")}function e5(){document.body.classList.remove("fc-not-allowed")}function e8(e,t){let n=String(e);return"000".substr(0,t-n.length)+n}function e6(e,t,n){return"function"==typeof e?e(...t):"string"==typeof e?t.reduce((e,t,n)=>e.replace("$"+n,t||""),e):n}function e9(e,t){return e-t}let e7=["years","months","days","milliseconds"],te=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function tt(e,t){return"string"==typeof e?function(e){let t=te.exec(e);if(t){let e=t[1]?-1:1;return{years:0,months:0,days:e*(t[2]?parseInt(t[2],10):0),milliseconds:e*((t[3]?parseInt(t[3],10):0)*36e5+(t[4]?parseInt(t[4],10):0)*6e4+(t[5]?parseInt(t[5],10):0)*1e3+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?tn(e):"number"==typeof e?tn({[t||"milliseconds"]:e}):null}function tn(e){let t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*6e4+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function tr(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function ti(e){return ts(e)/864e5}function ts(e){return e.years*(365*864e5)+e.months*(30*864e5)+864e5*e.days+e.milliseconds}function to(e,t){let n=null;for(let r=0;r10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",t_(t,!0)))),r}function tC(e){return e.toISOString().replace(/T.*$/,"")}function t_(e,t=!1){let n=e<0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),s=Math.round(r%60);return t?`${n+e8(i,2)}:${e8(s,2)}`:`GMT${n}${i}${s?`:${e8(s,2)}`:""}`}function tA(e,t,n){let r,i;return function(...s){if(r){if(!tl(r,s)){n&&n(i);let r=e.apply(this,s);t&&t(r,i)||(i=r)}}else i=e.apply(this,s);return r=s,i}}function tx(e,t,n){let r,i;return s=>{if(r){if(!t3(r,s)){n&&n(i);let r=e.call(this,s);t&&t(r,i)||(i=r)}}else i=e.call(this,s);return r=s,i}}let tk={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},tR={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},tT=/\s*([ap])\.?m\.?/i,tM=/,/g,tN=/\s+/g,tO=/\u200e/g,tI=/UTC|GMT/;class tP{constructor(e){let t={},n={},r=0;for(let i in e)i in tk?(n[i]=e[i],r=Math.max(tk[i],r)):(t[i]=e[i],i in tR&&(r=Math.max(tR[i],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=tA(tj)}format(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)}formatRange(e,t,n,r){var i,s,o;let{standardDateProps:a,extendedSettings:l}=this,c=(i=e.marker,s=t.marker,(o=n.calendarSystem).getMarkerYear(i)!==o.getMarkerYear(s)?5:o.getMarkerMonth(i)!==o.getMarkerMonth(s)?4:o.getMarkerDay(i)!==o.getMarkerDay(s)?2:+(tE(i)!==tE(s)));if(!c)return this.format(e,n);let d=c;d>1&&("numeric"===a.year||"2-digit"===a.year)&&("numeric"===a.month||"2-digit"===a.month)&&("numeric"===a.day||"2-digit"===a.day)&&(d=1);let u=this.format(e,n),p=this.format(t,n);if(u===p)return u;let h=tj(function(e,t){let n={};for(let r in e)r in tR&&!(tR[r]<=t)||(n[r]=e[r]);return n}(a,d),l,n),f=h(e),g=h(t),m=function(e,t,n,r){let i=0;for(;it_(e.timeZoneOffset):0===r&&t.week?e=>{var r,i,s,o,a;let l;return r=n.computeWeekNumber(e.marker),i=n.weekText,s=n.weekTextLong,o=n.locale,a=t.week,l=[],"long"===a?l.push(s):("short"===a||"narrow"===a)&&l.push(i),("long"===a||"short"===a)&&l.push(" "),l.push(o.simpleNumberFormat.format(r)),"rtl"===o.options.direction&&l.reverse(),l.join("")}:function(e,t,n){var r,i;let s;e=Object.assign({},e),t=Object.assign({},t),r=e,i=t,r.timeZoneName&&(r.hour||(r.hour="2-digit"),r.minute||(r.minute="2-digit")),"long"===r.timeZoneName&&(r.timeZoneName="short"),i.omitZeroMinute&&(r.second||r.millisecond)&&delete i.omitZeroMinute,e.timeZone="UTC";let o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){let t=Object.assign({},e);delete t.minute,s=new Intl.DateTimeFormat(n.locale.codes,t)}return r=>{var i,a,l,c,d,u,p;let h,f,{marker:g}=r;return i=(s&&!g.getUTCMinutes()?s:o).format(g),a=r,l=e,c=t,d=n,i=i.replace(tO,""),"short"===l.timeZoneName&&(u=i,p="UTC"===d.timeZone||null==a.timeZoneOffset?"UTC":t_(a.timeZoneOffset),h=!1,u=u.replace(tI,()=>(h=!0,p)),h||(u+=` ${p}`),i=u),c.omitCommas&&(i=i.replace(tM,"").trim()),c.omitZeroMinute&&(i=i.replace(":00","")),!1===c.meridiem?i=i.replace(tT,"").trim():"narrow"===c.meridiem?i=i.replace(tT,(e,t)=>t.toLocaleLowerCase()):"short"===c.meridiem?i=i.replace(tT,(e,t)=>`${t.toLocaleLowerCase()}m`):"lowercase"===c.meridiem&&(i=i.replace(tT,e=>e.toLocaleLowerCase())),i=(i=i.replace(tN," ")).trim()}}(e,t,n)}function tH(e,t){let n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function tL(e,t,n,r){let i=tH(e,n.calendarSystem);return{date:i,start:i,end:t?tH(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}class tF{constructor(e){this.cmdStr=e}format(e,t,n){return t.cmdFormatter(this.cmdStr,tL(e,null,t,n))}formatRange(e,t,n,r){return n.cmdFormatter(this.cmdStr,tL(e,t,n,r))}}class tU{constructor(e){this.func=e}format(e,t,n){return this.func(tL(e,null,t,n))}formatRange(e,t,n,r){return this.func(tL(e,t,n,r))}}function tB(e){return"object"==typeof e&&e?new tP(e):"string"==typeof e?new tF(e):"function"==typeof e?new tU(e):null}let tz={navLinkDayClick:t$,navLinkWeekClick:t$,duration:tt,bootstrapFontAwesome:t$,buttonIcons:t$,customButtons:t$,defaultAllDayEventDuration:tt,defaultTimedEventDuration:tt,nextDayThreshold:tt,scrollTime:tt,scrollTimeReset:Boolean,slotMinTime:tt,slotMaxTime:tt,dayPopoverFormat:tB,slotDuration:tt,snapDuration:tt,headerToolbar:t$,footerToolbar:t$,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:tB,dayHeaderClassNames:t$,dayHeaderContent:t$,dayHeaderDidMount:t$,dayHeaderWillUnmount:t$,dayCellClassNames:t$,dayCellContent:t$,dayCellDidMount:t$,dayCellWillUnmount:t$,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:t$,weekNumbers:Boolean,weekNumberClassNames:t$,weekNumberContent:t$,weekNumberDidMount:t$,weekNumberWillUnmount:t$,editable:Boolean,viewClassNames:t$,viewDidMount:t$,viewWillUnmount:t$,nowIndicator:Boolean,nowIndicatorClassNames:t$,nowIndicatorContent:t$,nowIndicatorDidMount:t$,nowIndicatorWillUnmount:t$,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:t$,locale:t$,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:t$,eventOrder:function(e){let t,n,r=[],i=[];for("string"==typeof e?i=e.split(/\s*,\s*/):"function"==typeof e?i=[e]:Array.isArray(e)&&(i=e),t=0;t=0;i-=1){let s=e[i][r];if("object"==typeof s&&s)t.unshift(s);else if(void 0!==s){n[r]=s;break}}t.length&&(n[r]=tJ(t))}}for(let t=e.length-1;t>=0;t-=1){let r=e[t];for(let e in r)e in n||(n[e]=r[e])}return n}function t0(e,t){let n={};for(let r in e)t(e[r],r)&&(n[r]=e[r]);return n}function t1(e,t){let n={};for(let r in e)n[r]=t(e[r],r);return n}function t2(e){let t={};for(let n of e)t[n]=!0;return t}function t4(e){let t=[];for(let n in e)t.push(e[n]);return t}function t3(e,t){if(e===t)return!0;for(let n in e)if(tX.call(e,n)&&!(n in t))return!1;for(let n in t)if(tX.call(t,n)&&e[n]!==t[n])return!1;return!0}let t5=/^on[A-Z]/;function t8(e,t){let n=[];for(let r in e)!tX.call(e,r)||r in t||n.push(r);for(let r in t)tX.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function t6(e,t,n={}){if(e===t)return!0;for(let o in t){var r,i,s;if(!(o in e&&(r=e[o],i=t[o],s=n[o],r===i||!0===s||s&&s(r,i))))return!1}for(let n in e)if(!(n in t))return!1;return!0}let t9={};class t7{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return tD(e)}markerToArray(e){return tb(e)}}t9.gregory=t7;let ne=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;class nt{constructor(e){let t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=!!(!n||this.namedTimeZoneImpl),this.calendarSystem=new t9[e.calendarSystem],this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){let t=this.createMarkerMeta(e);return null===t?null:t.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker(new Date().valueOf()):tD(tv(new Date))}createMarkerMeta(e){if("string"==typeof e)return this.parse(e);let t=null;return("number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?isNaN(e=e.valueOf())||(t=this.timestampToMarker(e)):Array.isArray(e)&&(t=tD(e)),null!==t&&tw(t))?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null}parse(e){let t=function(e){let t=ne.exec(e);if(t){let e=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number(`0.${t[12]}`):0));if(tw(e)){let n=null;return t[13]&&(n=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:e,isTimeUnspecified:!t[6],timeZoneOffset:n}}}return null}(e);if(null===t)return null;let{marker:n}=t,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}getDay(e){return this.calendarSystem.getMarkerDay(e)}add(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)}subtract(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)}addYears(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)}addMonths(e,t){let n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)}diffWholeYears(e,t){let{calendarSystem:n}=this;return tE(e)===tE(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null}diffWholeMonths(e,t){let{calendarSystem:n}=this;return tE(e)===tE(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+(n.getMarkerYear(t)-n.getMarkerYear(e))*12:null}greatestWholeUnit(e,t){let n,r=this.diffWholeYears(e,t);return null!==r?{unit:"year",value:r}:null!==(r=this.diffWholeMonths(e,t))?{unit:"month",value:r}:null!==(r=null!==(n=tf(e,t))&&n%7==0?n/7:null)?{unit:"week",value:r}:null!==(r=tf(e,t))?{unit:"day",value:r}:(r=(t.valueOf()-e.valueOf())/36e5)%1==0?{unit:"hour",value:r}:(r=(t.valueOf()-e.valueOf())/6e4)%1==0?{unit:"minute",value:r}:(r=(t.valueOf()-e.valueOf())/1e3)%1==0?{unit:"second",value:r}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}}countDurationsBetween(e,t,n){let r;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/(ti(n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/(ti(n)/30):n.days&&null!==(r=tf(e,t))?r/ti(n):(t.valueOf()-e.valueOf())/ts(n)}startOf(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?tg(e):"hour"===t?tD([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()]):"minute"===t?tD([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()]):"second"===t?tD([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()]):null}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){let r=e.getUTCFullYear(),i=tm(e,r,t,n);if(i<1)return tm(e,r-1,t,n);let s=tm(e,r+1,t,n);return s>=1?Math.min(i,s):i}(e,this.weekDow,this.weekDoy)}format(e,t,n={}){return t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,t,n,r={}){return r.isEndExclusive&&(t=tp(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)}formatIso(e,t={}){let n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),tS(e,n,t.omitTime)}timestampToMarker(e){return"local"===this.timeZone?tD(tv(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?tD(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)}offsetForMarker(e){return"local"===this.timeZone?-ty(tb(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(tb(e)):null}toDate(e,t){return"local"===this.timeZone?ty(tb(e)):new Date("UTC"===this.timeZone?e.valueOf():this.namedTimeZoneImpl?e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(tb(e))*60:e.valueOf()-(t||0))}}class nn{constructor(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}setIconOverride(e){let t,n;if("object"==typeof e&&e){for(n in t=Object.assign({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})}applyIconOverridePrefix(e){let t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e}getClass(e){return this.classes[e]||""}getIconClass(e,t){let n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?`${this.baseIconClass} ${n}`:""}getCustomButtonIconClass(e){let t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?`${this.baseIconClass} ${this.applyIconOverridePrefix(t)}`:""}}function nr(e){e();let t=d.debounceRendering,n=[];for(d.debounceRendering=function(e){n.push(e)},Z(T(ni,{}),document.createElement("div"));n.length;)n.shift()();d.debounceRendering=t}nn.prototype.classes={},nn.prototype.iconClasses={},nn.prototype.baseIconClass="",nn.prototype.iconOverridePrefix="";class ni extends L{render(){return T("div",{})}componentDidMount(){this.setState({})}}function ns(e){var t,n,r;let i=(t=e,(r={__c:n="__cC"+m++,__:t,Consumer:function(e,t){return e.children(t)},Provider:function(e){var t,r;return this.getChildContext||(t=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(function(e){e.__e=!0,U(e)})},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}}).Provider.__=r.Consumer.contextType=r),s=i.Provider;return i.Provider=function(){let e=!this.getChildContext,t=s.apply(this,arguments);if(e){let e=[];this.shouldComponentUpdate=t=>{this.props.value!==t.value&&e.forEach(e=>{e.context=t.value,e.forceUpdate()})},this.sub=t=>{e.push(t);let n=t.componentWillUnmount;t.componentWillUnmount=()=>{e.splice(e.indexOf(t),1),n&&n.call(t)}}}return t},i}class no{constructor(e,t,n,r){this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=e=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},e),this.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}let na=ns({});function nl(e,t,n,r,i,s,o,a,l,c,d,u,p){return{dateEnv:i,options:n,pluginHooks:o,emitter:c,dispatch:a,getCurrentData:l,calendarApi:d,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:s,isRtl:"rtl"===n.direction,addResizeHandler(e){c.on("_resize",e)},removeResizeHandler(e){c.off("_resize",e)},createScrollResponder:e=>new no(e,c,tt(n.scrollTime),n.scrollTimeReset),registerInteractiveComponent:u,unregisterInteractiveComponent:p}}class nc extends L{shouldComponentUpdate(e,t){return this.debug&&console.log(t8(e,this.props),t8(t,this.state)),!t6(this.props,e,this.propEquality)||!t6(this.state,t,this.stateEquality)}safeSetState(e){t6(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}nc.addPropsEquality=function(e){let t=Object.create(this.prototype.propEquality);Object.assign(t,e),this.prototype.propEquality=t},nc.addStateEquality=function(e){let t=Object.create(this.prototype.stateEquality);Object.assign(t,e),this.prototype.stateEquality=t},nc.contextType=na,nc.prototype.propEquality={},nc.prototype.stateEquality={};class nd extends nc{}function nu(e,t){"function"==typeof e?e(t):e&&(e.current=t)}nd.contextType=na;class np extends nd{constructor(){super(...arguments),this.id=e4(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{let{options:t}=this.context,{generatorName:n}=this.props;t.customRenderingReplaces&&nh(n,t)||this.updateElRef(e)},this.updateElRef=e=>{this.props.elRef&&nu(this.props.elRef,e)}}render(){let e,t,{props:n,context:r}=this,{options:i}=r,{customGenerator:s,defaultGenerator:o,renderProps:a}=n,l=nf(n,[],this.handleEl),c=!1,d=[];if(null!=s){let n="function"==typeof s?s(a,T):s;if(!0===n)c=!0;else{let r=n&&"object"==typeof n;if(r&&"html"in n)l.dangerouslySetInnerHTML={__html:n.html};else if(r&&"domNodes"in n)d=Array.prototype.slice.call(n.domNodes);else(r?null!=n&&void 0===n.constructor:"function"!=typeof n)?e=n:t=n}}else c=!nh(n.generatorName,i);return c&&o&&(e=o(a)),this.queuedDomNodes=d,this.currentGeneratorMeta=t,T(n.elTag,l,e)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var t;let{props:n,context:r}=this,{handleCustomRendering:i,customRenderingMetaMap:s}=r.options;if(i){let r=null!=(t=this.currentGeneratorMeta)?t:null==s?void 0:s[n.generatorName];r&&i(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:r},n),{elClasses:(n.elClasses||[]).filter(ng)}))}}applyQueueudDomNodes(){let{queuedDomNodes:e,currentDomNodes:t}=this,n=this.base;if(!tl(e,t)){for(let r of(t.forEach(eW),e))n.appendChild(r);this.currentDomNodes=e}}}function nh(e,t){var n;return!!(t.handleCustomRendering&&e&&(null==(n=t.customRenderingMetaMap)?void 0:n[e]))}function nf(e,t,n){let r=Object.assign(Object.assign({},e.elAttrs),{ref:n});return(e.elClasses||t)&&(r.className=(e.elClasses||[]).concat(t||[]).concat(r.className||[]).filter(Boolean).join(" ")),e.elStyle&&(r.style=e.elStyle),r}function ng(e){return!!e}np.addPropsEquality({elClasses:tl,elStyle:t3,elAttrs:function(e,t){for(let n of t8(e,t))if(!t5.test(n))return!1;return!0},renderProps:t3});let nm=ns(0);class nv extends L{constructor(){super(...arguments),this.InnerContent=ny.bind(void 0,this),this.handleEl=e=>{this.el=e,this.props.elRef&&(nu(this.props.elRef,e),e&&this.didMountMisfire&&this.componentDidMount())}}render(){let{props:e}=this,t=function(e,t){let n="function"==typeof e?e(t):e||[];return"string"==typeof n?[n]:n}(e.classNameGenerator,e.renderProps);if(!e.children)return T(np,Object.assign(Object.assign({},e),{elRef:this.handleEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(t),renderId:this.context}));{let n=nf(e,t,this.handleEl),r=e.children(this.InnerContent,e.renderProps,n);return e.elTag?T(e.elTag,n,r):r}}componentDidMount(){var e,t;this.el?null==(t=(e=this.props).didMount)||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el})):this.didMountMisfire=!0}componentWillUnmount(){var e,t;null==(t=(e=this.props).willUnmount)||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}}function ny(e,t){let n=e.props;return T(np,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,customGenerator:n.customGenerator,defaultGenerator:n.defaultGenerator,renderId:e.context},t))}nv.contextType=nm;class nb extends nd{render(){let{props:e,context:t}=this,{options:n}=t,r={view:t.viewApi};return T(nv,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[...nD(e.viewSpec),...e.elClasses||[]],renderProps:r,classNameGenerator:n.viewClassNames,generatorName:void 0,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount}),()=>e.children)}}function nD(e){return[`fc-${e.type}-view`,"fc-view"]}function nw(e,t){let n,r,i=[],{start:s}=t;for(e.sort(nE),n=0;ns&&i.push({start:s,end:r.start}),r.end>s&&(s=r.end);return st.start)&&(null===e.start||null===t.end||e.start=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function nA(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t=ts(t)&&(r=tu(r,1))}return e.start&&(n=tg(e.start),r&&r<=n&&(r=tu(n,1))),{start:n,end:r}}function nR(e,t,n,r){let i,s;return"year"===r?tt(n.diffWholeYears(e,t),"year"):"month"===r?tt(n.diffWholeMonths(e,t),"month"):{years:0,months:0,days:Math.round(th(i=tg(e),s=tg(t))),milliseconds:t.valueOf()-s.valueOf()-(e.valueOf()-i.valueOf())}}function nT(e,t){return("function"==typeof e&&(e=e()),null==e)?t.createNowMarker():t.createMarker(e)}class nM{constructor(e){this.props=e,this.nowDate=nT(e.nowInput,e.dateEnv),this.initHiddenDays()}buildPrev(e,t,n){let{dateEnv:r}=this.props,i=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,-1,n)}buildNext(e,t,n){let{dateEnv:r}=this.props,i=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,1,n)}build(e,t,n=!0){var r,i;let s,o,a,l,c,d,{props:u}=this;return s=this.buildValidRange(),s=this.trimHiddenDays(s),n&&(r=e,e=null!=(i=s).start&&r=i.end?new Date(i.end.valueOf()-1):r),o=this.buildCurrentRangeInfo(e,t),a=/^(year|month|week|day)$/.test(o.unit),l=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,a),c=l=this.trimHiddenDays(l),u.showNonCurrentDates||(c=nS(c,o.range)),c=nS(c=this.adjustActiveRange(c),s),d=nC(o.range,s),nA(l,e)||(e=l.start),{currentDate:e,validRange:s,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:a,activeRange:c,renderRange:l,slotMinTime:u.slotMinTime,slotMaxTime:u.slotMaxTime,isValid:d,dateIncrement:this.buildDateIncrement(o.duration)}}buildValidRange(){let e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}}buildCurrentRangeInfo(e,t){let n,{props:r}=this,i=null,s=null,o=null;return r.duration?(i=r.duration,s=r.durationUnit,o=this.buildRangeFromDuration(e,t,i,s)):(n=this.props.dayCount)?(s="day",o=this.buildRangeFromDayCount(e,t,n)):(o=this.buildCustomVisibleRange(e))?s=r.dateEnv.greatestWholeUnit(o.start,o.end).unit:(s=ta(i=this.getFallbackDuration()).unit,o=this.buildRangeFromDuration(e,t,i,s)),{duration:i,unit:s,range:o}}getFallbackDuration(){return tt({day:1})}adjustActiveRange(e){let{dateEnv:t,usesMinMaxTime:n,slotMinTime:r,slotMaxTime:i}=this.props,{start:s,end:o}=e;return n&&(0>ti(r)&&(s=tg(s),s=t.add(s,r)),ti(i)>1&&(o=tu(o=tg(o),-1),o=t.add(o,i))),{start:s,end:o}}buildRangeFromDuration(e,t,n,r){let i,s,o,{dateEnv:a,dateAlignment:l}=this.props;if(!l){let{dateIncrement:e}=this.props;l=e&&ts(e)=ti(n)&&this.isHiddenDay(i)&&(i=tg(i=this.skipHiddenDays(i,t))),c(),this.trimHiddenDays(o)||(e=this.skipHiddenDays(e,t),c()),o}buildRangeFromDayCount(e,t,n){let r,{dateEnv:i,dateAlignment:s}=this.props,o=0,a=e;s&&(a=i.startOf(a,s)),a=tg(a),r=a=this.skipHiddenDays(a,t);do r=tu(r,1),this.isHiddenDay(r)||(o+=1);while(o!o[e.defId].recurringDef),o){let n=o[e];if(n.recurringDef){let{duration:o}=n.recurringDef;for(let l of(o||(o=n.allDay?s.defaultAllDayEventDuration:s.defaultTimedEventDuration),function(e,t,n,r,i){let s=i[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(s=s.map(tg)),s}(n,o,t,r,i.recurringTypes))){let t=nN(e,{start:l,end:r.add(l,o)});a[t.instanceId]=t}}}return{defs:o,instances:a}}let nI={id:String,groupId:String,title:String,url:String,interactive:Boolean},nP={start:t$,end:t$,date:t$,allDay:Boolean},nj=Object.assign(Object.assign(Object.assign({},nI),nP),{extendedProps:t$});function nH(e,t,n,r,i=nF(n),s,o){var a,l;let c,{refined:d,extra:u}=nL(e,n,i),p=(a=t,l=n,c=null,a&&(c=a.defaultAllDay),null==c&&(c=l.options.defaultAllDay),c),h=function(e,t,n,r){for(let i=0;i{var n,r;return n=t,r=e,!!(n.groupId&&n.groupId===r.groupId)});return r.defs[t.defId]=t,r.instances[n.instanceId]=n,r}return nY()}function nY(){return{defs:{},instances:{}}}function nV(e,t){return{defs:Object.assign(Object.assign({},e.defs),t.defs),instances:Object.assign(Object.assign({},e.instances),t.instances)}}function nQ(e,t){let n=t0(e.defs,t),r=t0(e.instances,e=>n[e.defId]);return{defs:n,instances:r}}function nG(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}let nq={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:t$,overlap:t$,allow:t$,className:nG,classNames:nG,color:String,backgroundColor:String,borderColor:String,textColor:String},nZ={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function nK(e,t){var n;let r=(n=e.constraint,Array.isArray(n)?nB(n,null,t,!0):"object"==typeof n&&n?nB([n],null,t,!0):null!=n?String(n):null);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=r?[r]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function n$(e){return e.reduce(nX,nZ)}function nX(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}let nJ={id:String,defaultAllDay:Boolean,url:String,format:String,events:t$,eventDataTransform:t$,success:t$,failure:t$};function n0(e,t,n=n1(t)){let r;if("string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){let{refined:i,extra:s}=tK(r,n),o=function(e,t){let n=t.pluginHooks.eventSourceDefs;for(let t=n.length-1;t>=0;t-=1){let r=n[t].parseMeta(e);if(r)return{sourceDefId:t,meta:r}}return null}(i,t);if(o)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:e4(),sourceDefId:o.sourceDefId,meta:o.meta,ui:nK(i,t),extendedProps:s}}return null}function n1(e){return Object.assign(Object.assign(Object.assign({},nq),nJ),e.pluginHooks.eventSourceRefiners)}function n2(e,t,n){let r=n.options.eventDataTransform,i=t?t.eventDataTransform:null;return i&&(e=n4(e,i)),r&&(e=n4(e,r)),e}function n4(e,t){let n;if(t)for(let r of(n=[],e)){let e=t(r);e?n.push(e):null==e&&n.push(r)}else n=e;return n}function n3(e,t,n){let{defs:r}=e,i=t1(e.instances,e=>r[e.defId].allDay?e:Object.assign(Object.assign({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo}));return{defs:r,instances:i}}function n5(e,t){return nQ(e,e=>e.sourceId!==t)}class n8{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,t){var n,r,i;n=this.handlers,r=e,i=t,(n[r]||(n[r]=[])).push(i)}off(e,t){var n,r,i;n=this.handlers,r=e,(i=t)?n[r]&&(n[r]=n[r].filter(e=>e!==i)):delete n[r]}trigger(e,...t){let n=this.handlers[e]||[];for(let r of[].concat(this.options&&this.options[e]||[],n))r.apply(this.thisContext,t)}hasHandlers(e){return!!(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}let n6={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function n9(e,t,n){n.emitter.trigger("select",Object.assign(Object.assign({},n7(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function n7(e,t){var n,r;let i={};for(let n of t.pluginHooks.dateSpanTransforms)Object.assign(i,n(e,t));return Object.assign(i,(n=e,r=t.dateEnv,Object.assign(Object.assign({},ry(n.range,r,n.allDay)),{allDay:n.allDay}))),i}function re(e,t,n){let{dateEnv:r,options:i}=n,s=t;return e?(s=tg(s),s=r.add(s,i.defaultAllDayEventDuration)):s=r.add(s,i.defaultTimedEventDuration),s}function rt(e,t,n,r){let i=rl(e.defs,t),s=nY();for(let t in e.defs){let o=e.defs[t];s.defs[t]=function(e,t,n,r){let i=n.standardProps||{};null==i.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(i.hasEnd=!0);let s=Object.assign(Object.assign(Object.assign({},e),i),{ui:Object.assign(Object.assign({},e.ui),i.ui)});for(let e of(n.extendedProps&&(s.extendedProps=Object.assign(Object.assign({},s.extendedProps),n.extendedProps)),r.pluginHooks.eventDefMutationAppliers))e(s,n,r);return!s.hasEnd&&r.options.forceEventDuration&&(s.hasEnd=!0),s}(o,i[t],n,r)}for(let t in e.instances){let o=e.instances[t],a=s.defs[o.defId];s.instances[t]=function(e,t,n,r,i){let{dateEnv:s}=i,o=r.standardProps&&!0===r.standardProps.allDay,a=r.standardProps&&!1===r.standardProps.hasEnd,l=Object.assign({},e);return o&&(l.range=nx(l.range)),r.datesDelta&&n.startEditable&&(l.range={start:s.add(l.range.start,r.datesDelta),end:s.add(l.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(l.range={start:s.add(l.range.start,r.startDelta),end:l.range.end}),r.endDelta&&n.durationEditable&&(l.range={start:l.range.start,end:s.add(l.range.end,r.endDelta)}),a&&(l.range={start:l.range.start,end:re(t.allDay,l.range.start,i)}),t.allDay&&(l.range={start:tg(l.range.start),end:tg(l.range.end)}),l.range.endrc(e,t))}function rc(e,t){let n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),n$(n)}function rd(e,t){let n=e.map(ru);return n.sort((e,n)=>(function(e,t,n){let r,i;for(r=0;re._seg)}function ru(e){let{eventRange:t}=e,n=t.def,r=t.instance?t.instance.range:t.range,i=r.start?r.start.valueOf():0,s=r.end?r.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},n.extendedProps),n),{id:n.publicId,start:i,end:s,duration:s-i,allDay:Number(n.allDay),_seg:e})}function rp(e,t,n,r,i,s,o){let{dateEnv:a,options:l}=n,{displayEventTime:c,displayEventEnd:d}=l,u=e.eventRange.def,p=e.eventRange.instance;null==c&&(c=!1!==r),null==d&&(d=!1!==i);let h=p.range.start,f=p.range.end,g=s||e.start||e.eventRange.range.start,m=o||e.end||e.eventRange.range.end,v=tg(h).valueOf()===tg(g).valueOf(),y=tg(tp(f,-1)).valueOf()===tg(tp(m,-1)).valueOf();return c&&!u.allDay&&(v||y)?(g=v?h:g,m=y?f:m,d&&u.hasEnd)?a.formatRange(g,m,t,{forcedStartTzo:s?null:p.forcedStartTzo,forcedEndTzo:o?null:p.forcedEndTzo}):a.format(g,t,{forcedTzo:s?null:p.forcedStartTzo}):""}function rh(e,t,n){let r=e.eventRange.range;return{isPast:r.end<=(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&nA(t,r.start)}}function rf(e){return e.instance?e.instance.instanceId:`${e.def.defId}:${e.range.start.toISOString()}`}function rg(e,t){let{def:n,instance:r}=e.eventRange,{url:i}=n;if(i)return{href:i};let{emitter:s,options:o}=t,{eventInteractive:a}=o;return(null==a&&null==(a=n.interactive)&&(a=!!s.hasHandlers("eventClick")),a)?e1(e=>{s.trigger("eventClick",{el:e.target,event:new rr(t,n,r),jsEvent:e,view:t.viewApi})}):{}}let rm={start:t$,end:t$,allDay:Boolean};function rv(e,t,n){return Object.assign(Object.assign({},ry(e,t,n)),{timeZone:t.timeZone})}function ry(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}class rb extends Error{constructor(e,t){super(e),this.response=t}}function rD(){return null==i&&(i=function(){if("undefined"==typeof document)return!0;let e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="
",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);let t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),i}class rw extends nd{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{nr(()=>{this.setState({forPrint:!0})})},this.handleAfterPrint=()=>{nr(()=>{this.setState({forPrint:!1})})}}render(){let{props:e}=this,{options:t}=e,{forPrint:n}=this.state,r=n||"auto"===t.height||"auto"===t.contentHeight,i=r||null==t.height?"":t.height,s=["fc",n?"fc-media-print":"fc-media-screen",`fc-direction-${t.direction}`,e.theme.getClass("root")];return rD()||s.push("fc-liquid-hack"),e.children(s,i,r,n)}componentDidMount(){let{emitter:e}=this.props;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:e}=this.props;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}}class rE{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}function rS(e){return{[e.component.uid]:e}}let rC={};class r_{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,t){let{currentDataManager:n}=this;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn(`Unknown listener name '${e}'`)}off(e,t){this.currentDataManager.emitter.off(e,t)}trigger(e,...t){this.currentDataManager.emitter.trigger(e,...t)}changeView(e,t){this.batchRendering(()=>{if(this.unselect(),t)if(t.start&&t.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{let{dateEnv:n}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:n.createMarker(t)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})})}zoomTo(e,t){let n,r=this.getCurrentData();t=t||"day",n=r.viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let t,n,{viewSpecs:r,toolbarConfig:i}=this.getCurrentData(),s=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]);for(let e in r)s.push(e);for(t=0;t{this.dispatch({type:"REMOVE_EVENTS",eventStore:ri(e)})}})}getEventById(e){let t=this.getCurrentData(),{defs:n,instances:r}=t.eventStore;for(let i in e=String(e),n){let s=n[i];if(s.publicId===e){if(s.recurringDef)return new rr(t,s,null);for(let e in r){let n=r[e];if(n.defId===s.defId)return new rr(t,s,n)}}}return null}getEvents(){let e=this.getCurrentData();return rs(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let e=this.getCurrentData(),t=e.eventSources,n=[];for(let r in t)n.push(new rn(e,t[r]));return n}getEventSourceById(e){let t=this.getCurrentData(),n=t.eventSources;for(let r in e=String(e),n)if(n[r].publicId===e)return new rn(t,n[r]);return null}addEventSource(e){let t=this.getCurrentData();if(e instanceof rn)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let n=n0(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new rn(t,n)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let t=tt(e);t&&this.trigger("_scrollRequest",{time:t})}}function rA(e,t){let n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.leftthis.eventUiBuilders[t]||tA(rR)),t){let c=t[n],d=s[n]||rx,u=this.eventUiBuilders[n];l[n]={businessHours:c.businessHours||e.businessHours,dateSelection:r[n]||null,eventStore:d,eventUiBases:u(e.eventUiBases[""],c.ui,i[n]),eventSelection:d.instances[e.eventSelection]?e.eventSelection:"",eventDrag:o[n]||null,eventResize:a[n]||null}}return l}_splitDateSpan(e){let t={};if(e)for(let n of this.getKeysForDateSpan(e))t[n]=e;return t}_getKeysForEventDefs(e){return t1(e.defs,e=>this.getKeysForEventDef(e))}_splitEventStore(e,t){let{defs:n,instances:r}=e,i={};for(let e in n)for(let r of t[e])i[r]||(i[r]=nY()),i[r].defs[e]=n[e];for(let e in r){let n=r[e];for(let r of t[n.defId])i[r]&&(i[r].instances[e]=n)}return i}_splitIndividualUi(e,t){let n={};for(let r in e)if(r)for(let i of t[r])n[i]||(n[i]={}),n[i][r]=e[r];return n}_splitInteraction(e){let t={};if(e){let n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),i=this._splitEventStore(e.mutatedEvents,r),s=r=>{t[r]||(t[r]={affectedEvents:n[r]||rx,mutatedEvents:i[r]||rx,isEvent:e.isEvent})};for(let e in n)s(e);for(let e in i)s(e)}return t}}function rR(e,t,n){let r=[];e&&r.push(e),t&&r.push(t);let i={"":n$(r)};return n&&Object.assign(i,n),i}function rT(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:!!(r&&!nA(r.activeRange,e)),isOther:!!(r&&!nA(r.currentRange,e)),isToday:!!(t&&nA(t,e)),isPast:!!(n?en:!!t&&e>=t.end)}}function rM(e,t){let n=["fc-day",`fc-day-${tc[e.dow]}`];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}let rN=tB({year:"numeric",month:"long",day:"numeric"}),rO=tB({week:"long"});function rI(e,t,n="day",r=!0){let{dateEnv:i,options:s,calendarApi:o}=e,a=i.format(t,"week"===n?rO:rN);if(s.navLinks){let e=i.toDate(t),l=e=>{let r="day"===n?s.navLinkDayClick:"week"===n?s.navLinkWeekClick:null;"function"==typeof r?r.call(o,i.toDate(t),e):("string"==typeof r&&(n=r),o.zoomTo(t,n))};return Object.assign({title:e6(s.navLinkHint,[a,e],a),"data-navlink":""},r?e0(l):{onClick:l})}return{"aria-label":a}}let rP=null;function rj(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function rH(e){let t=e.getBoundingClientRect();return{left:t.left+window.scrollX,top:t.top+window.scrollY,right:t.right+window.scrollX,bottom:t.bottom+window.scrollY}}function rL(e){let t=[];for(;e instanceof HTMLElement;){let n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}class rF{constructor(e,t,n,r){this.els=t;let i=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(i.left),r&&this.buildElVerticals(i.top)}buildElHorizontals(e){let t=[],n=[];for(let r of this.els){let i=r.getBoundingClientRect();t.push(i.left-e),n.push(i.right-e)}this.lefts=t,this.rights=n}buildElVerticals(e){let t=[],n=[];for(let r of this.els){let i=r.getBoundingClientRect();t.push(i.top-e),n.push(i.bottom-e)}this.tops=t,this.bottoms=n}leftToIndex(e){let t,{lefts:n,rights:r}=this,i=n.length;for(t=0;t=n[t]&&e=n[t]&&e0}canScrollHorizontally(){return this.getMaxScrollLeft()>0}canScrollUp(){return this.getScrollTop()>0}canScrollDown(){return this.getScrollTop()0}canScrollRight(){return this.getScrollLeft()e.thickness||1){this.getEntryThickness=e,this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(e){let t=[];for(let n of e)this.insertEntry(n,t);return t}insertEntry(e,t){let n=this.findInsertion(e);this.isInsertionValid(n,e)?this.insertEntryAt(e,n):this.handleInvalidInsertion(n,e,t)}isInsertionValid(e,t){return(-1===this.maxCoord||e.levelCoord+this.getEntryThickness(t)<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnti.end&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.end,end:r.end}},n)}insertEntryAt(e,t){let{entriesByLevel:n,levelCoords:r}=this;-1===t.lateral?(rZ(r,t.level,t.levelCoord),rZ(n,t.level,[e])):rZ(n[t.level],t.lateral,e),this.stackCnts[rG(e)]=t.stackCnt}findInsertion(e){let{levelCoords:t,entriesByLevel:n,strictOrder:r,stackCnts:i}=this,s=t.length,o=0,a=-1,l=-1,c=null,d=0;for(let u=0;u=o+this.getEntryThickness(e))break;let h=n[u],f=rK(h,e.span.start,rQ),g=f[0]+f[1];for(;(s=h[g])&&s.span.starto&&(o=e,c=s,a=u,l=g),e===o&&(d=Math.max(d,i[rG(s)]+1)),g+=1}}let u=0;if(c)for(u=a+1;un(e[i-1]))return[i,0];for(;ro))return[s,1];r=s+1}}return[r,0]}class r${constructor(e,t){this.emitter=new n8}destroy(){}setMirrorIsVisible(e){}setMirrorNeedsRevert(e){}setAutoScrollEnabled(e){}}let rX={},rJ="fc-col-header-cell";function r0(e){return e.text}class r1 extends nd{render(){let{dateEnv:e,options:t,theme:n,viewApi:r}=this.context,{props:i}=this,{date:s,dateProfile:o}=i,a=rT(s,i.todayRange,null,o),l=[rJ].concat(rM(a,n)),c=e.format(s,i.dayHeaderFormat),d=!a.isDisabled&&i.colCnt>1?rI(this.context,s):{},u=Object.assign(Object.assign(Object.assign({date:e.toDate(s),view:r},i.extraRenderProps),{text:c}),a);return T(nv,{elTag:"th",elClasses:l,elAttrs:Object.assign({role:"columnheader",colSpan:i.colSpan,"data-date":a.isDisabled?void 0:tC(s)},i.extraDataAttrs),renderProps:u,generatorName:"dayHeaderContent",customGenerator:t.dayHeaderContent,defaultGenerator:r0,classNameGenerator:t.dayHeaderClassNames,didMount:t.dayHeaderDidMount,willUnmount:t.dayHeaderWillUnmount},e=>T("div",{className:"fc-scrollgrid-sync-inner"},!a.isDisabled&&T(e,{elTag:"a",elAttrs:d,elClasses:["fc-col-header-cell-cushion",i.isSticky&&"fc-sticky"]})))}}let r2=tB({weekday:"long"});class r4 extends nd{render(){let{props:e}=this,{dateEnv:t,theme:n,viewApi:r,options:i}=this.context,s=tu(new Date(2592e5),e.dow),o={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},a=t.format(s,e.dayHeaderFormat),l=Object.assign(Object.assign(Object.assign(Object.assign({date:s},o),{view:r}),e.extraRenderProps),{text:a});return T(nv,{elTag:"th",elClasses:[rJ,...rM(o,n),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:l,generatorName:"dayHeaderContent",customGenerator:i.dayHeaderContent,defaultGenerator:r0,classNameGenerator:i.dayHeaderClassNames,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},n=>T("div",{className:"fc-scrollgrid-sync-inner"},T(n,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":t.format(s,r2)}})))}}class r3 extends L{constructor(e,t){super(e,t),this.initialNowDate=nT(t.options.now,t.dateEnv),this.initialNowQueriedMs=new Date().valueOf(),this.state=this.computeTiming().currentState}render(){let{props:e,state:t}=this;return e.children(t.nowDate,t.todayRange)}componentDidMount(){this.setTimeout()}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout()}computeTiming(){let{props:e,context:t}=this,n=tp(this.initialNowDate,new Date().valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),i=t.dateEnv.add(r,tt(1,e.unit)),s=i.valueOf()-n.valueOf();return s=Math.min(864e5,s),{currentState:{nowDate:r,todayRange:r5(r)},nextState:{nowDate:i,todayRange:r5(i)},waitMs:s}}setTimeout(){let{nextState:e,waitMs:t}=this.computeTiming();this.timeoutId=setTimeout(()=>{this.setState(e,()=>{this.setTimeout()})},t)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}function r5(e){let t=tg(e),n=tu(t,1);return{start:t,end:n}}r3.contextType=na;class r8 extends nd{constructor(){super(...arguments),this.createDayHeaderFormatter=tA(r6)}render(){let{context:e}=this,{dates:t,dateProfile:n,datesRepDistinctDays:r,renderIntro:i}=this.props,s=this.createDayHeaderFormatter(e.options.dayHeaderFormat,r,t.length);return T(r3,{unit:"day"},(e,o)=>T("tr",{role:"row"},i&&i("day"),t.map(e=>r?T(r1,{key:e.toISOString(),date:e,dateProfile:n,todayRange:o,colCnt:t.length,dayHeaderFormat:s}):T(r4,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:s}))))}}function r6(e,t,n){return e||(!t||n>10?tB({weekday:"short"}):n>1?tB({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):tB({weekday:"long"}))}class r9{constructor(e,t){let n=e.start,{end:r}=e,i=[],s=[],o=-1;for(;n=t.length?t[t.length-1]+1:t[n]}}class r7{constructor(e,t){let n,r,i,{dates:s}=e;if(t){for(n=1,r=s[0].getUTCDay();n!s[e.instanceId])}),h=p.defs,f=p.instances,g=rl(h,e.eventUiBases);for(let r in d){let i=d[r],s=i.range,l=u[i.defId],m=c[i.defId];if(!is(l.constraints,s,p,e.businessHours,t))return!1;let{eventOverlap:v}=t.options,y="function"==typeof v?v:null;for(let e in f){let n=f[e];if(nC(s,n.range)&&(!1===g[n.defId].overlap&&a.isEvent||!1===l.overlap||y&&!y(new rr(t,h[n.defId],n),new rr(t,m,i))))return!1}let b=o.eventStore;for(let e of l.allows){let s,o=Object.assign(Object.assign({},n),{range:i.range,allDay:m.allDay}),a=b.defs[m.defId],l=b.instances[r];if(s=a?new rr(t,a,l):new rr(t,m),!e(n7(o,t),s))return!1}}return!0}(e,t,n,r))&&(!e.dateSelection||!!function(e,t,n,r){let i=e.eventStore,s=i.defs,o=i.instances,a=e.dateSelection,l=a.range,{selectionConfig:c}=t.getCurrentData();if(r&&(c=r(c)),!is(c.constraints,l,i,e.businessHours,t))return!1;let{selectOverlap:d}=t.options,u="function"==typeof d?d:null;for(let e in o){let n=o[e];if(nC(l,n.range)&&(!1===c.overlap||u&&!u(new rr(t,s[n.defId],n),null)))return!1}for(let e of c.allows)if(!e(n7(Object.assign(Object.assign({},n),a),t),null))return!1;return!0}(e,t,n,r))})(r,t)}function is(e,t,n,r,i){for(let s of e)if(!function(e,t){for(let n of e)if(n_(n,t))return!0;return!1}(function(e,t,n,r,i){return"businessHours"===e?io(nO(r,t,i)):"string"==typeof e?io(nQ(n,t=>t.groupId===e)):"object"==typeof e&&e?io(nO(e,t,i)):[]}(s,t,n,r,i),t))return!1;return!0}function io(e){let{instances:t}=e,n=[];for(let e in t)n.push(t[e].range);return n}let ia=/^(visible|hidden)$/;class il extends nd{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,nu(this.props.elRef,e)}}render(){let{props:e}=this,{liquid:t,liquidIsAbsolute:n}=e,r=t&&n,i=["fc-scroller"];return t&&(n?i.push("fc-scroller-liquid-absolute"):i.push("fc-scroller-liquid")),T("div",{ref:this.handleEl,className:i.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}needsXScrolling(){if(ia.test(this.props.overflowX))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:n}=e;for(let e=0;et)return!0;return!1}needsYScrolling(){if(ia.test(this.props.overflowY))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:n}=e;for(let e=0;et)return!0;return!1}getXScrollbarWidth(){return ia.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return ia.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class ic{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(e,t)=>{let{depths:n,currentMap:r}=this,i=!1,s=!1;null!==e?(i=t in r,r[t]=e,n[t]=(n[t]||0)+1,s=!0):(n[t]-=1,n[t]||(delete r[t],delete this.callbackMap[t],i=!0)),this.masterCallback&&(i&&this.masterCallback(null,String(t)),s&&this.masterCallback(e,String(t)))}}createRef(e){let t=this.callbackMap[e];return t||(t=this.callbackMap[e]=t=>{this.handleValue(t,String(e))}),t}collect(e,t,n){return function(e,t=0,n,r=1){let i=[];null==n&&(n=Object.keys(e).length);for(let s=t;se,iu),this.renderMicroColGroup=tA(ip),this.scrollerRefs=new ic,this.scrollerElRefs=new ic(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){var e;let t,n,{props:r,state:i,context:s}=this,o=r.sections||[],a=this.processCols(r.cols),l=this.renderMicroColGroup(a,i.shrinkWidth),c=(e=r.liquid,t=["fc-scrollgrid",s.theme.getClass("table")],e&&t.push("fc-scrollgrid-liquid"),t);r.collapsibleWidth&&c.push("fc-scrollgrid-collapsible");let d=o.length,u=0,p=[],h=[],f=[];for(;u{}},r);return T(r?"th":"td",{ref:n.elRef,role:"presentation"},T("div",{className:`fc-scroller-harness${c?" fc-scroller-harness-liquid":""}`},T(il,{ref:this.scrollerRefs.createRef(u),elRef:this.scrollerElRefs.createRef(u),overflowY:d,overflowX:i.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:c,liquidIsAbsolute:!0},p)))}_handleScrollerEl(e,t){let n=function(e,t){for(let n of e)if(n.key===t)return n;return null}(this.props.sections,t);n&&nu(n.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return!function(e){for(let t of e)if("shrink"===t.width)return!0;return!1}(this.props.cols)?0:function(e){let t=function(e,t){let n=e instanceof HTMLElement?[e]:e,r=[];for(let e=0;e{this.el=e,e&&(e.fcSeg=this.props.seg)}}render(){var e;let t,{props:n,context:r}=this,{options:i}=r,{seg:s}=n,{eventRange:o}=s,{ui:a}=o,l={event:new rr(r,o.def,o.instance),view:r.viewApi,timeText:n.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!n.disableDragging&&function(e,t){let{pluginHooks:n}=t,r=n.isDraggableTransformers,{def:i,ui:s}=e.eventRange,o=s.startEditable;for(let e of r)o=e(o,i,s,t);return o}(s,r),isStartResizable:!n.disableResizing&&s.isStart&&s.eventRange.ui.durationEditable&&r.options.eventResizableFromStart,isEndResizable:!n.disableResizing&&(e=s).isEnd&&e.eventRange.ui.durationEditable,isMirror:!!(n.isDragging||n.isResizing||n.isDateSelecting),isStart:!!s.isStart,isEnd:!!s.isEnd,isPast:!!n.isPast,isFuture:!!n.isFuture,isToday:!!n.isToday,isSelected:!!n.isSelected,isDragging:!!n.isDragging,isResizing:!!n.isResizing};return T(nv,Object.assign({},n,{elRef:this.handleEl,elClasses:[...(t=["fc-event"],l.isMirror&&t.push("fc-event-mirror"),l.isDraggable&&t.push("fc-event-draggable"),(l.isStartResizable||l.isEndResizable)&&t.push("fc-event-resizable"),l.isDragging&&t.push("fc-event-dragging"),l.isResizing&&t.push("fc-event-resizing"),l.isSelected&&t.push("fc-event-selected"),l.isStart&&t.push("fc-event-start"),l.isEnd&&t.push("fc-event-end"),l.isPast&&t.push("fc-event-past"),l.isToday&&t.push("fc-event-today"),l.isFuture&&t.push("fc-event-future"),t),...s.eventRange.ui.classNames,...n.elClasses||[]],renderProps:l,generatorName:"eventContent",customGenerator:i.eventContent,defaultGenerator:n.defaultGenerator,classNameGenerator:i.eventClassNames,didMount:i.eventDidMount,willUnmount:i.eventWillUnmount}))}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&(this.el.fcSeg=this.props.seg)}}class ib extends nd{render(){let{props:e,context:t}=this,{options:n}=t,{seg:r}=e,{ui:i}=r.eventRange,s=rp(r,n.eventTimeFormat||e.defaultTimeFormat,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return T(iy,Object.assign({},e,{elTag:"a",elStyle:{borderColor:i.borderColor,backgroundColor:i.backgroundColor},elAttrs:rg(r,t),defaultGenerator:iD,timeText:s}),(e,t)=>T(O,null,T(e,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:t.textColor}}),!!t.isStartResizable&&T("div",{className:"fc-event-resizer fc-event-resizer-start"}),!!t.isEndResizable&&T("div",{className:"fc-event-resizer fc-event-resizer-end"})))}}function iD(e){return T("div",{className:"fc-event-main-frame"},e.timeText&&T("div",{className:"fc-event-time"},e.timeText),T("div",{className:"fc-event-title-container"},T("div",{className:"fc-event-title fc-sticky"},e.event.title||T(O,null,"\xa0"))))}let iw=e=>T(na.Consumer,null,t=>{let{options:n}=t,r={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return T(nv,Object.assign({},e,{elTag:e.elTag||"div",renderProps:r,generatorName:"nowIndicatorContent",customGenerator:n.nowIndicatorContent,classNameGenerator:n.nowIndicatorClassNames,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount}))}),iE=tB({day:"numeric"});class iS extends nd{constructor(){super(...arguments),this.refineRenderProps=tx(i_)}render(){let{props:e,context:t}=this,{options:n}=t,r=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:t.viewApi,dateEnv:t.dateEnv,monthStartFormat:n.monthStartFormat});return T(nv,Object.assign({},e,{elClasses:[...rM(r,t.theme),...e.elClasses||[]],elAttrs:Object.assign(Object.assign({},e.elAttrs),r.isDisabled?{}:{"data-date":tC(e.date)}),renderProps:r,generatorName:"dayCellContent",customGenerator:n.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:r.isDisabled?void 0:n.dayCellClassNames,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount}))}}function iC(e){return!!(e.dayCellContent||nh("dayCellContent",e))}function i_(e){let{date:t,dateEnv:n,dateProfile:r,isMonthStart:i}=e,s=rT(t,e.todayRange,null,r),o=e.showDayNumber?n.format(t,i?e.monthStartFormat:iE):"";return Object.assign(Object.assign(Object.assign({date:n.toDate(t),view:e.viewApi},s),{isMonthStart:i,dayNumberText:o}),e.extraRenderProps)}class iA extends nd{render(){let{props:e}=this,{seg:t}=e;return T(iy,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:t.eventRange.ui.backgroundColor},defaultGenerator:ix,seg:t,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}}function ix(e){let{title:t}=e.event;return t&&T("div",{className:"fc-event-title"},e.event.title)}function ik(e){return T("div",{className:`fc-${e}`})}let iR=e=>T(na.Consumer,null,t=>{let{dateEnv:n,options:r}=t,{date:i}=e,s=r.weekNumberFormat||e.defaultFormat,o=n.computeWeekNumber(i);return T(nv,Object.assign({},e,{renderProps:{num:o,text:n.format(i,s),date:i},generatorName:"weekNumberContent",customGenerator:r.weekNumberContent,defaultGenerator:iT,classNameGenerator:r.weekNumberClassNames,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount}))});function iT(e){return e.text}class iM extends nd{constructor(){super(...arguments),this.state={titleId:eK()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&nu(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{let t=eq(e);this.rootEl.contains(t)||this.handleCloseClick()},this.handleDocumentKeyDown=e=>{"Escape"===e.key&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:e}=this.props;e&&e()}}render(){var e,t,n;let{theme:r,options:i}=this.context,{props:s,state:o}=this,a=["fc-popover",r.getClass("popover")].concat(s.extraClassNames||[]);return e=T("div",Object.assign({},s.extraAttrs,{id:s.id,className:a.join(" "),"aria-labelledby":o.titleId,ref:this.handleRootEl}),T("div",{className:"fc-popover-header "+r.getClass("popoverHeader")},T("span",{className:"fc-popover-title",id:o.titleId},s.title),T("span",{className:"fc-popover-close "+r.getIconClass("close"),title:i.closeHint,onClick:this.handleCloseClick})),T("div",{className:"fc-popover-body "+r.getClass("popoverContent")},s.children)),(n=T(e_,{__v:e,i:t=s.parentEl})).containerInfo=t,n}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){let{isRtl:e}=this.context,{alignmentEl:t,alignGridTop:n}=this.props,{rootEl:r}=this,i=function(e){let t=rL(e),n=e.getBoundingClientRect();for(let e of t){let t=rA(n,e.getBoundingClientRect());if(!t)return null;n=t}return n}(t);if(i){let s=r.getBoundingClientRect(),o=n?eY(t,".fc-scrollgrid").getBoundingClientRect().top:i.top,a=e?i.right-s.width:i.left;o=Math.max(o,10),a=Math.max(a=Math.min(a,document.documentElement.clientWidth-10-s.width),10);let l=r.offsetParent.getBoundingClientRect();eQ(r,{top:o-l.top,left:a-l.left})}}}class iN extends rY{constructor(){super(...arguments),this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:e,dateEnv:t}=this.context,{props:n}=this,{startDate:r,todayRange:i,dateProfile:s}=n,o=t.format(r,e.dayPopoverFormat);return T(iS,{elRef:this.handleRootEl,date:r,dateProfile:s,todayRange:i},(t,r,i)=>T(iM,{elRef:i.ref,id:n.id,title:o,extraClassNames:["fc-more-popover"].concat(i.className||[]),extraAttrs:i,parentEl:n.parentEl,alignmentEl:n.alignmentEl,alignGridTop:n.alignGridTop,onClose:n.onClose},iC(e)&&T(t,{elTag:"div",elClasses:["fc-more-popover-misc"]}),n.children))}queryHit(e,t,n,r){let{rootEl:i,props:s}=this;return e>=0&&e=0&&t{this.linkEl=e,this.props.elRef&&nu(this.props.elRef,e)},this.handleClick=e=>{let{props:t,context:n}=this,{moreLinkClick:r}=n.options,i=iP(t).start;function s(e){let{def:t,instance:r,range:i}=e.eventRange;return{event:new rr(n,t,r),start:n.dateEnv.toDate(i.start),end:n.dateEnv.toDate(i.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof r&&(r=r({date:i,allDay:!!t.allDayDate,allSegs:t.allSegs.map(s),hiddenSegs:t.hiddenSegs.map(s),jsEvent:e,view:n.viewApi})),r&&"popover"!==r?"string"==typeof r&&n.calendarApi.zoomTo(i,r):this.setState({isPopoverOpen:!0})},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:t}=this;return T(na.Consumer,null,n=>{let{viewApi:r,options:i,calendarApi:s}=n,{moreLinkText:o}=i,{moreCnt:a}=e,l=iP(e),c="function"==typeof o?o.call(s,a):`+${a} ${o}`,d=e6(i.moreLinkHint,[a],c),u={num:a,shortText:`+${a}`,text:c,view:r};return T(O,null,!!e.moreCnt&&T(nv,{elTag:e.elTag||"a",elRef:this.handleLinkEl,elClasses:[...e.elClasses||[],"fc-more-link"],elStyle:e.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},e.elAttrs),e0(this.handleClick)),{title:d,"aria-expanded":t.isPopoverOpen,"aria-controls":t.isPopoverOpen?t.popoverId:""}),renderProps:u,generatorName:"moreLinkContent",customGenerator:i.moreLinkContent,defaultGenerator:e.defaultGenerator||iI,classNameGenerator:i.moreLinkClassNames,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},e.children),t.isPopoverOpen&&T(iN,{id:t.popoverId,startDate:l.start,endDate:l.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:this.parentEl,alignmentEl:e.alignmentElRef?e.alignmentElRef.current:this.linkEl,alignGridTop:e.alignGridTop,forceTimed:e.forceTimed,onClose:this.handlePopoverClose},e.popoverContent()))})}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=eY(this.linkEl,".fc-view-harness"))}}function iI(e){return e.text}function iP(e){if(e.allDayDate)return{start:e.allDayDate,end:tu(e.allDayDate,1)};let{hiddenSegs:t}=e;return{start:ij(t),end:t.reduce(iL).eventRange.range.end}}function ij(e){return e.reduce(iH).eventRange.range.start}function iH(e,t){return e.eventRange.range.startt.eventRange.range.end?e:t}class iF{constructor(){this.handlers=[]}set(e){for(let t of(this.currentValue=e,this.handlers))t(e)}subscribe(e){this.handlers.push(e),void 0!==this.currentValue&&e(this.currentValue)}}class iU extends iF{constructor(){super(...arguments),this.map=new Map}handle(e){let{map:t}=this,n=!1;e.isActive?(t.set(e.id,e),n=!0):t.has(e.id)&&(t.delete(e.id),n=!0),n&&this.set(t)}}let iB=[],iz={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},iW=Object.assign(Object.assign({},iz),{buttonHints:{prev:"Previous $0",next:"Next $0",today:(e,t)=>"day"===t?"Today":`This ${e}`},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`});function iY(e){let t=e.length>0?e[0].code:"en",n=iB.concat(e),r={en:iW};for(let e of n)r[e.code]=e;return{map:r,defaultCode:t}}function iV(e,t){var n,r;let i,s;return"object"!=typeof e||Array.isArray(e)?(n=e,r=t,s=function(e,t){for(let n=0;n0;e-=1){let n=r.slice(0,e).join("-");if(t[n])return t[n]}}return null}(i=[].concat(n||[]),r)||iW,iQ(n,i,s)):iQ(e.code,[e.code],e)}function iQ(e,t,n){let r=tJ([iz,n],["buttonText"]);delete r.code;let{week:i}=r;return delete r.week,{codeArg:e,codes:t,week:i,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}function iG(e){return{id:e4(),name:e.name,premiumReleaseDate:e.premiumReleaseDate?new Date(e.premiumReleaseDate):void 0,deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}class iq extends nn{}function iZ(e,t,n,r){if(t[e])return t[e];let i=function(e,t,n,r){let i=n[e],s=r[e],o=e=>i&&null!==i[e]?i[e]:s&&null!==s[e]?s[e]:null,a=o("component"),l=o("superType"),c=null;if(l){if(l===e)throw Error("Can't have a custom view type that references itself");c=iZ(l,t,n,r)}return(!a&&c&&(a=c.component),a)?{type:e,component:a,defaults:Object.assign(Object.assign({},c?c.defaults:{}),i?i.rawOptions:{}),overrides:Object.assign(Object.assign({},c?c.overrides:{}),s?s.rawOptions:{})}:null}(e,t,n,r);return i&&(t[e]=i),i}iq.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},iq.prototype.baseIconClass="fc-icon",iq.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},iq.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},iq.prototype.iconOverrideOption="buttonIcons",iq.prototype.iconOverrideCustomButtonOption="icon",iq.prototype.iconOverridePrefix="fc-icon-";function iK(e){let t="function"==typeof e?{component:e}:e,{component:n}=t;return t.content?n=i$(t):!n||n.prototype instanceof nd||(n=i$(Object.assign(Object.assign({},t),{content:n}))),{superType:t.type,component:n,rawOptions:t}}function i$(e){return t=>T(na.Consumer,null,n=>T(nv,{elTag:"div",elClasses:nD(n.viewSpec),renderProps:Object.assign(Object.assign({},t),{nextDayThreshold:n.options.nextDayThreshold}),generatorName:void 0,customGenerator:e.content,classNameGenerator:e.classNames,didMount:e.didMount,willUnmount:e.willUnmount}))}function iX(e,t,n,r){let i=t1(e,iK),s=t1(t.views,iK);return t1(function(e,t){let n,r={};for(n in e)iZ(n,r,e,t);for(n in t)iZ(n,r,e,t);return r}(i,s),e=>(function(e,t,n,r,i){var s;let o,a,l=e.overrides.duration||e.defaults.duration||r.duration||n.duration,c=null,d="",u="",p={};if(l&&(void 0===(a=iJ[o=JSON.stringify(s=l)])&&(a=tt(s),iJ[o]=a),c=a)){let e=ta(c);d=e.unit,1===e.value&&(u=d,p=t[d]?t[d].rawOptions:{})}let h=t=>{let n=t.buttonText||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[u]?n[u]:null},f=t=>{let n=t.buttonHints||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[u]?n[u]:null};return{type:e.type,component:e.component,duration:c,durationUnit:d,singleUnit:u,optionDefaults:e.defaults,optionOverrides:Object.assign(Object.assign({},p),e.overrides),buttonTextOverride:h(r)||h(n)||e.overrides.buttonText,buttonTextDefault:h(i)||e.defaults.buttonText||h(tW)||e.type,buttonTitleOverride:f(r)||f(n)||e.overrides.buttonHint,buttonTitleDefault:f(i)||e.defaults.buttonHint||f(tW)}})(e,s,t,n,r))}let iJ={};function i0(e){for(let t in e)if(e[t].isFetching)return!0;return!1}function i1(e,t,n,r){let i={};for(let e of t)i[e.sourceId]=e;return n&&(i=i2(i,n,r)),Object.assign(Object.assign({},e),i)}function i2(e,t,n){return i4(e,t0(e,e=>{var r,i,s;return r=e,i=t,i5(r,s=n)?!s.options.lazyFetching||!r.fetchRange||r.isFetching||i.startr.fetchRange.end:!r.latestFetchId}),t,!1,n)}function i4(e,t,n,r,i){let s={};for(let o in e){let a=e[o];t[o]?s[o]=function(e,t,n,r){let{options:i,calendarApi:s}=r,o=r.pluginHooks.eventSourceDefs[e.sourceDefId],a=e4();return o.fetch({eventSource:e,range:t,isRefetch:n,context:r},n=>{let{rawEvents:o}=n;i.eventSourceSuccess&&(o=i.eventSourceSuccess.call(s,o,n.response)||o),e.success&&(o=e.success.call(s,o,n.response)||o),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:a,fetchRange:t,rawEvents:o})},n=>{let o=!1;i.eventSourceFailure&&(i.eventSourceFailure.call(s,n),o=!0),e.failure&&(e.failure(n),o=!0),o||console.warn(n.message,n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:a,fetchRange:t,error:n})}),Object.assign(Object.assign({},e),{isFetching:!0,latestFetchId:a})}(a,n,r,i):s[o]=a}return s}function i3(e,t){return t0(e,e=>i5(e,t))}function i5(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function i8(e,t,n,r,i){return{header:e.headerToolbar?i6(e.headerToolbar,e,t,n,r,i):null,footer:e.footerToolbar?i6(e.footerToolbar,e,t,n,r,i):null}}function i6(e,t,n,r,i,s){let o={},a=[],l=!1;for(let c in e){let d=function(e,t,n,r,i,s){let o="rtl"===t.direction,a=t.customButtons||{},l=n.buttonText||{},c=t.buttonText||{},d=n.buttonHints||{},u=t.buttonHints||{},p=e?e.split(" "):[],h=[],f=!1;return{widgets:p.map(e=>e.split(",").map(e=>{let n,p,g,m,v,y;if("title"===e)return f=!0,{buttonName:e};if(n=a[e])g=e=>{n.click&&n.click.call(e.target,e,e.target)},(m=r.getCustomButtonIconClass(n))||(m=r.getIconClass(e,o))||(v=n.text),y=n.hint||n.text;else if(p=i[e]){h.push(e),g=()=>{s.changeView(e)},(v=p.buttonTextOverride)||(m=r.getIconClass(e,o))||(v=p.buttonTextDefault);let n=p.buttonTextOverride||p.buttonTextDefault;y=e6(p.buttonTitleOverride||p.buttonTitleDefault||t.viewHint,[n,e],n)}else if(s[e])if(g=()=>{s[e]()},(v=l[e])||(m=r.getIconClass(e,o))||(v=c[e]),"prevYear"===e||"nextYear"===e){let t="prevYear"===e?"prev":"next";y=e6(d[t]||u[t],[c.year||"year","year"],c[e])}else y=t=>e6(d[e]||u[e],[c[t]||t,t],c[e]);return{buttonName:e,buttonClick:g,buttonIcon:m,buttonText:v,buttonHint:y}})),viewsWithButtons:h,hasTitle:f}}(e[c],t,n,r,i,s);o[c]=d.widgets,a.push(...d.viewsWithButtons),l=l||d.hasTitle}return{sectionWidgets:o,viewsWithButtons:a,hasTitle:l}}class i9{constructor(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}let i7=iG({name:"array-event-source",eventSourceDefs:[{ignoreRange:!0,parseMeta:e=>Array.isArray(e.events)?e.events:null,fetch(e,t){t({rawEvents:e.eventSource.meta})}}]}),se=iG({name:"func-event-source",eventSourceDefs:[{parseMeta:e=>"function"==typeof e.events?e.events:null,fetch(e,t,n){var r,i;let s,o,a,l,{dateEnv:c}=e.context;r=e.eventSource.meta.bind(null,rv(e.range,c)),i=e=>t({rawEvents:e}),s=!1,(l=r(o=function(e){s||(s=!0,i(e))},a=function(e){s||(s=!0,n(e))}))&&"function"==typeof l.then&&l.then(o,a)}}]}),st=iG({name:"json-event-source",eventSourceRefiners:{method:String,extraParams:t$,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:e=>e.url&&("json"===e.format||!e.format)?{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}:null,fetch(e,t,n){let{meta:r}=e.eventSource,i=function(e,t,n){let r,i,s,o,{dateEnv:a,options:l}=n,c={};return null==(r=e.startParam)&&(r=l.startParam),null==(i=e.endParam)&&(i=l.endParam),null==(s=e.timeZoneParam)&&(s=l.timeZoneParam),Object.assign(c,"function"==typeof e.extraParams?e.extraParams():e.extraParams||{}),c[r]=a.formatIso(t.start),c[i]=a.formatIso(t.end),"local"!==a.timeZone&&(c[s]=a.timeZone),c}(r,e.range,e.context);(function(e,t,n){let r={method:e=e.toUpperCase()};return"GET"===e?t+=(-1===t.indexOf("?")?"?":"&")+new URLSearchParams(n):(r.body=new URLSearchParams(n),r.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(t,r).then(e=>{if(e.ok)return e.json().then(t=>[t,e],()=>{throw new rb("Failure parsing JSON",e)});throw new rb("Request failed",e)})})(r.method,r.url,i).then(([e,n])=>{t({rawEvents:e,response:n})},n)}}]}),sn=iG({name:"simple-recurring-event",recurringTypes:[{parse(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n,r;let i,s={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null};return e.duration&&(i=e.duration),!i&&e.startTime&&e.endTime&&(n=e.endTime,r=e.startTime,i={years:n.years-r.years,months:n.months-r.months,days:n.days-r.days,milliseconds:n.milliseconds-r.milliseconds}),{allDayGuess:!!(!e.startTime&&!e.endTime),duration:i,typeData:s}}return null},expand(e,t,n){let r=nS(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){let i=e?t2(e):null,s=tg(n.start),o=n.end,a=[];for(;si0(e.eventSources)],propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",Object.assign(Object.assign({},rv(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){let{emitter:n}=t;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",rs(e,t))}}})];class ss{constructor(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new ez(this.drain.bind(this))}request(e,t){this.queue.push(e),this.delayedRunner.request(t)}pause(e){this.delayedRunner.pause(e)}resume(e,t){this.delayedRunner.resume(e,t)}drain(){let{queue:e}=this;for(;e.length;){let t,n=[];for(;t=e.shift();)this.runTask(t),n.push(t);this.drained(n)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function so(e,t,n){let r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,tB(t.titleFormat||function(e){let{currentRangeUnit:t}=e;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};let n=tf(e.currentRange.start,e.currentRange.end);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}class sa{constructor(e){this.computeCurrentViewData=tA(this._computeCurrentViewData),this.organizeRawLocales=tA(iY),this.buildLocale=tA(iV),this.buildPluginHooks=function(){let e,t=[],n=[];return(r,i)=>(e&&tl(r,t)&&tl(i,n)||(e=function(e,t){let n={},r={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function i(e){for(let t of e){let e=t.name,s=n[e];void 0===s?(n[e]=t.id,i(t.deps),r=function(e,t){var n,r;return{premiumReleaseDate:(n=e.premiumReleaseDate,r=t.premiumReleaseDate,void 0===n?r:void 0===r?n:new Date(Math.max(n.valueOf(),r.valueOf()))),reducers:e.reducers.concat(t.reducers),isLoadingFuncs:e.isLoadingFuncs.concat(t.isLoadingFuncs),contextInit:e.contextInit.concat(t.contextInit),eventRefiners:Object.assign(Object.assign({},e.eventRefiners),t.eventRefiners),eventDefMemberAdders:e.eventDefMemberAdders.concat(t.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},e.eventSourceRefiners),t.eventSourceRefiners),isDraggableTransformers:e.isDraggableTransformers.concat(t.isDraggableTransformers),eventDragMutationMassagers:e.eventDragMutationMassagers.concat(t.eventDragMutationMassagers),eventDefMutationAppliers:e.eventDefMutationAppliers.concat(t.eventDefMutationAppliers),dateSelectionTransformers:e.dateSelectionTransformers.concat(t.dateSelectionTransformers),datePointTransforms:e.datePointTransforms.concat(t.datePointTransforms),dateSpanTransforms:e.dateSpanTransforms.concat(t.dateSpanTransforms),views:Object.assign(Object.assign({},e.views),t.views),viewPropsTransformers:e.viewPropsTransformers.concat(t.viewPropsTransformers),isPropsValid:t.isPropsValid||e.isPropsValid,externalDefTransforms:e.externalDefTransforms.concat(t.externalDefTransforms),viewContainerAppends:e.viewContainerAppends.concat(t.viewContainerAppends),eventDropTransformers:e.eventDropTransformers.concat(t.eventDropTransformers),calendarInteractions:e.calendarInteractions.concat(t.calendarInteractions),componentInteractions:e.componentInteractions.concat(t.componentInteractions),themeClasses:Object.assign(Object.assign({},e.themeClasses),t.themeClasses),eventSourceDefs:e.eventSourceDefs.concat(t.eventSourceDefs),cmdFormatter:t.cmdFormatter||e.cmdFormatter,recurringTypes:e.recurringTypes.concat(t.recurringTypes),namedTimeZonedImpl:t.namedTimeZonedImpl||e.namedTimeZonedImpl,initialView:e.initialView||t.initialView,elementDraggingImpl:e.elementDraggingImpl||t.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},e.optionChangeHandlers),t.optionChangeHandlers),scrollGridImpl:t.scrollGridImpl||e.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},e.listenerRefiners),t.listenerRefiners),optionRefiners:Object.assign(Object.assign({},e.optionRefiners),t.optionRefiners),propSetHandlers:Object.assign(Object.assign({},e.propSetHandlers),t.propSetHandlers)}}(r,t)):s!==t.id&&console.warn(`Duplicate plugin '${e}'`)}}return e&&i(e),i(t),r}(r,i)),t=r,n=i,e)}(),this.buildDateEnv=tA(sl),this.buildTheme=tA(sc),this.parseToolbars=tA(i8),this.buildViewSpecs=tA(iX),this.buildDateProfileGenerator=tx(sd),this.buildViewApi=tA(su),this.buildViewUiProps=tx(sf),this.buildEventUiBySource=tA(sp,t3),this.buildEventUiBases=tA(sh),this.parseContextBusinessHours=tx(sm),this.buildTitle=tA(so),this.emitter=new n8,this.actionRunner=new ss(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=e=>{this.actionRunner.request(e)},this.props=e,this.actionRunner.pause();let t={},n=this.computeOptionsData(e.optionOverrides,t,e.calendarApi),r=n.calendarOptions.initialView||n.pluginHooks.initialView,i=this.computeCurrentViewData(r,n,e.optionOverrides,t);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(i.options);let s=function(e,t){let n=e.initialDate;return null!=n?t.createMarker(n):nT(e.now,t)}(n.calendarOptions,n.dateEnv),o=i.dateProfileGenerator.build(s);nA(o.activeRange,s)||(s=o.currentRange.start);let a={dateEnv:n.dateEnv,options:n.calendarOptions,pluginHooks:n.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(let e of n.pluginHooks.contextInit)e(a);let l=function(e,t,n){let r=t?t.activeRange:null;return i1({},function(e,t){let n=n1(t),r=[].concat(e.eventSources||[]),i=[];for(let s of(e.initialEvents&&r.unshift(e.initialEvents),e.events&&r.unshift(e.events),r)){let e=n0(s,t,n);e&&i.push(e)}return i}(e,n),r,n)}(n.calendarOptions,o,a),c={dynamicOptionOverrides:t,currentViewType:r,currentDate:s,dateProfile:o,businessHours:this.parseContextBusinessHours(a),eventSources:l,eventUiBases:{},eventStore:nY(),renderableEventStore:nY(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(a).selectionConfig},d=Object.assign(Object.assign({},a),c);for(let e of n.pluginHooks.reducers)Object.assign(c,e(null,null,d));sg(c,a)&&this.emitter.trigger("loading",!0),this.state=c,this.updateData(),this.actionRunner.resume()}resetOptions(e,t){let{props:n}=this;void 0===t?n.optionOverrides=e:(n.optionOverrides=Object.assign(Object.assign({},n.optionOverrides||{}),e),this.optionsForRefining.push(...t)),(void 0===t||t.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(e){var t,n,r;let{props:i,state:s,emitter:o}=this,a=(t=s.dynamicOptionOverrides,"SET_OPTION"===e.type?Object.assign(Object.assign({},t),{[e.optionName]:e.rawOptionValue}):t),l=this.computeOptionsData(i.optionOverrides,a,i.calendarApi),c=(n=s.currentViewType,"CHANGE_VIEW_TYPE"===e.type&&(n=e.viewType),n),d=this.computeCurrentViewData(c,l,i.optionOverrides,a);i.calendarApi.currentDataManager=this,o.setThisContext(i.calendarApi),o.setOptions(d.options);let u={dateEnv:l.dateEnv,options:l.calendarOptions,pluginHooks:l.pluginHooks,calendarApi:i.calendarApi,dispatch:this.dispatch,emitter:o,getCurrentData:this.getCurrentData},{currentDate:p,dateProfile:h}=s;this.data&&this.data.dateProfileGenerator!==d.dateProfileGenerator&&(h=d.dateProfileGenerator.build(p)),r=p,p="CHANGE_DATE"===e.type?e.dateMarker:r,h=function(e,t,n,r){let i;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if((i=r.buildPrev(e,n)).isValid)return i;break;case"NEXT":if((i=r.buildNext(e,n)).isValid)return i}return e}(h,e,p,d.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&nA(h.currentRange,p)||(p=h.currentRange.start);let f=function(e,t,n,r){var i,s,o,a,l,c;let d=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return i1(e,t.sources,d,r);case"REMOVE_EVENT_SOURCE":return i=e,s=t.sourceId,t0(i,e=>e.sourceId!==s);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":if(n)return i2(e,d,r);return e;case"FETCH_EVENT_SOURCES":return i4(e,t.sourceIds?t2(t.sourceIds):i3(e,r),d,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":let u;return o=e,a=t.sourceId,l=t.fetchId,c=t.fetchRange,(u=o[a])&&l===u.latestFetchId?Object.assign(Object.assign({},o),{[a]:Object.assign(Object.assign({},u),{isFetching:!1,fetchRange:c})}):o;case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}(s.eventSources,e,h,u),g=function(e,t,n,r,i){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,i,s){if(t&&n===t.latestFetchId){let n=nB(n2(i,t,s),t,s);return r&&(n=nO(n,r,s)),nV(n5(e,t.sourceId),n)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,i);case"RESET_RAW_EVENTS":return function(e,t,n,r,i){let{defIdMap:s,instanceIdMap:o}=function(e){let{defs:t,instances:n}=e,r={},i={};for(let e in t){let{publicId:n}=t[e];n&&(r[n]=e)}for(let e in n){let{publicId:r}=t[n[e].defId];r&&(i[r]=e)}return{defIdMap:r,instanceIdMap:i}}(e);return nO(nB(n2(n,t,i),t,i,!1,s,o),r,i)}(e,n[t.sourceId],t.rawEvents,r.activeRange,i);case"ADD_EVENTS":var s,o,a,l;return s=e,o=t.eventStore,a=r?r.activeRange:null,l=i,a&&(o=nO(o,a,l)),nV(s,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return nV(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":if(r)return nO(e,r.activeRange,i);return e;case"REMOVE_EVENTS":return function(e,t){let{defs:n,instances:r}=e,i={},s={};for(let e in n)t.defs[e]||(i[e]=n[e]);for(let e in r)!t.instances[e]&&i[r[e].defId]&&(s[e]=r[e]);return{defs:i,instances:s}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return n5(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return nQ(e,e=>!e.sourceId);case"REMOVE_ALL_EVENTS":return nY();default:return e}}(s.eventStore,e,f,h,u),m=i0(f)&&!d.options.progressiveEventRendering&&s.renderableEventStore||g,{eventUiSingleBase:v,selectionConfig:y}=this.buildViewUiProps(u),b=this.buildEventUiBySource(f),D=this.buildEventUiBases(m.defs,v,b),w={dynamicOptionOverrides:a,currentViewType:c,currentDate:p,dateProfile:h,eventSources:f,eventStore:g,renderableEventStore:m,selectionConfig:y,eventUiBases:D,businessHours:this.parseContextBusinessHours(u),dateSelection:function(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}(s.dateSelection,e),eventSelection:function(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}(s.eventSelection,e),eventDrag:function(e,t){let n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}(s.eventDrag,e),eventResize:function(e,t){let n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}(s.eventResize,e)},E=Object.assign(Object.assign({},u),w);for(let t of l.pluginHooks.reducers)Object.assign(w,t(s,e,E));let S=sg(s,u),C=sg(w,u);!S&&C?o.trigger("loading",!0):S&&!C&&o.trigger("loading",!1),this.state=w,i.onAction&&i.onAction(e)}updateData(){let{props:e,state:t}=this,n=this.data,r=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),i=this.computeCurrentViewData(t.currentViewType,r,e.optionOverrides,t.dynamicOptionOverrides),s=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(t.dateProfile,i.options,r.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},r),i),t),o=r.pluginHooks.optionChangeHandlers,a=n&&n.calendarOptions,l=r.calendarOptions;if(a&&a!==l){if(a.timeZone!==l.timeZone){var c,d;let e;c=s.eventSources,d=t.dateProfile,e=d?d.activeRange:null,t.eventSources=s.eventSources=i4(c,i3(c,s),e,!0,s),t.eventStore=s.eventStore=n3(s.eventStore,n.dateEnv,s.dateEnv),t.renderableEventStore=s.renderableEventStore=n3(s.renderableEventStore,n.dateEnv,s.dateEnv)}for(let e in o)(-1!==this.optionsForHandling.indexOf(e)||a[e]!==l[e])&&o[e](l[e],s)}this.optionsForHandling=[],e.onData&&e.onData(s)}computeOptionsData(e,t,n){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&t===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:r,pluginHooks:i,localeDefaults:s,availableLocaleData:o,extra:a}=this.processRawCalendarOptions(e,t);sv(a);let l=this.buildDateEnv(r.timeZone,r.locale,r.weekNumberCalculation,r.firstDay,r.weekText,i,o,r.defaultRangeSeparator),c=this.buildViewSpecs(i.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,s),d=this.buildTheme(r,i),u=this.parseToolbars(r,this.stableOptionOverrides,d,c,n);return this.stableCalendarOptionsData={calendarOptions:r,pluginHooks:i,dateEnv:l,viewSpecs:c,theme:d,toolbarConfig:u,localeDefaults:s,availableRawLocales:o.map}}processRawCalendarOptions(e,t){let{locales:n,locale:r}=tJ([tW,e,t],tQ),i=this.organizeRawLocales(n),s=i.map,o=this.buildLocale(r||i.defaultCode,s).options,a=this.buildPluginHooks(e.plugins||[],si),l=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},tz),tY),tV),a.listenerRefiners),a.optionRefiners),c={},d=tJ([tW,o,e,t],tQ),u={},p=this.currentCalendarOptionsInput,h=this.currentCalendarOptionsRefined,f=!1;for(let e in d)-1===this.optionsForRefining.indexOf(e)&&(d[e]===p[e]||tQ[e]&&e in p&&tQ[e](p[e],d[e]))?u[e]=h[e]:l[e]?(u[e]=l[e](d[e]),f=!0):c[e]=p[e];return f&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=u,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=t),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:a,availableLocaleData:i,localeDefaults:o,extra:c}}_computeCurrentViewData(e,t,n,r){let i=t.viewSpecs[e];if(!i)throw Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:s,extra:o}=this.processRawViewOptions(i,t.pluginHooks,t.localeDefaults,n,r);sv(o);let a=this.buildDateProfileGenerator({dateProfileGeneratorClass:i.optionDefaults.dateProfileGeneratorClass,duration:i.duration,durationUnit:i.durationUnit,usesMinMaxTime:i.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:s.slotMinTime,slotMaxTime:s.slotMaxTime,showNonCurrentDates:s.showNonCurrentDates,dayCount:s.dayCount,dateAlignment:s.dateAlignment,dateIncrement:s.dateIncrement,hiddenDays:s.hiddenDays,weekends:s.weekends,nowInput:s.now,validRangeInput:s.validRange,visibleRangeInput:s.visibleRange,fixedWeekCount:s.fixedWeekCount});return{viewSpec:i,options:s,dateProfileGenerator:a,viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}}processRawViewOptions(e,t,n,r,i){let s=tJ([tW,e.optionDefaults,n,r,e.optionOverrides,i],tQ),o=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},tz),tY),tV),tZ),t.listenerRefiners),t.optionRefiners),a={},l=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,d=!1,u={};for(let e in s)s[e]===l[e]||tQ[e]&&tQ[e](s[e],l[e])?a[e]=c[e]:(s[e]===this.currentCalendarOptionsInput[e]||tQ[e]&&tQ[e](s[e],this.currentCalendarOptionsInput[e])?e in this.currentCalendarOptionsRefined&&(a[e]=this.currentCalendarOptionsRefined[e]):o[e]?a[e]=o[e](s[e]):u[e]=s[e],d=!0);return d&&(this.currentViewOptionsInput=s,this.currentViewOptionsRefined=a),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:u}}}function sl(e,t,n,r,i,s,o,a){let l=iV(t||o.defaultCode,o.map);return new nt({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:s.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:i,cmdFormatter:s.cmdFormatter,defaultSeparator:a})}function sc(e,t){return new(t.themeClasses[e.themeSystem]||iq)(e)}function sd(e){return new(e.dateProfileGeneratorClass||nM)(e)}function su(e,t,n){return new i9(e,t,n)}function sp(e){return t1(e,e=>e.ui)}function sh(e,t,n){let r={"":t};for(let t in e){let i=e[t];i.sourceId&&n[i.sourceId]&&(r[t]=n[i.sourceId])}return r}function sf(e){let{options:t}=e;return{eventUiSingleBase:nK({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:nK({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function sg(e,t){for(let n of t.pluginHooks.isLoadingFuncs)if(n(e))return!0;return!1}function sm(e){var t,n;let r;return t=e.options.businessHours,nB((!0===(n=t)?[{}]:Array.isArray(n)?n.filter(e=>e.daysOfWeek):"object"==typeof n&&n?[n]:[]).map(e=>Object.assign(Object.assign({},n6),e)),null,e)}function sv(e,t){for(let n in e)console.warn(`Unknown option '${n}'`+(t?` for view '${t}'`:""))}class sy extends nd{render(){return T("div",{className:"fc-toolbar-chunk"},...this.props.widgetGroups.map(e=>this.renderWidgetGroup(e)))}renderWidgetGroup(e){let{props:t}=this,{theme:n}=this.context,r=[],i=!0;for(let s of e){let{buttonName:e,buttonClick:o,buttonText:a,buttonIcon:l,buttonHint:c}=s;if("title"===e)i=!1,r.push(T("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{let i=e===t.activeButton,s=!t.isTodayEnabled&&"today"===e||!t.isPrevEnabled&&"prev"===e||!t.isNextEnabled&&"next"===e,d=[`fc-${e}-button`,n.getClass("button")];i&&d.push(n.getClass("buttonActive")),r.push(T("button",{type:"button",title:"function"==typeof c?c(t.navUnit):c,disabled:s,"aria-pressed":i,className:d.join(" "),onClick:o},a||(l?T("span",{className:l,role:"img"}):"")))}}return r.length>1?T("div",{className:i&&n.getClass("buttonGroup")||""},...r):r[0]}}class sb extends nd{render(){let e,t,{model:n,extraClassName:r}=this.props,i=!1,s=n.sectionWidgets,o=s.center;return s.left?(i=!0,e=s.left):e=s.start,s.right?(i=!0,t=s.right):t=s.end,T("div",{className:[r||"","fc-toolbar",i?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",o||[]),this.renderSection("end",t||[]))}renderSection(e,t){let{props:n}=this;return T(sy,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})}}class sD extends nd{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,nu(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:t}=this,{aspectRatio:n}=e,r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],i="",s="";return n?null!==t.availableWidth?i=t.availableWidth/n:s=`${1/n*100}%`:i=e.height||"",T("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:i,paddingBottom:s}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class sw extends rE{constructor(e){super(e),this.handleSegClick=(e,t)=>{let{component:n}=this,{context:r}=n,i=ra(t);if(i&&n.isValidSegDownEl(e.target)){let s=eY(e.target,".fc-event-forced-url"),o=s?s.querySelector("a[href]").href:"";r.emitter.trigger("eventClick",{el:t,event:new rr(n.context,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:r.viewApi}),o&&!e.defaultPrevented&&(window.location.href=o)}},this.destroy=eX(e.el,"click",".fc-event",this.handleSegClick)}}class sE extends rE{constructor(e){super(e),this.handleEventElRemove=e=>{e===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(e,t)=>{ra(t)&&(this.currentSegEl=t,this.triggerEvent("eventMouseEnter",e,t))},this.handleSegLeave=(e,t)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",e,t))},this.removeHoverListeners=function(e,t,n,r){let i;return eX(e,"mouseover",t,(e,t)=>{if(t!==i){i=t,n(e,t);let s=e=>{i=null,r(e,t),t.removeEventListener("mouseleave",s)};t.addEventListener("mouseleave",s)}})}(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,t,n){let{component:r}=this,{context:i}=r,s=ra(n);(!t||r.isValidSegDownEl(t.target))&&i.emitter.trigger(e,{el:n,event:new rr(i,s.eventRange.def,s.eventRange.instance),jsEvent:t,view:i.viewApi})}}class sS extends nc{constructor(){super(...arguments),this.buildViewContext=tA(nl),this.buildViewPropTransformers=tA(s_),this.buildToolbarProps=tA(sC),this.headerRef=N(),this.footerRef=N(),this.interactionsStore={},this.state={viewLabelId:eK()},this.registerInteractiveComponent=(e,t)=>{let n=function(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}(e,t),r=[sw,sE].concat(this.props.pluginHooks.componentInteractions).map(e=>new e(n));this.interactionsStore[e.uid]=r,rC[e.uid]=n},this.unregisterInteractiveComponent=e=>{let t=this.interactionsStore[e.uid];if(t){for(let e of t)e.destroy();delete this.interactionsStore[e.uid]}delete rC[e.uid]},this.resizeRunner=new ez(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=e=>{let{options:t}=this.props;t.handleWindowResize&&e.target===window&&this.resizeRunner.request(t.windowResizeDelay)}}render(){let e,{props:t}=this,{toolbarConfig:n,options:r}=t,i=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,nT(t.options.now,t.dateEnv),t.viewTitle),s=!1,o="";t.isHeightAuto||t.forPrint?o="":null!=r.height?s=!0:null!=r.contentHeight?o=r.contentHeight:e=Math.max(r.aspectRatio,.5);let a=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),l=n.header&&n.header.hasTitle?this.state.viewLabelId:void 0;return T(na.Provider,{value:a},n.header&&T(sb,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:l},i)),T(sD,{liquid:s,height:o,aspectRatio:e,labeledById:l},this.renderView(t),this.buildAppendContent()),n.footer&&T(sb,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},i)))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map(t=>new t(e)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:t}=e.pluginHooks;for(let n in t)t[n](e[n],e)}componentDidUpdate(e){let{props:t}=this,{propSetHandlers:n}=t.pluginHooks;for(let r in n)t[r]!==e[r]&&n[r](t[r],t)}componentWillUnmount(){for(let e of(window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear(),this.calendarInteractions))e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this;return T(O,{},...e.pluginHooks.viewContainerAppends.map(t=>t(e)))}renderView(e){let{pluginHooks:t}=e,{viewSpec:n}=e,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint};for(let n of this.buildViewPropTransformers(t.viewPropsTransformers))Object.assign(r,n.transform(r,e));return T(n.component,Object.assign({},r))}}function sC(e,t,n,r,i,s){let o=n.build(i,void 0,!1),a=n.buildPrev(t,r,!1),l=n.buildNext(t,r,!1);return{title:s,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:o.isValid&&!nA(t.currentRange,i),isPrevEnabled:a.isValid,isNextEnabled:l.isValid}}function s_(e){return e.map(e=>new e)}class sA extends r_{constructor(e,t={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=e=>{switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=e=>{this.currentData=e,this.renderRunner.request(e.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:e}=this;nr(()=>{Z(T(rw,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(t,n,r,i)=>(this.setClassNames(t),this.setHeight(n),T(nm.Provider,{value:this.customContentRenderId},T(sS,Object.assign({isHeightAuto:r,forPrint:i},e))))),this.el)})}else this.isRendered&&(this.isRendered=!1,Z(null,this.el),this.setClassNames([]),this.setHeight(""))},function(e){e.isConnected&&e.getRootNode&&eU(e.getRootNode())}(e),this.el=e,this.renderRunner=new ez(this.handleRenderRequest),new sa({optionOverrides:t,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){nr(()=>{super.updateSize()})}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,t){this.currentDataManager.resetOptions(e,t)}setClassNames(e){if(!tl(e,this.currentClassNames)){let{classList:t}=this.el;for(let e of this.currentClassNames)t.remove(e);for(let n of e)t.add(n);this.currentClassNames=e}}setHeight(e){eG(this.el,"height",e)}}let sx=18>parseInt(String(D.version).split(".")[0]);class sk extends D.Component{constructor(){super(...arguments),this.elRef=(0,D.createRef)(),this.isUpdating=!1,this.isUnmounting=!1,this.state={customRenderingMap:new Map},this.requestResize=()=>{this.isUnmounting||(this.cancelResize(),this.resizeId=requestAnimationFrame(()=>{this.doResize()}))}}render(){let e=[];for(let t of this.state.customRenderingMap.values())e.push(D.createElement(sR,{key:t.id,customRendering:t}));return D.createElement("div",{ref:this.elRef},e)}componentDidMount(){let e;this.isUnmounting=!1;let t=new iU;this.handleCustomRendering=t.handle.bind(t),this.calendar=new sA(this.elRef.current,Object.assign(Object.assign({},this.props),{handleCustomRendering:this.handleCustomRendering})),this.calendar.render(),this.calendar.on("_beforeprint",()=>{(0,S.flushSync)(()=>{})}),t.subscribe(t=>{let n=Date.now(),r=!e;(sx||r||this.isUpdating||this.isUnmounting||n-e<100?sT:S.flushSync)(()=>{this.setState({customRenderingMap:t},()=>{e=n,r?this.doResize():this.requestResize()})})})}componentDidUpdate(){this.isUpdating=!0,this.calendar.resetOptions(Object.assign(Object.assign({},this.props),{handleCustomRendering:this.handleCustomRendering})),this.isUpdating=!1}componentWillUnmount(){this.isUnmounting=!0,this.cancelResize(),this.calendar.destroy()}doResize(){this.calendar.updateSize()}cancelResize(){void 0!==this.resizeId&&(cancelAnimationFrame(this.resizeId),this.resizeId=void 0)}getApi(){return this.calendar}}sk.act=sT;class sR extends D.PureComponent{render(){let{customRendering:e}=this.props,{generatorMeta:t}=e,n="function"==typeof t?t(e.renderProps):t;return(0,S.createPortal)(n,e.containerEl)}}function sT(e){e()}class sM extends rY{constructor(){super(...arguments),this.headerElRef=N()}renderSimpleLayout(e,t){let{props:n,context:r}=this,i=[],s=ig(r.options);return e&&i.push({type:"header",key:"header",isSticky:s,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),i.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),T(nb,{elClasses:["fc-daygrid"],viewSpec:r.viewSpec},T(iv,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:i}))}renderHScrollLayout(e,t,n,r){let i=this.context.pluginHooks.scrollGridImpl;if(!i)throw Error("No ScrollGrid implementation");let{props:s,context:o}=this,a=!s.forPrint&&ig(o.options),l=!s.forPrint&&im(o.options),c=[];return e&&c.push({type:"header",key:"header",isSticky:a,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),c.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),l&&c.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:ih}]}),T(nb,{elClasses:["fc-daygrid"],viewSpec:o.viewSpec},T(i,{liquid:!s.isHeightAuto&&!s.forPrint,forPrint:s.forPrint,collapsibleWidth:s.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:c}))}}function sN(e,t){let n=[];for(let e=0;e{let n=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return T(O,null,t.map(t=>{let r=t.eventRange.instance.instanceId;return T("div",{className:"fc-daygrid-event-harness",key:r,style:{visibility:n[r]?"hidden":""}},sj(t)?T(sL,Object.assign({seg:t,isDragging:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},rh(t,e.todayRange))):T(sH,Object.assign({seg:t,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},rh(t,e.todayRange))))}))}})}}function sB(e){let t=[],n=[];for(let r of e)t.push(r.seg),r.isVisible||n.push(r.seg);return{allSegs:t,invisibleSegs:n}}let sz=tB({week:"narrow"});class sW extends rY{constructor(){super(...arguments),this.rootElRef=N(),this.state={dayNumberId:eK()},this.handleRootEl=e=>{nu(this.rootElRef,e),nu(this.props.elRef,e)}}render(){let{context:e,props:t,state:n,rootElRef:r}=this,{options:i,dateEnv:s}=e,{date:o,dateProfile:a}=t,l=t.showDayNumber&&function(e,t,n){let{start:r,end:i}=t,s=tp(i,-1),o=n.getYear(r),a=n.getMonth(r),l=n.getYear(s),c=n.getMonth(s);return(o!==l||a!==c)&&!!(e.valueOf()===r.valueOf()||1===n.getDay(e)&&e.valueOf()T("div",{ref:t.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:t.minHeight}},t.showWeekNumber&&T(iR,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:rI(e,o,"week"),date:o,defaultFormat:sz}),!a.isDisabled&&(t.showDayNumber||iC(i)||t.forceDayTop)?T("div",{className:"fc-daygrid-day-top"},T(s,{elTag:"a",elClasses:["fc-daygrid-day-number",l&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},rI(e,o)),{id:n.dayNumberId})})):t.showDayNumber?T("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},T("a",{className:"fc-daygrid-day-number"},"\xa0")):void 0,T("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,T("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},T(sU,{allDayDate:o,singlePlacements:t.singlePlacements,moreCnt:t.moreCnt,alignmentElRef:r,alignGridTop:!t.showDayNumber,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange}))),T("div",{className:"fc-daygrid-day-bg"},t.bgContent)))}}function sY(e){return e.dayNumberText||T(O,null,"\xa0")}function sV(e){return e.eventRange.instance.instanceId+":"+e.firstCol}function sQ(e){return sV(e)+":"+e.lastCol}function sG(e,t,n,r){if(e.firstCol===t&&e.lastCol===n-1)return e;let i=e.eventRange,s=i.range,o=nS(s,{start:r[t].date,end:tu(r[n-1].date,1)});return Object.assign(Object.assign({},e),{firstCol:t,lastCol:n-1,eventRange:{def:i.def,ui:Object.assign(Object.assign({},i.ui),{durationEditable:!1}),instance:i.instance,range:o},isStart:e.isStart&&o.start.valueOf()===s.start.valueOf(),isEnd:e.isEnd&&o.end.valueOf()===s.end.valueOf()})}class sq extends rV{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){let t=super.addSegs(e),{entriesByLevel:n}=this,r=e=>!this.forceHidden[rG(e)];for(let e=0;e{e&&this.updateSizing(!0)}}render(){let{props:e,state:t,context:n}=this,{options:r}=n,i=e.cells.length,s=sO(e.businessHourSegs,i),o=sO(e.bgEventSegs,i),a=sO(this.getHighlightSegs(),i),l=sO(this.getMirrorSegs(),i),{singleColPlacements:c,multiColPlacements:d,moreCnts:u,moreMarginTops:p}=function(e,t,n,r,i,s,o){let a=new sq(t=>i[e[t.index].eventRange.instance.instanceId+":"+t.span.start+":"+(t.span.end-1)]||1);a.allowReslicing=!0,a.strictOrder=r,!0===t||!0===n?(a.maxCoord=s,a.hiddenConsumes=!0):"number"==typeof t?a.maxStackCnt=t:"number"==typeof n&&(a.maxStackCnt=n,a.hiddenConsumes=!0);let l=[],c=[];for(let t=0;t1,o=r.span.start===e;d+=r.levelCoord-c,c=r.levelCoord+r.thickness,s?(d+=r.thickness,o&&u.push({seg:sG(i,r.span.start,r.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:r.levelCoord,marginTop:0})):o&&(u.push({seg:sG(i,r.span.start,r.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:r.levelCoord,marginTop:d}),d=0)}i.push(l),s.push(u),o.push(d)}return{singleColPlacements:i,multiColPlacements:s,leftoverMargins:o}}(a.toRects(),e,o),f=[],g=[];for(let e of c){p[e.firstCol].push({seg:e,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let t=e.firstCol;t<=e.lastCol;t+=1)u[t].push({seg:sG(e,t,t+1,o),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let e=0;e{let r=this.renderFgSegs(n,e.forPrint?c[n]:d[n],e.todayRange,h),i=this.renderFgSegs(n,function(e,t){if(!e.length)return[];let n=function(e){let t={};for(let n of e)for(let e of n)t[e.seg.eventRange.instance.instanceId]=e.absoluteTop;return t}(t);return e.map(e=>({seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}))}(l[n],d),e.todayRange,{},!!e.eventDrag,!!e.eventResize,!1);return T(sW,{key:t.key,elRef:this.cellElRefs.createRef(t.key),innerElRef:this.frameElRefs.createRef(t.key),dateProfile:e.dateProfile,date:t.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&0===n,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:t.extraRenderProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,moreCnt:u[n],moreMarginTop:p[n],singlePlacements:c[n],fgContentElRef:this.fgElRefs.createRef(t.key),fgContent:T(O,null,T(O,null,r),T(O,null,i)),bgContent:T(O,null,this.renderFillSegs(a[n],"highlight"),this.renderFillSegs(s[n],"non-business"),this.renderFillSegs(o[n],"bg-event")),minHeight:e.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,t){let n=this.props;this.updateSizing(!t3(e,n))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,t,n,r,i,s,o){let{context:a}=this,{eventSelection:l}=this.props,{framePositions:c}=this.state,d=1===this.props.cells.length,u=i||s||o,p=[];if(c)for(let e of t){let{seg:t}=e,{instanceId:h}=t.eventRange.instance,f=e.isVisible&&!r[h],g=e.isAbsolute,m="",v="";g&&(a.isRtl?(v=0,m=c.lefts[t.lastCol]-c.lefts[t.firstCol]):(m=0,v=c.rights[t.firstCol]-c.rights[t.lastCol])),p.push(T("div",{className:"fc-daygrid-event-harness"+(g?" fc-daygrid-event-harness-abs":""),key:sV(t),ref:u?null:this.segHarnessRefs.createRef(sQ(t)),style:{visibility:f?"":"hidden",marginTop:g?"":e.marginTop,top:g?e.absoluteTop:"",left:m,right:v}},sj(t)?T(sL,Object.assign({seg:t,isDragging:i,isSelected:h===l,defaultDisplayEventEnd:d},rh(t,n))):T(sH,Object.assign({seg:t,isDragging:i,isResizing:s,isDateSelecting:o,isSelected:h===l,defaultDisplayEventEnd:d},rh(t,n)))))}return p}renderFillSegs(e,t){let{isRtl:n}=this.context,{todayRange:r}=this.props,{framePositions:i}=this.state,s=[];if(i)for(let o of e){let e=n?{right:0,left:i.lefts[o.lastCol]-i.lefts[o.firstCol]}:{left:0,right:i.rights[o.firstCol]-i.rights[o.lastCol]};s.push(T("div",{key:rf(o.eventRange),className:"fc-daygrid-bg-harness",style:e},"bg-event"===t?T(iA,Object.assign({seg:o},rh(o,r))):ik(t)))}return T(O,{},...s)}updateSizing(e){let{props:t,state:n,frameElRefs:r}=this;if(!t.forPrint&&null!==t.clientWidth){if(e){let e=t.cells.map(e=>r.currentMap[e.key]);if(e.length){let t=this.rootElRef.current,r=new rF(t,e,!0,!1);n.framePositions&&n.framePositions.similarTo(r)||this.setState({framePositions:new rF(t,e,!0,!1)})}}let i=this.state.segHeights,s=this.querySegHeights(),o=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({segHeights:Object.assign(Object.assign({},i),s),maxContentHeight:o?this.computeMaxContentHeight():null})}}querySegHeights(){let e=this.segHarnessRefs.currentMap,t={};for(let n in e){let r=Math.round(e[n].getBoundingClientRect().height);t[n]=Math.max(t[n]||0,r)}return t}computeMaxContentHeight(){let e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map(t=>e[t.key])}}sZ.addStateEquality({segHeights:t3});class sK extends rY{constructor(){super(...arguments),this.splitBusinessHourSegs=tA(sN),this.splitBgEventSegs=tA(sN),this.splitFgEventSegs=tA(sN),this.splitDateSelectionSegs=tA(sN),this.splitEventDrag=tA(sI),this.splitEventResize=tA(sI),this.rowRefs=new ic}render(){let{props:e,context:t}=this,n=e.cells.length,r=this.splitBusinessHourSegs(e.businessHourSegs,n),i=this.splitBgEventSegs(e.bgEventSegs,n),s=this.splitFgEventSegs(e.fgEventSegs,n),o=this.splitDateSelectionSegs(e.dateSelectionSegs,n),a=this.splitEventDrag(e.eventDrag,n),l=this.splitEventResize(e.eventResize,n),c=n>=7&&e.clientWidth?e.clientWidth/t.options.aspectRatio/6:null;return T(r3,{unit:"day"},(t,d)=>T(O,null,e.cells.map((t,u)=>T(sZ,{ref:this.rowRefs.createRef(u),key:t.length?t[0].date.toISOString():u,showDayNumbers:n>1,showWeekNumbers:e.showWeekNumbers,todayRange:d,dateProfile:e.dateProfile,cells:t,renderIntro:e.renderRowIntro,businessHourSegs:r[u],eventSelection:e.eventSelection,bgEventSegs:i[u].filter(s$),fgEventSegs:s[u],dateSelectionSegs:o[u],eventDrag:a[u],eventResize:l[u],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:c,forPrint:e.forPrint}))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){let e=this.rowRefs.currentMap[0].getCellEls()[0],t=e?e.closest(".fc-daygrid-body"):null;t&&(this.rootEl=t,this.context.registerInteractiveComponent(this,{el:t,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new rF(this.rootEl,this.rowRefs.collect().map(e=>e.getCellEls()[0]),!1,!0),this.colPositions=new rF(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,t){let{colPositions:n,rowPositions:r}=this,i=n.leftToIndex(e),s=r.topToIndex(t);if(null!=s&&null!=i){let e=this.props.cells[s][i];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(s,i),allDay:!0},e.extraDateSpan),dayEl:this.getCellEl(s,i),rect:{left:n.lefts[i],right:n.rights[i],top:r.tops[s],bottom:r.bottoms[s]},layer:0}}return null}getCellEl(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]}getCellRange(e,t){let n=this.props.cells[e][t].date,r=tu(n,1);return{start:n,end:r}}}function s$(e){return e.eventRange.def.allDay}class sX extends rY{constructor(){super(...arguments),this.elRef=N(),this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:t,dayMaxEvents:n,expandRows:r}=e,i=!0===n||!0===t;i&&!r&&(i=!1,t=null,n=null);let s=["fc-daygrid-body",i?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",r?"":"fc-daygrid-body-natural"];return T("div",{ref:this.elRef,className:s.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},T("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:r?e.clientHeight:""}},e.colGroupNode,T("tbody",{role:"presentation"},T(sK,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:n,dayMaxEventRows:t,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){var e,t;let n,r=(e=this.elRef.current,(t=this.props.dateProfile).currentRangeUnit.match(/year|month/)&&(n=e.querySelector(`[data-date="${t.currentDate.toISOString().match(/^\d{4}-\d{2}/)[0]}-01"]`)),n||(n=e.querySelector(`[data-date="${tC(t.currentDate)}"]`)),n);if(r){let e=r.closest(".fc-daygrid-body"),t=e.closest(".fc-scroller"),n=r.getBoundingClientRect().top-e.getBoundingClientRect().top;t.scrollTop=n?n+1:0}this.needsScrollReset=!1}}}class sJ extends ie{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,t){return t.sliceRange(e)}}class s0 extends rY{constructor(){super(...arguments),this.slicer=new sJ,this.tableRef=N()}render(){let{props:e,context:t}=this;return T(sX,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))}}class s1 extends sM{constructor(){super(...arguments),this.buildDayTableModel=tA(s2),this.headerRef=N(),this.tableRef=N()}render(){let{options:e,dateProfileGenerator:t}=this.context,{props:n}=this,r=this.buildDayTableModel(n.dateProfile,t),i=e.dayHeaders&&T(r8,{ref:this.headerRef,dateProfile:n.dateProfile,dates:r.headerDates,datesRepDistinctDays:1===r.rowCnt}),s=t=>T(s0,{ref:this.tableRef,dateProfile:n.dateProfile,dayTableModel:r,businessHours:n.businessHours,dateSelection:n.dateSelection,eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!n.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:n.forPrint});return e.dayMinWidth?this.renderHScrollLayout(i,s,r.colCnt,e.dayMinWidth):this.renderSimpleLayout(i,s)}}function s2(e,t){return new r7(new r9(e.renderRange,t),/year|month|week/.test(e.currentRangeUnit))}class s4 extends nM{buildRenderRange(e,t,n){let r=super.buildRenderRange(e,t,n),{props:i}=this;return function(e){let t,{dateEnv:n,currentRange:r}=e,{start:i,end:s}=r;if(e.snapToWeek&&(i=n.startOfWeek(i),(t=n.startOfWeek(s)).valueOf()!==s.valueOf()&&(s=td(t,1))),e.fixedWeekCount){let e=Math.ceil(th(n.startOfWeek(n.startOfMonth(tu(r.end,-1))),s)/7);s=td(s,6-e)}return{start:i,end:s}}({currentRange:r,snapToWeek:/^(year|month)$/.test(t),fixedWeekCount:i.fixedWeekCount,dateEnv:i.dateEnv})}}eF(':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}');var s3=iG({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:s1,dateProfileGeneratorClass:s4},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}});class s5 extends rk{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(e){return e.allDay?["allDay"]:["timed"]}getKeysForEventDef(e){return e.allDay?"background"===e.ui.display||"inverse-background"===e.ui.display?["timed","allDay"]:["allDay"]:["timed"]}}let s8=tB({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function s6(e){let t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return T(na.Consumer,null,n=>{if(!e.isLabeled)return T("td",{className:t.join(" "),"data-time":e.isoTimeStr});let{dateEnv:r,options:i,viewApi:s}=n,o=null==i.slotLabelFormat?s8:Array.isArray(i.slotLabelFormat)?tB(i.slotLabelFormat[0]):tB(i.slotLabelFormat),a={level:0,time:e.time,date:r.toDate(e.date),view:s,text:r.format(e.date,o)};return T(nv,{elTag:"td",elClasses:t,elAttrs:{"data-time":e.isoTimeStr},renderProps:a,generatorName:"slotLabelContent",customGenerator:i.slotLabelContent,defaultGenerator:s9,classNameGenerator:i.slotLabelClassNames,didMount:i.slotLabelDidMount,willUnmount:i.slotLabelWillUnmount},e=>T("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},T(e,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]})))})}function s9(e){return e.text}class s7 extends nd{render(){return this.props.slatMetas.map(e=>T("tr",{key:e.key},T(s6,Object.assign({},e))))}}let oe=tB({week:"short"});class ot extends rY{constructor(){super(...arguments),this.allDaySplitter=new s5,this.headerElRef=N(),this.rootElRef=N(),this.scrollerElRef=N(),this.state={slatCoords:null},this.handleScrollTopRequest=e=>{let t=this.scrollerElRef.current;t&&(t.scrollTop=e)},this.renderHeadAxis=(e,t="")=>{let{options:n}=this.context,{dateProfile:r}=this.props,i=r.renderRange,s=1===th(i.start,i.end)?rI(this.context,i.start,"week"):{};return n.weekNumbers&&"day"===e?T(iR,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:i.start,defaultFormat:oe},e=>T("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:t}},T(e,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:s}))):T("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},T("div",{className:"fc-timegrid-axis-frame",style:{height:t}}))},this.renderTableRowAxis=e=>{let{options:t,viewApi:n}=this.context;return T(nv,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:{text:t.allDayText,view:n},generatorName:"allDayContent",customGenerator:t.allDayContent,defaultGenerator:on,classNameGenerator:t.allDayClassNames,didMount:t.allDayDidMount,willUnmount:t.allDayWillUnmount},t=>T("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",null==e?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:e}},T(t,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]})))},this.handleSlatCoords=e=>{this.setState({slatCoords:e})}}renderSimpleLayout(e,t,n){let{context:r,props:i}=this,s=[],o=ig(r.options);return e&&s.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(s.push({type:"body",key:"all-day",chunk:{content:t}}),s.push({type:"body",key:"all-day-divider",outerContent:T("tr",{role:"presentation",className:"fc-scrollgrid-section"},T("td",{className:"fc-timegrid-divider "+r.theme.getClass("tableCellShaded")}))})),s.push({type:"body",key:"body",liquid:!0,expandRows:!!r.options.expandRows,chunk:{scrollerElRef:this.scrollerElRef,content:n}}),T(nb,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:r.viewSpec},T(iv,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,cols:[{width:"shrink"}],sections:s}))}renderHScrollLayout(e,t,n,r,i,s,o){let a=this.context.pluginHooks.scrollGridImpl;if(!a)throw Error("No ScrollGrid implementation");let{context:l,props:c}=this,d=!c.forPrint&&ig(l.options),u=!c.forPrint&&im(l.options),p=[];e&&p.push({type:"header",key:"header",isSticky:d,syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>T("tr",{role:"presentation"},this.renderHeadAxis("day",e.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(p.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>T("tr",{role:"presentation"},this.renderTableRowAxis(e.rowSyncHeights[0]))},{key:"cols",content:t}]}),p.push({key:"all-day-divider",type:"body",outerContent:T("tr",{role:"presentation",className:"fc-scrollgrid-section"},T("td",{colSpan:2,className:"fc-timegrid-divider "+l.theme.getClass("tableCellShaded")}))}));let h=l.options.nowIndicator;return p.push({type:"body",key:"body",liquid:!0,expandRows:!!l.options.expandRows,chunks:[{key:"axis",content:e=>T("div",{className:"fc-timegrid-axis-chunk"},T("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,T("tbody",null,T(s7,{slatMetas:s}))),T("div",{className:"fc-timegrid-now-indicator-container"},T(r3,{unit:h?"minute":"day"},e=>{let t=h&&o&&o.safeComputeTop(e);return"number"==typeof t?T(iw,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:t},isAxis:!0,date:e}):null})))},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),u&&p.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:ih},{key:"cols",content:ih}]}),T(nb,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:l.viewSpec},T(a,{liquid:!c.isHeightAuto&&!c.forPrint,forPrint:c.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:r,minWidth:i}]}],sections:p}))}getAllDayMaxEventProps(){let{dayMaxEvents:e,dayMaxEventRows:t}=this.context.options;return(!0===e||!0===t)&&(e=void 0,t=5),{dayMaxEvents:e,dayMaxEventRows:t}}}function on(e){return e.text}class or{constructor(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}safeComputeTop(e){let{dateProfile:t}=this;if(nA(t.currentRange,e)){let n=tg(e),r=e.valueOf()-n.valueOf();if(r>=ts(t.slotMinTime)&&r{let o={time:i.time,date:t.dateEnv.toDate(i.date),view:t.viewApi};return T("tr",{key:i.key,ref:r.createRef(i.key)},e.axis&&T(s6,Object.assign({},i)),T(nv,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!i.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":i.isoTimeStr},renderProps:o,generatorName:"slotLaneContent",customGenerator:n.slotLaneContent,classNameGenerator:n.slotLaneClassNames,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount}))}))}}class os extends nd{constructor(){super(...arguments),this.rootElRef=N(),this.slatElRefs=new ic}render(){let{props:e,context:t}=this;return T("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},T("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,T(oi,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){var e;let{context:t,props:n}=this;n.onCoords&&null!==n.clientWidth&&this.rootElRef.current.offsetHeight&&n.onCoords(new or(new rF(this.rootElRef.current,(e=this.slatElRefs.currentMap,n.slatMetas.map(t=>e[t.key])),!1,!0),this.props.dateProfile,t.options.slotDuration))}}function oo(e,t){let n,r=[];for(n=0;noy(e.hiddenSegs,e),defaultGenerator:oc,forceTimed:!0},e=>T(e,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]}))}}function oc(e){return e.shortText}function od(e,t){if(!e)return[[],0];let{level:n,lateralStart:r,lateralEnd:i}=e,s=r,o=[];for(;s{let i=e(...r);return i in n?n[i]:n[i]=t(...r)}}function of(e,t,n=null,r=0){let i=[];if(n)for(let s=0;sT("div",{className:"fc-timegrid-col-frame"},T("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(e.businessHourSegs,"non-business"),this.renderFillSegs(e.bgEventSegs,"bg-event"),this.renderFillSegs(e.dateSelectionSegs,"highlight")),T("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(o,s,!1,!1,!1)),T("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(i,{},!!e.eventDrag,!!e.eventResize,!!r,"mirror")),T("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(e.nowIndicatorSegs)),iC(n)&&T(t,{elTag:"div",elClasses:["fc-timegrid-col-misc"]})))}renderFgSegs(e,t,n,r,i,s){let{props:o}=this;return o.forPrint?oy(e,o):this.renderPositionedFgSegs(e,t,n,r,i,s)}renderPositionedFgSegs(e,t,n,r,i,s){let{eventMaxStack:o,eventShortHeight:a,eventOrderStrict:l,eventMinHeight:c}=this.context.options,{date:d,slatCoords:u,eventSelection:p,todayRange:h,nowDate:f}=this.props,g=n||r||i,m=of(e,d,u,c),{segPlacements:v,hiddenGroups:y}=function(e,t,n,r){let i,s,o,a=[],l=[];for(let n=0;nrG(e),(e,n,i)=>{let s=Object.assign(Object.assign({},e),{levelCoord:n,stackDepth:i,stackForward:0});return t.push(s),s.stackForward=r(e.nextLevelNodes,n+e.thickness,i+1)+1});function r(e,t,r){let i=0;for(let s of e)i=Math.max(n(s,t,r),i);return i}return r(e,0,0),t}(function(e,t){let n=oh((e,t,n)=>rG(e),(e,t,r)=>{let i,{nextLevelNodes:s,thickness:o}=e,a=o+r,l=o/a,c=[];if(s.length)for(let e of s)if(void 0===i){let r=n(e,t,a);i=r[0],c.push(r[1])}else{let t=n(e,i,0);c.push(t[1])}else i=1;let d=(i-t)*l;return[i-d,Object.assign(Object.assign({},e),{thickness:d,nextLevelNodes:c})]});return e.map(e=>n(e,0,0)[1])}(function(e){let{entriesByLevel:t}=e,n=oh((e,t)=>e+":"+t,(r,i)=>{let s=od(function(e,t,n){let{levelCoords:r,entriesByLevel:i}=e,s=i[t][n],o=r[t]+s.thickness,a=r.length,l=t;for(;l{let{seg:o,rect:l}=e,c=o.eventRange.instance.instanceId,d=g||!!(!t[c]&&l),u=ob(l&&l.span),m=!g&&l?this.computeSegHStyle(l):{left:0,right:0},v=!!l&&l.stackForward>0,y=!!l&&l.span.end-l.span.start{var c,d;let u=ob(e.span),p=(c=e.entries,d=t,c.map(e=>d[e.index]));return T(ol,{key:tS(ij(p)),hiddenSegs:p,top:u.top,bottom:u.bottom,extraDateSpan:n,dateProfile:r,todayRange:i,nowDate:s,eventSelection:o,eventDrag:a,eventResize:l})}))}renderFillSegs(e,t){let{props:n,context:r}=this,i=of(e,n.date,n.slatCoords,r.options.eventMinHeight).map((r,i)=>{let s=e[i];return T("div",{key:rf(s.eventRange),className:"fc-timegrid-bg-harness",style:ob(r)},"bg-event"===t?T(iA,Object.assign({seg:s},rh(s,n.todayRange,n.nowDate))):ik(t))});return T(O,null,i)}renderNowIndicator(e){let{slatCoords:t,date:n}=this.props;return t?e.map((e,r)=>T(iw,{key:r,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:t.computeDateTop(e.start,n)},isAxis:!1,date:n})):null}computeSegHStyle(e){let t,n,{isRtl:r,options:i}=this.context,s=i.slotEventOverlap,o=e.levelCoord,a=e.levelCoord+e.thickness;s&&(a=Math.min(1,o+(a-o)*2)),r?(t=1-a,n=o):(t=o,n=1-a);let l={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return s&&!e.stackForward&&(l[r?"marginLeft":"marginRight"]=20),l}}function oy(e,{todayRange:t,nowDate:n,eventSelection:r,eventDrag:i,eventResize:s}){let o=(i?i.affectedInstances:null)||(s?s.affectedInstances:null)||{};return T(O,null,e.map(e=>{let i=e.eventRange.instance.instanceId;return T("div",{key:i,style:{visibility:o[i]?"hidden":""}},T(om,Object.assign({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:i===r,isShort:!1},rh(e,t,n))))}))}function ob(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}class oD extends nd{constructor(){super(...arguments),this.splitFgEventSegs=tA(oo),this.splitBgEventSegs=tA(oo),this.splitBusinessHourSegs=tA(oo),this.splitNowIndicatorSegs=tA(oo),this.splitDateSelectionSegs=tA(oo),this.splitEventDrag=tA(oa),this.splitEventResize=tA(oa),this.rootElRef=N(),this.cellElRefs=new ic}render(){let{props:e,context:t}=this,n=t.options.nowIndicator&&e.slatCoords&&e.slatCoords.safeComputeTop(e.nowDate),r=e.cells.length,i=this.splitFgEventSegs(e.fgEventSegs,r),s=this.splitBgEventSegs(e.bgEventSegs,r),o=this.splitBusinessHourSegs(e.businessHourSegs,r),a=this.splitNowIndicatorSegs(e.nowIndicatorSegs,r),l=this.splitDateSelectionSegs(e.dateSelectionSegs,r),c=this.splitEventDrag(e.eventDrag,r),d=this.splitEventResize(e.eventResize,r);return T("div",{className:"fc-timegrid-cols",ref:this.rootElRef},T("table",{role:"presentation",style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,T("tbody",{role:"presentation"},T("tr",{role:"row"},e.axis&&T("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},T("div",{className:"fc-timegrid-col-frame"},T("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof n&&T(iw,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:n},isAxis:!0,date:e.nowDate})))),e.cells.map((t,n)=>T(ov,{key:t.key,elRef:this.cellElRefs.createRef(t.key),dateProfile:e.dateProfile,date:t.date,nowDate:e.nowDate,todayRange:e.todayRange,extraRenderProps:t.extraRenderProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,fgEventSegs:i[n],bgEventSegs:s[n],businessHourSegs:o[n],nowIndicatorSegs:a[n],dateSelectionSegs:l[n],eventDrag:c[n],eventResize:d[n],slatCoords:e.slatCoords,eventSelection:e.eventSelection,forPrint:e.forPrint}))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){var e;let{props:t}=this;t.onColCoords&&null!==t.clientWidth&&t.onColCoords(new rF(this.rootElRef.current,(e=this.cellElRefs.currentMap,t.cells.map(t=>e[t.key])),!0,!1))}}class ow extends rY{constructor(){super(...arguments),this.processSlotOptions=tA(oE),this.state={slatCoords:null},this.handleRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=e=>{let{onScrollTopRequest:t}=this.props,{slatCoords:n}=this.state;if(t&&n){if(e.time){let r=n.computeTimeTop(e.time);(r=Math.ceil(r))&&(r+=1),t(r)}return!0}return!1},this.handleColCoords=e=>{this.colCoords=e},this.handleSlatCoords=e=>{this.setState({slatCoords:e}),this.props.onSlatCoords&&this.props.onSlatCoords(e)}}render(){let{props:e,state:t}=this;return T("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},T(os,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),T(oD,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(e,t){let{dateEnv:n,options:r}=this.context,{colCoords:i}=this,{dateProfile:s}=this.props,{slatCoords:o}=this.state,{snapDuration:a,snapsPerSlot:l}=this.processSlotOptions(this.props.slotDuration,r.snapDuration),c=i.leftToIndex(e),d=o.positions.topToIndex(t);if(null!=c&&null!=d){var u;let e=this.props.cells[c],r=o.positions.tops[d],p=o.positions.getHeight(d),h=Math.floor((t-r)/p*l),f=this.props.cells[c].date,g=tr(s.slotMinTime,(u=d*l+h,{years:a.years*u,months:a.months*u,days:a.days*u,milliseconds:a.milliseconds*u})),m=n.add(f,g),v=n.add(m,a);return{dateProfile:s,dateSpan:Object.assign({range:{start:m,end:v},allDay:!1},e.extraDateSpan),dayEl:i.els[c],rect:{left:i.lefts[c],right:i.rights[c],top:r,bottom:r+p},layer:0}}return null}}function oE(e,t){let n=t||e,r=to(e,n);return null===r&&(n=e,r=1),{snapDuration:n,snapsPerSlot:r}}class oS extends ie{sliceRange(e,t){let n=[];for(let r=0;rT(ow,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(e,n,null,t,o),{forPrint:e.forPrint,axis:e.axis,dateProfile:n,slatMetas:e.slatMetas,slotDuration:e.slotDuration,cells:r.cells[0],tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,expandRows:e.expandRows,nowDate:a,nowIndicatorSegs:i&&this.slicer.sliceNowDate(a,n,s,t,o),todayRange:l,onScrollTopRequest:e.onScrollTopRequest,onSlatCoords:e.onSlatCoords})))}}function o_(e,t,n){let r=[];for(let i of e.headerDates)r.push({start:n.add(i,t.slotMinTime),end:n.add(i,t.slotMaxTime)});return r}let oA=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function ox(e,t,n,r,i){let s=new Date(0),o=e,a=tt(0),l=n||function(e){let t,n,r;for(t=oA.length-1;t>=0;t-=1)if(null!==(r=to(n=tt(oA[t]),e))&&r>1)return n;return e}(r),c=[];for(;ts(o)T(s0,Object.assign({},o.allDay,{dateProfile:i,dayTableModel:s,nextDayThreshold:e.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:c?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:r.forPrint},this.getAllDayMaxEventProps()))),p=t=>T(oC,Object.assign({},o.timed,{dayTableModel:s,dateProfile:i,axis:c,slotDuration:e.slotDuration,slatMetas:a,forPrint:r.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return l?this.renderHScrollLayout(d,u,p,s.colCnt,l,a,this.state.slatCoords):this.renderSimpleLayout(d,u,p)}}function oR(e,t){return new r7(new r9(e.renderRange,t),!1)}eF('.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-arrow,.fc .fc-timegrid-now-indicator-line{pointer-events:none}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}');var oT=iG({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:ok,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});rX.touchMouseIgnoreWait=500;let oM=0,oN=0,oO=!1;class oI{constructor(e){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=e=>{if(!this.shouldIgnoreMouse()&&function(e){return 0===e.button&&!e.ctrlKey}(e)&&this.tryStart(e)){let t=this.createEventFromMouse(e,!0);this.emitter.trigger("pointerdown",t),this.initScrollWatch(t),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=e=>{let t=this.createEventFromMouse(e);this.recordCoords(t),this.emitter.trigger("pointermove",t)},this.handleMouseUp=e=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(e)),this.cleanup()},this.handleTouchStart=e=>{if(this.tryStart(e)){this.isTouchDragging=!0;let t=this.createEventFromTouch(e,!0);this.emitter.trigger("pointerdown",t),this.initScrollWatch(t);let n=e.target;this.shouldIgnoreMove||n.addEventListener("touchmove",this.handleTouchMove),n.addEventListener("touchend",this.handleTouchEnd),n.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=e=>{let t=this.createEventFromTouch(e);this.recordCoords(t),this.emitter.trigger("pointermove",t)},this.handleTouchEnd=e=>{if(this.isDragging){let t=e.target;t.removeEventListener("touchmove",this.handleTouchMove),t.removeEventListener("touchend",this.handleTouchEnd),t.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(e)),this.cleanup(),this.isTouchDragging=!1,oM+=1,setTimeout(()=>{oM-=1},rX.touchMouseIgnoreWait)}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=e=>{if(!this.shouldIgnoreMove){let t=window.scrollX-this.prevScrollX+this.prevPageX,n=window.scrollY-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:e,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:t,pageY:n,deltaX:t-this.origPageX,deltaY:n-this.origPageY})}},this.containerEl=e,this.emitter=new n8,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),1===(oN+=1)&&window.addEventListener("touchmove",oP,{passive:!1})}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),(oN-=1)||window.removeEventListener("touchmove",oP,{passive:!1})}tryStart(e){let t=this.querySubjectEl(e),n=e.target;return!!(t&&(!this.handleSelector||eY(n,this.handleSelector)))&&(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0)}cleanup(){oO=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(e){return this.selector?eY(e.target,this.selector):this.containerEl}shouldIgnoreMouse(){return oM||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(oO=!0)}initScrollWatch(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.scrollX,this.prevScrollY=window.scrollY)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(e,t){let n=0,r=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:r}}createEventFromTouch(e,t){let n,r,i=e.touches,s=0,o=0;return i&&i.length?(n=i[0].pageX,r=i[0].pageY):(n=e.pageX,r=e.pageY),t?(this.origPageX=n,this.origPageY=r):(s=n-this.origPageX,o=r-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:r,deltaX:s,deltaY:o}}}function oP(e){oO&&e.preventDefault()}class oj{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.scrollX,this.origScreenY=n-window.scrollY,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(e,t){this.deltaX=e-window.scrollX-this.origScreenX,this.deltaY=t-window.scrollY-this.origScreenY,this.updateElPosition()}setIsVisible(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)}stop(e,t){let n=()=>{this.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(n,this.revertDuration):setTimeout(n,0)}doRevertAnimation(e,t){var n;let r,i=this.mirrorEl,s=this.sourceEl.getBoundingClientRect();i.style.transition="top "+t+"ms,left "+t+"ms",eQ(i,{left:s.left,top:s.top}),n=()=>{i.style.transition="",e()},r=e=>{n(e),eJ.forEach(e=>{i.removeEventListener(e,r)})},eJ.forEach(e=>{i.addEventListener(e,r)})}cleanup(){this.mirrorEl&&(eW(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&eQ(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).style.userSelect="none",t.style.webkitUserSelect="none",t.style.pointerEvents="none",t.classList.add("fc-event-dragging"),eQ(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t}}class oH extends rB{constructor(e,t){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=e,this.doesListening=t,this.scrollTop=this.origScrollTop=e.getScrollTop(),this.scrollLeft=this.origScrollLeft=e.getScrollLeft(),this.scrollWidth=e.getScrollWidth(),this.scrollHeight=e.getScrollHeight(),this.clientWidth=e.getClientWidth(),this.clientHeight=e.getClientHeight(),this.clientRect=this.computeClientRect(),this.doesListening&&this.getEventTarget().addEventListener("scroll",this.handleScroll)}destroy(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}getScrollTop(){return this.scrollTop}getScrollLeft(){return this.scrollLeft}setScrollTop(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}}class oL extends oH{constructor(e,t){super(new rz(e),t)}getEventTarget(){return this.scrollController.el}computeClientRect(){return function(e,t=!1,n){let r=rH(e),i=function(e,t=!1){let n,r,i=window.getComputedStyle(e),s=parseInt(i.borderLeftWidth,10)||0,o=parseInt(i.borderRightWidth,10)||0,a=parseInt(i.borderTopWidth,10)||0,l=parseInt(i.borderBottomWidth,10)||0,c=rj(e),d=c.y-s-o,u=c.x-a-l,p={borderLeft:s,borderRight:o,borderTop:a,borderBottom:l,scrollbarBottom:u,scrollbarLeft:0,scrollbarRight:0};return(null===rP&&(eQ(n=document.createElement("div"),{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),n.innerHTML="
",document.body.appendChild(n),r=n.firstChild.getBoundingClientRect().left>n.getBoundingClientRect().left,eW(n),rP=r),rP&&"rtl"===i.direction)?p.scrollbarLeft=d:p.scrollbarRight=d,t&&(p.paddingLeft=parseInt(i.paddingLeft,10)||0,p.paddingRight=parseInt(i.paddingRight,10)||0,p.paddingTop=parseInt(i.paddingTop,10)||0,p.paddingBottom=parseInt(i.paddingBottom,10)||0),p}(e,t),s={left:r.left+i.borderLeft+i.scrollbarLeft,right:r.right-i.borderRight-i.scrollbarRight,top:r.top+i.borderTop,bottom:r.bottom-i.borderBottom-i.scrollbarBottom};return t&&(s.left+=i.paddingLeft,s.right-=i.paddingRight,s.top+=i.paddingTop,s.bottom-=i.paddingBottom),s}(this.scrollController.el)}}class oF extends oH{constructor(e){super(new rW,e)}getEventTarget(){return window}computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}}let oU="function"==typeof performance?performance.now:Date.now;class oB{constructor(){this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=()=>{if(this.isAnimating){let e=this.computeBestEdge(this.pointerScreenX+window.scrollX,this.pointerScreenY+window.scrollY);if(e){let t=oU();this.handleSide(e,(t-this.msSinceRequest)/1e3),this.requestAnimation(t)}else this.isAnimating=!1}}}start(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))}handleMove(e,t){if(this.isEnabled){let n=e-window.scrollX,r=t-window.scrollY,i=null===this.pointerScreenY?0:r-this.pointerScreenY,s=null===this.pointerScreenX?0:n-this.pointerScreenX;i<0?this.everMovedUp=!0:i>0&&(this.everMovedDown=!0),s<0?this.everMovedLeft=!0:s>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(oU()))}}stop(){if(this.isEnabled){for(let e of(this.isAnimating=!1,this.scrollCaches))e.destroy();this.scrollCaches=null}}requestAnimation(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)}handleSide(e,t){let{scrollCache:n}=e,{edgeThreshold:r}=this,i=r-e.distance,s=i*i/(r*r)*this.maxVelocity*t,o=1;switch(e.name){case"left":o=-1;case"right":n.setScrollLeft(n.getScrollLeft()+s*o);break;case"top":o=-1;case"bottom":n.setScrollTop(n.getScrollTop()+s*o)}}computeBestEdge(e,t){let{edgeThreshold:n}=this,r=null;for(let i of this.scrollCaches||[]){let s=i.clientRect,o=e-s.left,a=s.right-e,l=t-s.top,c=s.bottom-t;o>=0&&a>=0&&l>=0&&c>=0&&(l<=n&&this.everMovedUp&&i.canScrollUp()&&(!r||r.distance>l)&&(r={scrollCache:i,name:"top",distance:l}),c<=n&&this.everMovedDown&&i.canScrollDown()&&(!r||r.distance>c)&&(r={scrollCache:i,name:"bottom",distance:c}),o<=n&&this.everMovedLeft&&i.canScrollLeft()&&(!r||r.distance>o)&&(r={scrollCache:i,name:"left",distance:o}),a<=n&&this.everMovedRight&&i.canScrollRight()&&(!r||r.distance>a)&&(r={scrollCache:i,name:"right",distance:a}))}return r}buildCaches(e){return this.queryScrollEls(e).map(e=>e===window?new oF(!1):new oL(e,!1))}queryScrollEls(e){let t=[];for(let n of this.scrollQuery)"object"==typeof n?t.push(n):t.push(...Array.prototype.slice.call(e.getRootNode().querySelectorAll(n)));return t}}class oz extends r${constructor(e,t){super(e),this.containerEl=e,this.delay=null,this.minDistance=0,this.touchScrollAllowed=!0,this.mirrorNeedsRevert=!1,this.isInteracting=!1,this.isDragging=!1,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.delayTimeoutId=null,this.onPointerDown=e=>{!this.isDragging&&(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,function(e){e.style.userSelect="none",e.style.webkitUserSelect="none",e.addEventListener("selectstart",e$)}(document.body),document.body.addEventListener("contextmenu",e$),e.isTouch||e.origEvent.preventDefault(),this.emitter.trigger("pointerdown",e),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(e.subjectEl,e.pageX,e.pageY),this.startDelay(e),this.minDistance||this.handleDistanceSurpassed(e)))},this.onPointerMove=e=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",e),!this.isDistanceSurpassed){let t=this.minDistance,{deltaX:n,deltaY:r}=e;n*n+r*r>=t*t&&this.handleDistanceSurpassed(e)}this.isDragging&&("scroll"!==e.origEvent.type&&(this.mirror.handleMove(e.pageX,e.pageY),this.autoScroller.handleMove(e.pageX,e.pageY)),this.emitter.trigger("dragmove",e))}},this.onPointerUp=e=>{this.isInteracting&&(this.isInteracting=!1,function(e){e.style.userSelect="",e.style.webkitUserSelect="",e.removeEventListener("selectstart",e$)}(document.body),document.body.removeEventListener("contextmenu",e$),this.emitter.trigger("pointerup",e),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(e)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let n=this.pointer=new oI(e);n.emitter.on("pointerdown",this.onPointerDown),n.emitter.on("pointermove",this.onPointerMove),n.emitter.on("pointerup",this.onPointerUp),t&&(n.selector=t),this.mirror=new oj,this.autoScroller=new oB}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(e){"number"==typeof this.delay?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)}handleDelayEnd(e){this.isDelayEnded=!0,this.tryStartDrag(e)}handleDistanceSurpassed(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}tryStartDrag(e){this.isDelayEnded&&this.isDistanceSurpassed&&(!this.pointer.wasTouchScroll||this.touchScrollAllowed)&&(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll())}tryStopDrag(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}stopDrag(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}setIgnoreMove(e){this.pointer.shouldIgnoreMove=e}setMirrorIsVisible(e){this.mirror.setIsVisible(e)}setMirrorNeedsRevert(e){this.mirrorNeedsRevert=e}setAutoScrollEnabled(e){this.autoScroller.isEnabled=e}}class oW{constructor(e){this.el=e,this.origRect=rH(e),this.scrollCaches=rL(e).map(e=>new oL(e,!0))}destroy(){for(let e of this.scrollCaches)e.destroy()}computeLeft(){let e=this.origRect.left;for(let t of this.scrollCaches)e+=t.origScrollLeft-t.getScrollLeft();return e}computeTop(){let e=this.origRect.top;for(let t of this.scrollCaches)e+=t.origScrollTop-t.getScrollTop();return e}isWithinClipping(e,t){let n={left:e,top:t};for(let e of this.scrollCaches){var r;if(!function(e){let t=e.tagName;return"HTML"===t||"BODY"===t}(e.getEventTarget())&&(r=e.clientRect,!(n.left>=r.left)||!(n.left=r.top)||!(n.top{let{dragging:t}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(e),this.initialHit||!this.requireInitial?(t.setIgnoreMove(!1),this.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=e=>{this.emitter.trigger("dragstart",e),this.handleMove(e,!0)},this.handleDragMove=e=>{this.emitter.trigger("dragmove",e),this.handleMove(e)},this.handlePointerUp=e=>{this.releaseHits(),this.emitter.trigger("pointerup",e)},this.handleDragEnd=e=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,e),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new n8}processFirstCoord(e){var t,n,r;let i,s={left:e.pageX,top:e.pageY},o=s,a=e.subjectEl;a instanceof HTMLElement&&(i=rH(a),t=o,n=i,o={left:Math.min(Math.max(t.left,n.left),n.right),top:Math.min(Math.max(t.top,n.top),n.bottom)});let l=this.initialHit=this.queryHitForOffset(o.left,o.top);if(l){if(this.useSubjectCenter&&i){let e=rA(i,l.rect);e&&(o={left:(e.left+e.right)/2,top:(e.top+e.bottom)/2})}this.coordAdjust={left:(r=o).left-s.left,top:r.top-s.top}}else this.coordAdjust={left:0,top:0}}handleMove(e,t){let n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);(t||!oV(this.movingHit,n))&&(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))}prepareHits(){this.offsetTrackers=t1(this.droppableStore,e=>(e.component.prepareHits(),new oW(e.el)))}releaseHits(){let{offsetTrackers:e}=this;for(let t in e)e[t].destroy();this.offsetTrackers={}}queryHitForOffset(e,t){let{droppableStore:n,offsetTrackers:r}=this,i=null;for(let s in n){let o=n[s].component,a=r[s];if(a&&a.isWithinClipping(e,t)){let n=a.computeLeft(),r=a.computeTop(),l=e-n,c=t-r,{origRect:d}=a,u=d.right-d.left,p=d.bottom-d.top;if(l>=0&&l=0&&ci.layer)&&(e.componentId=s,e.context=o.context,e.rect.left+=n,e.rect.right+=n,e.rect.top+=r,e.rect.bottom+=r,i=e)}}}return i}}function oV(e,t){var n,r,i,s;return!e&&!t||!!e==!!t&&(n=e.dateSpan,r=t.dateSpan,i=n.range,s=r.range,(null===i.start?null:i.start.valueOf())===(null===s.start?null:s.start.valueOf())&&(null===i.end?null:i.end.valueOf())===(null===s.end?null:s.end.valueOf())&&n.allDay===r.allDay&&function(e,t){for(let n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}(n,r))}function oQ(e,t){var n,r;let i={};for(let n of t.pluginHooks.datePointTransforms)Object.assign(i,n(e,t));return Object.assign(i,(n=e,{date:(r=t.dateEnv).toDate(n.range.start),dateStr:r.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),i}class oG extends rE{constructor(e){super(e),this.handlePointerDown=e=>{let{dragging:t}=this,n=e.origEvent.target;t.setIgnoreMove(!this.component.isValidDateDownEl(n))},this.handleDragEnd=e=>{let{component:t}=this,{pointer:n}=this.dragging;if(!n.wasTouchScroll){let{initialHit:n,finalHit:r}=this.hitDragging;if(n&&r&&oV(n,r)){let{context:r}=t,i=Object.assign(Object.assign({},oQ(n.dateSpan,r)),{dayEl:n.dayEl,jsEvent:e.origEvent,view:r.viewApi||r.calendarApi.view});r.emitter.trigger("dateClick",i)}}},this.dragging=new oz(e.el),this.dragging.autoScroller.isEnabled=!1;let t=this.hitDragging=new oY(this.dragging,rS(e));t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}}class oq extends rE{constructor(e){super(e),this.dragSelection=null,this.handlePointerDown=e=>{let{component:t,dragging:n}=this,{options:r}=t.context,i=r.selectable&&t.isValidDateDownEl(e.origEvent.target);n.setIgnoreMove(!i),n.delay=e.isTouch?function(e){let{options:t}=e.context,n=t.selectLongPressDelay;return null==n&&(n=t.longPressDelay),n}(t):null},this.handleDragStart=e=>{this.component.context.calendarApi.unselect(e)},this.handleHitUpdate=(e,t)=>{let{context:n}=this.component,r=null,i=!1;if(e){let t=this.hitDragging.initialHit;e.componentId===t.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(t,e)||(r=function(e,t,n){let r=e.dateSpan,i=t.dateSpan,s=[r.range.start,r.range.end,i.range.start,i.range.end];s.sort(e9);let o={};for(let r of n){let n=r(e,t);if(!1===n)return null;n&&Object.assign(o,n)}return o.range={start:s[0],end:s[3]},o.allDay=r.allDay,o}(t,e,n.pluginHooks.dateSelectionTransformers)),r&&function(e,t,n){return!!n_(t.validRange,e.range)&&ii({dateSelection:e},n)}(r,e.dateProfile,n)||(i=!0,r=null)}r?n.dispatch({type:"SELECT_DATES",selection:r}):t||n.dispatch({type:"UNSELECT_DATES"}),i?e3():e5(),t||(this.dragSelection=r)},this.handlePointerUp=e=>{this.dragSelection&&(n9(this.dragSelection,e,this.component.context),this.dragSelection=null)};let{component:t}=e,{options:n}=t.context,r=this.dragging=new oz(e.el);r.touchScrollAllowed=!1,r.minDistance=n.selectMinDistance||0,r.autoScroller.isEnabled=n.dragScroll;let i=this.hitDragging=new oY(this.dragging,rS(e));i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}}class oZ extends rE{constructor(e){super(e),this.subjectEl=null,this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=e=>{let t=e.origEvent.target,{component:n,dragging:r}=this,{mirror:i}=r,{options:s}=n.context,o=n.context;this.subjectEl=e.subjectEl;let a=this.subjectSeg=ra(e.subjectEl),l=(this.eventRange=a.eventRange).instance.instanceId;this.relevantEvents=nW(o.getCurrentData().eventStore,l),r.minDistance=e.isTouch?0:s.eventDragMinDistance,r.delay=e.isTouch&&l!==n.props.eventSelection?function(e){let{options:t}=e.context,n=t.eventLongPressDelay;return null==n&&(n=t.longPressDelay),n}(n):null,s.fixedMirrorParent?i.parentNode=s.fixedMirrorParent:i.parentNode=eY(t,".fc"),i.revertDuration=s.dragRevertDuration;let c=n.isValidSegDownEl(t)&&!eY(t,".fc-event-resizer");r.setIgnoreMove(!c),this.isDragging=c&&e.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=e=>{let t=this.component.context,n=this.eventRange,r=n.instance.instanceId;e.isTouch?r!==this.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:r}):t.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new rr(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},this.handleHitUpdate=(e,t)=>{if(!this.isDragging)return;let n=this.relevantEvents,r=this.hitDragging.initialHit,i=this.component.context,s=null,o=null,a=null,l=!1,c={affectedEvents:n,mutatedEvents:nY(),isEvent:!0};if(e){let t=(s=e.context).options;i===s||t.editable&&t.droppable?(o=function(e,t,n,r){let i=e.dateSpan,s=t.dateSpan,o=i.range.start,a=s.range.start,l={};i.allDay!==s.allDay&&(l.allDay=s.allDay,l.hasEnd=t.context.options.allDayMaintainDuration,o=s.allDay?tg(n):n);let c=nR(o,a,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);c.milliseconds&&(l.allDay=!1);let d={datesDelta:c,standardProps:l};for(let n of r)n(d,e,t);return d}(r,e,this.eventRange.instance.range.start,s.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(c.mutatedEvents=a=rt(n,s.getCurrentData().eventUiBases,o,s),ir(c,e.dateProfile,s)||(l=!0,o=null,a=null,c.mutatedEvents=nY())):s=null}this.displayDrag(s,c),l?e3():e5(),t||(i===s&&oV(r,e)&&(o=null),this.dragging.setMirrorNeedsRevert(!o),this.dragging.setMirrorIsVisible(!e||!this.subjectEl.getRootNode().querySelector(".fc-event-mirror")),this.receivingContext=s,this.validMutation=o,this.mutatedRelevantEvents=a)},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=e=>{if(this.isDragging){let t=this.component.context,n=t.viewApi,{receivingContext:r,validMutation:i}=this,s=this.eventRange.def,o=this.eventRange.instance,a=new rr(t,s,o),l=this.relevantEvents,c=this.mutatedRelevantEvents,{finalHit:d}=this.hitDragging;if(this.clearDrag(),t.emitter.trigger("eventDragStop",{el:this.subjectEl,event:a,jsEvent:e.origEvent,view:n}),i){if(r===t){let r=new rr(t,c.defs[s.defId],o?c.instances[o.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:c});let d={oldEvent:a,event:r,relatedEvents:rs(c,t,o),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})}},u={};for(let e of t.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(u,e(i,t));t.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},d),u),{el:e.subjectEl,delta:i.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",d)}else if(r){let i={event:a,relatedEvents:rs(l,t,o),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})}};t.emitter.trigger("eventLeave",Object.assign(Object.assign({},i),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:l}),t.emitter.trigger("eventRemove",i);let u=c.defs[s.defId],p=c.instances[o.instanceId],h=new rr(r,u,p);r.dispatch({type:"MERGE_EVENTS",eventStore:c});let f={event:h,relatedEvents:rs(c,r,p),revert(){r.dispatch({type:"REMOVE_EVENTS",eventStore:c})}};r.emitter.trigger("eventAdd",f),e.isTouch&&r.dispatch({type:"SELECT_EVENT",eventInstanceId:o.instanceId}),r.emitter.trigger("drop",Object.assign(Object.assign({},oQ(d.dateSpan,r)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:d.context.viewApi})),r.emitter.trigger("eventReceive",Object.assign(Object.assign({},f),{draggedEl:e.subjectEl,view:d.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}this.cleanup()};let{component:t}=this,{options:n}=t.context,r=this.dragging=new oz(e.el);r.pointer.selector=oZ.SELECTOR,r.touchScrollAllowed=!1,r.autoScroller.isEnabled=n.dragScroll;let i=this.hitDragging=new oY(this.dragging,rC);i.useSubjectCenter=e.useEventCenter,i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("pointerup",this.handlePointerUp),i.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(e,t){let n=this.component.context,r=this.receivingContext;r&&r!==e&&(r===n?r.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:nY(),isEvent:!0}}):r.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}clearDrag(){let e=this.component.context,{receivingContext:t}=this;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})}cleanup(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}}oZ.SELECTOR=".fc-event-draggable, .fc-event-resizable";class oK extends rE{constructor(e){super(e),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=e=>{let{component:t}=this,n=ra(this.querySegEl(e)),r=this.eventRange=n.eventRange;this.dragging.minDistance=t.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&this.component.props.eventSelection!==r.instance.instanceId)},this.handleDragStart=e=>{let{context:t}=this.component,n=this.eventRange;this.relevantEvents=nW(t.getCurrentData().eventStore,this.eventRange.instance.instanceId);let r=this.querySegEl(e);this.draggingSegEl=r,this.draggingSeg=ra(r),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:r,event:new rr(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi})},this.handleHitUpdate=(e,t,n)=>{let{context:r}=this.component,i=this.relevantEvents,s=this.hitDragging.initialHit,o=this.eventRange.instance,a=null,l=null,c=!1,d={affectedEvents:i,mutatedEvents:nY(),isEvent:!0};e&&(e.componentId===s.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(s,e)||(a=function(e,t,n,r){let i=e.context.dateEnv,s=nR(e.dateSpan.range.start,t.dateSpan.range.start,i,e.largeUnit);if(n){if(i.add(r.start,s)r.start)return{endDelta:s};return null}(s,e,n.subjectEl.classList.contains("fc-event-resizer-start"),o.range))),a&&(d.mutatedEvents=l=rt(i,r.getCurrentData().eventUiBases,a,r),ir(d,e.dateProfile,r)||(c=!0,a=null,l=null,d.mutatedEvents=null)),l?r.dispatch({type:"SET_EVENT_RESIZE",state:d}):r.dispatch({type:"UNSET_EVENT_RESIZE"}),c?e3():e5(),t||(a&&oV(s,e)&&(a=null),this.validMutation=a,this.mutatedRelevantEvents=l)},this.handleDragEnd=e=>{let{context:t}=this.component,n=this.eventRange.def,r=this.eventRange.instance,i=new rr(t,n,r),s=this.relevantEvents,o=this.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:i,jsEvent:e.origEvent,view:t.viewApi}),this.validMutation){let a=new rr(t,o.defs[n.defId],r?o.instances[r.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:o});let l={oldEvent:i,event:a,relatedEvents:rs(o,t,r),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:s})}};t.emitter.trigger("eventResize",Object.assign(Object.assign({},l),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||tt(0),endDelta:this.validMutation.endDelta||tt(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",l)}else t.emitter.trigger("_noEventResize");this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};let{component:t}=e,n=this.dragging=new oz(e.el);n.pointer.selector=".fc-event-resizer",n.touchScrollAllowed=!1,n.autoScroller.isEnabled=t.context.options.dragScroll;let r=this.hitDragging=new oY(this.dragging,rS(e));r.emitter.on("pointerdown",this.handlePointerDown),r.emitter.on("dragstart",this.handleDragStart),r.emitter.on("hitupdate",this.handleHitUpdate),r.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(e){return eY(e.subjectEl,".fc-event")}}class o${constructor(e){this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=e=>{e.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=e=>{let t=this.context.options.unselectCancel,n=eq(e.origEvent);this.matchesCancel=!!eY(n,t),this.matchesEvent=!!eY(n,oZ.SELECTOR)},this.onDocumentPointerUp=e=>{let{context:t}=this,{documentPointer:n}=this,r=t.getCurrentData();if(!n.wasTouchScroll){if(r.dateSelection&&!this.isRecentPointerDateSelect){let n=t.options.unselectAuto;!n||n&&this.matchesCancel||t.calendarApi.unselect(e)}r.eventSelection&&!this.matchesEvent&&t.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let t=this.documentPointer=new oI(document);t.shouldIgnoreMove=!0,t.shouldWatchScroll=!1,t.emitter.on("pointerdown",this.onDocumentPointerDown),t.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}rX.dataAttrPrefix="";var oX=iG({name:"@fullcalendar/interaction",componentInteractions:[oG,oq,oZ,oK],calendarInteractions:[o$],elementDraggingImpl:oz,optionRefiners:{fixedMirrorParent:t$},listenerRefiners:{dateClick:t$,eventDragStart:t$,eventDragStop:t$,eventDrop:t$,eventResizeStart:t$,eventResizeStop:t$,eventResize:t$,drop:t$,eventReceive:t$,eventLeave:t$}}),oJ={code:"fr",week:{dow:1,doy:4},buttonText:{prev:"Pr\xe9c\xe9dent",next:"Suivant",today:"Aujourd'hui",year:"Ann\xe9e",month:"Mois",week:"Semaine",day:"Jour",list:"Planning"},weekText:"Sem.",weekTextLong:"Semaine",allDayText:"Toute la journ\xe9e",moreLinkText:"en plus",noEventsText:"Aucun \xe9v\xe8nement \xe0 afficher"},o0=n(55192),o1=n(24934),o2=n(85910),o4=n(40228),o3=n(13964),o5=n(11860);let o8=(0,n(62688).A)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);var o6=n(96474),o9=n(41862),o7=n(37826),ae=n(68988),at=n(15616),an=n(39390),ar=n(80189),ai=n(49384),as=n(11392);let ao={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},aa=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,al=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,ac=/^([+-])(\d{2})(?::?(\d{2}))?$/;function ad(e){return e?parseInt(e):1}function au(e){return e&&parseFloat(e.replace(",","."))||0}let ap=[31,null,31,30,31,30,31,31,30,31,30,31];function ah(e){return e%400==0||e%4==0&&e%100!=0}var af=n(47138),ag=n(35355),am=n(47141);function av(e,t){return+(0,af.a)(e)<+(0,af.a)(t)}var ay=n(75699);function ab(e,t){let n=(0,af.a)(e);return n.setHours(t),n}function aD(e,t){let n=(0,af.a)(e);return n.setMinutes(t),n}function aw(e,t){let n=(0,af.a)(e);return n.setSeconds(t),n}var aE=n(88838),aS=n(37074),aC=n(33660);function a_(e){let t=(0,af.a)(e);return t.setDate(1),t.setHours(0,0,0,0),t}var aA=n(95519);function ax(e){let t=(0,af.a)(e),n=t.getMonth();return t.setMonth(n-n%3,1),t.setHours(0,0,0,0),t}var ak=n(46679),aR=n(9903),aT=n(46127);function aM(e,t){let n=+(0,af.a)(e),[r,i]=[+(0,af.a)(t.start),+(0,af.a)(t.end)].sort((e,t)=>e-t);return n>=r&&n<=i}var aN=n(35780);function aO(e,t){let n=(0,af.a)(e),r=n.getFullYear(),i=n.getDate(),s=(0,aN.w)(e,0);s.setFullYear(r,t,15),s.setHours(0,0,0,0);let o=function(e){let t=(0,af.a)(e),n=t.getFullYear(),r=t.getMonth(),i=(0,aN.w)(e,0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}(s);return n.setMonth(t,Math.min(i,o)),n}function aI(e,t){let n=(0,af.a)(e),r=Math.trunc(n.getMonth()/3)+1;return aO(n,n.getMonth()+3*(t-r))}function aP(e){return(0,af.a)(e).getFullYear()}function aj(e){return(0,af.a)(e).getMonth()}function aH(e){let t=(0,af.a)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function aL(e){return Math.trunc((0,af.a)(e).getMonth()/3)+1}var aF=n(89106);function aU(e){return(0,af.a)(e).getHours()}function aB(e){return(0,af.a)(e).getMinutes()}function az(e){return(0,af.a)(e).getSeconds()}function aW(e,t){let n=(0,af.a)(e);if(isNaN(t))return(0,aN.w)(e,NaN);if(!t)return n;let r=n.getDate(),i=(0,aN.w)(e,n.getTime());return(i.setMonth(n.getMonth()+t+1,0),r>=i.getDate())?i:(n.setFullYear(i.getFullYear(),i.getMonth(),r),n)}var aY=n(79186);function aV(e,t){return aW(e,-(3*t))}function aQ(e,t){let n=(0,af.a)(e),r=(0,af.a)(t);return 4*(n.getFullYear()-r.getFullYear())+(aL(n)-aL(r))}function aG(e,t){return aW(e,12*t)}function aq(e,t){let n=(0,af.a)(e),r=(0,af.a)(t);return n.getFullYear()-r.getFullYear()}function aZ(e){let t;return e.forEach(e=>{let n=(0,af.a)(e);(!t||t>n||isNaN(+n))&&(t=n)}),t||new Date(NaN)}function aK(e){let t;return e.forEach(function(e){let n=(0,af.a)(e);(void 0===t||tr.getTime()}function a1(e){return(0,af.a)(e).getDate()}var a2=n(90327);function a4(e,t){return(0,a2.f)(e,7*t)}function a3(e){return(0,af.a)(e).getTime()}function a5(e,t){let n=(0,af.a)(e);return isNaN(+n)?(0,aN.w)(e,NaN):(n.setFullYear(t),n)}function a8(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}var a6=n(10867),a9=n(4503);let a7={...w},le=a7.useInsertionEffect||(e=>e()),lt="ArrowUp",ln="ArrowDown",lr="ArrowLeft",li="ArrowRight";function ls(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:i,amount:s=1}=void 0===t?{}:t,o=e.current,a=n;do a+=r?-s:s;while(a>=0&&a<=o.length-1&&function(e,t,n){if(n)return n.includes(t);let r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}(o,a,i));return a}var lo="undefined"!=typeof document?D.useLayoutEffect:D.useEffect;let la=!1,ll=0,lc=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+ll++,ld=a7.useId||function(){let[e,t]=D.useState(()=>la?lc():void 0);return lo(()=>{null==e&&t(lc())},[]),D.useEffect(()=>{la=!0},[]),e},lu=D.forwardRef(function(e,t){let{context:{placement:n,elements:{floating:r},middlewareData:{arrow:i,shift:s}},width:o=14,height:a=7,tipRadius:l=0,strokeWidth:c=0,staticOffset:d,stroke:u,d:p,style:{transform:h,...f}={},...g}=e,m=ld(),[y,b]=D.useState(!1);if(lo(()=>{r&&"rtl"===(0,a6.L9)(r).direction&&b(!0)},[r]),!r)return null;let[w,E]=n.split("-"),S="top"===w||"bottom"===w,C=d;(S&&null!=s&&s.x||!S&&null!=s&&s.y)&&(C=null);let _=2*c,A=_/2,x=o/2*(-(l/8)+1),k=a/2*l/4,R=!!p,T=C&&"end"===E?"bottom":"top",M=C&&"end"===E?"right":"left";C&&y&&(M="end"===E?"left":"right");let N=(null==i?void 0:i.x)!=null?C||i.x:"",O=(null==i?void 0:i.y)!=null?C||i.y:"",I=p||"M0,0 H"+o+(" L"+(o-x))+","+(a-k)+(" Q"+o/2+","+a+" "+x)+","+(a-k)+" Z",P={top:R?"rotate(180deg)":"",left:R?"rotate(90deg)":"rotate(-90deg)",bottom:R?"":"rotate(180deg)",right:R?"rotate(-90deg)":"rotate(90deg)"}[w];return(0,v.jsxs)("svg",{...g,"aria-hidden":!0,ref:t,width:R?o:o+_,height:o,viewBox:"0 0 "+o+" "+(a>o?a:o),style:{position:"absolute",pointerEvents:"none",[M]:N,[T]:O,[w]:S||R?"100%":"calc(100% - "+_/2+"px)",transform:[P,h].filter(e=>!!e).join(" "),...f},children:[_>0&&(0,v.jsx)("path",{clipPath:"url(#"+m+")",fill:"none",stroke:u,strokeWidth:_+ +!p,d:I}),(0,v.jsx)("path",{stroke:_&&!p?g.fill:"none",d:I}),(0,v.jsx)("clipPath",{id:m,children:(0,v.jsx)("rect",{x:-A,y:A*(R?-1:1),width:o+_,height:o})})]})}),lp=D.createContext(null),lh=D.createContext(null),lf=()=>{var e;return(null==(e=D.useContext(lp))?void 0:e.id)||null},lg=()=>D.useContext(lh),lm=()=>{},lv=D.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:lm,setState:lm,isInstantPhase:!1}),ly=0,lb=new WeakMap,lD=new WeakSet,lw={},lE=0,lS=e=>e&&(e.host||lS(e.parentNode)),lC=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=lS(t);return e.contains(n)?n:null}).filter(e=>null!=e),l_=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function lA(e,t){let n=tabbable(e,l_());"prev"===t&&n.reverse();let r=n.indexOf(activeElement(getDocument(e)));return n.slice(r+1)[0]}let lx="data-floating-ui-focusable",lk="active",lR="selected";function lT(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}var lM=n(51865),lN=function(e,t){return(lN=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function lO(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}lN(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var lI=function(){return(lI=Object.assign||function(e){for(var t,n=1,r=arguments.length;n2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],ao.timeZoneDelimiter.test(n.date)&&(n.date=e.split(ao.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){let e=ao.timezone.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(i.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};let i=r[1]?parseInt(r[1]):null,s=r[2]?parseInt(r[2]):null;return{year:null===s?i:100*s,restDateString:e.slice((r[1]||r[2]).length)}}(i.date,(void 0)??2);n=function(e,t){var n,r,i,s,o,a,l,c;if(null===t)return new Date(NaN);let d=e.match(aa);if(!d)return new Date(NaN);let u=!!d[4],p=ad(d[1]),h=ad(d[2])-1,f=ad(d[3]),g=ad(d[4]),m=ad(d[5])-1;if(u){return(n=0,r=g,i=m,r>=1&&r<=53&&i>=0&&i<=6)?function(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let i=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+((t-1)*7+n+1-i)),r}(t,g,m):new Date(NaN)}{let e=new Date(0);return(s=t,o=h,a=f,o>=0&&o<=11&&a>=1&&a<=(ap[o]||(ah(s)?29:28))&&(l=t,(c=p)>=1&&c<=(ah(l)?366:365)))?(e.setUTCFullYear(t,h,Math.max(p,f)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);let s=n.getTime(),o=0;if(i.time&&isNaN(o=function(e){var t,n,r;let i=e.match(al);if(!i)return NaN;let s=au(i[1]),o=au(i[2]),a=au(i[3]);return(t=s,n=o,r=a,24===t?0===n&&0===r:r>=0&&r<60&&n>=0&&n<60&&t>=0&&t<25)?s*as.s0+o*as.Cg+1e3*a:NaN}(i.time)))return new Date(NaN);if(i.timezone){if(isNaN(r=function(e){var t,n;if("Z"===e)return 0;let r=e.match(ac);if(!r)return 0;let i="+"===r[1]?-1:1,s=parseInt(r[2]),o=r[3]&&parseInt(r[3])||0;return(t=0,(n=o)>=0&&n<=59)?i*(s*as.s0+o*as.Cg):NaN}(i.timezone)))return new Date(NaN)}else{let e=new Date(s+o),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return new Date(s+o+r)}(e):(0,af.a)(e);return lz(t)?t:new Date}function lB(e,t,n,r,i){void 0===i&&(i=lU());for(var s=l4(n)||l4(l2()),o=Array.isArray(t)?t:[t],a=0;a0?n[0]:n;return e&&lW(e,i,r)||""}function lV(e,t){var n=t.hour,r=t.minute,i=t.second;return ab(aD(aw(e,void 0===i?0:i),void 0===r?0:r),void 0===n?0:n)}function lQ(e){return(0,aS.o)(e)}function lG(e,t,n){var r=t?l4(t):l4(l2());return(0,aC.k)(e,{locale:r,weekStartsOn:n})}!function(e){e.ArrowUp="ArrowUp",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.PageUp="PageUp",e.PageDown="PageDown",e.Home="Home",e.End="End",e.Enter="Enter",e.Space=" ",e.Tab="Tab",e.Escape="Escape",e.Backspace="Backspace",e.X="x"}(a||(a={}));function lq(e){return(0,aA.D)(e)}function lZ(){return(0,aS.o)(lU())}function lK(e,t){if(!e||!t)return!e&&!t;let n=(0,af.a)(e),r=(0,af.a)(t);return n.getFullYear()===r.getFullYear()}function l$(e,t){if(!e||!t)return!e&&!t;let n=(0,af.a)(e),r=(0,af.a)(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function lX(e,t){return e&&t?+ax(e)==+ax(t):!e&&!t}function lJ(e,t){return e&&t?+(0,aS.o)(e)==+(0,aS.o)(t):!e&&!t}function l0(e,t){return e&&t?+(0,af.a)(e)==+(0,af.a)(t):!e&&!t}function l1(e,t,n){var r,i=(0,aS.o)(t),s=(0,ak.D)(n);try{r=aM(e,{start:i,end:s})}catch(e){r=!1}return r}function l2(){return lF().__localeId__}function l4(e){if("string"!=typeof e)return e;var t=lF();return t.__localeData__?t.__localeData__[e]:void 0}function l3(e,t){return lW(aO(lU(),e),"LLLL",t)}function l5(e,t){return lW(aO(lU(),e),"LLL",t)}function l8(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,s=n.excludeDates,o=n.excludeDateIntervals,a=n.includeDates,l=n.includeDateIntervals,c=n.filterDate;return ci(e,{minDate:r,maxDate:i})||s&&s.some(function(t){return t instanceof Date?lJ(e,t):lJ(e,t.date)})||o&&o.some(function(t){return aM(e,{start:t.start,end:t.end})})||a&&!a.some(function(t){return lJ(e,t)})||l&&!l.some(function(t){return aM(e,{start:t.start,end:t.end})})||c&&!c(lU(e))||!1}function l6(e,t){var n=void 0===t?{}:t,r=n.excludeDates,i=n.excludeDateIntervals;return i&&i.length>0?i.some(function(t){return aM(e,{start:t.start,end:t.end})}):r&&r.some(function(t){var n;return t instanceof Date?lJ(e,t):lJ(e,null!=(n=t.date)?n:new Date)})||!1}function l9(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,s=n.excludeDates,o=n.includeDates,a=n.filterDate;return ci(e,{minDate:r?a_(r):void 0,maxDate:i?(0,aT.p)(i):void 0})||(null==s?void 0:s.some(function(t){return l$(e,t instanceof Date?t:t.date)}))||o&&!o.some(function(t){return l$(e,t)})||a&&!a(lU(e))||!1}function l7(e,t,n,r){var i=aP(e),s=aj(e),o=aP(t),a=aj(t),l=aP(r);return i===o&&i===l?s<=n&&n<=a:i=n||li)}function ce(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,s=n.excludeDates,o=n.includeDates,a=n.filterDate;return ci(e,{minDate:r,maxDate:i})||(null==s?void 0:s.some(function(t){return lX(e,t instanceof Date?t:t.date)}))||o&&!o.some(function(t){return lX(e,t)})||a&&!a(lU(e))||!1}function ct(e,t,n){if(!t||!n||!(0,am.f)(t)||!(0,am.f)(n))return!1;var r=aP(t),i=aP(n);return r<=e&&i>=e}function cn(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,s=n.excludeDates,o=n.includeDates,a=n.filterDate,l=new Date(e,0,1);return ci(l,{minDate:r?(0,aA.D)(r):void 0,maxDate:i?aH(i):void 0})||(null==s?void 0:s.some(function(e){return lK(l,e instanceof Date?e:e.date)}))||o&&!o.some(function(e){return lK(l,e)})||a&&!a(lU(l))||!1}function cr(e,t,n,r){var i=aP(e),s=aL(e),o=aP(t),a=aL(t),l=aP(r);return i===o&&i===l?s<=n&&n<=a:i=n||li)}function ci(e,t){var n,r=void 0===t?{}:t,i=r.minDate,s=r.maxDate;return null!=(n=i&&0>(0,aF.m)(e,i)||s&&(0,aF.m)(e,s)>0)&&n}function cs(e,t){return t.some(function(t){return aU(t)===aU(e)&&aB(t)===aB(e)&&az(t)===az(e)})}function co(e,t){var n=void 0===t?{}:t,r=n.excludeTimes,i=n.includeTimes,s=n.filterTime;return r&&cs(e,r)||i&&!cs(e,i)||s&&!s(e)||!1}function ca(e,t){var n,r=t.minTime,i=t.maxTime;if(!r||!i)throw Error("Both minTime and maxTime props required");var s=lU();s=aw(s=aD(s=ab(s,aU(e)),aB(e)),az(e));var o=lU();o=aw(o=aD(o=ab(o,aU(r)),aB(r)),az(r));var a=lU();a=aw(a=aD(a=ab(a,aU(i)),aB(i)),az(i));try{n=!aM(s,{start:o,end:a})}catch(e){n=!1}return n}function cl(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.includeDates,s=aW(e,-1);return r&&(0,aY.U)(r,s)>0||i&&i.every(function(e){return(0,aY.U)(e,s)>0})||!1}function cc(e,t){var n=void 0===t?{}:t,r=n.maxDate,i=n.includeDates,s=aW(e,1);return r&&(0,aY.U)(s,r)>0||i&&i.every(function(e){return(0,aY.U)(s,e)>0})||!1}function cd(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.includeDates,s=aG(e,-1);return r&&aq(r,s)>0||i&&i.every(function(e){return aq(e,s)>0})||!1}function cu(e,t){var n=void 0===t?{}:t,r=n.maxDate,i=n.includeDates,s=aG(e,1);return r&&aq(s,r)>0||i&&i.every(function(e){return aq(s,e)>0})||!1}function cp(e){var t=e.minDate,n=e.includeDates;return n&&t?aZ(n.filter(function(e){return(0,aF.m)(e,t)>=0})):n?aZ(n):t}function ch(e){var t=e.maxDate,n=e.includeDates;return n&&t?aK(n.filter(function(e){return 0>=(0,aF.m)(e,t)})):n?aK(n):t}function cf(e,t){void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--highlighted");for(var n,r=new Map,i=0,s=e.length;i=6,u=!i&&!t.isWeekInMonth(a);if(d||u)if(t.props.peekNextMonth)o=!0;else break}return r},t.onMonthClick=function(e,n){var r=t.isMonthDisabledForLabelDate(n),i=r.isDisabled,s=r.labelDate;i||t.handleDayClick(a_(s),e)},t.onMonthMouseEnter=function(e){var n=t.isMonthDisabledForLabelDate(e),r=n.isDisabled,i=n.labelDate;r||t.handleDayMouseEnter(a_(i))},t.handleMonthNavigation=function(e,n){var r,i,s,o;null==(i=(r=t.props).setPreSelection)||i.call(r,n),null==(o=null==(s=t.MONTH_REFS[e])?void 0:s.current)||o.focus()},t.handleKeyboardNavigation=function(e,n,r){var i,s=t.props,o=s.selected,l=s.preSelection,c=s.setPreSelection,d=s.minDate,u=s.maxDate,p=s.showFourColumnMonthYearPicker,h=s.showTwoColumnMonthYearPicker;if(l){var f=cx(p,h),g=t.getVerticalOffset(f),m=null==(i=cA[f])?void 0:i.grid,v=function(e,t,n){var r,i,s=t,o=n;switch(e){case a.ArrowRight:s=aW(t,1),o=11===n?0:n+1;break;case a.ArrowLeft:s=aW(t,-1),o=0===n?11:n-1;break;case a.ArrowUp:s=aW(t,-g),o=(null==(r=null==m?void 0:m[0])?void 0:r.includes(n))?n+12-g:n-g;break;case a.ArrowDown:s=aW(t,g),o=(null==(i=null==m?void 0:m[m.length-1])?void 0:i.includes(n))?n-12+g:n+g}return{newCalculatedDate:s,newCalculatedMonth:o}};if(n===a.Enter){t.isMonthDisabled(r)||(t.onMonthClick(e,r),null==c||c(o));return}var y=function(e,n,r){for(var i=e,s=!1,o=0,l=v(i,n,r),c=l.newCalculatedDate,p=l.newCalculatedMonth;!s;){if(o>=40){c=n,p=r;break}if(d&&cu){var h=v(i=a.ArrowLeft,c,p);c=h.newCalculatedDate,p=h.newCalculatedMonth}if(function(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,s=n.excludeDates,o=n.includeDates;return ci(e,{minDate:r,maxDate:i})||s&&s.some(function(t){return l$(t instanceof Date?t:t.date,e)})||o&&!o.some(function(t){return l$(t,e)})||!1}(c,t.props)){var h=v(i,c,p);c=h.newCalculatedDate,p=h.newCalculatedMonth}else s=!0;o++}return{newCalculatedDate:c,newCalculatedMonth:p}}(n,l,r),b=y.newCalculatedDate,D=y.newCalculatedMonth;switch(n){case a.ArrowRight:case a.ArrowLeft:case a.ArrowUp:case a.ArrowDown:t.handleMonthNavigation(D,b)}}},t.getVerticalOffset=function(e){var t,n;return null!=(n=null==(t=cA[e])?void 0:t.verticalNavigationOffset)?n:0},t.onMonthKeyDown=function(e,n){var r=t.props,i=r.disabledKeyboardNavigation,s=r.handleOnMonthKeyDown,o=e.key;o!==a.Tab&&e.preventDefault(),i||t.handleKeyboardNavigation(e,o,n),s&&s(e)},t.onQuarterClick=function(e,n){var r=aI(t.props.day,n);ce(r,t.props)||t.handleDayClick(ax(r),e)},t.onQuarterMouseEnter=function(e){var n=aI(t.props.day,e);ce(n,t.props)||t.handleDayMouseEnter(ax(n))},t.handleQuarterNavigation=function(e,n){var r,i,s,o;t.isDisabled(n)||t.isExcluded(n)||(null==(i=(r=t.props).setPreSelection)||i.call(r,n),null==(o=null==(s=t.QUARTER_REFS[e-1])?void 0:s.current)||o.focus())},t.onQuarterKeyDown=function(e,n){var r,i,s=e.key;if(!t.props.disabledKeyboardNavigation)switch(s){case a.Enter:t.onQuarterClick(e,n),null==(i=(r=t.props).setPreSelection)||i.call(r,t.props.selected);break;case a.ArrowRight:if(!t.props.preSelection)break;t.handleQuarterNavigation(4===n?1:n+1,aW(t.props.preSelection,3));break;case a.ArrowLeft:if(!t.props.preSelection)break;t.handleQuarterNavigation(1===n?4:n-1,aW(t.props.preSelection,-3))}},t.isMonthDisabledForLabelDate=function(e){var n,r=t.props,i=r.day,s=r.minDate,o=r.maxDate,a=r.excludeDates,l=r.includeDates,c=aO(i,e);return{isDisabled:null!=(n=(s||o||a||l)&&l9(c,t.props))&&n,labelDate:c}},t.isMonthDisabled=function(e){return t.isMonthDisabledForLabelDate(e).isDisabled},t.getMonthClassNames=function(e){var n=t.props,r=n.day,i=n.startDate,s=n.endDate,o=n.preSelection,a=n.monthClassName,l=a?a(aO(r,e)):void 0,c=t.getSelection();return(0,ai.$)("react-datepicker__month-text","react-datepicker__month-".concat(e),l,{"react-datepicker__month-text--disabled":t.isMonthDisabled(e),"react-datepicker__month-text--selected":c?t.isSelectMonthInList(r,e,c):void 0,"react-datepicker__month-text--keyboard-selected":!t.props.disabledKeyboardNavigation&&o&&t.isSelectedMonth(r,e,o)&&!t.isMonthDisabled(e),"react-datepicker__month-text--in-selecting-range":t.isInSelectingRangeMonth(e),"react-datepicker__month-text--in-range":i&&s?l7(i,s,e,r):void 0,"react-datepicker__month-text--range-start":t.isRangeStartMonth(e),"react-datepicker__month-text--range-end":t.isRangeEndMonth(e),"react-datepicker__month-text--selecting-range-start":t.isSelectingMonthRangeStart(e),"react-datepicker__month-text--selecting-range-end":t.isSelectingMonthRangeEnd(e),"react-datepicker__month-text--today":t.isCurrentMonth(r,e)})},t.getTabIndex=function(e){if(null==t.props.preSelection)return"-1";var n=aj(t.props.preSelection),r=t.isMonthDisabledForLabelDate(n).isDisabled;return e!==n||r||t.props.disabledKeyboardNavigation?"-1":"0"},t.getQuarterTabIndex=function(e){if(null==t.props.preSelection)return"-1";var n=aL(t.props.preSelection),r=ce(t.props.day,t.props);return e!==n||r||t.props.disabledKeyboardNavigation?"-1":"0"},t.getAriaLabel=function(e){var n=t.props,r=n.chooseDayAriaLabelPrefix,i=n.disabledDayAriaLabelPrefix,s=n.day,o=n.locale,a=aO(s,e),l=t.isDisabled(a)||t.isExcluded(a)?void 0===i?"Not available":i:void 0===r?"Choose":r;return"".concat(l," ").concat(lW(a,"MMMM yyyy",o))},t.getQuarterClassNames=function(e){var n=t.props,r=n.day,i=n.startDate,s=n.endDate,o=n.selected,a=n.minDate,l=n.maxDate,c=n.excludeDates,d=n.includeDates,u=n.filterDate,p=n.preSelection,h=n.disabledKeyboardNavigation,f=(a||l||c||d||u)&&ce(aI(r,e),t.props);return(0,ai.$)("react-datepicker__quarter-text","react-datepicker__quarter-".concat(e),{"react-datepicker__quarter-text--disabled":f,"react-datepicker__quarter-text--selected":o?t.isSelectedQuarter(r,e,o):void 0,"react-datepicker__quarter-text--keyboard-selected":!h&&p&&t.isSelectedQuarter(r,e,p)&&!f,"react-datepicker__quarter-text--in-selecting-range":t.isInSelectingRangeQuarter(e),"react-datepicker__quarter-text--in-range":i&&s?cr(i,s,e,r):void 0,"react-datepicker__quarter-text--range-start":t.isRangeStartQuarter(e),"react-datepicker__quarter-text--range-end":t.isRangeEndQuarter(e),"react-datepicker__quarter-text--today":t.isCurrentQuarter(r,e)})},t.getMonthContent=function(e){var n=t.props,r=n.showFullMonthYearPicker,i=n.renderMonthContent,s=n.locale,o=n.day,a=l5(e,s),l=l3(e,s);return i?i(e,a,l,o):r?l:a},t.getQuarterContent=function(e){var n,r=t.props,i=r.renderQuarterContent,s=r.locale,o=lW(aI(lU(),e),"QQQ",s);return null!=(n=null==i?void 0:i(e,o))?n:o},t.renderMonths=function(){var e,n=t.props,r=n.showTwoColumnMonthYearPicker,i=n.showFourColumnMonthYearPicker,s=n.day,o=n.selected,l=null==(e=cA[cx(i,r)])?void 0:e.grid;return null==l?void 0:l.map(function(e,n){return E().createElement("div",{className:"react-datepicker__month-wrapper",key:n},e.map(function(e,n){return E().createElement("div",{ref:t.MONTH_REFS[e],key:n,onClick:function(n){t.onMonthClick(n,e)},onKeyDown:function(n){cD(n)&&(n.preventDefault(),n.key=a.Enter),t.onMonthKeyDown(n,e)},onMouseEnter:t.props.usePointerEvent?void 0:function(){return t.onMonthMouseEnter(e)},onPointerEnter:t.props.usePointerEvent?function(){return t.onMonthMouseEnter(e)}:void 0,tabIndex:Number(t.getTabIndex(e)),className:t.getMonthClassNames(e),"aria-disabled":t.isMonthDisabled(e),role:"option","aria-label":t.getAriaLabel(e),"aria-current":t.isCurrentMonth(s,e)?"date":void 0,"aria-selected":o?t.isSelectedMonth(s,e,o):void 0},t.getMonthContent(e))}))})},t.renderQuarters=function(){var e=t.props,n=e.day,r=e.selected;return E().createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map(function(e,i){return E().createElement("div",{key:i,ref:t.QUARTER_REFS[i],role:"option",onClick:function(n){t.onQuarterClick(n,e)},onKeyDown:function(n){t.onQuarterKeyDown(n,e)},onMouseEnter:t.props.usePointerEvent?void 0:function(){return t.onQuarterMouseEnter(e)},onPointerEnter:t.props.usePointerEvent?function(){return t.onQuarterMouseEnter(e)}:void 0,className:t.getQuarterClassNames(e),"aria-selected":r?t.isSelectedQuarter(n,e,r):void 0,tabIndex:Number(t.getQuarterTabIndex(e)),"aria-current":t.isCurrentQuarter(n,e)?"date":void 0},t.getQuarterContent(e))}))},t.getClassNames=function(){var e=t.props,n=e.selectingDate,r=e.selectsStart,i=e.selectsEnd,s=e.showMonthYearPicker,o=e.showQuarterYearPicker,a=e.showWeekPicker;return(0,ai.$)("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||i)},{"react-datepicker__monthPicker":s},{"react-datepicker__quarterPicker":o},{"react-datepicker__weekPicker":a})},t}return lO(t,e),t.prototype.getSelection=function(){var e=this.props,t=e.selected,n=e.selectedDates;return e.selectsMultiple?n:t?[t]:void 0},t.prototype.render=function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,i=e.ariaLabelPrefix,s=void 0===i?"Month ":i,o=s?s.trim()+" ":"";return E().createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(o).concat(lW(r,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())},t}(D.Component),cR=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSelectedMonth=function(e){return t.props.month===e},t.renderOptions=function(){return t.props.monthNames.map(function(e,n){return E().createElement("div",{className:t.isSelectedMonth(n)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:e,onClick:t.onChange.bind(t,n),"aria-selected":t.isSelectedMonth(n)?"true":void 0},t.isSelectedMonth(n)?E().createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",e)})},t.onChange=function(e){return t.props.onChange(e)},t.handleClickOutside=function(){return t.props.onCancel()},t}return lO(t,e),t.prototype.render=function(){return E().createElement(lL,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},t}(D.Component),cT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(e){return e.map(function(e,t){return E().createElement("option",{key:e,value:t},e)})},t.renderSelectMode=function(e){return E().createElement("select",{value:t.props.month,className:"react-datepicker__month-select",onChange:function(e){return t.onChange(parseInt(e.target.value))}},t.renderSelectOptions(e))},t.renderReadView=function(e,n){return E().createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:t.toggleDropdown},E().createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),E().createElement("span",{className:"react-datepicker__month-read-view--selected-month"},n[t.props.month]))},t.renderDropdown=function(e){return E().createElement(cR,lI({key:"dropdown"},t.props,{monthNames:e,onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(e){var n=t.state.dropdownVisible,r=[t.renderReadView(!n,e)];return n&&r.unshift(t.renderDropdown(e)),r},t.onChange=function(e){t.toggleDropdown(),e!==t.props.month&&t.props.onChange(e)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return lO(t,e),t.prototype.render=function(){var e,t=this,n=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return l5(e,t.props.locale)}:function(e){return l3(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(n);break;case"select":e=this.renderSelectMode(n)}return E().createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(D.Component),cM=function(e){function t(t){var n=e.call(this,t)||this;return n.renderOptions=function(){return n.state.monthYearsList.map(function(e){var t=a3(e),r=lK(n.props.date,e)&&l$(n.props.date,e);return E().createElement("div",{className:r?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:t,onClick:n.onChange.bind(n,t),"aria-selected":r?"true":void 0},r?E().createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",lW(e,n.props.dateFormat,n.props.locale))})},n.onChange=function(e){return n.props.onChange(e)},n.handleClickOutside=function(){n.props.onCancel()},n.state={monthYearsList:function(e,t){for(var n=[],r=a_(e),i=a_(t);!a0(r,i);)n.push(lU(r)),r=aW(r,1);return n}(n.props.minDate,n.props.maxDate)},n}return lO(t,e),t.prototype.render=function(){var e=(0,ai.$)({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return E().createElement(lL,{className:e,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(D.Component),cN=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=a_(t.props.minDate),n=a_(t.props.maxDate),r=[];!a0(e,n);){var i=a3(e);r.push(E().createElement("option",{key:i,value:i},lW(e,t.props.dateFormat,t.props.locale))),e=aW(e,1)}return r},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return E().createElement("select",{value:a3(a_(t.props.date)),className:"react-datepicker__month-year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){var n=lW(t.props.date,t.props.dateFormat,t.props.locale);return E().createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:t.toggleDropdown},E().createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),E().createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},n))},t.renderDropdown=function(){return E().createElement(cM,lI({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown();var n=lU(e);lK(t.props.date,n)&&l$(t.props.date,n)||t.props.onChange(n)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return lO(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return E().createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(D.Component),cO=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.state={height:null},n.scrollToTheSelectedTime=function(){requestAnimationFrame(function(){var e,r,i;n.list&&(n.list.scrollTop=null!=(i=n.centerLi&&t.calcCenterPosition(n.props.monthRef?n.props.monthRef.clientHeight-(null!=(r=null==(e=n.header)?void 0:e.clientHeight)?r:0):n.list.clientHeight,n.centerLi))?i:0)})},n.handleClick=function(e){var t,r;(n.props.minTime||n.props.maxTime)&&ca(e,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&co(e,n.props)||null==(r=(t=n.props).onChange)||r.call(t,e)},n.isSelectedTime=function(e){var t;return n.props.selected&&(t=n.props.selected,cv(t).getTime()===cv(e).getTime())},n.isDisabledTime=function(e){return(n.props.minTime||n.props.maxTime)&&ca(e,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&co(e,n.props)},n.liClasses=function(e){var r,i=["react-datepicker__time-list-item",n.props.timeClassName?n.props.timeClassName(e):void 0];return n.isSelectedTime(e)&&i.push("react-datepicker__time-list-item--selected"),n.isDisabledTime(e)&&i.push("react-datepicker__time-list-item--disabled"),n.props.injectTimes&&(3600*aU(e)+60*aB(e)+az(e))%((null!=(r=n.props.intervals)?r:t.defaultProps.intervals)*60)!=0&&i.push("react-datepicker__time-list-item--injected"),i.join(" ")},n.handleOnKeyDown=function(e,t){var r,i;e.key===a.Space&&(e.preventDefault(),e.key=a.Enter),(e.key===a.ArrowUp||e.key===a.ArrowLeft)&&e.target instanceof HTMLElement&&e.target.previousSibling&&(e.preventDefault(),e.target.previousSibling instanceof HTMLElement&&e.target.previousSibling.focus()),(e.key===a.ArrowDown||e.key===a.ArrowRight)&&e.target instanceof HTMLElement&&e.target.nextSibling&&(e.preventDefault(),e.target.nextSibling instanceof HTMLElement&&e.target.nextSibling.focus()),e.key===a.Enter&&n.handleClick(t),null==(i=(r=n.props).handleOnKeyDown)||i.call(r,e)},n.renderTimes=function(){for(var e,r,i=[],s="string"==typeof n.props.format?n.props.format:"p",o=null!=(r=n.props.intervals)?r:t.defaultProps.intervals,a=n.props.selected||n.props.openToDate||lU(),l=lQ(a),c=n.props.injectTimes&&n.props.injectTimes.sort(function(e,t){return e.getTime()-t.getTime()}),d=60*(e=new Date(a.getFullYear(),a.getMonth(),a.getDate()),Math.round((new Date(a.getFullYear(),a.getMonth(),a.getDate(),24)-e)/36e5))/o,u=0;u=c?n.updateFocusOnPaginate(Math.abs(c-(e-d))):null==(o=null==(s=n.YEAR_REFS[e-d])?void 0:s.current)||o.focus())}},n.isSameDay=function(e,t){return lJ(e,t)},n.isCurrentYear=function(e){return e===aP(lU())},n.isRangeStart=function(e){return n.props.startDate&&n.props.endDate&&lK(a5(lU(),e),n.props.startDate)},n.isRangeEnd=function(e){return n.props.startDate&&n.props.endDate&&lK(a5(lU(),e),n.props.endDate)},n.isInRange=function(e){return ct(e,n.props.startDate,n.props.endDate)},n.isInSelectingRange=function(e){var t=n.props,r=t.selectsStart,i=t.selectsEnd,s=t.selectsRange,o=t.startDate,a=t.endDate;return!!(r||i||s)&&!!n.selectingDate()&&(r&&a?ct(e,n.selectingDate(),a):(!!i&&!!o||!!s&&!!o&&!a)&&ct(e,o,n.selectingDate()))},n.isSelectingRangeStart=function(e){if(!n.isInSelectingRange(e))return!1;var t,r=n.props,i=r.startDate,s=r.selectsStart,o=a5(lU(),e);return s?lK(o,null!=(t=n.selectingDate())?t:null):lK(o,null!=i?i:null)},n.isSelectingRangeEnd=function(e){if(!n.isInSelectingRange(e))return!1;var t,r=n.props,i=r.endDate,s=r.selectsEnd,o=r.selectsRange,a=a5(lU(),e);return s||o?lK(a,null!=(t=n.selectingDate())?t:null):lK(a,null!=i?i:null)},n.isKeyboardSelected=function(e){if(void 0!==n.props.date&&null!=n.props.selected&&null!=n.props.preSelection){var t=n.props,r=t.minDate,i=t.maxDate,s=t.excludeDates,o=t.includeDates,a=t.filterDate,l=lq(a5(n.props.date,e)),c=(r||i||s||o||a)&&cn(e,n.props);return!n.props.disabledKeyboardNavigation&&!n.props.inline&&!lJ(l,lq(n.props.selected))&&lJ(l,lq(n.props.preSelection))&&!c}},n.isSelectedYear=function(e){var t=n.props,r=t.selectsMultiple,i=t.selected,s=t.selectedDates;return r?null==s?void 0:s.some(function(t){return e===aP(t)}):!i||e===aP(i)},n.onYearClick=function(e,t){var r=n.props.date;void 0!==r&&n.handleYearClick(lq(a5(r,t)),e)},n.onYearKeyDown=function(e,t){var r,i,s=e.key,o=n.props,l=o.date,c=o.yearItemNumber,d=o.handleOnKeyDown;if(s!==a.Tab&&e.preventDefault(),!n.props.disabledKeyboardNavigation)switch(s){case a.Enter:if(null==n.props.selected)break;n.onYearClick(e,t),null==(i=(r=n.props).setPreSelection)||i.call(r,n.props.selected);break;case a.ArrowRight:if(null==n.props.preSelection)break;n.handleYearNavigation(t+1,aG(n.props.preSelection,1));break;case a.ArrowLeft:if(null==n.props.preSelection)break;n.handleYearNavigation(t-1,aG(n.props.preSelection,-1));break;case a.ArrowUp:if(void 0===l||void 0===c||null==n.props.preSelection)break;var u=cm(l,c).startPeriod,p=3,h=t-3;if(h=u&&tg){var f=c%p;t<=g&&t>g-f?p=f:p+=f,h=t+p}n.handleYearNavigation(h,aG(n.props.preSelection,p))}d&&d(e)},n.getYearClassNames=function(e){var t=n.props,r=t.date,i=t.minDate,s=t.maxDate,o=t.excludeDates,a=t.includeDates,l=t.filterDate,c=t.yearClassName;return(0,ai.$)("react-datepicker__year-text","react-datepicker__year-".concat(e),r?null==c?void 0:c(a5(r,e)):void 0,{"react-datepicker__year-text--selected":n.isSelectedYear(e),"react-datepicker__year-text--disabled":(i||s||o||a||l)&&cn(e,n.props),"react-datepicker__year-text--keyboard-selected":n.isKeyboardSelected(e),"react-datepicker__year-text--range-start":n.isRangeStart(e),"react-datepicker__year-text--range-end":n.isRangeEnd(e),"react-datepicker__year-text--in-range":n.isInRange(e),"react-datepicker__year-text--in-selecting-range":n.isInSelectingRange(e),"react-datepicker__year-text--selecting-range-start":n.isSelectingRangeStart(e),"react-datepicker__year-text--selecting-range-end":n.isSelectingRangeEnd(e),"react-datepicker__year-text--today":n.isCurrentYear(e)})},n.getYearTabIndex=function(e){if(n.props.disabledKeyboardNavigation||null==n.props.preSelection)return"-1";var t=aP(n.props.preSelection),r=cn(e,n.props);return e!==t||r?"-1":"0"},n.getYearContent=function(e){return n.props.renderYearContent?n.props.renderYearContent(e):e},n}return lO(t,e),t.prototype.render=function(){var e=this,t=[],n=this.props,r=n.date,i=n.yearItemNumber,s=n.onYearMouseEnter,o=n.onYearMouseLeave;if(void 0===r)return null;for(var l=cm(r,i),c=l.startPeriod,d=l.endPeriod,u=function(n){t.push(E().createElement("div",{ref:p.YEAR_REFS[n-c],onClick:function(t){e.onYearClick(t,n)},onKeyDown:function(t){cD(t)&&(t.preventDefault(),t.key=a.Enter),e.onYearKeyDown(t,n)},tabIndex:Number(p.getYearTabIndex(n)),className:p.getYearClassNames(n),onMouseEnter:p.props.usePointerEvent?void 0:function(e){return s(e,n)},onPointerEnter:p.props.usePointerEvent?function(e){return s(e,n)}:void 0,onMouseLeave:p.props.usePointerEvent?void 0:function(e){return o(e,n)},onPointerLeave:p.props.usePointerEvent?function(e){return o(e,n)}:void 0,key:n,"aria-current":p.isCurrentYear(n)?"date":void 0},p.getYearContent(n)))},p=this,h=c;h<=d;h++)u(h);return E().createElement("div",{className:"react-datepicker__year"},E().createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))},t}(D.Component),cP=function(e){function t(t){var n=e.call(this,t)||this;n.renderOptions=function(){var e=n.props.year,t=n.state.yearsList.map(function(t){return E().createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:n.onChange.bind(n,t),"aria-selected":e===t?"true":void 0},e===t?E().createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)}),r=n.props.minDate?aP(n.props.minDate):null,i=n.props.maxDate?aP(n.props.maxDate):null;return i&&n.state.yearsList.find(function(e){return e===i})||t.unshift(E().createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:n.incrementYears},E().createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),r&&n.state.yearsList.find(function(e){return e===r})||t.push(E().createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:n.decrementYears},E().createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t},n.onChange=function(e){n.props.onChange(e)},n.handleClickOutside=function(){n.props.onCancel()},n.shiftYears=function(e){var t=n.state.yearsList.map(function(t){return t+e});n.setState({yearsList:t})},n.incrementYears=function(){return n.shiftYears(1)},n.decrementYears=function(){return n.shiftYears(-1)};var r=t.yearDropdownItemNumber,i=t.scrollableYearDropdown;return n.state={yearsList:function(e,t,n,r){for(var i=[],s=0;s<2*t+1;s++){var o=e+t-s,a=!0;n&&(a=aP(n)<=o),r&&a&&(a=aP(r)>=o),a&&i.push(o)}return i}(n.props.year,r||(i?10:5),n.props.minDate,n.props.maxDate)},n.dropdownRef=(0,D.createRef)(),n}return lO(t,e),t.prototype.componentDidMount=function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find(function(e){return e.ariaSelected}):null;e.scrollTop=n&&n instanceof HTMLElement?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}},t.prototype.render=function(){var e=(0,ai.$)({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return E().createElement(lL,{className:e,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(D.Component),cj=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=t.props.minDate?aP(t.props.minDate):1900,n=t.props.maxDate?aP(t.props.maxDate):2100,r=[],i=e;i<=n;i++)r.push(E().createElement("option",{key:i,value:i},i));return r},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return E().createElement("select",{value:t.props.year,className:"react-datepicker__year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){return E().createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(e){return t.toggleDropdown(e)}},E().createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),E().createElement("span",{className:"react-datepicker__year-read-view--selected-year"},t.props.year))},t.renderDropdown=function(){return E().createElement(cP,lI({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown(),e!==t.props.year&&t.props.onChange(e)},t.toggleDropdown=function(e){t.setState({dropdownVisible:!t.state.dropdownVisible},function(){t.props.adjustDateOnChange&&t.handleYearChange(t.props.date,e)})},t.handleYearChange=function(e,n){var r;null==(r=t.onSelect)||r.call(t,e,n),t.setOpen()},t.onSelect=function(e,n){var r,i;null==(i=(r=t.props).onSelect)||i.call(r,e,n)},t.setOpen=function(){var e,n;null==(n=(e=t.props).setOpen)||n.call(e,!0)},t}return lO(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return E().createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(D.Component),cH=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],cL=function(e){var t=(e.className||"").split(/\s+/);return cH.some(function(e){return t.indexOf(e)>=0})},cF=function(e){function t(n){var r=e.call(this,n)||this;return r.monthContainer=void 0,r.handleClickOutside=function(e){r.props.onClickOutside(e)},r.setClickOutsideRef=function(){return r.containerRef.current},r.handleDropdownFocus=function(e){var t,n;cL(e.target)&&(null==(n=(t=r.props).onDropdownFocus)||n.call(t,e))},r.getDateInView=function(){var e=r.props,t=e.preSelection,n=e.selected,i=e.openToDate,s=cp(r.props),o=ch(r.props),a=lU(),l=i||n||t;return l?l:s&&av(a,s)?s:o&&a0(a,o)?o:a},r.increaseMonth=function(){r.setState(function(e){return{date:aW(e.date,1)}},function(){return r.handleMonthChange(r.state.date)})},r.decreaseMonth=function(){r.setState(function(e){return{date:aW(e.date,-1)}},function(){return r.handleMonthChange(r.state.date)})},r.handleDayClick=function(e,t,n){r.props.onSelect(e,t,n),r.props.setPreSelection&&r.props.setPreSelection(e)},r.handleDayMouseEnter=function(e){r.setState({selectingDate:e}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)},r.handleMonthMouseLeave=function(){r.setState({selectingDate:void 0}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()},r.handleYearMouseEnter=function(e,t){r.setState({selectingDate:a5(lU(),t)}),r.props.onYearMouseEnter&&r.props.onYearMouseEnter(e,t)},r.handleYearMouseLeave=function(e,t){r.props.onYearMouseLeave&&r.props.onYearMouseLeave(e,t)},r.handleYearChange=function(e){var t,n,i,s;null==(n=(t=r.props).onYearChange)||n.call(t,e),r.setState({isRenderAriaLiveMessage:!0}),r.props.adjustDateOnChange&&(r.props.onSelect(e),null==(s=(i=r.props).setOpen)||s.call(i,!0)),r.props.setPreSelection&&r.props.setPreSelection(e)},r.getEnabledPreSelectionDateForMonth=function(e){if(!l8(e,r.props))return e;for(var t=a_(e),n=function(e,t){let n=(0,af.a)(e),r=(0,af.a)(t),i=a8(n,r),s=Math.abs((0,aF.m)(n,r));n.setDate(n.getDate()-i*s);let o=Number(a8(n,r)===-i),a=i*(s-o);return 0===a?0:a}((0,aT.p)(e),t),i=null,s=0;s<=n;s++){var o=(0,a2.f)(t,s);if(!l8(o,r.props)){i=o;break}}return i},r.handleMonthChange=function(e){var t,n,i,s=null!=(t=r.getEnabledPreSelectionDateForMonth(e))?t:e;r.handleCustomMonthChange(s),r.props.adjustDateOnChange&&(r.props.onSelect(s),null==(i=(n=r.props).setOpen)||i.call(n,!0)),r.props.setPreSelection&&r.props.setPreSelection(s)},r.handleCustomMonthChange=function(e){var t,n;null==(n=(t=r.props).onMonthChange)||n.call(t,e),r.setState({isRenderAriaLiveMessage:!0})},r.handleMonthYearChange=function(e){r.handleYearChange(e),r.handleMonthChange(e)},r.changeYear=function(e){r.setState(function(t){return{date:a5(t.date,Number(e))}},function(){return r.handleYearChange(r.state.date)})},r.changeMonth=function(e){r.setState(function(t){return{date:aO(t.date,Number(e))}},function(){return r.handleMonthChange(r.state.date)})},r.changeMonthYear=function(e){r.setState(function(t){return{date:a5(aO(t.date,aj(e)),aP(e))}},function(){return r.handleMonthYearChange(r.state.date)})},r.header=function(e){void 0===e&&(e=r.state.date);var t=lG(e,r.props.locale,r.props.calendarStartDay),n=[];return r.props.showWeekNumbers&&n.push(E().createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),n.concat([0,1,2,3,4,5,6].map(function(e){var n=(0,a2.f)(t,e),i=r.formatWeekday(n,r.props.locale),s=r.props.weekDayClassName?r.props.weekDayClassName(n):void 0;return E().createElement("div",{key:e,"aria-label":lW(n,"EEEE",r.props.locale),className:(0,ai.$)("react-datepicker__day-name",s)},i)}))},r.formatWeekday=function(e,t){if(r.props.formatWeekDay)return(0,r.props.formatWeekDay)(lW(e,"EEEE",t));return r.props.useWeekdaysShort?lW(e,"EEE",t):lW(e,"EEEEEE",t)},r.decreaseYear=function(){r.setState(function(e){var n;return{date:aG(e.date,-(r.props.showYearPicker?null!=(n=r.props.yearItemNumber)?n:t.defaultProps.yearItemNumber:1))}},function(){return r.handleYearChange(r.state.date)})},r.clearSelectingDate=function(){r.setState({selectingDate:void 0})},r.renderPreviousButton=function(){if(!r.props.renderCustomHeader){var e,n,i,s,o,a,l,c,d,u,p,h,f,g,m,v,y,b,D=null!=(m=r.props.monthsShown)?m:t.defaultProps.monthsShown,w=r.props.showPreviousMonths?D-1:0,S=null!=(v=r.props.monthSelectedIn)?v:w,C=aW(r.state.date,-S);switch(!0){case r.props.showMonthYearPicker:b=cd(r.state.date,r.props);break;case r.props.showYearPicker:e=r.state.date,s=(i=void 0===(n=r.props)?{}:n).minDate,l=cm(lq(aG(e,-(a=void 0===(o=i.yearItemNumber)?12:o))),a).endPeriod,b=(c=s&&aP(s))&&c>l||!1;break;case r.props.showQuarterYearPicker:d=r.state.date,h=(p=void 0===(u=r.props)?{}:u).minDate,f=p.includeDates,g=aW((0,aA.D)(d),-3),b=h&&aQ(h,g)>0||f&&f.every(function(e){return aQ(e,g)>0})||!1;break;default:b=cl(C,r.props)}if(((null!=(y=r.props.forceShowMonthNavigation)?y:t.defaultProps.forceShowMonthNavigation)||r.props.showDisabledMonthNavigation||!b)&&!r.props.showTimeSelectOnly){var _=["react-datepicker__navigation","react-datepicker__navigation--previous"],A=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(A=r.decreaseYear),b&&r.props.showDisabledMonthNavigation&&(_.push("react-datepicker__navigation--previous--disabled"),A=void 0);var x=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,k=r.props,R=k.previousMonthButtonLabel,T=void 0===R?t.defaultProps.previousMonthButtonLabel:R,M=k.previousYearButtonLabel,N=void 0===M?t.defaultProps.previousYearButtonLabel:M,O=r.props,I=O.previousMonthAriaLabel,P=void 0===I?"string"==typeof T?T:"Previous Month":I,j=O.previousYearAriaLabel,H=void 0===j?"string"==typeof N?N:"Previous Year":j;return E().createElement("button",{type:"button",className:_.join(" "),onClick:A,onKeyDown:r.props.handleOnKeyDown,"aria-label":x?H:P},E().createElement("span",{className:"react-datepicker__navigation-icon react-datepicker__navigation-icon--previous"},x?N:T))}}},r.increaseYear=function(){r.setState(function(e){var n;return{date:aG(e.date,r.props.showYearPicker?null!=(n=r.props.yearItemNumber)?n:t.defaultProps.yearItemNumber:1)}},function(){return r.handleYearChange(r.state.date)})},r.renderNextButton=function(){if(!r.props.renderCustomHeader){switch(!0){case r.props.showMonthYearPicker:v=cu(r.state.date,r.props);break;case r.props.showYearPicker:e=r.state.date,s=(i=void 0===(n=r.props)?{}:n).maxDate,l=cm(aG(e,a=void 0===(o=i.yearItemNumber)?12:o),a).startPeriod,v=(c=s&&aP(s))&&c0||f&&f.every(function(e){return aQ(g,e)>0})||!1;break;default:v=cc(r.state.date,r.props)}if(((null!=(m=r.props.forceShowMonthNavigation)?m:t.defaultProps.forceShowMonthNavigation)||r.props.showDisabledMonthNavigation||!v)&&!r.props.showTimeSelectOnly){var e,n,i,s,o,a,l,c,d,u,p,h,f,g,m,v,y=["react-datepicker__navigation","react-datepicker__navigation--next"];r.props.showTimeSelect&&y.push("react-datepicker__navigation--next--with-time"),r.props.todayButton&&y.push("react-datepicker__navigation--next--with-today-button");var b=r.increaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(b=r.increaseYear),v&&r.props.showDisabledMonthNavigation&&(y.push("react-datepicker__navigation--next--disabled"),b=void 0);var D=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,w=r.props,S=w.nextMonthButtonLabel,C=void 0===S?t.defaultProps.nextMonthButtonLabel:S,_=w.nextYearButtonLabel,A=void 0===_?t.defaultProps.nextYearButtonLabel:_,x=r.props,k=x.nextMonthAriaLabel,R=void 0===k?"string"==typeof C?C:"Next Month":k,T=x.nextYearAriaLabel,M=void 0===T?"string"==typeof A?A:"Next Year":T;return E().createElement("button",{type:"button",className:y.join(" "),onClick:b,onKeyDown:r.props.handleOnKeyDown,"aria-label":D?M:R},E().createElement("span",{className:"react-datepicker__navigation-icon react-datepicker__navigation-icon--next"},D?A:C))}}},r.renderCurrentMonth=function(e){void 0===e&&(e=r.state.date);var t=["react-datepicker__current-month"];return r.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),E().createElement("h2",{className:t.join(" ")},lW(e,r.props.dateFormat,r.props.locale))},r.renderYearDropdown=function(e){if(void 0===e&&(e=!1),r.props.showYearDropdown&&!e)return E().createElement(cj,lI({},t.defaultProps,r.props,{date:r.state.date,onChange:r.changeYear,year:aP(r.state.date)}))},r.renderMonthDropdown=function(e){if(void 0===e&&(e=!1),r.props.showMonthDropdown&&!e)return E().createElement(cT,lI({},t.defaultProps,r.props,{month:aj(r.state.date),onChange:r.changeMonth}))},r.renderMonthYearDropdown=function(e){if(void 0===e&&(e=!1),r.props.showMonthYearDropdown&&!e)return E().createElement(cN,lI({},t.defaultProps,r.props,{date:r.state.date,onChange:r.changeMonthYear}))},r.handleTodayButtonClick=function(e){r.props.onSelect(lZ(),e),r.props.setPreSelection&&r.props.setPreSelection(lZ())},r.renderTodayButton=function(){if(r.props.todayButton&&!r.props.showTimeSelectOnly)return E().createElement("div",{className:"react-datepicker__today-button",onClick:r.handleTodayButtonClick},r.props.todayButton)},r.renderDefaultHeader=function(e){var t=e.monthDate,n=e.i;return E().createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(t),E().createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(r.props.dropdownMode),onFocus:r.handleDropdownFocus},r.renderMonthDropdown(0!==n),r.renderMonthYearDropdown(0!==n),r.renderYearDropdown(0!==n)),E().createElement("div",{className:"react-datepicker__day-names"},r.header(t)))},r.renderCustomHeader=function(e){var t,n,i=e.monthDate,s=e.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var o=cl(r.state.date,r.props),a=cc(r.state.date,r.props),l=cd(r.state.date,r.props),c=cu(r.state.date,r.props),d=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return E().createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},null==(n=(t=r.props).renderCustomHeader)?void 0:n.call(t,lI(lI({},r.state),{customHeaderCount:s,monthDate:i,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:a,prevYearButtonDisabled:l,nextYearButtonDisabled:c})),d&&E().createElement("div",{className:"react-datepicker__day-names"},r.header(i)))},r.renderYearHeader=function(e){var n=e.monthDate,i=r.props,s=i.showYearPicker,o=i.yearItemNumber,a=cm(n,void 0===o?t.defaultProps.yearItemNumber:o),l=a.startPeriod,c=a.endPeriod;return E().createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},s?"".concat(l," - ").concat(c):aP(n))},r.renderHeader=function(e){var t=e.monthDate,n=e.i,i={monthDate:t,i:void 0===n?0:n};switch(!0){case void 0!==r.props.renderCustomHeader:return r.renderCustomHeader(i);case r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker:return r.renderYearHeader(i);default:return r.renderDefaultHeader(i)}},r.renderMonths=function(){if(!r.props.showTimeSelectOnly&&!r.props.showYearPicker){for(var e,n,i=[],s=null!=(e=r.props.monthsShown)?e:t.defaultProps.monthsShown,o=r.props.showPreviousMonths?s-1:0,a=r.props.showMonthYearPicker||r.props.showQuarterYearPicker?aG(r.state.date,o):aW(r.state.date,-o),l=null!=(n=r.props.monthSelectedIn)?n:o,c=0;c0;i.push(E().createElement("div",{key:p,ref:function(e){r.monthContainer=null!=e?e:void 0},className:"react-datepicker__month-container"},r.renderHeader({monthDate:u,i:c}),E().createElement(ck,lI({},t.defaultProps,r.props,{containerRef:r.containerRef,ariaLabelPrefix:r.props.monthAriaLabelPrefix,day:u,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnDayKeyDown,handleOnMonthKeyDown:r.props.handleOnKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,orderInDisplay:c,selectingDate:r.state.selectingDate,monthShowsDuplicateDaysEnd:h,monthShowsDuplicateDaysStart:f}))))}return i}},r.renderYears=function(){if(!r.props.showTimeSelectOnly&&r.props.showYearPicker)return E().createElement("div",{className:"react-datepicker__year--container"},r.renderHeader({monthDate:r.state.date}),E().createElement(cI,lI({},t.defaultProps,r.props,{selectingDate:r.state.selectingDate,date:r.state.date,onDayClick:r.handleDayClick,clearSelectingDate:r.clearSelectingDate,onYearMouseEnter:r.handleYearMouseEnter,onYearMouseLeave:r.handleYearMouseLeave})))},r.renderTimeSection=function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return E().createElement(cO,lI({},t.defaultProps,r.props,{onChange:r.props.onTimeChange,format:r.props.timeFormat,intervals:r.props.timeIntervals,monthRef:r.state.monthContainer}))},r.renderInputTimeSection=function(){var e=r.props.selected?new Date(r.props.selected):void 0,n=e&&lz(e)&&r.props.selected?"".concat(cg(e.getHours()),":").concat(cg(e.getMinutes())):"";if(r.props.showTimeInput)return E().createElement(cw,lI({},t.defaultProps,r.props,{date:e,timeString:n,onChange:r.props.onTimeChange}))},r.renderAriaLiveRegion=function(){var e,n,i=cm(r.state.date,null!=(e=r.props.yearItemNumber)?e:t.defaultProps.yearItemNumber),s=i.startPeriod,o=i.endPeriod;return n=r.props.showYearPicker?"".concat(s," - ").concat(o):r.props.showMonthYearPicker||r.props.showQuarterYearPicker?aP(r.state.date):"".concat(l3(aj(r.state.date),r.props.locale)," ").concat(aP(r.state.date)),E().createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},r.state.isRenderAriaLiveMessage&&n)},r.renderChildren=function(){if(r.props.children)return E().createElement("div",{className:"react-datepicker__children-container"},r.props.children)},r.containerRef=(0,D.createRef)(),r.state={date:r.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},r}return lO(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:12}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))},t.prototype.componentDidUpdate=function(e){var t=this;if(this.props.preSelection&&(!lJ(this.props.preSelection,e.preSelection)||this.props.monthSelectedIn!==e.monthSelectedIn)){var n=!l$(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return n&&t.handleCustomMonthChange(t.state.date)})}else this.props.openToDate&&!lJ(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate})},t.prototype.render=function(){var e=this.props.container||lj;return E().createElement(lL,{onClickOutside:this.handleClickOutside,style:{display:"contents"},ignoreClass:this.props.outsideClickIgnoreClass},E().createElement("div",{style:{display:"contents"},ref:this.containerRef},E().createElement(e,{className:(0,ai.$)("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren())))},t}(D.Component),cU=function(e){var t=e.icon,n=e.className,r=void 0===n?"":n,i=e.onClick,s="react-datepicker__calendar-icon";return"string"==typeof t?E().createElement("i",{className:"".concat(s," ").concat(t," ").concat(r),"aria-hidden":"true",onClick:i}):E().isValidElement(t)?E().cloneElement(t,{className:"".concat(t.props.className||""," ").concat(s," ").concat(r),onClick:function(e){"function"==typeof t.props.onClick&&t.props.onClick(e),"function"==typeof i&&i(e)}}):E().createElement("svg",{className:"".concat(s," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:i},E().createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},cB=function(e){function t(t){var n=e.call(this,t)||this;return n.portalRoot=null,n.el=document.createElement("div"),n}return lO(t,e),t.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},t.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},t.prototype.render=function(){return C().createPortal(this.props.children,this.el)},t}(D.Component),cz=function(e){return e instanceof HTMLAnchorElement?-1!==e.tabIndex:!e.disabled&&-1!==e.tabIndex},cW=function(e){function t(t){var n=e.call(this,t)||this;return n.getTabChildren=function(){var e;return Array.prototype.slice.call(null==(e=n.tabLoopRef.current)?void 0:e.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(cz)},n.handleFocusStart=function(){var e=n.getTabChildren();e&&e.length>1&&e[e.length-1].focus()},n.handleFocusEnd=function(){var e=n.getTabChildren();e&&e.length>1&&e[0].focus()},n.tabLoopRef=(0,D.createRef)(),n}return lO(t,e),t.prototype.render=function(){var e;return(null!=(e=this.props.enableTabLoop)?e:t.defaultProps.enableTabLoop)?E().createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},E().createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,E().createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},t.defaultProps={enableTabLoop:!0},t}(D.Component),cY=(o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lO(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{hidePopper:!0}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this.props,n=e.className,r=e.wrapperClassName,i=e.hidePopper,s=void 0===i?t.defaultProps.hidePopper:i,o=e.popperComponent,a=e.targetComponent,l=e.enableTabLoop,c=e.popperOnKeyDown,d=e.portalId,u=e.portalHost,p=e.popperProps,h=e.showArrow,f=void 0;if(!s){var g=(0,ai.$)("react-datepicker-popper",n);f=E().createElement(cW,{enableTabLoop:l},E().createElement("div",{ref:p.refs.setFloating,style:p.floatingStyles,className:g,"data-placement":p.placement,onKeyDown:c},o,h&&E().createElement(lu,{ref:p.arrowRef,context:p.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(f=(0,D.createElement)(this.props.popperContainer,{},f)),d&&!s&&(f=E().createElement(cB,{portalId:d,portalHost:u},f));var m=(0,ai.$)("react-datepicker-wrapper",r);return E().createElement(E().Fragment,null,E().createElement("div",{ref:p.refs.setReference,className:m},a),f)},t}(D.Component),function(e){var t,n="boolean"!=typeof e.hidePopper||e.hidePopper,r=(0,D.useRef)(null),i=function(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){let{open:t=!1,onOpenChange:n,elements:r}=e,i=ld(),s=D.useRef({}),[o]=D.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null==(r=e.get(t))||r.delete(n)}}})()),a=null!=lf(),[l,c]=D.useState(r.reference),d=function(e){let t=D.useRef(()=>{});return le(()=>{t.current=e}),D.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r{s.current.openEvent=e?t:void 0,o.emit("openchange",{open:e,event:t,reason:r,nested:a}),null==n||n(e,t,r)}),u=D.useMemo(()=>({setPositionReference:c}),[]),p=D.useMemo(()=>({reference:l||r.reference||null,floating:r.floating||null,domReference:r.reference}),[l,r.reference,r.floating]);return D.useMemo(()=>({dataRef:s,open:t,onOpenChange:d,elements:p,events:o,floatingId:i,refs:u}),[t,d,p,o,i,u])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[s,o]=D.useState(null),[a,l]=D.useState(null),c=(null==i?void 0:i.domReference)||s,d=D.useRef(null),u=lg();lo(()=>{c&&(d.current=c)},[c]);let p=(0,a9.we)({...e,elements:{...i,...a&&{reference:a}}}),h=D.useCallback(e=>{let t=(0,a6.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;l(t),p.refs.setReference(t)},[p.refs]),f=D.useCallback(e=>{((0,a6.vq)(e)||null===e)&&(d.current=e,o(e)),((0,a6.vq)(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!(0,a6.vq)(e))&&p.refs.setReference(e)},[p.refs]),g=D.useMemo(()=>({...p.refs,setReference:f,setPositionReference:h,domReference:d}),[p.refs,f,h]),m=D.useMemo(()=>({...p.elements,domReference:c}),[p.elements,c]),v=D.useMemo(()=>({...p,...r,refs:g,elements:m,nodeId:t}),[p,g,m,t,r]);return lo(()=>{r.dataRef.current.floatingContext=v;let e=null==u?void 0:u.nodesRef.current.find(e=>e.id===t);e&&(e.context=v)}),D.useMemo(()=>({...p,context:v,refs:g,elements:m}),[p,g,m,v])}(lI({open:!n,whileElementsMounted:lM.ll,placement:e.popperPlacement,middleware:lP([(0,a9.UU)({padding:15}),(0,a9.cY)(10),(0,a9.UE)({element:r})],null!=(t=e.popperModifiers)?t:[],!0)},e.popperProps)),s=lI(lI({},e),{hidePopper:n,popperProps:lI(lI({},i),{arrowRef:r})});return E().createElement(o,lI({},s))}),cV="react-datepicker-ignore-onclickoutside",cQ="Date input not valid.",cG=function(e){function t(n){var r=e.call(this,n)||this;return r.calendar=null,r.input=null,r.getPreSelection=function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:lU()},r.modifyHolidays=function(){var e;return null==(e=r.props.holidays)?void 0:e.reduce(function(e,t){var n=new Date(t.date);return lz(n)?lP(lP([],e,!0),[lI(lI({},t),{date:n})],!1):e},[])},r.calcInitialState=function(){var e,t=r.getPreSelection(),n=cp(r.props),i=ch(r.props),s=n&&av(t,lQ(n))?n:i&&a0(t,(0,ak.D)(i))?i:t;return{open:r.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:null!=(e=r.props.selectsRange?r.props.startDate:r.props.selected)?e:s,highlightDates:cf(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},r.resetHiddenStatus=function(){r.setState(lI(lI({},r.state),{wasHidden:!1}))},r.setHiddenStatus=function(){r.setState(lI(lI({},r.state),{wasHidden:!0}))},r.setHiddenStateOnVisibilityHidden=function(){"hidden"===document.visibilityState&&r.setHiddenStatus()},r.clearPreventFocusTimeout=function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)},r.setFocus=function(){var e,t;null==(t=null==(e=r.input)?void 0:e.focus)||t.call(e,{preventScroll:!0})},r.setBlur=function(){var e,t;null==(t=null==(e=r.input)?void 0:e.blur)||t.call(e),r.cancelFocusInput()},r.deferBlur=function(){requestAnimationFrame(function(){r.setBlur()})},r.setOpen=function(e,t){void 0===t&&(t=!1),r.setState({open:e,preSelection:e&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:cZ},function(){e||r.setState(function(e){return{focused:!!t&&e.focused}},function(){t||r.deferBlur(),r.setState({inputValue:null})})})},r.inputOk=function(){return(0,a$.$)(r.state.preSelection)},r.isCalendarOpen=function(){return void 0===r.props.open?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open},r.handleFocus=function(e){var t,n,i=r.state.wasHidden,s=!i||r.state.open;i&&r.resetHiddenStatus(),!r.state.preventFocus&&(null==(n=(t=r.props).onFocus)||n.call(t,e),!s||r.props.preventOpenOnFocus||r.props.readOnly||r.setOpen(!0)),r.setState({focused:!0})},r.sendFocusBackToInput=function(){r.preventFocusTimeout&&r.clearPreventFocusTimeout(),r.setState({preventFocus:!0},function(){r.preventFocusTimeout=setTimeout(function(){r.setFocus(),r.setState({preventFocus:!1})})})},r.cancelFocusInput=function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=void 0},r.deferFocusInput=function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout(function(){return r.setFocus()},1)},r.handleDropdownFocus=function(){r.cancelFocusInput()},r.handleBlur=function(e){var t,n;(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&(null==(n=(t=r.props).onBlur)||n.call(t,e)),r.state.open&&!1===r.props.open&&r.setOpen(!1),r.setState({focused:!1})},r.handleCalendarClickOutside=function(e){var t,n;r.props.inline||r.setOpen(!1),null==(n=(t=r.props).onClickOutside)||n.call(t,e),r.props.withPortal&&e.preventDefault()},r.handleChange=function(){for(var e,n,i,s,o,a=[],l=0;l=40){o=t;break}d&&ou&&(n=a.ArrowLeft,o=l8(u,r.props)?E(n,o):u),l8(o,r.props)?((n===a.PageUp||n===a.Home)&&(n=a.ArrowRight),(n===a.PageDown||n===a.End)&&(n=a.ArrowLeft),o=E(n,o)):i=!0,s++}return o}(b,w)}if(!S){null==(l=(o=r.props).onInputError)||l.call(o,{code:1,msg:cQ});return}if(e.preventDefault(),r.setState({lastPreSelectChange:cZ}),v&&r.setSelected(S),r.setPreSelection(S),y){var C=aj(w),_=aj(S),A=aP(w),x=aP(S);C!==_||A!==x?r.setState({shouldFocusDayInline:!0}):r.setState({shouldFocusDayInline:!1})}}},r.onPopperKeyDown=function(e){e.key===a.Escape&&(e.preventDefault(),r.sendFocusBackToInput())},r.onClearClick=function(e){e&&e.preventDefault&&e.preventDefault(),r.sendFocusBackToInput();var t=r.props,n=t.selectsRange,i=t.onChange;n?null==i||i([null,null],e):null==i||i(null,e),r.setState({inputValue:null})},r.clear=function(){r.onClearClick()},r.onScroll=function(e){"boolean"==typeof r.props.closeOnScroll&&r.props.closeOnScroll?(e.target===document||e.target===document.documentElement||e.target===document.body)&&r.setOpen(!1):"function"==typeof r.props.closeOnScroll&&r.props.closeOnScroll(e)&&r.setOpen(!1)},r.renderCalendar=function(){var e,n,i,s,o;return r.props.inline||r.isCalendarOpen()?E().createElement(cF,lI({showMonthYearDropdown:void 0,ref:function(e){r.calendar=e}},r.props,r.state,{setOpen:r.setOpen,dateFormat:null!=(e=r.props.dateFormatCalendar)?e:t.defaultProps.dateFormatCalendar,onSelect:r.handleSelect,onClickOutside:r.handleCalendarClickOutside,holidays:(void 0===(i=r.modifyHolidays())&&(i=[]),void 0===s&&(s="react-datepicker__day--holidays"),o=new Map,i.forEach(function(e){var t,n,r=e.date,i=e.holidayName;if((0,a$.$)(r)){var a=lW(r,"MM.dd.yyyy"),l=o.get(a)||{className:"",holidayNames:[]};if(!("className"in l&&l.className===s&&(t=l.holidayNames,n=[i],t.length===n.length&&t.every(function(e,t){return e===n[t]})))){l.className=s;var c=l.holidayNames;l.holidayNames=c?lP(lP([],c,!0),[i],!1):[i],o.set(a,l)}}}),o),outsideClickIgnoreClass:cV,onDropdownFocus:r.handleDropdownFocus,onTimeChange:r.handleTimeChange,className:r.props.calendarClassName,container:r.props.calendarContainer,handleOnKeyDown:r.props.onKeyDown,handleOnDayKeyDown:r.onDayKeyDown,setPreSelection:r.setPreSelection,dropdownMode:null!=(n=r.props.dropdownMode)?n:t.defaultProps.dropdownMode}),r.props.children):null},r.renderAriaLiveRegion=function(){var e,n=r.props,i=n.dateFormat,s=void 0===i?t.defaultProps.dateFormat:i,o=n.locale,a=r.props.showTimeInput||r.props.showTimeSelect?"PPPPp":"PPPP";return e=r.props.selectsRange?"Selected start date: ".concat(lY(r.props.startDate,{dateFormat:a,locale:o}),". ").concat(r.props.endDate?"End date: "+lY(r.props.endDate,{dateFormat:a,locale:o}):""):r.props.showTimeSelectOnly?"Selected time: ".concat(lY(r.props.selected,{dateFormat:s,locale:o})):r.props.showYearPicker?"Selected year: ".concat(lY(r.props.selected,{dateFormat:"yyyy",locale:o})):r.props.showMonthYearPicker?"Selected month: ".concat(lY(r.props.selected,{dateFormat:"MMMM yyyy",locale:o})):r.props.showQuarterYearPicker?"Selected quarter: ".concat(lY(r.props.selected,{dateFormat:"yyyy, QQQ",locale:o})):"Selected date: ".concat(lY(r.props.selected,{dateFormat:a,locale:o})),E().createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},e)},r.renderDateInput=function(){var e,n,i,s=(0,ai.$)(r.props.className,((e={})[cV]=r.state.open,e)),o=r.props.customInput||E().createElement("input",{type:"text"}),a=r.props.customInputRef||"ref",l=r.props,c=l.dateFormat,d=void 0===c?t.defaultProps.dateFormat:c,u=l.locale,p="string"==typeof r.props.value?r.props.value:"string"==typeof r.state.inputValue?r.state.inputValue:r.props.selectsRange?function(e,t,n){if(!e)return"";var r=lY(e,n),i=t?lY(t,n):"";return"".concat(r," - ").concat(i)}(r.props.startDate,r.props.endDate,{dateFormat:d,locale:u}):r.props.selectsMultiple?function(e,t){if(!(null==e?void 0:e.length))return"";var n=e[0]?lY(e[0],t):"";if(1===e.length)return n;if(2===e.length&&e[1]){var r=lY(e[1],t);return"".concat(n,", ").concat(r)}var i=e.length-1;return"".concat(n," (+").concat(i,")")}(null!=(i=r.props.selectedDates)?i:[],{dateFormat:d,locale:u}):lY(r.props.selected,{dateFormat:d,locale:u});return(0,D.cloneElement)(o,((n={})[a]=function(e){r.input=e},n.value=p,n.onBlur=r.handleBlur,n.onChange=r.handleChange,n.onClick=r.onInputClick,n.onFocus=r.handleFocus,n.onKeyDown=r.onInputKeyDown,n.id=r.props.id,n.name=r.props.name,n.form=r.props.form,n.autoFocus=r.props.autoFocus,n.placeholder=r.props.placeholderText,n.disabled=r.props.disabled,n.autoComplete=r.props.autoComplete,n.className=(0,ai.$)(o.props.className,s),n.title=r.props.title,n.readOnly=r.props.readOnly,n.required=r.props.required,n.tabIndex=r.props.tabIndex,n["aria-describedby"]=r.props.ariaDescribedBy,n["aria-invalid"]=r.props.ariaInvalid,n["aria-labelledby"]=r.props.ariaLabelledBy,n["aria-required"]=r.props.ariaRequired,n))},r.renderClearButton=function(){var e=r.props,t=e.isClearable,n=e.disabled,i=e.selected,s=e.startDate,o=e.endDate,a=e.clearButtonTitle,l=e.clearButtonClassName,c=e.ariaLabelClose,d=e.selectedDates;return t&&(null!=i||null!=s||null!=o||(null==d?void 0:d.length))?E().createElement("button",{type:"button",className:(0,ai.$)("react-datepicker__close-icon",void 0===l?"":l,{"react-datepicker__close-icon--disabled":n}),disabled:n,"aria-label":void 0===c?"Close":c,onClick:r.onClearClick,title:a,tabIndex:-1}):null},r.state=r.calcInitialState(),r.preventFocusTimeout=void 0,r}return lO(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:12,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.componentDidUpdate=function(e,t){var n,r,i,s,o,a;e.inline&&(o=e.selected,a=this.props.selected,o&&a?aj(o)!==aj(a)||aP(o)!==aP(a):o!==a)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:cf(this.props.highlightDates)}),t.focused||l0(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&(null==(r=(n=this.props).onCalendarOpen)||r.call(n)),!0===t.open&&!1===this.state.open&&(null==(s=(i=this.props).onCalendarClose)||s.call(i)))},t.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.renderInputContainer=function(){var e=this.props,t=e.showIcon,n=e.icon,r=e.calendarIconClassname,i=e.calendarIconClassName,s=e.toggleCalendarOnIconClick,o=this.state.open;return r&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),E().createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&E().createElement(cU,lI({icon:n,className:(0,ai.$)(i,!i&&r,o&&"react-datepicker-ignore-onclickoutside")},s?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},t.prototype.render=function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?E().createElement(cW,{enableTabLoop:this.props.enableTabLoop},E().createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=E().createElement(cB,lI({portalId:this.props.portalId},this.props),t)),E().createElement("div",null,this.renderInputContainer(),t)}return E().createElement(cY,lI({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:e,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},t}(D.Component),cq="input",cZ="navigate";n(59863);var cK=n(84334),c$=n(93437);!function(e,t){var n=lF();n.__localeData__||(n.__localeData__={}),n.__localeData__.fr=t}(0,cK.fr);let cX=["#4f46e5","#0891b2","#0e7490","#16a34a","#65a30d","#ca8a04","#d97706","#dc2626","#e11d48","#9333ea","#7c3aed","#2563eb"];function cJ({open:e,onClose:t,onSave:n,onDelete:r,initialData:i}){let[s,o]=(0,D.useState)(i?.name||""),[a,l]=(0,D.useState)(i?.color||"#4f46e5"),[c,d]=(0,D.useState)(i?.description||""),[u,p]=(0,D.useState)(!1),[h,f]=(0,D.useState)(!1),g=i?.name==="Calendrier principal",m=async e=>{e.preventDefault(),p(!0);try{await n({id:i?.id,name:s,color:a,description:c}),b()}catch(e){console.error("Erreur lors de la cr\xe9ation du calendrier:",e)}finally{p(!1)}},y=async()=>{if(i?.id&&r&&!g&&confirm("\xcates-vous s\xfbr de vouloir supprimer ce calendrier ? Tous les \xe9v\xe9nements associ\xe9s seront \xe9galement supprim\xe9s.")){p(!0);try{await r(i.id),b()}catch(e){console.error("Erreur lors de la suppression du calendrier:",e)}finally{p(!1)}}},b=()=>{o(""),l("#4f46e5"),d(""),f(!1),t()};return(0,v.jsx)(o7.lG,{open:e,onOpenChange:e=>!e&&t(),children:(0,v.jsxs)(o7.Cf,{className:"sm:max-w-md rounded-xl",children:[(0,v.jsx)(o7.c7,{children:(0,v.jsxs)(o7.L3,{className:"flex items-center text-xl font-semibold text-gray-900",children:[(0,v.jsx)(o4.A,{className:"w-5 h-5 mr-2 text-indigo-600"}),i?.id?"Modifier le calendrier":"Cr\xe9er un nouveau calendrier"]})}),(0,v.jsxs)("form",{onSubmit:m,children:[(0,v.jsxs)("div",{className:"space-y-5 py-4",children:[(0,v.jsxs)("div",{className:"space-y-2",children:[(0,v.jsx)(an.J,{htmlFor:"calendar-name",className:"text-gray-700",children:"Nom"}),(0,v.jsx)(ae.p,{id:"calendar-name",value:s,onChange:e=>o(e.target.value),placeholder:"Nom du calendrier",required:!0,disabled:g,className:"rounded-lg border-gray-300 focus:border-indigo-500 focus:ring-indigo-500"})]}),(0,v.jsxs)("div",{className:"space-y-3",children:[(0,v.jsx)(an.J,{className:"text-gray-700",children:"Couleur"}),(0,v.jsxs)("div",{className:"flex flex-wrap gap-3 mb-3",children:[cX.map(e=>(0,v.jsx)("button",{type:"button",className:`w-8 h-8 rounded-full flex items-center justify-center transition-all ${a===e&&!h?"ring-2 ring-offset-2 ring-gray-400":"hover:scale-110"}`,style:{backgroundColor:e},onClick:()=>{l(e),f(!1)},children:a===e&&!h&&(0,v.jsx)(o3.A,{className:"w-4 h-4 text-white"})},e)),(0,v.jsx)("button",{type:"button",className:`w-8 h-8 rounded-full flex items-center justify-center bg-gradient-to-r from-purple-500 via-pink-500 to-red-500 transition-all ${h?"ring-2 ring-offset-2 ring-gray-400":"hover:scale-110"}`,onClick:()=>f(!0),children:h&&(0,v.jsx)(o3.A,{className:"w-4 h-4 text-white"})})]}),h&&(0,v.jsxs)("div",{className:"flex items-center gap-4 mt-2 p-3 bg-gray-50 rounded-lg",children:[(0,v.jsxs)("div",{className:"flex flex-1 items-center gap-3",children:[(0,v.jsx)(ae.p,{id:"calendar-color",type:"color",value:a,onChange:e=>l(e.target.value),className:"w-10 h-10 p-1 cursor-pointer rounded border-gray-300"}),(0,v.jsx)(ae.p,{type:"text",value:a,onChange:e=>l(e.target.value),placeholder:"#RRGGBB",className:"w-28 rounded-lg"})]}),(0,v.jsx)("div",{className:"w-8 h-8 rounded-lg shadow-sm",style:{backgroundColor:a}})]})]}),(0,v.jsxs)("div",{className:"space-y-2",children:[(0,v.jsx)(an.J,{htmlFor:"calendar-description",className:"text-gray-700",children:"Description (optionnelle)"}),(0,v.jsx)(at.T,{id:"calendar-description",value:c,onChange:e=>d(e.target.value),placeholder:"Description du calendrier",rows:3,className:"rounded-lg border-gray-300 focus:border-indigo-500 focus:ring-indigo-500"})]})]}),(0,v.jsx)(o7.Es,{className:"mt-6 border-t border-gray-100 pt-4",children:(0,v.jsxs)("div",{className:"flex justify-between w-full",children:[i?.id&&!g&&(0,v.jsxs)(o1.$,{type:"button",variant:"destructive",onClick:y,disabled:u||g,children:[(0,v.jsx)(o5.A,{className:"w-4 h-4 mr-2"}),"Supprimer"]}),(0,v.jsxs)("div",{className:"flex gap-3",children:[(0,v.jsx)(o1.$,{type:"button",variant:"outline",onClick:t,disabled:u,className:"rounded-lg border-gray-300 text-gray-700 hover:bg-gray-50",children:"Annuler"}),(0,v.jsx)(o1.$,{type:"submit",disabled:!s||u||g,className:"rounded-lg bg-indigo-600 hover:bg-indigo-700 text-white",children:u?"Enregistrement...":i?.id?"Mettre \xe0 jour":"Cr\xe9er"})]})]})})]})]})})}function c0({initialCalendars:e,userId:t,userProfile:n}){let[r,i]=(0,D.useState)(e.map(e=>({...e,events:e.events||[]}))),[s,o]=(0,D.useState)(e[0]?.id||""),[a,l]=(0,D.useState)("dayGridMonth"),[c,d]=(0,D.useState)(!1),[u,p]=(0,D.useState)(!1),[h,f]=(0,D.useState)(null),[g,m]=(0,D.useState)(null),[y,w]=(0,D.useState)(!1),[E,S]=(0,D.useState)(null),[C,_]=(0,D.useState)({title:"",description:null,start:"",end:"",allDay:!1,location:null,calendarId:s}),[A,x]=(0,D.useState)(null),[k,R]=(0,D.useState)([]),[T,M]=(0,D.useState)({totalEvents:0,upcomingEvents:0,completedEvents:0,meetingHours:0}),[N,O]=(0,D.useState)([]),I=()=>{let e=new Date,t={totalEvents:0,upcomingEvents:0,completedEvents:0,meetingHours:0};r.forEach(n=>{n.events.forEach(n=>{t.totalEvents++;let r=new Date(n.start),i=new Date(n.end);r>e?t.upcomingEvents++:i{let e=new Date;R(r.flatMap(e=>e.events).filter(t=>new Date(t.start)>e).sort((e,t)=>new Date(e.start).getTime()-new Date(t.start).getTime()).slice(0,5))},j=async()=>{try{w(!0);let e=await fetch("/api/calendars");if(!e.ok)throw Error("Failed to fetch calendars");let t=await e.json();console.log("Raw calendars data:",t);let n=t.map(e=>({...e,events:Array.isArray(e.events)?e.events.map(e=>({...e,start:new Date(e.start),end:new Date(e.end)})):[]}));console.log("Setting calendars with processed events:",n),i(n),I(),P(),H.current&&H.current.getApi().refetchEvents()}catch(e){console.error("Error fetching calendars:",e),S(e instanceof Error?e.message:"Failed to fetch calendars")}finally{w(!1)}},H=(0,D.useRef)(null),L=async e=>{try{if(w(!0),!(await fetch("/api/calendars",{method:e.id?"PUT":"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,userId:t})})).ok)throw Error("Failed to save calendar");await j(),p(!1)}catch(e){console.error("Error saving calendar:",e),S(e instanceof Error?e.message:"Failed to save calendar")}finally{w(!1)}},F=async e=>{try{if(w(!0),!(await fetch(`/api/calendars/${e}`,{method:"DELETE"})).ok)throw Error("Failed to delete calendar");if(await j(),p(!1),s===e){let t=r.filter(t=>t.id!==e);o(t[0]?.id||"")}}catch(e){console.error("Error deleting calendar:",e),S(e instanceof Error?e.message:"Failed to delete calendar")}finally{w(!1)}},U=async()=>{try{if(!C.title||!C.start||!C.end||!C.calendarId){console.log("Form validation failed:",{title:C.title,start:C.start,end:C.end,calendarId:C.calendarId}),S("Veuillez remplir tous les champs obligatoires et s\xe9lectionner un calendrier");return}w(!0);let e={...C,start:new Date(C.start).toISOString(),end:new Date(C.end).toISOString(),userId:t,...h?{id:h.id}:{},allDay:C.allDay};console.log("Submitting event with data:",e);let n=await fetch("/api/events",{method:h?"PUT":"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),o=await n.json();if(console.log("Response from server:",o),!n.ok)throw console.error("Error response:",o),Error(o.error||"Failed to save event");d(!1),_({title:"",description:null,start:"",end:"",allDay:!1,location:null,calendarId:s}),f(null),S(null);let a=r.map(t=>t.id===e.calendarId?{...t,events:[...t.events,o]}:t);i(a),await j()}catch(e){console.error("Error saving event:",e),S(e instanceof Error?e.message:"Failed to save event")}finally{w(!1)}},B=async()=>{if(h?.id&&confirm("\xcates-vous s\xfbr de vouloir supprimer cet \xe9v\xe9nement ?"))try{w(!0);let e=await fetch(`/api/events/${h.id}`,{method:"DELETE"});if(!e.ok){let t=await e.json();throw Error(t.message||"Failed to delete event")}let t=r.map(e=>({...e,events:e.events.filter(e=>e.id!==h.id)}));i(t),d(!1),f(null),_({title:"",description:null,start:"",end:"",allDay:!1,location:null,calendarId:s}),H.current&&H.current.getApi().refetchEvents()}catch(e){console.error("Error deleting event:",e),S(e instanceof Error?e.message:"Failed to delete event")}finally{w(!1)}},z=e=>{l(e),H.current&&H.current.getApi().changeView(e)},W=e=>e?new Date(e):new Date,Y=e=>{if(e)if(e>W(C.end)){let t=new Date(e);t.setHours(e.getHours()+1),_({...C,start:e.toISOString(),end:t.toISOString()})}else _({...C,start:e.toISOString()})},V=e=>{if(e)if(e{f(null),_({title:"",description:null,start:new Date().toISOString(),end:new Date(new Date().setHours(new Date().getHours()+1)).toISOString(),allDay:!1,location:null,calendarId:s}),d(!0)},className:"bg-primary hover:bg-primary/90 text-white",children:[(0,v.jsx)(o6.A,{className:"mr-2 h-4 w-4"}),(0,v.jsx)("span",{className:"jsx-82cd74ef5c10b128 font-medium",children:"Nouvel \xe9v\xe9nement"})]})}),(0,v.jsx)(o2.tU,{value:a,className:"w-auto",children:(0,v.jsxs)(o2.j7,{children:[(0,v.jsx)(o2.Xi,{value:"dayGridMonth",onClick:()=>z("dayGridMonth"),children:"Mois"}),(0,v.jsx)(o2.Xi,{value:"timeGridWeek",onClick:()=>z("timeGridWeek"),children:"Semaine"}),(0,v.jsx)(o2.Xi,{value:"timeGridDay",onClick:()=>z("timeGridDay"),children:"Jour"})]})})]}),(0,v.jsx)(()=>(0,v.jsx)("div",{className:"flex flex-wrap items-center gap-2 mb-4",children:r.map(e=>(0,v.jsxs)("div",{className:"relative group",children:[(0,v.jsxs)(o1.$,{variant:N.includes(e.id)?"secondary":"ghost",className:"flex items-center gap-2 pr-8",onClick:()=>{N.includes(e.id)?O(N.filter(t=>t!==e.id)):O([...N,e.id])},children:[(0,v.jsx)("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:e.color}}),(0,v.jsx)("span",{children:e.name}),(0,v.jsx)("div",{className:"ml-2",children:N.includes(e.id)?(0,v.jsx)(o3.A,{className:"h-4 w-4"}):null})]}),"Calendrier principal"!==e.name&&(0,v.jsx)(o1.$,{variant:"ghost",size:"icon",className:"absolute right-0 top-1/2 -translate-y-1/2 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>{t.stopPropagation(),m(e),p(!0)},children:(0,v.jsx)(o8,{className:"h-4 w-4"})})]},e.id))}),{className:"jsx-82cd74ef5c10b128"}),(0,v.jsx)(b(),{id:"82cd74ef5c10b128",children:".fc .fc-daygrid-day-frame{min-height:100px!important;max-height:100px!important;overflow-y:auto!important}.fc .fc-daygrid-day-events{margin-bottom:0!important}.fc .fc-daygrid-day-frame::-webkit-scrollbar{width:4px}.fc .fc-daygrid-day-frame::-webkit-scrollbar-track{background:transparent}.fc .fc-daygrid-day-frame::-webkit-scrollbar-thumb{background:#888;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fc .fc-daygrid-day-frame::-webkit-scrollbar-thumb:hover{background:#555}.fc .fc-daygrid-day-frame::-webkit-scrollbar{display:none}.fc .fc-daygrid-day-frame:hover::-webkit-scrollbar{display:block}"}),y?(0,v.jsxs)("div",{className:"jsx-82cd74ef5c10b128 h-96 flex items-center justify-center",children:[(0,v.jsx)(o9.A,{className:"h-8 w-8 animate-spin text-primary"}),(0,v.jsx)("span",{className:"jsx-82cd74ef5c10b128 ml-2",children:"Chargement des \xe9v\xe9nements..."})]}):(0,v.jsx)(sk,{ref:H,plugins:[s3,oT,oX],initialView:a,headerToolbar:{left:"prev,next today",center:"title",right:""},events:r.filter(e=>N.includes(e.id)).flatMap(e=>(e.events||[]).map(t=>({id:t.id,title:t.title,start:new Date(t.start),end:new Date(t.end),allDay:t.isAllDay,description:t.description,location:t.location,calendarId:t.calendarId,backgroundColor:`${e.color}dd`,borderColor:e.color,textColor:"#ffffff",extendedProps:{calendarName:e.name,location:t.location,description:t.description,calendarId:t.calendarId,originalEvent:t,color:e.color}}))),eventContent:e=>(0,v.jsx)(ar.Bc,{children:(0,v.jsxs)(ar.m_,{children:[(0,v.jsx)(ar.k$,{asChild:!0,children:(0,v.jsx)("div",{style:{backgroundColor:`${e.event.backgroundColor}`,boxShadow:`inset 0 0 0 1px ${e.event.borderColor}, 0 2px 4px ${e.event.borderColor}40`},className:"jsx-82cd74ef5c10b128 px-2 py-1 overflow-hidden w-full transition-all rounded-sm hover:brightness-110",children:(0,v.jsxs)("div",{className:"jsx-82cd74ef5c10b128 flex items-center gap-1.5 text-xs text-white",children:[!e.event.allDay&&(0,v.jsx)("span",{className:"jsx-82cd74ef5c10b128 font-medium whitespace-nowrap shrink-0",children:"object"==typeof e.event.start&&e.event.start instanceof Date?e.event.start.toLocaleTimeString("fr-FR",{hour:"2-digit",minute:"2-digit"}):""}),(0,v.jsx)("span",{className:"jsx-82cd74ef5c10b128 font-medium truncate max-w-[calc(100%-4.5rem)]",children:e.event.title})]})})}),(0,v.jsx)(ar.ZI,{children:(0,v.jsxs)("div",{className:"jsx-82cd74ef5c10b128 text-sm",children:[(0,v.jsx)("p",{className:"jsx-82cd74ef5c10b128 font-medium",children:e.event.title}),!e.event.allDay&&(0,v.jsx)("p",{className:"jsx-82cd74ef5c10b128 text-xs text-gray-400 mt-1",children:"object"==typeof e.event.start&&e.event.start instanceof Date?e.event.start.toLocaleTimeString("fr-FR",{hour:"2-digit",minute:"2-digit"}):""})]})})]})}),eventClassNames:"rounded-md overflow-hidden",dayCellContent:e=>(0,v.jsx)("div",{className:"jsx-82cd74ef5c10b128 text-xs font-medium",children:e.dayNumberText}),locale:oJ,selectable:!0,selectMirror:!0,dayMaxEventRows:!1,dayMaxEvents:!1,weekends:!0,select:e=>{let t=new Date(e.start),n=new Date(e.end);if(console.log("Date select handler - Current state:",{calendars:r.map(e=>({id:e.id,name:e.name})),selectedCalendarId:s,availableCalendars:r.length}),!s&&r.length>0){let i=r[0];console.log("No calendar selected, selecting first calendar:",i),o(i.id),_({title:"",description:null,start:t.toISOString(),end:n.toISOString(),allDay:e.allDay,location:null,calendarId:i.id})}else _({title:"",description:null,start:t.toISOString(),end:n.toISOString(),allDay:e.allDay,location:null,calendarId:s});d(!0)},eventClick:e=>{let t=e.event,n=new Date(t.start),r=new Date(t.end||t.start);f(t.extendedProps.originalEvent),_({title:t.title,description:t.extendedProps.description,start:n.toISOString().slice(0,16),end:r.toISOString().slice(0,16),allDay:t.isAllDay,location:t.extendedProps.location,calendarId:t.extendedProps.calendarId}),d(!0)},height:"auto",aspectRatio:1.8,slotMinTime:"06:00:00",slotMaxTime:"22:00:00",allDaySlot:!0,allDayText:"",views:{timeGridWeek:{allDayText:"",dayHeaderFormat:{weekday:"long",day:"numeric",month:"numeric"}},timeGridDay:{allDayText:"",dayHeaderFormat:{weekday:"long",day:"numeric",month:"numeric"}}},slotLabelFormat:{hour:"2-digit",minute:"2-digit",hour12:!1}})]}),(0,v.jsx)(cJ,{open:u,onClose:()=>p(!1),onSave:L,onDelete:F,initialData:g||void 0}),(0,v.jsx)(o7.lG,{open:c,onOpenChange:e=>{e||(d(!1),_({title:"",description:null,start:"",end:"",allDay:!1,location:null,calendarId:s||r[0]?.id}),f(null),S(null))},children:(0,v.jsxs)(o7.Cf,{className:"sm:max-w-lg",children:[(0,v.jsx)(o7.c7,{children:(0,v.jsx)(o7.L3,{className:"text-gray-800",children:h?"Modifier l'\xe9v\xe9nement":"Nouvel \xe9v\xe9nement"})}),E&&(0,v.jsx)("div",{className:"bg-red-50 border border-red-200 text-red-600 px-4 py-2 rounded-md text-sm",children:E}),(0,v.jsxs)("div",{className:"space-y-4 py-4",children:[(0,v.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,v.jsxs)("div",{className:"grid gap-2",children:[(0,v.jsx)(an.J,{htmlFor:"title",className:"text-base font-semibold text-gray-800",children:"Titre"}),(0,v.jsx)(ae.p,{id:"title",placeholder:"Titre de l'\xe9v\xe9nement",value:C.title,onChange:e=>_({...C,title:e.target.value}),className:"bg-white text-gray-900"})]}),(0,v.jsxs)("div",{className:"space-y-2",children:[(0,v.jsx)(an.J,{className:"text-base font-semibold text-gray-800",children:"Calendrier"}),(0,v.jsx)("div",{className:"grid grid-cols-2 gap-2",children:r.map(e=>(0,v.jsxs)("button",{type:"button",onClick:()=>{_(t=>({...t,calendarId:e.id}))},className:`flex items-center gap-2 px-3 py-2 rounded-lg transition-all ${C.calendarId===e.id?"bg-white ring-2 ring-primary":"bg-white hover:bg-gray-50 border border-gray-200"}`,children:[(0,v.jsx)("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:e.color}}),(0,v.jsx)("span",{className:`text-sm ${C.calendarId===e.id?"font-medium text-gray-900":"text-gray-700"}`,children:e.name})]},e.id))})]}),(0,v.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,v.jsxs)("div",{className:"space-y-2",children:[(0,v.jsx)(an.J,{className:"text-gray-800",children:"D\xe9but"}),(0,v.jsxs)("div",{className:"flex gap-2",children:[(0,v.jsx)("div",{className:"flex-1",children:(0,v.jsx)(cG,{selected:W(C.start),onChange:Y,dateFormat:"dd/MM/yyyy",locale:"fr",className:"w-full rounded-md border border-gray-300 px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary bg-white text-gray-900",placeholderText:"Date",customInput:(0,v.jsx)(ae.p,{className:"bg-white text-gray-900"})})}),(0,v.jsx)(cG,{selected:W(C.start),onChange:Y,showTimeSelect:!0,showTimeSelectOnly:!0,timeIntervals:15,timeCaption:"Heure",dateFormat:"HH:mm",className:"w-32 bg-white text-gray-900",customInput:(0,v.jsx)(ae.p,{className:"bg-white text-gray-900"})})]})]}),(0,v.jsxs)("div",{className:"space-y-2",children:[(0,v.jsx)(an.J,{className:"text-gray-800",children:"Fin"}),(0,v.jsxs)("div",{className:"flex gap-2",children:[(0,v.jsx)("div",{className:"flex-1",children:(0,v.jsx)(cG,{selected:W(C.end),onChange:V,dateFormat:"dd/MM/yyyy",locale:"fr",className:"w-full rounded-md border border-gray-300 px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary bg-white text-gray-900",placeholderText:"Date",customInput:(0,v.jsx)(ae.p,{className:"bg-white text-gray-900"}),minDate:W(C.start)})}),(0,v.jsx)(cG,{selected:W(C.end),onChange:V,showTimeSelect:!0,showTimeSelectOnly:!0,timeIntervals:15,timeCaption:"Heure",dateFormat:"HH:mm",className:"w-32 bg-white text-gray-900",customInput:(0,v.jsx)(ae.p,{className:"bg-white text-gray-900"})})]})]})]})]}),(0,v.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,v.jsx)(c$.S,{id:"allDay",checked:C.allDay,onCheckedChange:e=>_({...C,allDay:e})}),(0,v.jsx)(an.J,{htmlFor:"allDay",className:"text-gray-800",children:"Toute la journ\xe9e"})]}),(0,v.jsxs)("div",{className:"space-y-2",children:[(0,v.jsx)(an.J,{className:"text-gray-800",children:"Lieu"}),(0,v.jsx)(ae.p,{value:C.location||"",onChange:e=>_({...C,location:e.target.value}),placeholder:"Ajouter un lieu",className:"bg-white text-gray-900"})]}),(0,v.jsxs)("div",{className:"space-y-2",children:[(0,v.jsx)(an.J,{className:"text-gray-800",children:"Description"}),(0,v.jsx)(at.T,{value:C.description||"",onChange:e=>_({...C,description:e.target.value}),placeholder:"Ajouter une description",className:"bg-white text-gray-900"})]})]}),(0,v.jsxs)(o7.Es,{children:[h&&(0,v.jsx)(o1.$,{variant:"destructive",onClick:B,disabled:y,children:y?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(o9.A,{className:"mr-2 h-4 w-4 animate-spin"}),"Suppression..."]}):"Supprimer"}),(0,v.jsxs)("div",{className:"flex space-x-2",children:[(0,v.jsx)(o1.$,{variant:"outline",onClick:()=>d(!1),disabled:y,className:"bg-white hover:bg-gray-50 text-gray-900 border-gray-200",children:"Annuler"}),(0,v.jsx)(o1.$,{onClick:U,disabled:y,className:"bg-blue-600 hover:bg-blue-700 text-white",children:y?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(o9.A,{className:"mr-2 h-4 w-4 animate-spin"}),"Enregistrement..."]}):h?"Mettre \xe0 jour":"Cr\xe9er"})]})]})]})})]})}},21820:e=>{"use strict";e.exports=require("os")},25037:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(70762);let i=r.z.object({NODE_ENV:r.z.enum(["development","test","production"]).default("development"),DATABASE_URL:r.z.string().url(),NEWSDB_URL:r.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:r.z.string().url(),KEYCLOAK_CLIENT_ID:r.z.string(),KEYCLOAK_CLIENT_SECRET:r.z.string(),KEYCLOAK_REALM:r.z.string(),KEYCLOAK_ISSUER:r.z.string().url(),LEANTIME_TOKEN:r.z.string(),LEANTIME_API_URL:r.z.string().url(),ROCKET_CHAT_TOKEN:r.z.string(),ROCKET_CHAT_USER_ID:r.z.string()}).parse(process.env)},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},34631:e=>{"use strict";e.exports=require("tls")},39390:(e,t,n)=>{"use strict";n.d(t,{J:()=>c});var r=n(60687),i=n(43210),s=n(78696),o=n(24224),a=n(96241);let l=(0,o.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=i.forwardRef(({className:e,...t},n)=>(0,r.jsx)(s.b,{ref:n,className:(0,a.cn)(l(),e),...t}));c.displayName=s.b.displayName},39916:(e,t,n)=>{"use strict";var r=n(97576);n.o(r,"notFound")&&n.d(t,{notFound:function(){return r.notFound}}),n.o(r,"redirect")&&n.d(t,{redirect:function(){return r.redirect}})},41204:e=>{"use strict";e.exports=require("string_decoder")},48976:(e,t,n)=>{"use strict";function r(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"forbidden",{enumerable:!0,get:function(){return r}}),n(8704).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55192:(e,t,n)=>{"use strict";n.d(t,{BT:()=>c,Wu:()=>d,ZB:()=>l,Zp:()=>o,aR:()=>a});var r=n(60687),i=n(43210),s=n(96241);let o=i.forwardRef(({className:e,...t},n)=>(0,r.jsx)("div",{ref:n,className:(0,s.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));o.displayName="Card";let a=i.forwardRef(({className:e,...t},n)=>(0,r.jsx)("div",{ref:n,className:(0,s.cn)("flex flex-col space-y-1.5 p-6",e),...t}));a.displayName="CardHeader";let l=i.forwardRef(({className:e,...t},n)=>(0,r.jsx)("div",{ref:n,className:(0,s.cn)("text-2xl font-semibold leading-none tracking-tight",e),...t}));l.displayName="CardTitle";let c=i.forwardRef(({className:e,...t},n)=>(0,r.jsx)("div",{ref:n,className:(0,s.cn)("text-sm text-muted-foreground",e),...t}));c.displayName="CardDescription";let d=i.forwardRef(({className:e,...t},n)=>(0,r.jsx)("div",{ref:n,className:(0,s.cn)("p-6 pt-0",e),...t}));d.displayName="CardContent",i.forwardRef(({className:e,...t},n)=>(0,r.jsx)("div",{ref:n,className:(0,s.cn)("flex items-center p-6 pt-0",e),...t})).displayName="CardFooter"},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},59863:()=>{},61086:(e,t,n)=>{Promise.resolve().then(n.bind(n,19681))},62765:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return i}});let r=""+n(8704).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function i(){let e=Object.defineProperty(Error(r),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw e.digest=r,e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},65868:(e,t,n)=>{"use strict";n.d(t,{CalendarClient:()=>r});let r=(0,n(12907).registerClientReference)(function(){throw Error("Attempted to call CalendarClient() from the server but CalendarClient 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.")},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx","CalendarClient")},70899:(e,t,n)=>{"use strict";function r(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unauthorized",{enumerable:!0,get:function(){return r}}),n(8704).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},71042:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,o.isNextRouterError)(t)||(0,s.isBailoutToCSRError)(t)||(0,l.isDynamicServerError)(t)||(0,a.isDynamicPostpone)(t)||(0,i.isPostpone)(t)||(0,r.isHangingPromiseRejectionError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let r=n(68388),i=n(52637),s=n(51846),o=n(31162),a=n(84971),l=n(98479);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74075:e=>{"use strict";e.exports=require("zlib")},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var r=n(96330),i=n(25037);let s=globalThis.prisma||new r.PrismaClient({datasources:{db:{url:i._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},80189:(e,t,n)=>{"use strict";n.d(t,{Bc:()=>a,ZI:()=>d,k$:()=>c,m_:()=>l});var r=n(60687),i=n(43210),s=n(58730),o=n(96241);let a=s.Kq,l=s.bL,c=s.l9,d=i.forwardRef(({className:e,sideOffset:t=4,...n},i)=>(0,r.jsx)(s.UC,{ref:i,sideOffset:t,className:(0,o.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));d.displayName=s.UC.displayName},81630:e=>{"use strict";e.exports=require("http")},83997:e=>{"use strict";e.exports=require("tty")},84068:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p,metadata:()=>u});var r=n(37413),i=n(35426),s=n(26690),o=n(39916),a=n(79464),l=n(65868);function c(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}function d(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}let u={title:"Enkun - Calendrier | Gestion d'\xe9v\xe9nements professionnelle",description:"Plateforme avanc\xe9e pour la gestion de vos rendez-vous, r\xe9unions et \xe9v\xe9nements professionnels",keywords:"calendrier, rendez-vous, \xe9v\xe9nements, gestion du temps, enkun"};async function p(){let e=await (0,i.getServerSession)(s.N);e?.user||(0,o.redirect)("/api/auth/signin"),e.user.username||e.user.email;let t=await a.z.calendar.findMany({where:{userId:e?.user?.id||""},include:{events:{orderBy:{start:"asc"}}}});0===t.length&&(t=await Promise.all([{name:"Default",color:"#4F46E5",description:"Your default calendar"}].map(async t=>a.z.calendar.create({data:{...t,userId:e?.user?.id||""},include:{events:!0}}))));let n=new Date,u=function(e,t){let{years:n=0,months:r=0,weeks:i=0,days:s=0,hours:o=0,minutes:a=0,seconds:l=0}=t,u=c(e),p=r||n?function(e,t){let n=c(e);if(isNaN(t))return d(e,NaN);if(!t)return n;let r=n.getDate(),i=d(e,n.getTime());return(i.setMonth(n.getMonth()+t+1,0),r>=i.getDate())?i:(n.setFullYear(i.getFullYear(),i.getMonth(),r),n)}(u,r+12*n):u,h=s||i?function(e,t){let n=c(e);return isNaN(t)?d(e,NaN):(t&&n.setDate(n.getDate()+t),n)}(p,s+7*i):p;return d(e,h.getTime()+1e3*(l+60*(a+60*o)))}(n,{days:7});return t.flatMap(e=>e.events.filter(e=>new Date(e.start)>=n&&new Date(e.start)<=u)).sort((e,t)=>new Date(e.start).getTime()-new Date(t.start).getTime()),t.flatMap(e=>e.events).length,t.flatMap(e=>e.events).reduce((e,t)=>{let n=new Date(t.start),r=(new Date(t.end).getTime()-n.getTime())/36e5;return e+(isNaN(r)?0:r)},0),(0,r.jsx)("div",{className:"container mx-auto py-10",children:(0,r.jsx)(l.CalendarClient,{initialCalendars:t,userId:e.user.id,userProfile:{name:e.user.name||"",email:e.user.email||"",avatar:e.user.image||void 0}})})}},85910:(e,t,n)=>{"use strict";n.d(t,{Xi:()=>c,av:()=>d,j7:()=>l,tU:()=>a});var r=n(60687),i=n(43210),s=n(41360),o=n(96241);let a=s.bL,l=i.forwardRef(({className:e,...t},n)=>(0,r.jsx)(s.B8,{ref:n,className:(0,o.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));l.displayName=s.B8.displayName;let c=i.forwardRef(({className:e,...t},n)=>(0,r.jsx)(s.l9,{ref:n,className:(0,o.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...t}));c.displayName=s.l9.displayName;let d=i.forwardRef(({className:e,...t},n)=>(0,r.jsx)(s.UC,{ref:n,className:(0,o.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));d.displayName=s.UC.displayName},86889:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalError:()=>o.a,__next_app__:()=>u,pages:()=>d,routeModule:()=>p,tree:()=>c});var r=n(65239),i=n(48088),s=n(88170),o=n.n(s),a=n(30893),l={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>a[e]);n.d(t,l);let c={children:["",{children:["agenda",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(n.bind(n,84068)),"/Users/alma/Documents/NeahNew/app/agenda/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(n.bind(n,58014)),"/Users/alma/Documents/NeahNew/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(n.t.bind(n,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(n.t.bind(n,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(n.t.bind(n,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,d=["/Users/alma/Documents/NeahNew/app/agenda/page.tsx"],u={require:n,loadChunk:()=>Promise.resolve()},p=new r.AppPageRouteModule({definition:{kind:i.RouteKind.APP_PAGE,page:"/agenda/page",pathname:"/agenda",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},86897:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getRedirectError:function(){return o},getRedirectStatusCodeFromError:function(){return u},getRedirectTypeFromError:function(){return d},getURLFromRedirectError:function(){return c},permanentRedirect:function(){return l},redirect:function(){return a}});let r=n(52836),i=n(49026),s=n(19121).actionAsyncStorage;function o(e,t,n){void 0===n&&(n=r.RedirectStatusCode.TemporaryRedirect);let s=Object.defineProperty(Error(i.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return s.digest=i.REDIRECT_ERROR_CODE+";"+t+";"+e+";"+n+";",s}function a(e,t){var n;throw null!=t||(t=(null==s||null==(n=s.getStore())?void 0:n.isAction)?i.RedirectType.push:i.RedirectType.replace),o(e,t,r.RedirectStatusCode.TemporaryRedirect)}function l(e,t){throw void 0===t&&(t=i.RedirectType.replace),o(e,t,r.RedirectStatusCode.PermanentRedirect)}function c(e){return(0,i.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function d(e){if(!(0,i.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return e.digest.split(";",2)[1]}function u(e){if(!(0,i.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(e.digest.split(";").at(-2))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91645:e=>{"use strict";e.exports=require("net")},93437:(e,t,n)=>{"use strict";n.d(t,{S:()=>l});var r=n(60687),i=n(43210),s=n(49829),o=n(13964),a=n(96241);let l=i.forwardRef(({className:e,...t},n)=>(0,r.jsx)(s.bL,{ref:n,className:(0,a.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),...t,children:(0,r.jsx)(s.C1,{className:(0,a.cn)("flex items-center justify-center text-current"),children:(0,r.jsx)(o.A,{className:"h-4 w-4"})})}));l.displayName=s.bL.displayName},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},97576:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return d},RedirectType:function(){return i.RedirectType},forbidden:function(){return o.forbidden},notFound:function(){return s.notFound},permanentRedirect:function(){return r.permanentRedirect},redirect:function(){return r.redirect},unauthorized:function(){return a.unauthorized},unstable_rethrow:function(){return l.unstable_rethrow}});let r=n(86897),i=n(49026),s=n(62765),o=n(48976),a=n(70899),l=n(163);class c extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class d extends URLSearchParams{append(){throw new c}delete(){throw new c}set(){throw new c}sort(){throw new c}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}};var t=require("../../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),r=t.X(0,[4243,5419,8794,1642,6724,762,748,4543,9514,7120,6781,5500],()=>n(86889));module.exports=r})(); \ No newline at end of file diff --git a/.next/server/app/agenda/page.js.nft.json b/.next/server/app/agenda/page.js.nft.json new file mode 100644 index 00000000..349cade9 --- /dev/null +++ b/.next/server/app/agenda/page.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../.env","../../../../node_modules/.prisma/client/default.js","../../../../node_modules/.prisma/client/index.js","../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../node_modules/.prisma/client/package.json","../../../../node_modules/.prisma/client/schema.prisma","../../../../node_modules/@prisma/client/default.js","../../../../node_modules/@prisma/client/package.json","../../../../node_modules/@prisma/client/runtime/library.js","../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/1642.js","../../chunks/4243.js","../../chunks/4543.js","../../chunks/5419.js","../../chunks/5500.js","../../chunks/6724.js","../../chunks/6781.js","../../chunks/7120.js","../../chunks/748.js","../../chunks/762.js","../../chunks/8794.js","../../chunks/9514.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/agenda/page_client-reference-manifest.js b/.next/server/app/agenda/page_client-reference-manifest.js new file mode 100644 index 00000000..d00eec1b --- /dev/null +++ b/.next/server/app/agenda/page_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/agenda/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":["4020","static/chunks/518b661d-1af0c869a328374c.js","6018","static/chunks/a6eb9415-823d2e787cc4ced9.js","5579","static/chunks/13633bf0-86fba702540dbe9e.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","5652","static/chunks/5652-6babf6fbe108fd74.js","1736","static/chunks/1736-c3cafe0644779091.js","7272","static/chunks/7272-3459a923f3966a53.js","395","static/chunks/app/agenda/page-4d3a42719b400702.js"],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/agenda/page":[{"inlined":false,"path":"static/css/ebdf3955f4e6632b.css"}]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/agilite/page.js b/.next/server/app/agilite/page.js new file mode 100644 index 00000000..264c845a --- /dev/null +++ b/.next/server/app/agilite/page.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=2354,e.ids=[2354],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},14985:e=>{e.exports=require("dns")},19121:e=>{e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:e=>{e.exports=require("os")},26089:(e,r,t)=>{t.r(r),t.d(r,{default:()=>p});var s=t(37413),i=t(35426),o=t(26690),n=t(39916),a=t(15562);async function p(){return await (0,i.getServerSession)(o.N)||(0,n.redirect)("/signin"),(0,s.jsx)("main",{className:"w-full h-screen bg-black",children:(0,s.jsx)("div",{className:"w-full h-full px-4 pt-12 pb-4",children:(0,s.jsx)(a.ResponsiveIframe,{src:"https://agilite.slm-lab.net/oidc/login",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"})})})}},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64921:(e,r,t)=>{t.r(r),t.d(r,{GlobalError:()=>n.a,__next_app__:()=>d,pages:()=>u,routeModule:()=>x,tree:()=>l});var s=t(65239),i=t(48088),o=t(88170),n=t.n(o),a=t(30893),p={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(p[e]=()=>a[e]);t.d(r,p);let l={children:["",{children:["agilite",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,26089)),"/Users/alma/Documents/NeahNew/app/agilite/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,58014)),"/Users/alma/Documents/NeahNew/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(t.t.bind(t,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(t.t.bind(t,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,u=["/Users/alma/Documents/NeahNew/app/agilite/page.tsx"],d={require:t,loadChunk:()=>Promise.resolve()},x=new s.AppPageRouteModule({definition:{kind:i.RouteKind.APP_PAGE,page:"/agilite/page",pathname:"/agilite",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:l}})},74075:e=>{e.exports=require("zlib")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")}};var r=require("../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,8794,1642,6724,748,6781,5500,9028],()=>t(64921));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/agilite/page.js.nft.json b/.next/server/app/agilite/page.js.nft.json new file mode 100644 index 00000000..5b6245ef --- /dev/null +++ b/.next/server/app/agilite/page.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/1642.js","../../chunks/4243.js","../../chunks/5419.js","../../chunks/5500.js","../../chunks/6724.js","../../chunks/6781.js","../../chunks/748.js","../../chunks/8794.js","../../chunks/9028.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/agilite/page_client-reference-manifest.js b/.next/server/app/agilite/page_client-reference-manifest.js new file mode 100644 index 00000000..8db04c21 --- /dev/null +++ b/.next/server/app/agilite/page_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/agilite/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","2354","static/chunks/app/agilite/page-0cb22f02440a4141.js"],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/agilite/page":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/alma/page.js b/.next/server/app/alma/page.js new file mode 100644 index 00000000..97ae4e7b --- /dev/null +++ b/.next/server/app/alma/page.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=5952,e.ids=[5952],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},7683:(e,r,t)=>{t.r(r),t.d(r,{default:()=>p});var s=t(37413),a=t(35426),o=t(26690),n=t(39916),i=t(15562);async function p(){return await (0,a.getServerSession)(o.N)||(0,n.redirect)("/signin"),(0,s.jsx)("main",{className:"w-full h-screen bg-black",children:(0,s.jsx)("div",{className:"w-full h-full px-4 pt-12 pb-4",children:(0,s.jsx)(i.ResponsiveIframe,{src:"https://alma.slm-lab.net",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"})})})}},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},14985:e=>{e.exports=require("dns")},19121:e=>{e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},72401:(e,r,t)=>{t.r(r),t.d(r,{GlobalError:()=>n.a,__next_app__:()=>d,pages:()=>u,routeModule:()=>x,tree:()=>l});var s=t(65239),a=t(48088),o=t(88170),n=t.n(o),i=t(30893),p={};for(let e in i)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(p[e]=()=>i[e]);t.d(r,p);let l={children:["",{children:["alma",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,7683)),"/Users/alma/Documents/NeahNew/app/alma/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,58014)),"/Users/alma/Documents/NeahNew/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(t.t.bind(t,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(t.t.bind(t,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,u=["/Users/alma/Documents/NeahNew/app/alma/page.tsx"],d={require:t,loadChunk:()=>Promise.resolve()},x=new s.AppPageRouteModule({definition:{kind:a.RouteKind.APP_PAGE,page:"/alma/page",pathname:"/alma",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:l}})},74075:e=>{e.exports=require("zlib")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")}};var r=require("../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,8794,1642,6724,748,6781,5500,9028],()=>t(72401));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/alma/page.js.nft.json b/.next/server/app/alma/page.js.nft.json new file mode 100644 index 00000000..5b6245ef --- /dev/null +++ b/.next/server/app/alma/page.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/1642.js","../../chunks/4243.js","../../chunks/5419.js","../../chunks/5500.js","../../chunks/6724.js","../../chunks/6781.js","../../chunks/748.js","../../chunks/8794.js","../../chunks/9028.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/alma/page_client-reference-manifest.js b/.next/server/app/alma/page_client-reference-manifest.js new file mode 100644 index 00000000..d93ffda8 --- /dev/null +++ b/.next/server/app/alma/page_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/alma/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","5952","static/chunks/app/alma/page-055ca5cea0108e31.js"],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/alma/page":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/announcement/page.js b/.next/server/app/announcement/page.js new file mode 100644 index 00000000..22fbd7e9 --- /dev/null +++ b/.next/server/app/announcement/page.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=4152,e.ids=[4152],e.modules={163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return a}});let a=r(71042).unstable_rethrow;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3018:(e,t,r)=>{"use strict";r.d(t,{Fc:()=>d,TN:()=>u,XL:()=>o});var a=r(60687),s=r(43210),i=r(24224),n=r(96241);let l=(0,i.F)("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=s.forwardRef(({className:e,variant:t,...r},s)=>(0,a.jsx)("div",{ref:s,role:"alert",className:(0,n.cn)(l({variant:t}),e),...r}));d.displayName="Alert";let o=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("h5",{ref:r,className:(0,n.cn)("mb-1 font-medium leading-none tracking-tight",e),...t}));o.displayName="AlertTitle";let u=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("div",{ref:r,className:(0,n.cn)("text-sm [&_p]:leading-relaxed",e),...t}));u.displayName="AlertDescription"},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10745:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>n.a,__next_app__:()=>c,pages:()=>u,routeModule:()=>f,tree:()=>o});var a=r(65239),s=r(48088),i=r(88170),n=r.n(i),l=r(30893),d={};for(let e in l)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>l[e]);r.d(t,d);let o={children:["",{children:["announcement",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,96955)),"/Users/alma/Documents/NeahNew/app/announcement/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/Users/alma/Documents/NeahNew/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,u=["/Users/alma/Documents/NeahNew/app/announcement/page.tsx"],c={require:r,loadChunk:()=>Promise.resolve()},f=new a.AppPageRouteModule({definition:{kind:s.RouteKind.APP_PAGE,page:"/announcement/page",pathname:"/announcement",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:o}})},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},13128:(e,t,r)=>{"use strict";let a;r.d(t,{AnnouncementsPage:()=>rb});var s,i,n,l,d,o,u=r(60687),c=r(85910),f=r(43210),h=e=>"checkbox"===e.type,m=e=>e instanceof Date,p=e=>null==e;let y=e=>"object"==typeof e;var v=e=>!p(e)&&!Array.isArray(e)&&y(e)&&!m(e),g=e=>v(e)&&e.target?h(e.target)?e.target.checked:e.target.value:e,_=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,x=(e,t)=>e.has(_(t)),b=e=>{let t=e.constructor&&e.constructor.prototype;return v(t)&&t.hasOwnProperty("isPrototypeOf")},w="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function j(e){let t,r=Array.isArray(e),a="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(w&&(e instanceof Blob||a))&&(r||v(e))))return e;else if(t=r?[]:{},r||b(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=j(e[r]));else t=e;return t}var k=e=>Array.isArray(e)?e.filter(Boolean):[],N=e=>void 0===e,A=(e,t,r)=>{if(!t||!v(e))return r;let a=k(t.split(/[,[\].]+?/)).reduce((e,t)=>p(e)?e:e[t],e);return N(a)||a===e?N(e[t])?r:e[t]:a},T=e=>"boolean"==typeof e,O=e=>/^\w*$/.test(e),S=e=>k(e.replace(/["|']|\]/g,"").split(/\.|\[/)),E=(e,t,r)=>{let a=-1,s=O(t)?[t]:S(t),i=s.length,n=i-1;for(;++af.useContext(P);var Z=(e,t,r,a=!0)=>{let s={defaultValues:t._defaultValues};for(let i in e)Object.defineProperty(s,i,{get:()=>(t._proxyFormState[i]!==R.all&&(t._proxyFormState[i]=!a||R.all),r&&(r[i]=!0),e[i])});return s},D=e=>v(e)&&!Object.keys(e).length,I=(e,t,r,a)=>{r(e);let{name:s,...i}=e;return D(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!a||R.all))},M=e=>Array.isArray(e)?e:[e],L=(e,t,r)=>!e||!t||e===t||M(e).some(e=>e&&(r?e===t:e.startsWith(t)||t.startsWith(e)));function $(e){let t=f.useRef(e);t.current=e,f.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}var U=e=>"string"==typeof e,z=(e,t,r,a,s)=>U(e)?(a&&t.watch.add(e),A(r,e,s)):Array.isArray(e)?e.map(e=>(a&&t.watch.add(e),A(r,e))):(a&&(t.watchAll=!0),r);let B=e=>e.render(function(e){let t=V(),{name:r,disabled:a,control:s=t.control,shouldUnregister:i}=e,n=x(s._names.array,r),l=function(e){let t=V(),{control:r=t.control,name:a,defaultValue:s,disabled:i,exact:n}=e||{},l=f.useRef(a);l.current=a,$({disabled:i,subject:r._subjects.values,next:e=>{L(l.current,e.name,n)&&o(j(z(l.current,r._names,e.values||r._formValues,!1,s)))}});let[d,o]=f.useState(r._getWatch(a,s));return f.useEffect(()=>r._removeUnmounted()),d}({control:s,name:r,defaultValue:A(s._formValues,r,A(s._defaultValues,r,e.defaultValue)),exact:!0}),d=function(e){let t=V(),{control:r=t.control,disabled:a,name:s,exact:i}=e||{},[n,l]=f.useState(r._formState),d=f.useRef(!0),o=f.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),u=f.useRef(s);return u.current=s,$({disabled:a,next:e=>d.current&&L(u.current,e.name,i)&&I(e,o.current,r._updateFormState)&&l({...r._formState,...e}),subject:r._subjects.state}),f.useEffect(()=>(d.current=!0,o.current.isValid&&r._updateValid(!0),()=>{d.current=!1}),[r]),f.useMemo(()=>Z(n,r,o.current,!1),[n,r])}({control:s,name:r,exact:!0}),o=f.useRef(s.register(r,{...e.rules,value:l,...T(e.disabled)?{disabled:e.disabled}:{}})),u=f.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!A(d.errors,r)},isDirty:{enumerable:!0,get:()=>!!A(d.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!A(d.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!A(d.validatingFields,r)},error:{enumerable:!0,get:()=>A(d.errors,r)}}),[d,r]),c=f.useMemo(()=>({name:r,value:l,...T(a)||d.disabled?{disabled:d.disabled||a}:{},onChange:e=>o.current.onChange({target:{value:g(e),name:r},type:C.CHANGE}),onBlur:()=>o.current.onBlur({target:{value:A(s._formValues,r),name:r},type:C.BLUR}),ref:e=>{let t=A(s._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}}),[r,s._formValues,a,d.disabled,l,s._fields]);return f.useEffect(()=>{let e=s._options.shouldUnregister||i,t=(e,t)=>{let r=A(s._fields,e);r&&r._f&&(r._f.mount=t)};if(t(r,!0),e){let e=j(A(s._options.defaultValues,r));E(s._defaultValues,r,e),N(A(s._formValues,r))&&E(s._formValues,r,e)}return n||s.register(r),()=>{(n?e&&!s._state.action:e)?s.unregister(r):t(r,!1)}},[r,s,n,i]),f.useEffect(()=>{s._updateDisabledField({disabled:a,fields:s._fields,name:r})},[a,r,s]),f.useMemo(()=>({field:c,formState:d,fieldState:u}),[c,d,u])}(e));var q=(e,t,r,a,s)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[a]:s||!0}}:{},W=e=>({isOnSubmit:!e||e===R.onSubmit,isOnBlur:e===R.onBlur,isOnChange:e===R.onChange,isOnAll:e===R.all,isOnTouch:e===R.onTouched}),K=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let H=(e,t,r,a)=>{for(let s of r||Object.keys(e)){let r=A(e,s);if(r){let{_f:e,...i}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],s)&&!a)return!0;else if(e.ref&&t(e.ref,e.name)&&!a)return!0;else if(H(i,t))break}else if(v(i)&&H(i,t))break}}};var X=(e,t,r)=>{let a=M(A(e,r));return E(a,"root",t[r]),E(e,r,a),e},G=e=>"file"===e.type,J=e=>"function"==typeof e,Y=e=>{if(!w)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Q=e=>U(e),ee=e=>"radio"===e.type,et=e=>e instanceof RegExp;let er={value:!1,isValid:!1},ea={value:!0,isValid:!0};var es=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!N(e[0].attributes.value)?N(e[0].value)||""===e[0].value?ea:{value:e[0].value,isValid:!0}:ea:er}return er};let ei={isValid:!1,value:null};var en=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,ei):ei;function el(e,t,r="validate"){if(Q(e)||Array.isArray(e)&&e.every(Q)||T(e)&&!e)return{type:r,message:Q(e)?e:"",ref:t}}var ed=e=>v(e)&&!et(e)?e:{value:e,message:""},eo=async(e,t,r,a,s,i)=>{let{ref:n,refs:l,required:d,maxLength:o,minLength:u,min:c,max:f,pattern:m,validate:y,name:g,valueAsNumber:_,mount:x}=e._f,b=A(r,g);if(!x||t.has(g))return{};let w=l?l[0]:n,j=e=>{s&&w.reportValidity&&(w.setCustomValidity(T(e)?"":e||""),w.reportValidity())},k={},O=ee(n),S=h(n),E=(_||G(n))&&N(n.value)&&N(b)||Y(n)&&""===n.value||""===b||Array.isArray(b)&&!b.length,C=q.bind(null,g,a,k),R=(e,t,r,a=F.maxLength,s=F.minLength)=>{let i=e?t:r;k[g]={type:e?a:s,message:i,ref:n,...C(e?a:s,i)}};if(i?!Array.isArray(b)||!b.length:d&&(!(O||S)&&(E||p(b))||T(b)&&!b||S&&!es(l).isValid||O&&!en(l).isValid)){let{value:e,message:t}=Q(d)?{value:!!d,message:d}:ed(d);if(e&&(k[g]={type:F.required,message:t,ref:w,...C(F.required,t)},!a))return j(t),k}if(!E&&(!p(c)||!p(f))){let e,t,r=ed(f),s=ed(c);if(p(b)||isNaN(b)){let a=n.valueAsDate||new Date(b),i=e=>new Date(new Date().toDateString()+" "+e),l="time"==n.type,d="week"==n.type;U(r.value)&&b&&(e=l?i(b)>i(r.value):d?b>r.value:a>new Date(r.value)),U(s.value)&&b&&(t=l?i(b)r.value),p(s.value)||(t=a+e.value,s=!p(t.value)&&b.length<+t.value;if((r||s)&&(R(r,e.message,t.message),!a))return j(k[g].message),k}if(m&&!E&&U(b)){let{value:e,message:t}=ed(m);if(et(e)&&!b.match(e)&&(k[g]={type:F.pattern,message:t,ref:n,...C(F.pattern,t)},!a))return j(t),k}if(y){if(J(y)){let e=el(await y(b,r),w);if(e&&(k[g]={...e,...C(F.validate,e.message)},!a))return j(e.message),k}else if(v(y)){let e={};for(let t in y){if(!D(e)&&!a)break;let s=el(await y[t](b,r),w,t);s&&(e={...s,...C(t,s.message)},j(s.message),a&&(k[g]=e))}if(!D(e)&&(k[g]={ref:w,...e},!a))return k}}return j(!0),k};function eu(e,t){let r=Array.isArray(t)?t:O(t)?[t]:S(t),a=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,a=0;for(;a{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},ef=e=>p(e)||!y(e);function eh(e,t){if(ef(e)||ef(t))return e===t;if(m(e)&&m(t))return e.getTime()===t.getTime();let r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(let s of r){let r=e[s];if(!a.includes(s))return!1;if("ref"!==s){let e=t[s];if(m(r)&&m(e)||v(r)&&v(e)||Array.isArray(r)&&Array.isArray(e)?!eh(r,e):r!==e)return!1}}return!0}var em=e=>"select-multiple"===e.type,ep=e=>ee(e)||h(e),ey=e=>Y(e)&&e.isConnected,ev=e=>{for(let t in e)if(J(e[t]))return!0;return!1};function eg(e,t={}){let r=Array.isArray(e);if(v(e)||r)for(let r in e)Array.isArray(e[r])||v(e[r])&&!ev(e[r])?(t[r]=Array.isArray(e[r])?[]:{},eg(e[r],t[r])):p(e[r])||(t[r]=!0);return t}var e_=(e,t)=>(function e(t,r,a){let s=Array.isArray(t);if(v(t)||s)for(let s in t)Array.isArray(t[s])||v(t[s])&&!ev(t[s])?N(r)||ef(a[s])?a[s]=Array.isArray(t[s])?eg(t[s],[]):{...eg(t[s])}:e(t[s],p(r)?{}:r[s],a[s]):a[s]=!eh(t[s],r[s]);return a})(e,t,eg(t)),ex=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:a})=>N(e)?e:t?""===e?NaN:e?+e:e:r&&U(e)?new Date(e):a?a(e):e;function eb(e){let t=e.ref;return G(t)?t.files:ee(t)?en(e.refs).value:em(t)?[...t.selectedOptions].map(({value:e})=>e):h(t)?es(e.refs).value:ex(N(t.value)?e.ref.value:t.value,e)}var ew=(e,t,r,a)=>{let s={};for(let r of e){let e=A(t,r);e&&E(s,r,e._f)}return{criteriaMode:r,names:[...e],fields:s,shouldUseNativeValidation:a}},ej=e=>N(e)?e:et(e)?e.source:v(e)?et(e.value)?e.value.source:e.value:e;let ek="AsyncFunction";var eN=e=>!!e&&!!e.validate&&!!(J(e.validate)&&e.validate.constructor.name===ek||v(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===ek)),eA=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function eT(e,t,r){let a=A(e,r);if(a||O(r))return{error:a,name:r};let s=r.split(".");for(;s.length;){let a=s.join("."),i=A(t,a),n=A(e,a);if(i&&!Array.isArray(i)&&r!==a)break;if(n&&n.type)return{name:a,error:n};s.pop()}return{name:r}}var eO=(e,t,r,a,s)=>!s.isOnAll&&(!r&&s.isOnTouch?!(t||e):(r?a.isOnBlur:s.isOnBlur)?!e:(r?!a.isOnChange:!s.isOnChange)||e),eS=(e,t)=>!k(A(e,t)).length&&eu(e,t);let eE={mode:R.onSubmit,reValidateMode:R.onChange,shouldFocusError:!0},eC=(e,t,r)=>{if(e&&"reportValidity"in e){let a=A(r,t);e.setCustomValidity(a&&a.message||""),e.reportValidity()}},eR=(e,t)=>{for(let r in t.fields){let a=t.fields[r];a&&a.ref&&"reportValidity"in a.ref?eC(a.ref,r,e):a.refs&&a.refs.forEach(t=>eC(t,r,e))}},eF=(e,t)=>{t.shouldUseNativeValidation&&eR(e,t);let r={};for(let a in e){let s=A(t.fields,a),i=Object.assign(e[a]||{},{ref:s&&s.ref});if(eP(t.names||Object.keys(e),a)){let e=Object.assign({},A(r,a));E(e,"root",i),E(r,a,e)}else E(r,a,i)}return r},eP=(e,t)=>e.some(e=>e.startsWith(t+"."));var eV=function(e,t){for(var r={};e.length;){var a=e[0],s=a.code,i=a.message,n=a.path.join(".");if(!r[n])if("unionErrors"in a){var l=a.unionErrors[0].errors[0];r[n]={message:l.message,type:l.code}}else r[n]={message:i,type:s};if("unionErrors"in a&&a.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var d=r[n].types,o=d&&d[a.code];r[n]=q(n,t,r,s,o?[].concat(o,a.message):a.message)}e.shift()}return r};!function(e){e.assertEqual=e=>e,e.assertIs=function(e){},e.assertNever=function(e){throw Error()},e.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},e.getValidEnumValues=t=>{let r=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),a={};for(let e of r)a[e]=t[e];return e.objectValues(a)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},e.find=(e,t)=>{for(let r of e)if(t(r))return r},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(s||(s={})),(i||(i={})).mergeShapes=(e,t)=>({...e,...t});let eZ=s.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),eD=e=>{switch(typeof e){case"undefined":return eZ.undefined;case"string":return eZ.string;case"number":return isNaN(e)?eZ.nan:eZ.number;case"boolean":return eZ.boolean;case"function":return eZ.function;case"bigint":return eZ.bigint;case"symbol":return eZ.symbol;case"object":if(Array.isArray(e))return eZ.array;if(null===e)return eZ.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return eZ.promise;if("undefined"!=typeof Map&&e instanceof Map)return eZ.map;if("undefined"!=typeof Set&&e instanceof Set)return eZ.set;if("undefined"!=typeof Date&&e instanceof Date)return eZ.date;return eZ.object;default:return eZ.unknown}},eI=s.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class eM extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},r={_errors:[]},a=e=>{for(let s of e.issues)if("invalid_union"===s.code)s.unionErrors.map(a);else if("invalid_return_type"===s.code)a(s.returnTypeError);else if("invalid_arguments"===s.code)a(s.argumentsError);else if(0===s.path.length)r._errors.push(t(s));else{let e=r,a=0;for(;ae.message){let t={},r=[];for(let a of this.issues)a.path.length>0?(t[a.path[0]]=t[a.path[0]]||[],t[a.path[0]].push(e(a))):r.push(e(a));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}eM.create=e=>new eM(e);let eL=(e,t)=>{let r;switch(e.code){case eI.invalid_type:r=e.received===eZ.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case eI.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,s.jsonStringifyReplacer)}`;break;case eI.unrecognized_keys:r=`Unrecognized key(s) in object: ${s.joinValues(e.keys,", ")}`;break;case eI.invalid_union:r="Invalid input";break;case eI.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${s.joinValues(e.options)}`;break;case eI.invalid_enum_value:r=`Invalid enum value. Expected ${s.joinValues(e.options)}, received '${e.received}'`;break;case eI.invalid_arguments:r="Invalid function arguments";break;case eI.invalid_return_type:r="Invalid function return type";break;case eI.invalid_date:r="Invalid date";break;case eI.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:s.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case eI.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case eI.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case eI.custom:r="Invalid input";break;case eI.invalid_intersection_types:r="Intersection results could not be merged";break;case eI.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case eI.not_finite:r="Number must be finite";break;default:r=t.defaultError,s.assertNever(e)}return{message:r}};function e$(){return eL}let eU=e=>{let{data:t,path:r,errorMaps:a,issueData:s}=e,i=[...r,...s.path||[]],n={...s,path:i};if(void 0!==s.message)return{...s,path:i,message:s.message};let l="";for(let e of a.filter(e=>!!e).slice().reverse())l=e(n,{data:t,defaultError:l}).message;return{...s,path:i,message:l}};function ez(e,t){let r=eU({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,eL,eL==eL?void 0:eL].filter(e=>!!e)});e.common.issues.push(r)}class eB{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let a of t){if("aborted"===a.status)return eq;"dirty"===a.status&&e.dirty(),r.push(a.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t){let t=await e.key,a=await e.value;r.push({key:t,value:a})}return eB.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let a of t){let{key:t,value:s}=a;if("aborted"===t.status||"aborted"===s.status)return eq;"dirty"===t.status&&e.dirty(),"dirty"===s.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==s.value||a.alwaysSet)&&(r[t.value]=s.value)}return{status:e.value,value:r}}}let eq=Object.freeze({status:"aborted"}),eW=e=>({status:"dirty",value:e}),eK=e=>({status:"valid",value:e}),eH=e=>"aborted"===e.status,eX=e=>"dirty"===e.status,eG=e=>"valid"===e.status,eJ=e=>"undefined"!=typeof Promise&&e instanceof Promise;function eY(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)}function eQ(e,t,r,a,s){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!s)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?s.call(e,r):s?s.value=r:t.set(e,r),r}"function"==typeof SuppressedError&&SuppressedError,function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(n||(n={}));class e0{constructor(e,t,r,a){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=a}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let e1=(e,t)=>{if(eG(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new eM(e.common.issues);return this._error=t,this._error}}};function e4(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:a,description:s}=e;if(t&&(r||a))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:s}:{errorMap:(t,s)=>{var i,n;let{message:l}=e;return"invalid_enum_value"===t.code?{message:null!=l?l:s.defaultError}:void 0===s.data?{message:null!=(i=null!=l?l:a)?i:s.defaultError}:"invalid_type"!==t.code?{message:s.defaultError}:{message:null!=(n=null!=l?l:r)?n:s.defaultError}},description:s}}class e9{get description(){return this._def.description}_getType(e){return eD(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:eD(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new eB,ctx:{common:e.parent.common,data:e.data,parsedType:eD(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(eJ(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;let a={common:{issues:[],async:null!=(r=null==t?void 0:t.async)&&r,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:eD(e)},s=this._parseSync({data:e,path:a.path,parent:a});return e1(a,s)}"~validate"(e){var t,r;let a={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:eD(e)};if(!this["~standard"].async)try{let t=this._parseSync({data:e,path:[],parent:a});return eG(t)?{value:t.value}:{issues:a.common.issues}}catch(e){(null==(r=null==(t=null==e?void 0:e.message)?void 0:t.toLowerCase())?void 0:r.includes("encountered"))&&(this["~standard"].async=!0),a.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:a}).then(e=>eG(e)?{value:e.value}:{issues:a.common.issues})}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:eD(e)},a=this._parse({data:e,path:r.path,parent:r});return e1(r,await (eJ(a)?a:Promise.resolve(a)))}refine(e,t){let r=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,a)=>{let s=e(t),i=()=>a.addIssue({code:eI.custom,...r(t)});return"undefined"!=typeof Promise&&s instanceof Promise?s.then(e=>!!e||(i(),!1)):!!s||(i(),!1)})}refinement(e,t){return this._refinement((r,a)=>!!e(r)||(a.addIssue("function"==typeof t?t(r,a):t),!1))}_refinement(e){return new tL({schema:this,typeName:o.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return t$.create(this,this._def)}nullable(){return tU.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return tj.create(this)}promise(){return tM.create(this,this._def)}or(e){return tN.create([this,e],this._def)}and(e){return tO.create(this,e,this._def)}transform(e){return new tL({...e4(this._def),schema:this,typeName:o.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new tz({...e4(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:o.ZodDefault})}brand(){return new tW({typeName:o.ZodBranded,type:this,...e4(this._def)})}catch(e){return new tB({...e4(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:o.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return tK.create(this,e)}readonly(){return tH.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let e2=/^c[^\s-]{8,}$/i,e6=/^[0-9a-z]+$/,e3=/^[0-9A-HJKMNP-TV-Z]{26}$/i,e5=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,e8=/^[a-z0-9_-]{21}$/i,e7=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,te=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,tt=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,tr=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ta=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ts=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,ti=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,tn=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,tl=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,td="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",to=RegExp(`^${td}$`);function tu(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}class tc extends e9{_parse(e){var t,r,i,n;let l;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==eZ.string){let t=this._getOrReturnCtx(e);return ez(t,{code:eI.invalid_type,expected:eZ.string,received:t.parsedType}),eq}let d=new eB;for(let o of this._def.checks)if("min"===o.kind)e.data.lengtho.value&&(ez(l=this._getOrReturnCtx(e,l),{code:eI.too_big,maximum:o.value,type:"string",inclusive:!0,exact:!1,message:o.message}),d.dirty());else if("length"===o.kind){let t=e.data.length>o.value,r=e.data.lengthe.test(t),{validation:t,code:eI.invalid_string,...n.errToObj(r)})}_addCheck(e){return new tc({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...n.errToObj(e)})}url(e){return this._addCheck({kind:"url",...n.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...n.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...n.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...n.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...n.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...n.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...n.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...n.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...n.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...n.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...n.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...n.errToObj(e)})}datetime(e){var t,r;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!=(t=null==e?void 0:e.offset)&&t,local:null!=(r=null==e?void 0:e.local)&&r,...n.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...n.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...n.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...n.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...n.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...n.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...n.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...n.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...n.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...n.errToObj(t)})}nonempty(e){return this.min(1,n.errToObj(e))}trim(){return new tc({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new tc({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new tc({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new tc({checks:[],typeName:o.ZodString,coerce:null!=(t=null==e?void 0:e.coerce)&&t,...e4(e)})};class tf extends e9{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==eZ.number){let t=this._getOrReturnCtx(e);return ez(t,{code:eI.invalid_type,expected:eZ.number,received:t.parsedType}),eq}let r=new eB;for(let a of this._def.checks)"int"===a.kind?s.isInteger(e.data)||(ez(t=this._getOrReturnCtx(e,t),{code:eI.invalid_type,expected:"integer",received:"float",message:a.message}),r.dirty()):"min"===a.kind?(a.inclusive?e.dataa.value:e.data>=a.value)&&(ez(t=this._getOrReturnCtx(e,t),{code:eI.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),r.dirty()):"multipleOf"===a.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,a=(t.toString().split(".")[1]||"").length,s=r>a?r:a;return parseInt(e.toFixed(s).replace(".",""))%parseInt(t.toFixed(s).replace(".",""))/Math.pow(10,s)}(e.data,a.value)&&(ez(t=this._getOrReturnCtx(e,t),{code:eI.not_multiple_of,multipleOf:a.value,message:a.message}),r.dirty()):"finite"===a.kind?Number.isFinite(e.data)||(ez(t=this._getOrReturnCtx(e,t),{code:eI.not_finite,message:a.message}),r.dirty()):s.assertNever(a);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,n.toString(t))}gt(e,t){return this.setLimit("min",e,!1,n.toString(t))}lte(e,t){return this.setLimit("max",e,!0,n.toString(t))}lt(e,t){return this.setLimit("max",e,!1,n.toString(t))}setLimit(e,t,r,a){return new tf({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:n.toString(a)}]})}_addCheck(e){return new tf({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:n.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:n.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:n.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:n.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:n.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:n.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:n.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:n.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:n.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value"int"===e.kind||"multipleOf"===e.kind&&s.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks)if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;else"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.valuenew tf({checks:[],typeName:o.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...e4(e)});class th extends e9{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce)try{e.data=BigInt(e.data)}catch(t){return this._getInvalidInput(e)}if(this._getType(e)!==eZ.bigint)return this._getInvalidInput(e);let r=new eB;for(let a of this._def.checks)"min"===a.kind?(a.inclusive?e.dataa.value:e.data>=a.value)&&(ez(t=this._getOrReturnCtx(e,t),{code:eI.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),r.dirty()):"multipleOf"===a.kind?e.data%a.value!==BigInt(0)&&(ez(t=this._getOrReturnCtx(e,t),{code:eI.not_multiple_of,multipleOf:a.value,message:a.message}),r.dirty()):s.assertNever(a);return{status:r.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return ez(t,{code:eI.invalid_type,expected:eZ.bigint,received:t.parsedType}),eq}gte(e,t){return this.setLimit("min",e,!0,n.toString(t))}gt(e,t){return this.setLimit("min",e,!1,n.toString(t))}lte(e,t){return this.setLimit("max",e,!0,n.toString(t))}lt(e,t){return this.setLimit("max",e,!1,n.toString(t))}setLimit(e,t,r,a){return new th({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:n.toString(a)}]})}_addCheck(e){return new th({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:n.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:n.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:n.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:n.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:n.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new th({checks:[],typeName:o.ZodBigInt,coerce:null!=(t=null==e?void 0:e.coerce)&&t,...e4(e)})};class tm extends e9{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==eZ.boolean){let t=this._getOrReturnCtx(e);return ez(t,{code:eI.invalid_type,expected:eZ.boolean,received:t.parsedType}),eq}return eK(e.data)}}tm.create=e=>new tm({typeName:o.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...e4(e)});class tp extends e9{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==eZ.date){let t=this._getOrReturnCtx(e);return ez(t,{code:eI.invalid_type,expected:eZ.date,received:t.parsedType}),eq}if(isNaN(e.data.getTime()))return ez(this._getOrReturnCtx(e),{code:eI.invalid_date}),eq;let r=new eB;for(let a of this._def.checks)"min"===a.kind?e.data.getTime()a.value&&(ez(t=this._getOrReturnCtx(e,t),{code:eI.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):s.assertNever(a);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new tp({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:n.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:n.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew tp({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:o.ZodDate,...e4(e)});class ty extends e9{_parse(e){if(this._getType(e)!==eZ.symbol){let t=this._getOrReturnCtx(e);return ez(t,{code:eI.invalid_type,expected:eZ.symbol,received:t.parsedType}),eq}return eK(e.data)}}ty.create=e=>new ty({typeName:o.ZodSymbol,...e4(e)});class tv extends e9{_parse(e){if(this._getType(e)!==eZ.undefined){let t=this._getOrReturnCtx(e);return ez(t,{code:eI.invalid_type,expected:eZ.undefined,received:t.parsedType}),eq}return eK(e.data)}}tv.create=e=>new tv({typeName:o.ZodUndefined,...e4(e)});class tg extends e9{_parse(e){if(this._getType(e)!==eZ.null){let t=this._getOrReturnCtx(e);return ez(t,{code:eI.invalid_type,expected:eZ.null,received:t.parsedType}),eq}return eK(e.data)}}tg.create=e=>new tg({typeName:o.ZodNull,...e4(e)});class t_ extends e9{constructor(){super(...arguments),this._any=!0}_parse(e){return eK(e.data)}}t_.create=e=>new t_({typeName:o.ZodAny,...e4(e)});class tx extends e9{constructor(){super(...arguments),this._unknown=!0}_parse(e){return eK(e.data)}}tx.create=e=>new tx({typeName:o.ZodUnknown,...e4(e)});class tb extends e9{_parse(e){let t=this._getOrReturnCtx(e);return ez(t,{code:eI.invalid_type,expected:eZ.never,received:t.parsedType}),eq}}tb.create=e=>new tb({typeName:o.ZodNever,...e4(e)});class tw extends e9{_parse(e){if(this._getType(e)!==eZ.undefined){let t=this._getOrReturnCtx(e);return ez(t,{code:eI.invalid_type,expected:eZ.void,received:t.parsedType}),eq}return eK(e.data)}}tw.create=e=>new tw({typeName:o.ZodVoid,...e4(e)});class tj extends e9{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),a=this._def;if(t.parsedType!==eZ.array)return ez(t,{code:eI.invalid_type,expected:eZ.array,received:t.parsedType}),eq;if(null!==a.exactLength){let e=t.data.length>a.exactLength.value,s=t.data.lengtha.maxLength.value&&(ez(t,{code:eI.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>a.type._parseAsync(new e0(t,e,t.path,r)))).then(e=>eB.mergeArray(r,e));let s=[...t.data].map((e,r)=>a.type._parseSync(new e0(t,e,t.path,r)));return eB.mergeArray(r,s)}get element(){return this._def.type}min(e,t){return new tj({...this._def,minLength:{value:e,message:n.toString(t)}})}max(e,t){return new tj({...this._def,maxLength:{value:e,message:n.toString(t)}})}length(e,t){return new tj({...this._def,exactLength:{value:e,message:n.toString(t)}})}nonempty(e){return this.min(1,e)}}tj.create=(e,t)=>new tj({type:e,minLength:null,maxLength:null,exactLength:null,typeName:o.ZodArray,...e4(t)});class tk extends e9{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=s.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==eZ.object){let t=this._getOrReturnCtx(e);return ez(t,{code:eI.invalid_type,expected:eZ.object,received:t.parsedType}),eq}let{status:t,ctx:r}=this._processInputParams(e),{shape:a,keys:s}=this._getCached(),i=[];if(!(this._def.catchall instanceof tb&&"strip"===this._def.unknownKeys))for(let e in r.data)s.includes(e)||i.push(e);let n=[];for(let e of s){let t=a[e],s=r.data[e];n.push({key:{status:"valid",value:e},value:t._parse(new e0(r,s,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof tb){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of i)n.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)i.length>0&&(ez(r,{code:eI.unrecognized_keys,keys:i}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of i){let a=r.data[t];n.push({key:{status:"valid",value:t},value:e._parse(new e0(r,a,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of n){let r=await t.key,a=await t.value;e.push({key:r,value:a,alwaysSet:t.alwaysSet})}return e}).then(e=>eB.mergeObjectSync(t,e)):eB.mergeObjectSync(t,n)}get shape(){return this._def.shape()}strict(e){return n.errToObj,new tk({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{var a,s,i,l;let d=null!=(i=null==(s=(a=this._def).errorMap)?void 0:s.call(a,t,r).message)?i:r.defaultError;return"unrecognized_keys"===t.code?{message:null!=(l=n.errToObj(e).message)?l:d}:{message:d}}}:{}})}strip(){return new tk({...this._def,unknownKeys:"strip"})}passthrough(){return new tk({...this._def,unknownKeys:"passthrough"})}extend(e){return new tk({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new tk({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:o.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new tk({...this._def,catchall:e})}pick(e){let t={};return s.objectKeys(e).forEach(r=>{e[r]&&this.shape[r]&&(t[r]=this.shape[r])}),new tk({...this._def,shape:()=>t})}omit(e){let t={};return s.objectKeys(this.shape).forEach(r=>{e[r]||(t[r]=this.shape[r])}),new tk({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof tk){let r={};for(let a in t.shape){let s=t.shape[a];r[a]=t$.create(e(s))}return new tk({...t._def,shape:()=>r})}if(t instanceof tj)return new tj({...t._def,type:e(t.element)});if(t instanceof t$)return t$.create(e(t.unwrap()));if(t instanceof tU)return tU.create(e(t.unwrap()));if(t instanceof tS)return tS.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};return s.objectKeys(this.shape).forEach(r=>{let a=this.shape[r];e&&!e[r]?t[r]=a:t[r]=a.optional()}),new tk({...this._def,shape:()=>t})}required(e){let t={};return s.objectKeys(this.shape).forEach(r=>{if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r];for(;e instanceof t$;)e=e._def.innerType;t[r]=e}}),new tk({...this._def,shape:()=>t})}keyof(){return tZ(s.objectKeys(this.shape))}}tk.create=(e,t)=>new tk({shape:()=>e,unknownKeys:"strip",catchall:tb.create(),typeName:o.ZodObject,...e4(t)}),tk.strictCreate=(e,t)=>new tk({shape:()=>e,unknownKeys:"strict",catchall:tb.create(),typeName:o.ZodObject,...e4(t)}),tk.lazycreate=(e,t)=>new tk({shape:e,unknownKeys:"strip",catchall:tb.create(),typeName:o.ZodObject,...e4(t)});class tN extends e9{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new eM(e.ctx.common.issues));return ez(t,{code:eI.invalid_union,unionErrors:r}),eq});{let e,a=[];for(let s of r){let r={...t,common:{...t.common,issues:[]},parent:null},i=s._parseSync({data:t.data,path:t.path,parent:r});if("valid"===i.status)return i;"dirty"!==i.status||e||(e={result:i,ctx:r}),r.common.issues.length&&a.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let s=a.map(e=>new eM(e));return ez(t,{code:eI.invalid_union,unionErrors:s}),eq}}get options(){return this._def.options}}tN.create=(e,t)=>new tN({options:e,typeName:o.ZodUnion,...e4(t)});let tA=e=>{if(e instanceof tP)return tA(e.schema);if(e instanceof tL)return tA(e.innerType());if(e instanceof tV)return[e.value];if(e instanceof tD)return e.options;if(e instanceof tI)return s.objectValues(e.enum);else if(e instanceof tz)return tA(e._def.innerType);else if(e instanceof tv)return[void 0];else if(e instanceof tg)return[null];else if(e instanceof t$)return[void 0,...tA(e.unwrap())];else if(e instanceof tU)return[null,...tA(e.unwrap())];else if(e instanceof tW)return tA(e.unwrap());else if(e instanceof tH)return tA(e.unwrap());else if(e instanceof tB)return tA(e._def.innerType);else return[]};class tT extends e9{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==eZ.object)return ez(t,{code:eI.invalid_type,expected:eZ.object,received:t.parsedType}),eq;let r=this.discriminator,a=t.data[r],s=this.optionsMap.get(a);return s?t.common.async?s._parseAsync({data:t.data,path:t.path,parent:t}):s._parseSync({data:t.data,path:t.path,parent:t}):(ez(t,{code:eI.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),eq)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let a=new Map;for(let r of t){let t=tA(r.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let s of t){if(a.has(s))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(s)}`);a.set(s,r)}}return new tT({typeName:o.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:a,...e4(r)})}}class tO extends e9{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),a=(e,a)=>{if(eH(e)||eH(a))return eq;let i=function e(t,r){let a=eD(t),i=eD(r);if(t===r)return{valid:!0,data:t};if(a===eZ.object&&i===eZ.object){let a=s.objectKeys(r),i=s.objectKeys(t).filter(e=>-1!==a.indexOf(e)),n={...t,...r};for(let a of i){let s=e(t[a],r[a]);if(!s.valid)return{valid:!1};n[a]=s.data}return{valid:!0,data:n}}if(a===eZ.array&&i===eZ.array){if(t.length!==r.length)return{valid:!1};let a=[];for(let s=0;sa(e,t)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}tO.create=(e,t,r)=>new tO({left:e,right:t,typeName:o.ZodIntersection,...e4(r)});class tS extends e9{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==eZ.array)return ez(r,{code:eI.invalid_type,expected:eZ.array,received:r.parsedType}),eq;if(r.data.lengththis._def.items.length&&(ez(r,{code:eI.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let a=[...r.data].map((e,t)=>{let a=this._def.items[t]||this._def.rest;return a?a._parse(new e0(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(a).then(e=>eB.mergeArray(t,e)):eB.mergeArray(t,a)}get items(){return this._def.items}rest(e){return new tS({...this._def,rest:e})}}tS.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new tS({items:e,typeName:o.ZodTuple,rest:null,...e4(t)})};class tE extends e9{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==eZ.object)return ez(r,{code:eI.invalid_type,expected:eZ.object,received:r.parsedType}),eq;let a=[],s=this._def.keyType,i=this._def.valueType;for(let e in r.data)a.push({key:s._parse(new e0(r,e,r.path,e)),value:i._parse(new e0(r,r.data[e],r.path,e)),alwaysSet:e in r.data});return r.common.async?eB.mergeObjectAsync(t,a):eB.mergeObjectSync(t,a)}get element(){return this._def.valueType}static create(e,t,r){return new tE(t instanceof e9?{keyType:e,valueType:t,typeName:o.ZodRecord,...e4(r)}:{keyType:tc.create(),valueType:e,typeName:o.ZodRecord,...e4(t)})}}class tC extends e9{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==eZ.map)return ez(r,{code:eI.invalid_type,expected:eZ.map,received:r.parsedType}),eq;let a=this._def.keyType,s=this._def.valueType,i=[...r.data.entries()].map(([e,t],i)=>({key:a._parse(new e0(r,e,r.path,[i,"key"])),value:s._parse(new e0(r,t,r.path,[i,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of i){let a=await r.key,s=await r.value;if("aborted"===a.status||"aborted"===s.status)return eq;("dirty"===a.status||"dirty"===s.status)&&t.dirty(),e.set(a.value,s.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of i){let a=r.key,s=r.value;if("aborted"===a.status||"aborted"===s.status)return eq;("dirty"===a.status||"dirty"===s.status)&&t.dirty(),e.set(a.value,s.value)}return{status:t.value,value:e}}}}tC.create=(e,t,r)=>new tC({valueType:t,keyType:e,typeName:o.ZodMap,...e4(r)});class tR extends e9{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==eZ.set)return ez(r,{code:eI.invalid_type,expected:eZ.set,received:r.parsedType}),eq;let a=this._def;null!==a.minSize&&r.data.sizea.maxSize.value&&(ez(r,{code:eI.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),t.dirty());let s=this._def.valueType;function i(e){let r=new Set;for(let a of e){if("aborted"===a.status)return eq;"dirty"===a.status&&t.dirty(),r.add(a.value)}return{status:t.value,value:r}}let n=[...r.data.values()].map((e,t)=>s._parse(new e0(r,e,r.path,t)));return r.common.async?Promise.all(n).then(e=>i(e)):i(n)}min(e,t){return new tR({...this._def,minSize:{value:e,message:n.toString(t)}})}max(e,t){return new tR({...this._def,maxSize:{value:e,message:n.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}tR.create=(e,t)=>new tR({valueType:e,minSize:null,maxSize:null,typeName:o.ZodSet,...e4(t)});class tF extends e9{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==eZ.function)return ez(t,{code:eI.invalid_type,expected:eZ.function,received:t.parsedType}),eq;function r(e,r){return eU({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,eL,eL].filter(e=>!!e),issueData:{code:eI.invalid_arguments,argumentsError:r}})}function a(e,r){return eU({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,eL,eL].filter(e=>!!e),issueData:{code:eI.invalid_return_type,returnTypeError:r}})}let s={errorMap:t.common.contextualErrorMap},i=t.data;if(this._def.returns instanceof tM){let e=this;return eK(async function(...t){let n=new eM([]),l=await e._def.args.parseAsync(t,s).catch(e=>{throw n.addIssue(r(t,e)),n}),d=await Reflect.apply(i,this,l);return await e._def.returns._def.type.parseAsync(d,s).catch(e=>{throw n.addIssue(a(d,e)),n})})}{let e=this;return eK(function(...t){let n=e._def.args.safeParse(t,s);if(!n.success)throw new eM([r(t,n.error)]);let l=Reflect.apply(i,this,n.data),d=e._def.returns.safeParse(l,s);if(!d.success)throw new eM([a(l,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new tF({...this._def,args:tS.create(e).rest(tx.create())})}returns(e){return new tF({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new tF({args:e||tS.create([]).rest(tx.create()),returns:t||tx.create(),typeName:o.ZodFunction,...e4(r)})}}class tP extends e9{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}tP.create=(e,t)=>new tP({getter:e,typeName:o.ZodLazy,...e4(t)});class tV extends e9{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return ez(t,{received:t.data,code:eI.invalid_literal,expected:this._def.value}),eq}return{status:"valid",value:e.data}}get value(){return this._def.value}}function tZ(e,t){return new tD({values:e,typeName:o.ZodEnum,...e4(t)})}tV.create=(e,t)=>new tV({value:e,typeName:o.ZodLiteral,...e4(t)});class tD extends e9{constructor(){super(...arguments),l.set(this,void 0)}_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return ez(t,{expected:s.joinValues(r),received:t.parsedType,code:eI.invalid_type}),eq}if(eY(this,l,"f")||eQ(this,l,new Set(this._def.values),"f"),!eY(this,l,"f").has(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return ez(t,{received:t.data,code:eI.invalid_enum_value,options:r}),eq}return eK(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return tD.create(e,{...this._def,...t})}exclude(e,t=this._def){return tD.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}l=new WeakMap,tD.create=tZ;class tI extends e9{constructor(){super(...arguments),d.set(this,void 0)}_parse(e){let t=s.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==eZ.string&&r.parsedType!==eZ.number){let e=s.objectValues(t);return ez(r,{expected:s.joinValues(e),received:r.parsedType,code:eI.invalid_type}),eq}if(eY(this,d,"f")||eQ(this,d,new Set(s.getValidEnumValues(this._def.values)),"f"),!eY(this,d,"f").has(e.data)){let e=s.objectValues(t);return ez(r,{received:r.data,code:eI.invalid_enum_value,options:e}),eq}return eK(e.data)}get enum(){return this._def.values}}d=new WeakMap,tI.create=(e,t)=>new tI({values:e,typeName:o.ZodNativeEnum,...e4(t)});class tM extends e9{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==eZ.promise&&!1===t.common.async?(ez(t,{code:eI.invalid_type,expected:eZ.promise,received:t.parsedType}),eq):eK((t.parsedType===eZ.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}tM.create=(e,t)=>new tM({type:e,typeName:o.ZodPromise,...e4(t)});class tL extends e9{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===o.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),a=this._def.effect||null,i={addIssue:e=>{ez(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===a.type){let e=a.transform(r.data,i);if(r.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return eq;let a=await this._def.schema._parseAsync({data:e,path:r.path,parent:r});return"aborted"===a.status?eq:"dirty"===a.status||"dirty"===t.value?eW(a.value):a});{if("aborted"===t.value)return eq;let a=this._def.schema._parseSync({data:e,path:r.path,parent:r});return"aborted"===a.status?eq:"dirty"===a.status||"dirty"===t.value?eW(a.value):a}}if("refinement"===a.type){let e=e=>{let t=a.refinement(e,i);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?eq:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===a.status?eq:("dirty"===a.status&&t.dirty(),e(a.value),{status:t.value,value:a.value})}}if("transform"===a.type)if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>eG(e)?Promise.resolve(a.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);else{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!eG(e))return e;let s=a.transform(e.value,i);if(s instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:s}}s.assertNever(a)}}tL.create=(e,t,r)=>new tL({schema:e,typeName:o.ZodEffects,effect:t,...e4(r)}),tL.createWithPreprocess=(e,t,r)=>new tL({schema:t,effect:{type:"preprocess",transform:e},typeName:o.ZodEffects,...e4(r)});class t$ extends e9{_parse(e){return this._getType(e)===eZ.undefined?eK(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t$.create=(e,t)=>new t$({innerType:e,typeName:o.ZodOptional,...e4(t)});class tU extends e9{_parse(e){return this._getType(e)===eZ.null?eK(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}tU.create=(e,t)=>new tU({innerType:e,typeName:o.ZodNullable,...e4(t)});class tz extends e9{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===eZ.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}tz.create=(e,t)=>new tz({innerType:e,typeName:o.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...e4(t)});class tB extends e9{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return eJ(a)?a.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new eM(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===a.status?a.value:this._def.catchValue({get error(){return new eM(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}tB.create=(e,t)=>new tB({innerType:e,typeName:o.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...e4(t)});class tq extends e9{_parse(e){if(this._getType(e)!==eZ.nan){let t=this._getOrReturnCtx(e);return ez(t,{code:eI.invalid_type,expected:eZ.nan,received:t.parsedType}),eq}return{status:"valid",value:e.data}}}tq.create=e=>new tq({typeName:o.ZodNaN,...e4(e)}),Symbol("zod_brand");class tW extends e9{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class tK extends e9{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?eq:"dirty"===e.status?(t.dirty(),eW(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})})();{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?eq:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new tK({in:e,out:t,typeName:o.ZodPipeline})}}class tH extends e9{_parse(e){let t=this._def.innerType._parse(e),r=e=>(eG(e)&&(e.value=Object.freeze(e.value)),e);return eJ(t)?t.then(e=>r(e)):r(t)}unwrap(){return this._def.innerType}}function tX(e,t){let r="function"==typeof e?e(t):"string"==typeof e?{message:e}:e;return"string"==typeof r?{message:r}:r}tH.create=(e,t)=>new tH({innerType:e,typeName:o.ZodReadonly,...e4(t)}),tk.lazycreate,!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(o||(o={}));let tG=tc.create,tJ=(tf.create,tq.create,th.create,tm.create,tp.create,ty.create,tv.create,tg.create,t_.create,tx.create,tb.create,tw.create,tj.create),tY=tk.create;tk.strictCreate,tN.create,tT.create,tO.create,tS.create,tE.create,tC.create,tR.create,tF.create,tP.create,tV.create,tD.create,tI.create,tM.create,tL.create,t$.create,tU.create,tL.createWithPreprocess,tK.create;var tQ=r(24934),t0=r(8730),t1=r(96241),t4=r(39390);let t9=e=>{let{children:t,...r}=e;return f.createElement(P.Provider,{value:r},t)},t2=f.createContext({}),t6=({...e})=>(0,u.jsx)(t2.Provider,{value:{name:e.name},children:(0,u.jsx)(B,{...e})}),t3=()=>{let e=f.useContext(t2),t=f.useContext(t5),{getFieldState:r,formState:a}=V(),s=r(e.name,a);if(!e)throw Error("useFormField should be used within ");let{id:i}=t;return{id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`,...s}},t5=f.createContext({}),t8=f.forwardRef(({className:e,...t},r)=>{let a=f.useId();return(0,u.jsx)(t5.Provider,{value:{id:a},children:(0,u.jsx)("div",{ref:r,className:(0,t1.cn)("space-y-2",e),...t})})});t8.displayName="FormItem";let t7=f.forwardRef(({className:e,...t},r)=>{let{error:a,formItemId:s}=t3();return(0,u.jsx)(t4.J,{ref:r,className:(0,t1.cn)(a&&"text-destructive",e),htmlFor:s,...t})});t7.displayName="FormLabel";let re=f.forwardRef(({...e},t)=>{let{error:r,formItemId:a,formDescriptionId:s,formMessageId:i}=t3();return(0,u.jsx)(t0.DX,{ref:t,id:a,"aria-describedby":r?`${s} ${i}`:`${s}`,"aria-invalid":!!r,...e})});re.displayName="FormControl",f.forwardRef(({className:e,...t},r)=>{let{formDescriptionId:a}=t3();return(0,u.jsx)("p",{ref:r,id:a,className:(0,t1.cn)("text-sm text-muted-foreground",e),...t})}).displayName="FormDescription";let rt=f.forwardRef(({className:e,children:t,...r},a)=>{let{error:s,formMessageId:i}=t3(),n=s?String(s?.message):t;return n?(0,u.jsx)("p",{ref:a,id:i,className:(0,t1.cn)("text-sm font-medium text-destructive",e),...r,children:n}):null});rt.displayName="FormMessage";var rr=r(68988),ra=r(15616),rs=r(55192),ri=r(93613),rn=r(13964),rl=r(41862),rd=r(59821),ro=r(70333),ru=r(3018);let rc=tY({title:tG().min(5,{message:"Title must be at least 5 characters"}),content:tG().min(10,{message:"Content must be at least 10 characters"}),targetRoles:tJ(tG()).min(1,{message:"Select at least one target role"})});function rf({userRole:e}){var t;let[r,a]=(0,f.useState)([]),[s,i]=(0,f.useState)(!1),[n,l]=(0,f.useState)(!1),[d,o]=(0,f.useState)(null),{toast:c}=(0,ro.dj)(),y=function(e={}){let t=f.useRef(void 0),r=f.useRef(void 0),[a,s]=f.useState({isDirty:!1,isValidating:!1,isLoading:J(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:J(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={}){let t,r={...eE,...e},a={submitCount:0,isDirty:!1,isLoading:J(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1},s={},i=(v(r.defaultValues)||v(r.values))&&j(r.defaultValues||r.values)||{},n=r.shouldUnregister?{}:j(i),l={action:!1,mount:!1,watch:!1},d={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},o=0,u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},c={values:ec(),array:ec(),state:ec()},f=W(r.mode),y=W(r.reValidateMode),_=r.criteriaMode===R.all,b=e=>t=>{clearTimeout(o),o=setTimeout(e,t)},O=async e=>{if(!r.disabled&&(u.isValid||e)){let e=r.resolver?D((await I()).errors):await $(s,!0);e!==a.isValid&&c.state.next({isValid:e})}},S=(e,t)=>{!r.disabled&&(u.isValidating||u.validatingFields)&&((e||Array.from(d.mount)).forEach(e=>{e&&(t?E(a.validatingFields,e,t):eu(a.validatingFields,e))}),c.state.next({validatingFields:a.validatingFields,isValidating:!D(a.validatingFields)}))},F=(e,t)=>{E(a.errors,e,t),c.state.next({errors:a.errors})},P=(e,t,r,a)=>{let d=A(s,e);if(d){let s=A(n,e,N(r)?A(i,e):r);N(s)||a&&a.defaultChecked||t?E(n,e,t?s:eb(d._f)):Q(e,s),l.mount&&O()}},V=(e,t,n,l,d)=>{let o=!1,f=!1,h={name:e};if(!r.disabled){let r=!!(A(s,e)&&A(s,e)._f&&A(s,e)._f.disabled);if(!n||l){u.isDirty&&(f=a.isDirty,a.isDirty=h.isDirty=B(),o=f!==h.isDirty);let s=r||eh(A(i,e),t);f=!!(!r&&A(a.dirtyFields,e)),s||r?eu(a.dirtyFields,e):E(a.dirtyFields,e,!0),h.dirtyFields=a.dirtyFields,o=o||u.dirtyFields&&!s!==f}if(n){let t=A(a.touchedFields,e);t||(E(a.touchedFields,e,n),h.touchedFields=a.touchedFields,o=o||u.touchedFields&&t!==n)}o&&d&&c.state.next(h)}return o?h:{}},Z=(e,s,i,n)=>{let l=A(a.errors,e),d=u.isValid&&T(s)&&a.isValid!==s;if(r.delayError&&i?(t=b(()=>F(e,i)))(r.delayError):(clearTimeout(o),t=null,i?E(a.errors,e,i):eu(a.errors,e)),(i?!eh(l,i):l)||!D(n)||d){let t={...n,...d&&T(s)?{isValid:s}:{},errors:a.errors,name:e};a={...a,...t},c.state.next(t)}},I=async e=>{S(e,!0);let t=await r.resolver(n,r.context,ew(e||d.mount,s,r.criteriaMode,r.shouldUseNativeValidation));return S(e),t},L=async e=>{let{errors:t}=await I(e);if(e)for(let r of e){let e=A(t,r);e?E(a.errors,r,e):eu(a.errors,r)}else a.errors=t;return t},$=async(e,t,s={valid:!0})=>{for(let i in e){let l=e[i];if(l){let{_f:e,...o}=l;if(e){let o=d.array.has(e.name),c=l._f&&eN(l._f);c&&u.validatingFields&&S([i],!0);let f=await eo(l,d.disabled,n,_,r.shouldUseNativeValidation&&!t,o);if(c&&u.validatingFields&&S([i]),f[e.name]&&(s.valid=!1,t))break;t||(A(f,e.name)?o?X(a.errors,f,e.name):E(a.errors,e.name,f[e.name]):eu(a.errors,e.name))}D(o)||await $(o,t,s)}}return s.valid},B=(e,t)=>!r.disabled&&(e&&t&&E(n,e,t),!eh(ei(),i)),q=(e,t,r)=>z(e,d,{...l.mount?n:N(t)?i:U(e)?{[e]:t}:t},r,t),Q=(e,t,r={})=>{let a=A(s,e),i=t;if(a){let r=a._f;r&&(r.disabled||E(n,e,ex(t,r)),i=Y(r.ref)&&p(t)?"":t,em(r.ref)?[...r.ref.options].forEach(e=>e.selected=i.includes(e.value)):r.refs?h(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find(t=>t===e.value):i===e.value)):r.refs[0]&&(r.refs[0].checked=!!i):r.refs.forEach(e=>e.checked=e.value===i):G(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||c.values.next({name:e,values:{...n}})))}(r.shouldDirty||r.shouldTouch)&&V(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&es(e)},ee=(e,t,r)=>{for(let a in t){let i=t[a],n=`${e}.${a}`,l=A(s,n);(d.array.has(e)||v(i)||l&&!l._f)&&!m(i)?ee(n,i,r):Q(n,i,r)}},et=(e,t,r={})=>{let o=A(s,e),f=d.array.has(e),h=j(t);E(n,e,h),f?(c.array.next({name:e,values:{...n}}),(u.isDirty||u.dirtyFields)&&r.shouldDirty&&c.state.next({name:e,dirtyFields:e_(i,n),isDirty:B(e,h)})):!o||o._f||p(h)?Q(e,h,r):ee(e,h,r),K(e,d)&&c.state.next({...a}),c.values.next({name:l.mount?e:void 0,values:{...n}})},er=async e=>{l.mount=!0;let i=e.target,o=i.name,h=!0,p=A(s,o),v=e=>{h=Number.isNaN(e)||m(e)&&isNaN(e.getTime())||eh(e,A(n,o,e))};if(p){let l,m,x=i.type?eb(p._f):g(e),b=e.type===C.BLUR||e.type===C.FOCUS_OUT,w=!eA(p._f)&&!r.resolver&&!A(a.errors,o)&&!p._f.deps||eO(b,A(a.touchedFields,o),a.isSubmitted,y,f),j=K(o,d,b);E(n,o,x),b?(p._f.onBlur&&p._f.onBlur(e),t&&t(0)):p._f.onChange&&p._f.onChange(e);let k=V(o,x,b,!1),N=!D(k)||j;if(b||c.values.next({name:o,type:e.type,values:{...n}}),w)return u.isValid&&("onBlur"===r.mode&&b?O():b||O()),N&&c.state.next({name:o,...j?{}:k});if(!b&&j&&c.state.next({...a}),r.resolver){let{errors:e}=await I([o]);if(v(x),h){let t=eT(a.errors,s,o),r=eT(e,s,t.name||o);l=r.error,o=r.name,m=D(e)}}else S([o],!0),l=(await eo(p,d.disabled,n,_,r.shouldUseNativeValidation))[o],S([o]),v(x),h&&(l?m=!1:u.isValid&&(m=await $(s,!0)));h&&(p._f.deps&&es(p._f.deps),Z(o,m,l,k))}},ea=(e,t)=>{if(A(a.errors,t)&&e.focus)return e.focus(),1},es=async(e,t={})=>{let i,n,l=M(e);if(r.resolver){let t=await L(N(e)?e:l);i=D(t),n=e?!l.some(e=>A(t,e)):i}else e?((n=(await Promise.all(l.map(async e=>{let t=A(s,e);return await $(t&&t._f?{[e]:t}:t)}))).every(Boolean))||a.isValid)&&O():n=i=await $(s);return c.state.next({...!U(e)||u.isValid&&i!==a.isValid?{}:{name:e},...r.resolver||!e?{isValid:i}:{},errors:a.errors}),t.shouldFocus&&!n&&H(s,ea,e?l:d.mount),n},ei=e=>{let t={...l.mount?n:i};return N(e)?t:U(e)?A(t,e):e.map(e=>A(t,e))},en=(e,t)=>({invalid:!!A((t||a).errors,e),isDirty:!!A((t||a).dirtyFields,e),error:A((t||a).errors,e),isValidating:!!A(a.validatingFields,e),isTouched:!!A((t||a).touchedFields,e)}),el=(e,t,r)=>{let i=(A(s,e,{_f:{}})._f||{}).ref,{ref:n,message:l,type:d,...o}=A(a.errors,e)||{};E(a.errors,e,{...o,...t,ref:i}),c.state.next({name:e,errors:a.errors,isValid:!1}),r&&r.shouldFocus&&i&&i.focus&&i.focus()},ed=(e,t={})=>{for(let l of e?M(e):d.mount)d.mount.delete(l),d.array.delete(l),t.keepValue||(eu(s,l),eu(n,l)),t.keepError||eu(a.errors,l),t.keepDirty||eu(a.dirtyFields,l),t.keepTouched||eu(a.touchedFields,l),t.keepIsValidating||eu(a.validatingFields,l),r.shouldUnregister||t.keepDefaultValue||eu(i,l);c.values.next({values:{...n}}),c.state.next({...a,...!t.keepDirty?{}:{isDirty:B()}}),t.keepIsValid||O()},ef=({disabled:e,name:t,field:r,fields:a})=>{(T(e)&&l.mount||e||d.disabled.has(t))&&(e?d.disabled.add(t):d.disabled.delete(t),V(t,eb(r?r._f:A(a,t)._f),!1,!1,!0))},ev=(e,t={})=>{let a=A(s,e),n=T(t.disabled)||T(r.disabled);return E(s,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...t}}),d.mount.add(e),a?ef({field:a,disabled:T(t.disabled)?t.disabled:r.disabled,name:e}):P(e,!0,t.value),{...n?{disabled:t.disabled||r.disabled}:{},...r.progressive?{required:!!t.required,min:ej(t.min),max:ej(t.max),minLength:ej(t.minLength),maxLength:ej(t.maxLength),pattern:ej(t.pattern)}:{},name:e,onChange:er,onBlur:er,ref:n=>{if(n){ev(e,t),a=A(s,e);let r=N(n.value)&&n.querySelectorAll&&n.querySelectorAll("input,select,textarea")[0]||n,l=ep(r),d=a._f.refs||[];(l?d.find(e=>e===r):r===a._f.ref)||(E(s,e,{_f:{...a._f,...l?{refs:[...d.filter(ey),r,...Array.isArray(A(i,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),P(e,!1,void 0,r))}else(a=A(s,e,{}))._f&&(a._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(x(d.array,e)&&l.action)&&d.unMount.add(e)}}},eg=()=>r.shouldFocusError&&H(s,ea,d.mount),ek=(e,t)=>async i=>{let l;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let o=j(n);if(d.disabled.size)for(let e of d.disabled)E(o,e,void 0);if(c.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await I();a.errors=e,o=t}else await $(s);if(eu(a.errors,"root"),D(a.errors)){c.state.next({errors:{}});try{await e(o,i)}catch(e){l=e}}else t&&await t({...a.errors},i),eg(),setTimeout(eg);if(c.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:D(a.errors)&&!l,submitCount:a.submitCount+1,errors:a.errors}),l)throw l},eC=(e,t={})=>{let o=e?j(e):i,f=j(o),h=D(e),m=h?i:f;if(t.keepDefaultValues||(i=o),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...d.mount,...Object.keys(e_(i,n))])))A(a.dirtyFields,e)?E(m,e,A(n,e)):et(e,A(m,e));else{if(w&&N(e))for(let e of d.mount){let t=A(s,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(Y(e)){let t=e.closest("form");if(t){t.reset();break}}}}s={}}n=r.shouldUnregister?t.keepDefaultValues?j(i):{}:j(m),c.array.next({values:{...m}}),c.values.next({values:{...m}})}d={mount:t.keepDirtyValues?d.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},l.mount=!u.isValid||!!t.keepIsValid||!!t.keepDirtyValues,l.watch=!!r.shouldUnregister,c.state.next({submitCount:t.keepSubmitCount?a.submitCount:0,isDirty:!h&&(t.keepDirty?a.isDirty:!!(t.keepDefaultValues&&!eh(e,i))),isSubmitted:!!t.keepIsSubmitted&&a.isSubmitted,dirtyFields:h?{}:t.keepDirtyValues?t.keepDefaultValues&&n?e_(i,n):a.dirtyFields:t.keepDefaultValues&&e?e_(i,e):t.keepDirty?a.dirtyFields:{},touchedFields:t.keepTouched?a.touchedFields:{},errors:t.keepErrors?a.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&a.isSubmitSuccessful,isSubmitting:!1})},eR=(e,t)=>eC(J(e)?e(n):e,t);return{control:{register:ev,unregister:ed,getFieldState:en,handleSubmit:ek,setError:el,_executeSchema:I,_getWatch:q,_getDirty:B,_updateValid:O,_removeUnmounted:()=>{for(let e of d.unMount){let t=A(s,e);t&&(t._f.refs?t._f.refs.every(e=>!ey(e)):!ey(t._f.ref))&&ed(e)}d.unMount=new Set},_updateFieldArray:(e,t=[],d,o,f=!0,h=!0)=>{if(o&&d&&!r.disabled){if(l.action=!0,h&&Array.isArray(A(s,e))){let t=d(A(s,e),o.argA,o.argB);f&&E(s,e,t)}if(h&&Array.isArray(A(a.errors,e))){let t=d(A(a.errors,e),o.argA,o.argB);f&&E(a.errors,e,t),eS(a.errors,e)}if(u.touchedFields&&h&&Array.isArray(A(a.touchedFields,e))){let t=d(A(a.touchedFields,e),o.argA,o.argB);f&&E(a.touchedFields,e,t)}u.dirtyFields&&(a.dirtyFields=e_(i,n)),c.state.next({name:e,isDirty:B(e,t),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else E(n,e,t)},_updateDisabledField:ef,_getFieldArray:e=>k(A(l.mount?n:i,e,r.shouldUnregister?A(i,e,[]):[])),_reset:eC,_resetDefaultValues:()=>J(r.defaultValues)&&r.defaultValues().then(e=>{eR(e,r.resetOptions),c.state.next({isLoading:!1})}),_updateFormState:e=>{a={...a,...e}},_disableForm:e=>{T(e)&&(c.state.next({disabled:e}),H(s,(t,r)=>{let a=A(s,r);a&&(t.disabled=a._f.disabled||e,Array.isArray(a._f.refs)&&a._f.refs.forEach(t=>{t.disabled=a._f.disabled||e}))},0,!1))},_subjects:c,_proxyFormState:u,_setErrors:e=>{a.errors=e,c.state.next({errors:a.errors,isValid:!1})},get _fields(){return s},get _formValues(){return n},get _state(){return l},set _state(value){l=value},get _defaultValues(){return i},get _names(){return d},set _names(value){d=value},get _formState(){return a},set _formState(value){a=value},get _options(){return r},set _options(value){r={...r,...value}}},trigger:es,register:ev,handleSubmit:ek,watch:(e,t)=>J(e)?c.values.subscribe({next:r=>e(q(void 0,t),r)}):q(e,t,!0),setValue:et,getValues:ei,reset:eR,resetField:(e,t={})=>{A(s,e)&&(N(t.defaultValue)?et(e,j(A(i,e))):(et(e,t.defaultValue),E(i,e,j(t.defaultValue))),t.keepTouched||eu(a.touchedFields,e),t.keepDirty||(eu(a.dirtyFields,e),a.isDirty=t.defaultValue?B(e,j(A(i,e))):B()),!t.keepError&&(eu(a.errors,e),u.isValid&&O()),c.state.next({...a}))},clearErrors:e=>{e&&M(e).forEach(e=>eu(a.errors,e)),c.state.next({errors:e?a.errors:{}})},unregister:ed,setError:el,setFocus:(e,t={})=>{let r=A(s,e),a=r&&r._f;if(a){let e=a.refs?a.refs[0]:a.ref;e.focus&&(e.focus(),t.shouldSelect&&J(e.select)&&e.select())}},getFieldState:en}}(e),formState:a});let i=t.current.control;return i._options=e,$({subject:i._subjects.state,next:e=>{I(e,i._proxyFormState,i._updateFormState,!0)&&s({...i._formState})}}),f.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),f.useEffect(()=>{if(i._proxyFormState.isDirty){let e=i._getDirty();e!==a.isDirty&&i._subjects.state.next({isDirty:e})}},[i,a.isDirty]),f.useEffect(()=>{e.values&&!eh(e.values,r.current)?(i._reset(e.values,i._options.resetOptions),r.current=e.values,s(e=>({...e}))):i._resetDefaultValues()},[e.values,i]),f.useEffect(()=>{e.errors&&i._setErrors(e.errors)},[e.errors,i]),f.useEffect(()=>{i._state.mount||(i._updateValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),f.useEffect(()=>{e.shouldUnregister&&i._subjects.values.next({values:i._getWatch()})},[e.shouldUnregister,i]),t.current.formState=Z(a,i),t.current}({resolver:(void 0===t&&(t={}),function(e,r,a){try{return Promise.resolve(function(r,s){try{var i=Promise.resolve(rc["sync"===t.mode?"parse":"parseAsync"](e,void 0)).then(function(r){return a.shouldUseNativeValidation&&eR({},a),{errors:{},values:t.raw?e:r}})}catch(e){return s(e)}return i&&i.then?i.then(void 0,s):i}(0,function(e){if(Array.isArray(null==e?void 0:e.errors))return{values:{},errors:eF(eV(e.errors,!a.shouldUseNativeValidation&&"all"===a.criteriaMode),a)};throw e}))}catch(e){return Promise.reject(e)}}),defaultValues:{title:"",content:"",targetRoles:[]}}),_=[{id:"all",name:"All Users"},{id:"admin",name:"Administrators"},{id:"entrepreneurship",name:"Entrepreneurship"},{id:"communication",name:"Communication"},{id:"expression",name:"Expression"},{id:"coding",name:"Coding"},{id:"dataintelligence",name:"Data Intelligence"},{id:"mediation",name:"Mediation"}],b=e=>{if("all"===e)a(["all"]),y.setValue("targetRoles",["all"]);else{let t=r.filter(e=>"all"!==e);if(t.includes(e)){let r=t.filter(t=>t!==e);a(r),y.setValue("targetRoles",r)}else{let r=[...t,e];a(r),y.setValue("targetRoles",r)}}},O=async e=>{i(!0),o(null);try{let t=await fetch("/api/announcements",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),r=await t.json();if(!t.ok){let e=r.error||"Failed to create announcement";throw r.details&&(e+=`: ${r.details}`),console.error("API Error:",r),o(e),Error(e)}y.reset(),a([]),l(!0),c({title:"Announcement created",description:"The announcement has been created successfully."}),setTimeout(()=>l(!1),3e3)}catch(e){console.error("Error submitting announcement:",e),c({title:"Error",description:e instanceof Error?e.message:"Failed to create the announcement. Please try again.",variant:"destructive"})}finally{i(!1)}};return(0,u.jsxs)(rs.Zp,{className:"bg-white",children:[(0,u.jsxs)(rs.aR,{className:"bg-white text-gray-800",children:[(0,u.jsx)(rs.ZB,{children:"Create New Announcement"}),(0,u.jsx)(rs.BT,{children:"Create an announcement to be displayed to specific user roles"})]}),(0,u.jsxs)(rs.Wu,{children:[d&&(0,u.jsxs)(ru.Fc,{variant:"destructive",className:"mb-6",children:[(0,u.jsx)(ri.A,{className:"h-4 w-4"}),(0,u.jsx)(ru.XL,{children:"Error"}),(0,u.jsx)(ru.TN,{children:d})]}),(0,u.jsx)(t9,{...y,children:(0,u.jsxs)("form",{onSubmit:y.handleSubmit(O),className:"space-y-6",children:[(0,u.jsx)(t6,{control:y.control,name:"title",render:({field:e})=>(0,u.jsxs)(t8,{children:[(0,u.jsx)(t7,{className:"text-gray-700",children:"Title"}),(0,u.jsx)(re,{children:(0,u.jsx)(rr.p,{placeholder:"Enter announcement title",className:"bg-white text-gray-800 border-gray-300",...e})}),(0,u.jsx)(rt,{})]})}),(0,u.jsx)(t6,{control:y.control,name:"content",render:({field:e})=>(0,u.jsxs)(t8,{children:[(0,u.jsx)(t7,{className:"text-gray-700",children:"Content"}),(0,u.jsx)(re,{children:(0,u.jsx)(ra.T,{placeholder:"Enter announcement content",rows:5,className:"bg-white text-gray-800 border-gray-300",...e})}),(0,u.jsx)(rt,{})]})}),(0,u.jsx)(t6,{control:y.control,name:"targetRoles",render:()=>(0,u.jsxs)(t8,{children:[(0,u.jsx)(t7,{className:"text-gray-700",children:"Target Audience"}),(0,u.jsx)(re,{children:(0,u.jsxs)("div",{className:"p-3 border border-gray-200 rounded-md bg-white",children:[(0,u.jsx)("p",{className:"text-sm text-gray-500 mb-2",children:"Select which roles can see this announcement:"}),(0,u.jsx)("div",{className:"flex flex-wrap gap-2",children:_.map(e=>(0,u.jsxs)(rd.E,{variant:r.includes(e.id)?"default":"outline",className:`cursor-pointer px-3 py-1 ${r.includes(e.id)?"bg-blue-600 hover:bg-blue-700 text-white":"bg-white hover:bg-gray-100 text-gray-700 border-gray-300"}`,onClick:()=>b(e.id),children:[e.name,r.includes(e.id)&&(0,u.jsx)(rn.A,{className:"ml-1 h-3 w-3"})]},e.id))})]})}),(0,u.jsx)(rt,{})]})}),(0,u.jsx)("div",{className:"flex justify-end",children:(0,u.jsx)(tQ.$,{type:"submit",disabled:s||n,className:"px-4",children:s?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(rl.A,{className:"mr-2 h-4 w-4 animate-spin"}),"Submitting..."]}):n?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(rn.A,{className:"mr-2 h-4 w-4"}),"Announcement Created!"]}):"Create Announcement"})})]})})]})]})}var rh=r(96752),rm=r(13861),rp=r(88233);let ry=(0,r(62688).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var rv=r(37826);function rg({userRole:e}){let[t,r]=(0,f.useState)([]),[a,s]=(0,f.useState)(null),[i,n]=(0,f.useState)(!1),[l,d]=(0,f.useState)(!1),[o,c]=(0,f.useState)(!0),[h,m]=(0,f.useState)(null),{toast:p}=(0,ro.dj)(),y=async()=>{try{c(!0);let e=await fetch("/api/announcements");if(!e.ok)throw Error("Failed to fetch announcements");let t=await e.json();r(t),m(null)}catch(e){console.error("Error fetching announcements:",e),m("Failed to load announcements")}finally{c(!1)}},v=e=>{s(e),n(!0)},g=e=>{s(e),d(!0)},_=async()=>{if(a)try{if(!(await fetch(`/api/announcements/${a.id}`,{method:"DELETE"})).ok)throw Error("Failed to delete announcement");r(t.filter(e=>e.id!==a.id)),d(!1),p({title:"Announcement deleted",description:"The announcement has been deleted successfully."})}catch(e){console.error("Error deleting announcement:",e),p({title:"Error",description:"Failed to delete the announcement. Please try again.",variant:"destructive"})}},x=e=>e.map(e=>{let t="all"===e?"All Users":e.charAt(0).toUpperCase()+e.slice(1);return(0,u.jsx)(rd.E,{variant:"outline",className:"mr-1 bg-white text-gray-700 border-gray-300",children:t},e)});return(0,u.jsxs)(rs.Zp,{children:[(0,u.jsx)(rs.aR,{children:(0,u.jsx)("div",{className:"flex justify-between items-center",children:(0,u.jsxs)("div",{children:[(0,u.jsx)(rs.ZB,{children:"All Announcements"}),(0,u.jsx)(rs.BT,{children:"Manage announcements for different user roles"})]})})}),(0,u.jsxs)(rs.Wu,{children:[o?(0,u.jsx)("div",{className:"flex items-center justify-center h-40",children:(0,u.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-gray-900"})}):h?(0,u.jsxs)("div",{className:"text-center py-10 text-red-500",children:[h,(0,u.jsx)(tQ.$,{onClick:y,className:"ml-4",children:"Retry"})]}):0===t.length?(0,u.jsx)("div",{className:"text-center py-10 text-gray-500",children:"No announcements found"}):(0,u.jsx)("div",{className:"border rounded-md max-h-[500px] overflow-y-auto",children:(0,u.jsxs)(rh.XI,{children:[(0,u.jsx)(rh.A0,{className:"sticky top-0 bg-white z-10",children:(0,u.jsxs)(rh.Hj,{children:[(0,u.jsx)(rh.nd,{children:"Title"}),(0,u.jsx)(rh.nd,{children:"Created"}),(0,u.jsx)(rh.nd,{children:"Author"}),(0,u.jsx)(rh.nd,{children:"Target Roles"}),(0,u.jsx)(rh.nd,{className:"text-right",children:"Actions"})]})}),(0,u.jsx)(rh.BF,{children:t.map(e=>(0,u.jsxs)(rh.Hj,{children:[(0,u.jsx)(rh.nA,{className:"font-medium",children:e.title}),(0,u.jsx)(rh.nA,{children:new Date(e.createdAt).toLocaleDateString()}),(0,u.jsx)(rh.nA,{children:e.author.email}),(0,u.jsx)(rh.nA,{children:x(e.targetRoles)}),(0,u.jsx)(rh.nA,{className:"text-right",children:(0,u.jsxs)("div",{className:"flex justify-end space-x-2",children:[(0,u.jsxs)(tQ.$,{variant:"outline",size:"sm",onClick:()=>v(e),className:"bg-white text-gray-700 border-gray-300",children:[(0,u.jsx)(rm.A,{className:"h-4 w-4"}),(0,u.jsx)("span",{className:"sr-only",children:"View"})]}),(0,u.jsxs)(tQ.$,{variant:"outline",size:"sm",onClick:()=>g(e),className:"bg-white text-gray-700 border-gray-300",children:[(0,u.jsx)(rp.A,{className:"h-4 w-4"}),(0,u.jsx)("span",{className:"sr-only",children:"Delete"})]})]})})]},e.id))})]})}),(0,u.jsx)(rv.lG,{open:i,onOpenChange:n,children:(0,u.jsxs)(rv.Cf,{className:"sm:max-w-xl",children:[(0,u.jsxs)(rv.c7,{children:[(0,u.jsx)(rv.L3,{children:a?.title}),(0,u.jsxs)(rv.rr,{children:["Posted by ",a?.author.email," on ",a&&new Date(a.createdAt).toLocaleDateString()]})]}),(0,u.jsxs)("div",{className:"mt-4",children:[(0,u.jsxs)("div",{className:"mb-2",children:[(0,u.jsx)("span",{className:"text-sm text-gray-500",children:"Target Audience:"})," ",a&&x(a.targetRoles)]}),(0,u.jsx)("p",{className:"text-sm leading-6 text-gray-700",children:a?.content})]})]})}),(0,u.jsx)(rv.lG,{open:l,onOpenChange:d,children:(0,u.jsxs)(rv.Cf,{children:[(0,u.jsxs)(rv.c7,{children:[(0,u.jsxs)(rv.L3,{className:"flex items-center gap-2",children:[(0,u.jsx)(ry,{className:"text-red-500 h-5 w-5"}),"Confirm Deletion"]}),(0,u.jsxs)(rv.rr,{children:['Are you sure you want to delete the announcement "',a?.title,'"? This action cannot be undone.']})]}),(0,u.jsxs)(rv.Es,{className:"mt-4",children:[(0,u.jsx)(tQ.$,{variant:"outline",onClick:()=>d(!1),children:"Cancel"}),(0,u.jsx)(tQ.$,{variant:"destructive",onClick:_,children:"Delete"})]})]})})]})]})}var r_=r(63974);function rx(){let[e,t]=(0,f.useState)([]),[r,a]=(0,f.useState)(null),[s,i]=(0,f.useState)(!0),[n,l]=(0,f.useState)(null);return(0,u.jsx)("div",{className:"flex flex-col space-y-4",children:s?(0,u.jsx)("div",{className:"flex items-center justify-center h-40",children:(0,u.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-gray-900"})}):n?(0,u.jsx)("div",{className:"text-center py-10 text-red-500",children:n}):0===e.length?(0,u.jsx)("div",{className:"text-center py-10 text-gray-500",children:"No announcements available"}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"w-full max-w-md",children:(0,u.jsxs)(r_.l6,{onValueChange:t=>{let r=e.find(e=>e.id===t);r&&a(r)},defaultValue:r?.id,children:[(0,u.jsx)(r_.bq,{className:"w-full bg-white text-gray-800 border-gray-300",children:(0,u.jsx)(r_.yv,{placeholder:"Select an announcement"})}),(0,u.jsx)(r_.gC,{children:e.map(e=>(0,u.jsx)(r_.eb,{value:e.id,children:e.title},e.id))})]})}),r&&(0,u.jsxs)(rs.Zp,{className:"w-full bg-white",children:[(0,u.jsxs)(rs.aR,{className:"bg-white text-gray-800",children:[(0,u.jsx)(rs.ZB,{children:r.title}),(0,u.jsxs)("div",{className:"text-sm text-gray-500",children:["Posted by ",r.author.email," on ",new Date(r.createdAt).toLocaleDateString()]})]}),(0,u.jsx)(rs.Wu,{children:(0,u.jsx)("div",{className:"prose max-h-[300px] overflow-y-auto pr-2",children:r.content})})]})]})})}function rb({userRole:e=[]}){let t=Array.isArray(e)?e:[e];return t.some(e=>["admin","entrepreneurship","communication"].includes(e))?(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("h1",{className:"text-2xl font-bold mb-6",children:"Announcements Management"}),(0,u.jsxs)(c.tU,{defaultValue:"list",children:[(0,u.jsx)("div",{className:"flex justify-between items-center mb-8",children:(0,u.jsxs)(c.j7,{className:"bg-gray-200 border-0",children:[(0,u.jsx)(c.Xi,{value:"list",className:"data-[state=active]:bg-blue-600 data-[state=active]:text-white text-gray-700",children:"All Announcements"}),(0,u.jsx)(c.Xi,{value:"create",className:"data-[state=active]:bg-blue-600 data-[state=active]:text-white text-gray-700",children:"Create Announcement"})]})}),(0,u.jsx)(c.av,{value:"list",children:(0,u.jsx)(rg,{userRole:t})}),(0,u.jsx)(c.av,{value:"create",children:(0,u.jsx)(rf,{userRole:t})})]})]}):(0,u.jsxs)("div",{className:"flex flex-col",children:[(0,u.jsx)("h1",{className:"text-2xl font-bold mb-6",children:"Announcements"}),(0,u.jsx)(rx,{})]})}},13861:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(62688).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},14985:e=>{"use strict";e.exports=require("dns")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:e=>{"use strict";e.exports=require("os")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},34631:e=>{"use strict";e.exports=require("tls")},36157:(e,t,r)=>{"use strict";r.d(t,{AnnouncementsPage:()=>a});let a=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call AnnouncementsPage() from the server but AnnouncementsPage 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.")},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx","AnnouncementsPage")},39390:(e,t,r)=>{"use strict";r.d(t,{J:()=>o});var a=r(60687),s=r(43210),i=r(78696),n=r(24224),l=r(96241);let d=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),o=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.b,{ref:r,className:(0,l.cn)(d(),e),...t}));o.displayName=i.b.displayName},39916:(e,t,r)=>{"use strict";var a=r(97576);r.o(a,"notFound")&&r.d(t,{notFound:function(){return a.notFound}}),r.o(a,"redirect")&&r.d(t,{redirect:function(){return a.redirect}})},41204:e=>{"use strict";e.exports=require("string_decoder")},48976:(e,t,r)=>{"use strict";function a(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"forbidden",{enumerable:!0,get:function(){return a}}),r(8704).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55192:(e,t,r)=>{"use strict";r.d(t,{BT:()=>o,Wu:()=>u,ZB:()=>d,Zp:()=>n,aR:()=>l});var a=r(60687),s=r(43210),i=r(96241);let n=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("div",{ref:r,className:(0,i.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));n.displayName="Card";let l=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("div",{ref:r,className:(0,i.cn)("flex flex-col space-y-1.5 p-6",e),...t}));l.displayName="CardHeader";let d=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("div",{ref:r,className:(0,i.cn)("text-2xl font-semibold leading-none tracking-tight",e),...t}));d.displayName="CardTitle";let o=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("div",{ref:r,className:(0,i.cn)("text-sm text-muted-foreground",e),...t}));o.displayName="CardDescription";let u=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("div",{ref:r,className:(0,i.cn)("p-6 pt-0",e),...t}));u.displayName="CardContent",s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("div",{ref:r,className:(0,i.cn)("flex items-center p-6 pt-0",e),...t})).displayName="CardFooter"},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},62765:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return s}});let a=""+r(8704).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function s(){let e=Object.defineProperty(Error(a),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw e.digest=a,e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63974:(e,t,r)=>{"use strict";r.d(t,{bq:()=>f,eb:()=>y,gC:()=>p,l6:()=>u,yv:()=>c});var a=r(60687),s=r(43210),i=r(28695),n=r(78272),l=r(3589),d=r(13964),o=r(96241);let u=i.bL;i.YJ;let c=i.WT,f=s.forwardRef(({className:e,children:t,...r},s)=>(0,a.jsxs)(i.l9,{ref:s,className:(0,o.cn)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...r,children:[t,(0,a.jsx)(i.In,{asChild:!0,children:(0,a.jsx)(n.A,{className:"h-4 w-4 opacity-50"})})]}));f.displayName=i.l9.displayName;let h=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.PP,{ref:r,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,a.jsx)(l.A,{className:"h-4 w-4"})}));h.displayName=i.PP.displayName;let m=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.wn,{ref:r,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,a.jsx)(n.A,{className:"h-4 w-4"})}));m.displayName=i.wn.displayName;let p=s.forwardRef(({className:e,children:t,position:r="popper",...s},n)=>(0,a.jsx)(i.ZL,{children:(0,a.jsxs)(i.UC,{ref:n,className:(0,o.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...s,children:[(0,a.jsx)(h,{}),(0,a.jsx)(i.LM,{className:(0,o.cn)("p-1","popper"===r&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,a.jsx)(m,{})]})}));p.displayName=i.UC.displayName,s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.JU,{ref:r,className:(0,o.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t})).displayName=i.JU.displayName;let y=s.forwardRef(({className:e,children:t,...r},s)=>(0,a.jsxs)(i.q7,{ref:s,className:(0,o.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(i.VF,{children:(0,a.jsx)(d.A,{className:"h-4 w-4"})})}),(0,a.jsx)(i.p4,{children:t})]}));y.displayName=i.q7.displayName,s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.wv,{ref:r,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",e),...t})).displayName=i.wv.displayName},70333:(e,t,r)=>{"use strict";r.d(t,{dj:()=>f,oR:()=>c});var a=r(43210);let s=0,i=new Map,n=e=>{if(i.has(e))return;let t=setTimeout(()=>{i.delete(e),u({type:"REMOVE_TOAST",toastId:e})},1e6);i.set(e,t)},l=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?n(r):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},d=[],o={toasts:[]};function u(e){o=l(o,e),d.forEach(e=>{e(o)})}function c({...e}){let t=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>u({type:"DISMISS_TOAST",toastId:t});return u({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:e=>{e||r()}}}),{id:t,dismiss:r,update:e=>u({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function f(){let[e,t]=a.useState(o);return a.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>u({type:"DISMISS_TOAST",toastId:e})}}},70899:(e,t,r)=>{"use strict";function a(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unauthorized",{enumerable:!0,get:function(){return a}}),r(8704).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},71042:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,n.isNextRouterError)(t)||(0,i.isBailoutToCSRError)(t)||(0,d.isDynamicServerError)(t)||(0,l.isDynamicPostpone)(t)||(0,s.isPostpone)(t)||(0,a.isHangingPromiseRejectionError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let a=r(68388),s=r(52637),i=r(51846),n=r(31162),l=r(84971),d=r(98479);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},71409:(e,t,r)=>{Promise.resolve().then(r.bind(r,13128))},74075:e=>{"use strict";e.exports=require("zlib")},78696:(e,t,r)=>{"use strict";r.d(t,{b:()=>d});var a=r(43210);r(51215);var s=r(8730),i=r(60687),n=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=a.forwardRef((e,r)=>{let{asChild:a,...n}=e,l=a?s.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...n,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),l=a.forwardRef((e,t)=>(0,i.jsx)(n.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));l.displayName="Label";var d=l},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81137:(e,t,r)=>{Promise.resolve().then(r.bind(r,36157))},81630:e=>{"use strict";e.exports=require("http")},83997:e=>{"use strict";e.exports=require("tty")},85910:(e,t,r)=>{"use strict";r.d(t,{Xi:()=>o,av:()=>u,j7:()=>d,tU:()=>l});var a=r(60687),s=r(43210),i=r(41360),n=r(96241);let l=i.bL,d=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.B8,{ref:r,className:(0,n.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));d.displayName=i.B8.displayName;let o=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.l9,{ref:r,className:(0,n.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",e),...t}));o.displayName=i.l9.displayName;let u=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(i.UC,{ref:r,className:(0,n.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));u.displayName=i.UC.displayName},86897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRedirectError:function(){return n},getRedirectStatusCodeFromError:function(){return c},getRedirectTypeFromError:function(){return u},getURLFromRedirectError:function(){return o},permanentRedirect:function(){return d},redirect:function(){return l}});let a=r(52836),s=r(49026),i=r(19121).actionAsyncStorage;function n(e,t,r){void 0===r&&(r=a.RedirectStatusCode.TemporaryRedirect);let i=Object.defineProperty(Error(s.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return i.digest=s.REDIRECT_ERROR_CODE+";"+t+";"+e+";"+r+";",i}function l(e,t){var r;throw null!=t||(t=(null==i||null==(r=i.getStore())?void 0:r.isAction)?s.RedirectType.push:s.RedirectType.replace),n(e,t,a.RedirectStatusCode.TemporaryRedirect)}function d(e,t){throw void 0===t&&(t=s.RedirectType.replace),n(e,t,a.RedirectStatusCode.PermanentRedirect)}function o(e){return(0,s.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function u(e){if(!(0,s.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return e.digest.split(";",2)[1]}function c(e){if(!(0,s.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(e.digest.split(";").at(-2))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91645:e=>{"use strict";e.exports=require("net")},94735:e=>{"use strict";e.exports=require("events")},96752:(e,t,r)=>{"use strict";r.d(t,{A0:()=>l,BF:()=>d,Hj:()=>o,XI:()=>n,nA:()=>c,nd:()=>u});var a=r(60687),s=r(43210),i=r(96241);let n=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("div",{className:"relative w-full overflow-auto",children:(0,a.jsx)("table",{ref:r,className:(0,i.cn)("w-full caption-bottom text-sm",e),...t})}));n.displayName="Table";let l=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("thead",{ref:r,className:(0,i.cn)("[&_tr]:border-b",e),...t}));l.displayName="TableHeader";let d=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("tbody",{ref:r,className:(0,i.cn)("[&_tr:last-child]:border-0",e),...t}));d.displayName="TableBody",s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("tfoot",{ref:r,className:(0,i.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t})).displayName="TableFooter";let o=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("tr",{ref:r,className:(0,i.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",e),...t}));o.displayName="TableRow";let u=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("th",{ref:r,className:(0,i.cn)("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...t}));u.displayName="TableHead";let c=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("td",{ref:r,className:(0,i.cn)("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));c.displayName="TableCell",s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("caption",{ref:r,className:(0,i.cn)("mt-4 text-sm text-muted-foreground",e),...t})).displayName="TableCaption"},96955:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o,metadata:()=>d});var a=r(37413),s=r(35426),i=r(26690),n=r(39916),l=r(36157);let d={title:"Announcements"};async function o(){let e=await (0,s.getServerSession)(i.N);e||(0,n.redirect)("/signin");let t=e.user.role||[];return(0,a.jsx)("div",{className:"min-h-screen bg-white",children:(0,a.jsx)("div",{className:"container mx-auto py-10",children:(0,a.jsx)(l.AnnouncementsPage,{userRole:t})})})}},97576:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return u},RedirectType:function(){return s.RedirectType},forbidden:function(){return n.forbidden},notFound:function(){return i.notFound},permanentRedirect:function(){return a.permanentRedirect},redirect:function(){return a.redirect},unauthorized:function(){return l.unauthorized},unstable_rethrow:function(){return d.unstable_rethrow}});let a=r(86897),s=r(49026),i=r(62765),n=r(48976),l=r(70899),d=r(163);class o extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class u extends URLSearchParams{append(){throw new o}delete(){throw new o}set(){throw new o}sort(){throw new o}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}};var t=require("../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[4243,5419,8794,1642,6724,748,4543,6644,6781,5500],()=>r(10745));module.exports=a})(); \ No newline at end of file diff --git a/.next/server/app/announcement/page.js.nft.json b/.next/server/app/announcement/page.js.nft.json new file mode 100644 index 00000000..f2fd377c --- /dev/null +++ b/.next/server/app/announcement/page.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../node_modules/next/package.json","../../../../package.json","../../../package.json","../../chunks/1642.js","../../chunks/4243.js","../../chunks/4543.js","../../chunks/5419.js","../../chunks/5500.js","../../chunks/6644.js","../../chunks/6724.js","../../chunks/6781.js","../../chunks/748.js","../../chunks/8794.js","../../webpack-runtime.js","page_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/announcement/page_client-reference-manifest.js b/.next/server/app/announcement/page_client-reference-manifest.js new file mode 100644 index 00000000..25c2f6a9 --- /dev/null +++ b/.next/server/app/announcement/page_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/announcement/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":["4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","5652","static/chunks/5652-6babf6fbe108fd74.js","4159","static/chunks/4159-bbe647e6be2b9a64.js","2468","static/chunks/2468-9a31b87cf6ea2b03.js","4152","static/chunks/app/announcement/page-070cf4758e17f951.js"],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/announcement/page":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/restore-credentials/route.js b/.next/server/app/api/admin/restore-credentials/route.js new file mode 100644 index 00000000..4bd4e435 --- /dev/null +++ b/.next/server/app/api/admin/restore-credentials/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=3525,e.ids=[3525],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},14985:e=>{"use strict";e.exports=require("dns")},16743:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>h,routeModule:()=>m,serverHooks:()=>g,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>_});var t={};s.r(t),s.d(t,{GET:()=>d});var o=s(96559),n=s(48088),i=s(37719),a=s(32190),c=s(19854),l=s(26690),u=s(79464),p=s(36781);async function d(e){try{let e=await (0,c.getServerSession)(l.N);if(!e?.user?.id)return a.NextResponse.json({error:"Unauthorized"},{status:401});if(!e.user.role.includes("admin"))return a.NextResponse.json({error:"Admin access required"},{status:403});let r=(0,p.nr)(),s=await r.keys("email:credentials:*");console.log(`Found ${s.length} credential records in Redis`);let t={total:s.length,processed:0,success:0,errors:[]};for(let e of s){t.processed++;try{let s=e.split(":")[2];if(!s){t.errors.push(`Invalid key format: ${e}`);continue}let o=await r.get(e);if(!o){t.errors.push(`No data found for key: ${e}`);continue}let n=JSON.parse(o);console.log(`Processing credentials for user ${s}`,{email:n.email,host:n.host}),await u.z.user.findUnique({where:{id:s},select:{id:!0}})||(console.log(`User ${s} not found, creating placeholder`),await u.z.user.create({data:{id:s,email:n.email||"placeholder@example.com",password:"PLACEHOLDER_HASH_CHANGE_THIS"}}),console.log(`Created placeholder user ${s}`));let i=await u.z.mailCredentials.findFirst({where:{userId:s,email:n.email}});i?await u.z.mailCredentials.update({where:{id:i.id},data:{password:n.encryptedPassword||"encrypted_placeholder",host:n.host,port:n.port,...void 0!==n.secure&&{secure:n.secure},...n.smtp_host&&{smtp_host:n.smtp_host},...n.smtp_port&&{smtp_port:n.smtp_port},...void 0!==n.smtp_secure&&{smtp_secure:n.smtp_secure},...n.display_name&&{display_name:n.display_name},...n.color&&{color:n.color}}}):await u.z.mailCredentials.create({data:{userId:s,email:n.email,password:n.encryptedPassword||"encrypted_placeholder",host:n.host,port:n.port,...void 0!==n.secure&&{secure:n.secure},...n.smtp_host&&{smtp_host:n.smtp_host},...n.smtp_port&&{smtp_port:n.smtp_port},...void 0!==n.smtp_secure&&{smtp_secure:n.smtp_secure},...n.display_name&&{display_name:n.display_name},...n.color&&{color:n.color}}}),t.success++,console.log(`Successfully restored credentials for user ${s}`)}catch(s){let r=s instanceof Error?s.message:String(s);t.errors.push(`Error processing ${e}: ${r}`),console.error(`Error processing ${e}:`,s)}}return a.NextResponse.json({message:"Credential restoration process completed",results:t})}catch(e){return console.error("Error in restore credentials route:",e),a.NextResponse.json({error:"Failed to restore credentials",details:e instanceof Error?e.message:String(e)},{status:500})}}let m=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/admin/restore-credentials/route",pathname:"/api/admin/restore-credentials",filename:"route",bundlePath:"app/api/admin/restore-credentials/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/admin/restore-credentials/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:f,workUnitAsyncStorage:_,serverHooks:g}=m;function h(){return(0,i.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:_})}},19854:(e,r,s)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=s(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var s=i(r);if(s&&s.has(e))return s.get(e);var t={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=o?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,s&&s.set(e,t),t}(s(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,s=new WeakMap;return(i=function(e){return e?s:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},21820:e=>{"use strict";e.exports=require("os")},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>o});var t=s(70762);let o=t.z.object({NODE_ENV:t.z.enum(["development","test","production"]).default("development"),DATABASE_URL:t.z.string().url(),NEWSDB_URL:t.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:t.z.string().url(),KEYCLOAK_CLIENT_ID:t.z.string(),KEYCLOAK_CLIENT_SECRET:t.z.string(),KEYCLOAK_REALM:t.z.string(),KEYCLOAK_ISSUER:t.z.string().url(),LEANTIME_TOKEN:t.z.string(),LEANTIME_API_URL:t.z.string().url(),ROCKET_CHAT_TOKEN:t.z.string(),ROCKET_CHAT_USER_ID:t.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var t=s(1926),o=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,t.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},34631:e=>{"use strict";e.exports=require("tls")},41204:e=>{"use strict";e.exports=require("string_decoder")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>n});var t=s(96330),o=s(25037);let n=globalThis.prisma||new t.PrismaClient({datasources:{db:{url:o._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},83997:e=>{"use strict";e.exports=require("tty")},91645:e=>{"use strict";e.exports=require("net")},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580,8794,1642,762,6781],()=>s(16743));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/restore-credentials/route.js.nft.json b/.next/server/app/api/admin/restore-credentials/route.js.nft.json new file mode 100644 index 00000000..928487c3 --- /dev/null +++ b/.next/server/app/api/admin/restore-credentials/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8794.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/restore-credentials/route_client-reference-manifest.js b/.next/server/app/api/admin/restore-credentials/route_client-reference-manifest.js new file mode 100644 index 00000000..7df45a56 --- /dev/null +++ b/.next/server/app/api/admin/restore-credentials/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/restore-credentials/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/admin/restore-credentials/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/admin/view-redis-credentials/route.js b/.next/server/app/api/admin/view-redis-credentials/route.js new file mode 100644 index 00000000..d3564773 --- /dev/null +++ b/.next/server/app/api/admin/view-redis-credentials/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=7950,e.ids=[7950],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},14985:e=>{"use strict";e.exports=require("dns")},19854:(e,r,s)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=s(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var s=i(r);if(s&&s.has(e))return s.get(e);var t={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=o?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,s&&s.set(e,t),t}(s(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,s=new WeakMap;return(i=function(e){return e?s:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},21820:e=>{"use strict";e.exports=require("os")},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var t=s(1926),o=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,t.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},34631:e=>{"use strict";e.exports=require("tls")},41204:e=>{"use strict";e.exports=require("string_decoder")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},83997:e=>{"use strict";e.exports=require("tty")},91253:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>_,routeModule:()=>d,serverHooks:()=>m,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>k});var t={};s.r(t),s.d(t,{GET:()=>p});var o=s(96559),n=s(48088),i=s(37719),a=s(32190),c=s(19854),l=s(26690),u=s(36781);async function p(e){try{let e=await (0,c.getServerSession)(l.N);if(!e?.user?.id)return a.NextResponse.json({error:"Unauthorized"},{status:401});let r=(0,u.nr)(),s=await r.keys("email:credentials:*");console.log(`Found ${s.length} credential records in Redis`);let t=[];for(let e of s)try{let s=e.split(":")[2],o=await r.get(e);if(!o)continue;let n=JSON.parse(o);t.push({userId:s,email:n.email,host:n.host,port:n.port,hasPassword:!!n.encryptedPassword,smtp_host:n.smtp_host,smtp_port:n.smtp_port,display_name:n.display_name,color:n.color})}catch(r){console.error(`Error processing ${e}:`,r)}return a.NextResponse.json({count:t.length,credentials:t})}catch(e){return console.error("Error viewing Redis credentials:",e),a.NextResponse.json({error:"Failed to view credentials",details:e instanceof Error?e.message:String(e)},{status:500})}}let d=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/admin/view-redis-credentials/route",pathname:"/api/admin/view-redis-credentials",filename:"route",bundlePath:"app/api/admin/view-redis-credentials/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/admin/view-redis-credentials/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:f,workUnitAsyncStorage:k,serverHooks:m}=d;function _(){return(0,i.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:k})}},91645:e=>{"use strict";e.exports=require("net")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580,8794,1642,6781],()=>s(91253));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/admin/view-redis-credentials/route.js.nft.json b/.next/server/app/api/admin/view-redis-credentials/route.js.nft.json new file mode 100644 index 00000000..1ef0f1b3 --- /dev/null +++ b/.next/server/app/api/admin/view-redis-credentials/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6781.js","../../../../chunks/8794.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/admin/view-redis-credentials/route_client-reference-manifest.js b/.next/server/app/api/admin/view-redis-credentials/route_client-reference-manifest.js new file mode 100644 index 00000000..48ecdff4 --- /dev/null +++ b/.next/server/app/api/admin/view-redis-credentials/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/admin/view-redis-credentials/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/admin/view-redis-credentials/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/announcements/[id]/route.js b/.next/server/app/api/announcements/[id]/route.js new file mode 100644 index 00000000..f42ad9af --- /dev/null +++ b/.next/server/app/api/announcements/[id]/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=5040,e.ids=[5040],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},7588:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>T,routeModule:()=>f,serverHooks:()=>g,workAsyncStorage:()=>k,workUnitAsyncStorage:()=>_});var n={};s.r(n),s.d(n,{DELETE:()=>m,GET:()=>p});var o=s(96559),t=s(48088),i=s(37719),a=s(32190),c=s(35426),l=s(26690),u=s(79464);async function d(e){try{return!!await u.z.user.findUnique({where:{id:e},select:{id:!0}})}catch(e){return console.error("Error checking if user exists:",e),!1}}async function p(e,{params:r}){try{let e=await (0,c.getServerSession)(l.N);if(!e)return a.NextResponse.json({error:"Unauthorized"},{status:401});let{id:s}=await r,n=await u.z.announcement.findUnique({where:{id:s},include:{author:{select:{id:!0,email:!0}}}});if(!n)return a.NextResponse.json({error:"Announcement not found"},{status:404});let o=e.user.role||[],t=Array.isArray(o)?o:[o];if(!(n.targetRoles.includes("all")||n.targetRoles.some(e=>t.includes(e))))return a.NextResponse.json({error:"Forbidden"},{status:403});return a.NextResponse.json(n)}catch(r){console.error("Error fetching announcement:",r);let e=r instanceof Error?r.message:"Unknown error";return a.NextResponse.json({error:"Failed to fetch announcement",details:e},{status:500})}}async function m(e,{params:r}){try{let e=await (0,c.getServerSession)(l.N);if(!e)return a.NextResponse.json({error:"Unauthorized"},{status:401});if(!await d(e.user.id))return console.error("User not found in database:",e.user.id),a.NextResponse.json({error:"User not found",details:`The user ID from your session (${e.user.id}) doesn't exist in the database.`},{status:400});let s=e.user.role||[];if(!(Array.isArray(s)?s:[s]).some(e=>["admin","entrepreneurship","communication"].includes(e)))return a.NextResponse.json({error:"Forbidden"},{status:403});let{id:n}=await r;if(!await u.z.announcement.findUnique({where:{id:n}}))return a.NextResponse.json({error:"Announcement not found"},{status:404});return await u.z.announcement.delete({where:{id:n}}),a.NextResponse.json({message:"Announcement deleted successfully"})}catch(s){console.error("Error deleting announcement:",s);let e=s instanceof Error?s.message:"Unknown error",r="object"==typeof s&&null!==s&&"code"in s&&s.code?.toString()||"UNKNOWN";return a.NextResponse.json({error:"Failed to delete announcement",details:e,code:r},{status:500})}}let f=new o.AppRouteRouteModule({definition:{kind:t.RouteKind.APP_ROUTE,page:"/api/announcements/[id]/route",pathname:"/api/announcements/[id]",filename:"route",bundlePath:"app/api/announcements/[id]/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/announcements/[id]/route.ts",nextConfigOutput:"",userland:n}),{workAsyncStorage:k,workUnitAsyncStorage:_,serverHooks:g}=f;function T(){return(0,i.patchFetch)({workAsyncStorage:k,workUnitAsyncStorage:_})}},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>o});var n=s(70762);let o=n.z.object({NODE_ENV:n.z.enum(["development","test","production"]).default("development"),DATABASE_URL:n.z.string().url(),NEWSDB_URL:n.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:n.z.string().url(),KEYCLOAK_CLIENT_ID:n.z.string(),KEYCLOAK_CLIENT_SECRET:n.z.string(),KEYCLOAK_REALM:n.z.string(),KEYCLOAK_ISSUER:n.z.string().url(),LEANTIME_TOKEN:n.z.string(),LEANTIME_API_URL:n.z.string().url(),ROCKET_CHAT_TOKEN:n.z.string(),ROCKET_CHAT_USER_ID:n.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var n=s(1926),o=s(10591);function t(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,n.A)({clientId:t("KEYCLOAK_CLIENT_ID"),clientSecret:t("KEYCLOAK_CLIENT_SECRET"),issuer:t("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let n=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=n,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let n=e.accessTokenExpires;if(n&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>t});var n=s(96330),o=s(25037);let t=globalThis.prisma||new n.PrismaClient({datasources:{db:{url:o._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),n=r.X(0,[4243,5419,580,762],()=>s(7588));module.exports=n})(); \ No newline at end of file diff --git a/.next/server/app/api/announcements/[id]/route.js.nft.json b/.next/server/app/api/announcements/[id]/route.js.nft.json new file mode 100644 index 00000000..b5ee2f6e --- /dev/null +++ b/.next/server/app/api/announcements/[id]/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/762.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/announcements/[id]/route_client-reference-manifest.js b/.next/server/app/api/announcements/[id]/route_client-reference-manifest.js new file mode 100644 index 00000000..84152242 --- /dev/null +++ b/.next/server/app/api/announcements/[id]/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/announcements/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/announcements/route":[],"/Users/alma/Documents/NeahNew/app/api/announcements/[id]/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/announcements/route.js b/.next/server/app/api/announcements/route.js new file mode 100644 index 00000000..00d0a15c --- /dev/null +++ b/.next/server/app/api/announcements/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=9610,e.ids=[9610],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>t});var o=s(70762);let t=o.z.object({NODE_ENV:o.z.enum(["development","test","production"]).default("development"),DATABASE_URL:o.z.string().url(),NEWSDB_URL:o.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:o.z.string().url(),KEYCLOAK_CLIENT_ID:o.z.string(),KEYCLOAK_CLIENT_SECRET:o.z.string(),KEYCLOAK_REALM:o.z.string(),KEYCLOAK_ISSUER:o.z.string().url(),LEANTIME_TOKEN:o.z.string(),LEANTIME_API_URL:o.z.string().url(),ROCKET_CHAT_TOKEN:o.z.string(),ROCKET_CHAT_USER_ID:o.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var o=s(1926),t=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,o.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let o=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=o,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,t.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let o=e.accessTokenExpires;if(o&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},56061:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>g,routeModule:()=>f,serverHooks:()=>h,workAsyncStorage:()=>k,workUnitAsyncStorage:()=>_});var o={};s.r(o),s.d(o,{GET:()=>p,POST:()=>m});var t=s(96559),n=s(48088),i=s(37719),a=s(32190),c=s(35426),l=s(26690),u=s(79464);async function d(e){try{return!!await u.z.user.findUnique({where:{id:e},select:{id:!0}})}catch(e){return console.error("Error checking if user exists:",e),!1}}async function p(e){try{let e=await (0,c.getServerSession)(l.N);if(!e)return a.NextResponse.json({error:"Unauthorized"},{status:401});let r=e.user.role||[],s=Array.isArray(r)?r:[r],o=await u.z.announcement.findMany({where:{OR:[{targetRoles:{has:"all"}},{targetRoles:{hasSome:s}}]},orderBy:{createdAt:"desc"},include:{author:{select:{id:!0,email:!0}}}});return a.NextResponse.json(o)}catch(e){return console.error("Error fetching announcements:",e),a.NextResponse.json({error:"Failed to fetch announcements"},{status:500})}}async function m(e){try{let r=await (0,c.getServerSession)(l.N);if(!r)return a.NextResponse.json({error:"Unauthorized"},{status:401});let s=r.user.role||[];if(!(Array.isArray(s)?s:[s]).some(e=>["admin","entrepreneurship","communication"].includes(e)))return a.NextResponse.json({error:"Forbidden"},{status:403});let{title:o,content:t,targetRoles:n}=await e.json();if(!o||!t||!n||!n.length)return a.NextResponse.json({error:"Missing required fields"},{status:400});if(console.log("Verifying user ID:",r.user.id),!await d(r.user.id))return console.error("User not found in database:",r.user.id),a.NextResponse.json({error:"User not found",details:`The user ID from your session (${r.user.id}) doesn't exist in the database. This may be due to a session/database mismatch or the user hasn't been synced to the application database.`},{status:400});let i=await u.z.announcement.create({data:{title:o,content:t,targetRoles:n,authorId:r.user.id}});return a.NextResponse.json(i,{status:201})}catch(s){console.error("Error creating announcement:",s);let e=s instanceof Error?s.message:"Unknown error",r="object"==typeof s&&null!==s&&"code"in s&&s.code?.toString()||"UNKNOWN";return a.NextResponse.json({error:"Failed to create announcement",details:e,code:r},{status:500})}}let f=new t.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/announcements/route",pathname:"/api/announcements",filename:"route",bundlePath:"app/api/announcements/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/announcements/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:k,workUnitAsyncStorage:_,serverHooks:h}=f;function g(){return(0,i.patchFetch)({workAsyncStorage:k,workUnitAsyncStorage:_})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>n});var o=s(96330),t=s(25037);let n=globalThis.prisma||new o.PrismaClient({datasources:{db:{url:t._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),o=r.X(0,[4243,5419,580,762],()=>s(56061));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/announcements/route.js.nft.json b/.next/server/app/api/announcements/route.js.nft.json new file mode 100644 index 00000000..204a17ce --- /dev/null +++ b/.next/server/app/api/announcements/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../.env","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4243.js","../../../chunks/5419.js","../../../chunks/580.js","../../../chunks/762.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/announcements/route_client-reference-manifest.js b/.next/server/app/api/announcements/route_client-reference-manifest.js new file mode 100644 index 00000000..c0ce570f --- /dev/null +++ b/.next/server/app/api/announcements/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/announcements/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/announcements/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/auth/[...nextauth]/route.js b/.next/server/app/api/auth/[...nextauth]/route.js new file mode 100644 index 00000000..f5cd73de --- /dev/null +++ b/.next/server/app/api/auth/[...nextauth]/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=1014,e.ids=[1014],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},19854:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var s=t(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=s?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(o,n,a):o[n]=e[n]}return o.default=e,t&&t.set(e,o),o}(t(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(i=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},26690:(e,r,t)=>{"use strict";t.d(r,{N:()=>a});var o=t(1926),s=t(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),t=await r.json();if(!r.ok){if("invalid_grant"===t.error||t.error_description?.includes("Session not active")||t.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw t}return{...e,accessToken:t.access_token,refreshToken:t.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*t.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,o.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let t=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",t),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:t}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:t}){if(r&&t){let o=(t.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=t.sub,e.role=o,e.username=t.preferred_username??"",e.first_name=t.given_name??"",e.last_name=t.family_name??""}else if(e.accessToken)try{let r=(0,s.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let o=e.accessTokenExpires;if(o&&Date.now(){"use strict";t.r(r),t.d(r,{patchFetch:()=>m,routeModule:()=>p,serverHooks:()=>k,workAsyncStorage:()=>d,workUnitAsyncStorage:()=>f});var o={};t.r(o),t.d(o,{GET:()=>u,POST:()=>u});var s=t(96559),n=t(48088),i=t(37719),a=t(19854),c=t.n(a),l=t(26690);let u=c()(l.N),p=new s.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/auth/[...nextauth]/route",pathname:"/api/auth/[...nextauth]",filename:"route",bundlePath:"app/api/auth/[...nextauth]/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/auth/[...nextauth]/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:d,workUnitAsyncStorage:f,serverHooks:k}=p;function m(){return(0,i.patchFetch)({workAsyncStorage:d,workUnitAsyncStorage:f})}},28354:e=>{"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{},96559:(e,r,t)=>{"use strict";e.exports=t(44870)}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419],()=>t(27629));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/auth/[...nextauth]/route.js.nft.json b/.next/server/app/api/auth/[...nextauth]/route.js.nft.json new file mode 100644 index 00000000..8dcda2b6 --- /dev/null +++ b/.next/server/app/api/auth/[...nextauth]/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/auth/[...nextauth]/route_client-reference-manifest.js b/.next/server/app/api/auth/[...nextauth]/route_client-reference-manifest.js new file mode 100644 index 00000000..c4247fd6 --- /dev/null +++ b/.next/server/app/api/auth/[...nextauth]/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/[...nextauth]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/auth/[...nextauth]/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/auth/debug-keycloak/route.js b/.next/server/app/api/auth/debug-keycloak/route.js new file mode 100644 index 00000000..e8d8e2a6 --- /dev/null +++ b/.next/server/app/api/auth/debug-keycloak/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=8370,e.ids=[8370],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},43012:(e,s,r)=>{"use strict";r.r(s),r.d(s,{patchFetch:()=>g,routeModule:()=>p,serverHooks:()=>l,workAsyncStorage:()=>u,workUnitAsyncStorage:()=>d});var t={};r.r(t),r.d(t,{GET:()=>c});var n=r(96559),o=r(48088),a=r(37719),i=r(32190);async function c(){try{let e=process.env.KEYCLOAK_BASE_URL||process.env.KEYCLOAK_ISSUER||process.env.NEXT_PUBLIC_KEYCLOAK_ISSUER,s=process.env.KEYCLOAK_CLIENT_ID,r=process.env.KEYCLOAK_CLIENT_SECRET,t=process.env.KEYCLOAK_ADMIN_USERNAME,n=process.env.KEYCLOAK_ADMIN_PASSWORD,o=process.env.KEYCLOAK_REALM;if(!e)return i.NextResponse.json({error:"Missing Keycloak URL",message:"KEYCLOAK_BASE_URL, KEYCLOAK_ISSUER, or NEXT_PUBLIC_KEYCLOAK_ISSUER is required"},{status:400});if(!s)return i.NextResponse.json({error:"Missing Client ID",message:"KEYCLOAK_CLIENT_ID is required"},{status:400});if(!o)return i.NextResponse.json({error:"Missing Realm",message:"KEYCLOAK_REALM is required"},{status:400});console.log("Environment variables check:",{hasKeycloakUrl:!!e,keycloakUrl:e,hasClientId:!!s,clientId:s,hasClientSecret:!!r,hasAdminUsername:!!t,hasAdminPassword:!!n,realm:o});let a=`${e}/realms/${o}/protocol/openid-connect/token`,c=new URLSearchParams;if(r)c.append("client_id",s),c.append("client_secret",r),c.append("grant_type","client_credentials"),console.log("Using client credentials flow");else{if(!t||!n)return i.NextResponse.json({error:"Missing authentication credentials",message:"Either client_secret or admin username/password is required"},{status:400});c.append("client_id",s),c.append("username",t),c.append("password",n),c.append("grant_type","password"),console.log("Using password grant flow")}console.log(`Testing authentication to: ${a}`);let p=await fetch(a,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:c});console.log(`Response status: ${p.status}`);let u=await p.json();if(!p.ok)return console.error("Authentication error:",u),i.NextResponse.json({error:"Authentication failed",details:u,requestedUrl:a,clientId:s,grantType:c.get("grant_type")},{status:p.status});return i.NextResponse.json({success:!0,tokenType:u.token_type,expiresIn:u.expires_in,hasAccessToken:!!u.access_token,hasRefreshToken:!!u.refresh_token})}catch(e){return console.error("Error testing Keycloak connection:",e),i.NextResponse.json({error:"Failed to test Keycloak connection",message:e instanceof Error?e.message:String(e)},{status:500})}}let p=new n.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/auth/debug-keycloak/route",pathname:"/api/auth/debug-keycloak",filename:"route",bundlePath:"app/api/auth/debug-keycloak/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/auth/debug-keycloak/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:u,workUnitAsyncStorage:d,serverHooks:l}=p;function g(){return(0,a.patchFetch)({workAsyncStorage:u,workUnitAsyncStorage:d})}},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},96487:()=>{}};var s=require("../../../../webpack-runtime.js");s.C(e);var r=e=>s(s.s=e),t=s.X(0,[4243,580],()=>r(43012));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/auth/debug-keycloak/route.js.nft.json b/.next/server/app/api/auth/debug-keycloak/route.js.nft.json new file mode 100644 index 00000000..3bb0ac2e --- /dev/null +++ b/.next/server/app/api/auth/debug-keycloak/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/auth/debug-keycloak/route_client-reference-manifest.js b/.next/server/app/api/auth/debug-keycloak/route_client-reference-manifest.js new file mode 100644 index 00000000..c81d741c --- /dev/null +++ b/.next/server/app/api/auth/debug-keycloak/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/debug-keycloak/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/auth/[...nextauth]/route":[],"/Users/alma/Documents/NeahNew/app/api/auth/debug-keycloak/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/auth/refresh-keycloak-session/route.js b/.next/server/app/api/auth/refresh-keycloak-session/route.js new file mode 100644 index 00000000..0e08ddc0 --- /dev/null +++ b/.next/server/app/api/auth/refresh-keycloak-session/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=4781,e.ids=[4781],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var o=s(1926),n=s(10591);function t(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,o.A)({clientId:t("KEYCLOAK_CLIENT_ID"),clientSecret:t("KEYCLOAK_CLIENT_SECRET"),issuer:t("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let o=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=o,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,n.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let o=e.accessTokenExpires;if(o&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},68125:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>h,routeModule:()=>d,serverHooks:()=>f,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>k});var o={};s.r(o),s.d(o,{GET:()=>u});var n=s(96559),t=s(48088),i=s(37719),a=s(32190),c=s(35426),l=s(26690);async function u(e){try{let e=await (0,c.getServerSession)(l.N);if(!e?.accessToken||!e?.refreshToken)return a.NextResponse.json({error:"No active session"},{status:401});let r=process.env.KEYCLOAK_ISSUER,s=process.env.KEYCLOAK_CLIENT_ID,o=process.env.KEYCLOAK_CLIENT_SECRET;if(!r||!s||!o)return a.NextResponse.json({error:"Keycloak configuration missing"},{status:500});let n=await fetch(`${r}/protocol/openid-connect/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:s,client_secret:o,grant_type:"refresh_token",refresh_token:e.refreshToken})});if(!n.ok){let e=await n.json().catch(()=>({}));if(console.error("Failed to refresh Keycloak session:",e),"invalid_grant"===e.error||e.error_description?.includes("Token is not active")||e.error_description?.includes("Session not active"))return a.NextResponse.json({error:"SessionInvalidated",message:"Keycloak session was invalidated. Please sign in again.",details:e},{status:401});return a.NextResponse.json({error:"Failed to refresh Keycloak session",details:e},{status:n.status})}return await n.json(),a.NextResponse.json({success:!0,message:"Keycloak session refreshed"})}catch(e){return console.error("Error refreshing Keycloak session:",e),a.NextResponse.json({error:"Internal server error"},{status:500})}}let d=new n.AppRouteRouteModule({definition:{kind:t.RouteKind.APP_ROUTE,page:"/api/auth/refresh-keycloak-session/route",pathname:"/api/auth/refresh-keycloak-session",filename:"route",bundlePath:"app/api/auth/refresh-keycloak-session/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/auth/refresh-keycloak-session/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:p,workUnitAsyncStorage:k,serverHooks:f}=d;function h(){return(0,i.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:k})}},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),o=r.X(0,[4243,5419,580],()=>s(68125));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/auth/refresh-keycloak-session/route.js.nft.json b/.next/server/app/api/auth/refresh-keycloak-session/route.js.nft.json new file mode 100644 index 00000000..6583ffd3 --- /dev/null +++ b/.next/server/app/api/auth/refresh-keycloak-session/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/auth/refresh-keycloak-session/route_client-reference-manifest.js b/.next/server/app/api/auth/refresh-keycloak-session/route_client-reference-manifest.js new file mode 100644 index 00000000..60dbd1ce --- /dev/null +++ b/.next/server/app/api/auth/refresh-keycloak-session/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/auth/refresh-keycloak-session/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/auth/[...nextauth]/route":[],"/Users/alma/Documents/NeahNew/app/api/auth/refresh-keycloak-session/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/calendar/route.js b/.next/server/app/api/calendar/route.js new file mode 100644 index 00000000..4364fa19 --- /dev/null +++ b/.next/server/app/api/calendar/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=1948,e.ids=[1948],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>i});var t=s(1926),n=s(10591);function o(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function a(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let i={providers:[(0,t.A)({clientId:o("KEYCLOAK_CLIENT_ID"),clientSecret:o("KEYCLOAK_CLIENT_SECRET"),issuer:o("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,n.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},93052:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>T,routeModule:()=>m,serverHooks:()=>g,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>h});var t={};s.r(t),s.d(t,{DELETE:()=>k,GET:()=>d,POST:()=>p,PUT:()=>f});var n=s(96559),o=s(48088),a=s(37719),i=s(32190),c=s(35426),l=s(26690);let u=new(s(96330)).PrismaClient;async function d(e){try{let r=await (0,c.getServerSession)(l.N);if(!r)return i.NextResponse.json({error:"Unauthorized"},{status:401});let{searchParams:s}=new URL(e.url),t=s.get("start"),n=s.get("end"),o=await u.calendar.findMany({where:{userId:r.user.id}}),a=(await u.event.findMany({where:{calendarId:{in:o.map(e=>e.id)},...t&&n?{start:{gte:new Date(t)},end:{lte:new Date(n)}}:{}},include:{calendar:!0},orderBy:{start:"asc"}})).map(e=>({...e,calendarColor:e.calendar.color,calendarName:e.calendar.name,calendar:void 0}));return i.NextResponse.json(a)}catch(e){return console.error("Error fetching events:",e),i.NextResponse.json({error:"Erreur lors du chargement des \xe9v\xe9nements"},{status:500})}}async function p(e){try{let r=await (0,c.getServerSession)(l.N);if(!r?.user)return i.NextResponse.json({error:"Non autoris\xe9"},{status:401});let s=await e.json(),{title:t,description:n,start:o,end:a,location:d,calendarId:p}=s,f=await u.event.create({data:{title:t,description:n,start:new Date(o),end:new Date(a),isAllDay:s.allDay||!1,location:d||null,calendarId:p,userId:r.user.id}});return i.NextResponse.json(f)}catch(e){return console.error("Error creating event:",e),i.NextResponse.json({error:"Erreur lors de la cr\xe9ation de l'\xe9v\xe9nement"},{status:500})}}async function f(e){try{if(!await (0,c.getServerSession)(l.N))return i.NextResponse.json({error:"Unauthorized"},{status:401});let{id:r,...s}=await e.json(),t=await u.event.update({where:{id:r},data:s});return i.NextResponse.json(t)}catch(e){return console.error("Error updating event:",e),i.NextResponse.json({error:"Error updating event"},{status:500})}}async function k(e){try{if(!await (0,c.getServerSession)(l.N))return i.NextResponse.json({error:"Unauthorized"},{status:401});let{searchParams:r}=new URL(e.url),s=r.get("id");if(!s)return i.NextResponse.json({error:"Event ID is required"},{status:400});return await u.event.delete({where:{id:s}}),i.NextResponse.json({success:!0})}catch(e){return console.error("Error deleting event:",e),i.NextResponse.json({error:"Error deleting event"},{status:500})}}let m=new n.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/calendar/route",pathname:"/api/calendar",filename:"route",bundlePath:"app/api/calendar/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/calendar/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:v,workUnitAsyncStorage:h,serverHooks:g}=m;function T(){return(0,a.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:h})}},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580],()=>s(93052));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/calendar/route.js.nft.json b/.next/server/app/api/calendar/route.js.nft.json new file mode 100644 index 00000000..260fda81 --- /dev/null +++ b/.next/server/app/api/calendar/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../.env","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4243.js","../../../chunks/5419.js","../../../chunks/580.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/calendar/route_client-reference-manifest.js b/.next/server/app/api/calendar/route_client-reference-manifest.js new file mode 100644 index 00000000..faa38a55 --- /dev/null +++ b/.next/server/app/api/calendar/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/calendar/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/calendar/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/calendars/[id]/events/[eventId]/route.js b/.next/server/app/api/calendars/[id]/events/[eventId]/route.js new file mode 100644 index 00000000..35eedcdf --- /dev/null +++ b/.next/server/app/api/calendars/[id]/events/[eventId]/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=2091,e.ids=[2091],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>n});var t=s(70762);let n=t.z.object({NODE_ENV:t.z.enum(["development","test","production"]).default("development"),DATABASE_URL:t.z.string().url(),NEWSDB_URL:t.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:t.z.string().url(),KEYCLOAK_CLIENT_ID:t.z.string(),KEYCLOAK_CLIENT_SECRET:t.z.string(),KEYCLOAK_REALM:t.z.string(),KEYCLOAK_ISSUER:t.z.string().url(),LEANTIME_TOKEN:t.z.string(),LEANTIME_API_URL:t.z.string().url(),ROCKET_CHAT_TOKEN:t.z.string(),ROCKET_CHAT_USER_ID:t.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var t=s(1926),n=s(10591);function o(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,t.A)({clientId:o("KEYCLOAK_CLIENT_ID"),clientSecret:o("KEYCLOAK_CLIENT_SECRET"),issuer:o("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,n.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>o});var t=s(96330),n=s(25037);let o=globalThis.prisma||new t.PrismaClient({datasources:{db:{url:n._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},95983:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>T,routeModule:()=>v,serverHooks:()=>_,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>k});var t={};s.r(t),s.d(t,{DELETE:()=>f,GET:()=>d,PUT:()=>p});var n=s(96559),o=s(48088),i=s(37719),a=s(32190),u=s(35426),c=s(26690),l=s(79464);async function d(e,r){let s=await r.params,t=await (0,u.getServerSession)(c.N);if(!t?.user?.username)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let e=await l.z.calendar.findUnique({where:{id:s.id}});if(!e)return a.NextResponse.json({error:"Calendrier non trouv\xe9"},{status:404});if(e.userId!==t.user.username)return a.NextResponse.json({error:"Non autoris\xe9"},{status:403});let r=await l.z.event.findUnique({where:{id:s.eventId}});if(!r)return a.NextResponse.json({error:"\xc9v\xe9nement non trouv\xe9"},{status:404});if(r.calendarId!==s.id)return a.NextResponse.json({error:"\xc9v\xe9nement non trouv\xe9 dans ce calendrier"},{status:404});return a.NextResponse.json(r)}catch(e){return console.error("Erreur lors de la r\xe9cup\xe9ration de l'\xe9v\xe9nement:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}async function p(e,r){let s=await r.params,t=await (0,u.getServerSession)(c.N);if(!t?.user?.username)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let r=await l.z.calendar.findUnique({where:{id:s.id}});if(!r)return a.NextResponse.json({error:"Calendrier non trouv\xe9"},{status:404});if(r.userId!==t.user.username)return a.NextResponse.json({error:"Non autoris\xe9"},{status:403});let n=await l.z.event.findUnique({where:{id:s.eventId}});if(!n)return a.NextResponse.json({error:"\xc9v\xe9nement non trouv\xe9"},{status:404});if(n.calendarId!==s.id)return a.NextResponse.json({error:"\xc9v\xe9nement non trouv\xe9 dans ce calendrier"},{status:404});let{title:o,description:i,start:u,end:c,location:d,isAllDay:p}=await e.json();if(!o)return a.NextResponse.json({error:"Le titre est requis"},{status:400});if(!u||!c)return a.NextResponse.json({error:"Les dates de d\xe9but et de fin sont requises"},{status:400});let f=await l.z.event.update({where:{id:s.eventId},data:{title:o,description:i,start:new Date(u),end:new Date(c),location:d,isAllDay:p||!1}});return a.NextResponse.json(f)}catch(e){return console.error("Erreur lors de la mise \xe0 jour de l'\xe9v\xe9nement:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}async function f(e,r){let s=await r.params,t=await (0,u.getServerSession)(c.N);if(!t?.user?.username)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let e=await l.z.calendar.findUnique({where:{id:s.id}});if(!e)return a.NextResponse.json({error:"Calendrier non trouv\xe9"},{status:404});if(e.userId!==t.user.username)return a.NextResponse.json({error:"Non autoris\xe9"},{status:403});let r=await l.z.event.findUnique({where:{id:s.eventId}});if(!r)return a.NextResponse.json({error:"\xc9v\xe9nement non trouv\xe9"},{status:404});if(r.calendarId!==s.id)return a.NextResponse.json({error:"\xc9v\xe9nement non trouv\xe9 dans ce calendrier"},{status:404});return await l.z.event.delete({where:{id:s.eventId}}),new a.NextResponse(null,{status:204})}catch(e){return console.error("Erreur lors de la suppression de l'\xe9v\xe9nement:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}let v=new n.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/calendars/[id]/events/[eventId]/route",pathname:"/api/calendars/[id]/events/[eventId]",filename:"route",bundlePath:"app/api/calendars/[id]/events/[eventId]/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/calendars/[id]/events/[eventId]/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:m,workUnitAsyncStorage:k,serverHooks:_}=v;function T(){return(0,i.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:k})}},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580,762],()=>s(95983));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/calendars/[id]/events/[eventId]/route.js.nft.json b/.next/server/app/api/calendars/[id]/events/[eventId]/route.js.nft.json new file mode 100644 index 00000000..780ae25e --- /dev/null +++ b/.next/server/app/api/calendars/[id]/events/[eventId]/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../../.env","../../../../../../../../node_modules/.prisma/client/default.js","../../../../../../../../node_modules/.prisma/client/index.js","../../../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../../../node_modules/.prisma/client/package.json","../../../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../../../node_modules/@prisma/client/default.js","../../../../../../../../node_modules/@prisma/client/package.json","../../../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../package.json","../../../../../../../package.json","../../../../../../chunks/4243.js","../../../../../../chunks/5419.js","../../../../../../chunks/580.js","../../../../../../chunks/762.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/calendars/[id]/events/[eventId]/route_client-reference-manifest.js b/.next/server/app/api/calendars/[id]/events/[eventId]/route_client-reference-manifest.js new file mode 100644 index 00000000..f8dcd296 --- /dev/null +++ b/.next/server/app/api/calendars/[id]/events/[eventId]/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/calendars/[id]/events/[eventId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/calendars/route":[],"/Users/alma/Documents/NeahNew/app/api/calendars/[id]/route":[],"/Users/alma/Documents/NeahNew/app/api/calendars/[id]/events/route":[],"/Users/alma/Documents/NeahNew/app/api/calendars/[id]/events/[eventId]/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/calendars/[id]/events/route.js b/.next/server/app/api/calendars/[id]/events/route.js new file mode 100644 index 00000000..9b7be7ad --- /dev/null +++ b/.next/server/app/api/calendars/[id]/events/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=8105,e.ids=[8105],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},17180:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>v,routeModule:()=>f,serverHooks:()=>_,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>k});var t={};s.r(t),s.d(t,{GET:()=>d,POST:()=>p});var n=s(96559),o=s(48088),a=s(37719),i=s(32190),c=s(35426),l=s(26690),u=s(79464);async function d(e,r){let s=await r.params,t=await (0,c.getServerSession)(l.N);if(!t?.user?.username)return i.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let r=await u.z.calendar.findUnique({where:{id:s.id}});if(!r)return i.NextResponse.json({error:"Calendrier non trouv\xe9"},{status:404});if(r.userId!==t.user.username)return i.NextResponse.json({error:"Non autoris\xe9"},{status:403});let{searchParams:n}=new URL(e.url),o=n.get("start"),a=n.get("end"),c={calendarId:s.id};o&&a&&(c.AND=[{start:{lte:new Date(a)}},{end:{gte:new Date(o)}}]);let l=await u.z.event.findMany({where:c,orderBy:{start:"asc"}});return i.NextResponse.json(l)}catch(e){return console.error("Erreur lors de la r\xe9cup\xe9ration des \xe9v\xe9nements:",e),i.NextResponse.json({error:"Erreur serveur"},{status:500})}}async function p(e,r){let s=await r.params,t=await (0,c.getServerSession)(l.N);if(!t?.user?.username)return i.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let r=await u.z.calendar.findUnique({where:{id:s.id}});if(!r)return i.NextResponse.json({error:"Calendrier non trouv\xe9"},{status:404});if(r.userId!==t.user.username)return i.NextResponse.json({error:"Non autoris\xe9"},{status:403});let{title:n,description:o,start:a,end:c,location:l,isAllDay:d}=await e.json();if(!n)return i.NextResponse.json({error:"Le titre est requis"},{status:400});if(!a||!c)return i.NextResponse.json({error:"Les dates de d\xe9but et de fin sont requises"},{status:400});let p=await u.z.event.create({data:{title:n,description:o,start:new Date(a),end:new Date(c),location:l,isAllDay:d||!1,calendarId:s.id,userId:t.user.username}});return i.NextResponse.json(p,{status:201})}catch(e){return console.error("Erreur lors de la cr\xe9ation de l'\xe9v\xe9nement:",e),i.NextResponse.json({error:"Erreur serveur"},{status:500})}}let f=new n.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/calendars/[id]/events/route",pathname:"/api/calendars/[id]/events",filename:"route",bundlePath:"app/api/calendars/[id]/events/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/calendars/[id]/events/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:m,workUnitAsyncStorage:k,serverHooks:_}=f;function v(){return(0,a.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:k})}},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>n});var t=s(70762);let n=t.z.object({NODE_ENV:t.z.enum(["development","test","production"]).default("development"),DATABASE_URL:t.z.string().url(),NEWSDB_URL:t.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:t.z.string().url(),KEYCLOAK_CLIENT_ID:t.z.string(),KEYCLOAK_CLIENT_SECRET:t.z.string(),KEYCLOAK_REALM:t.z.string(),KEYCLOAK_ISSUER:t.z.string().url(),LEANTIME_TOKEN:t.z.string(),LEANTIME_API_URL:t.z.string().url(),ROCKET_CHAT_TOKEN:t.z.string(),ROCKET_CHAT_USER_ID:t.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>i});var t=s(1926),n=s(10591);function o(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function a(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let i={providers:[(0,t.A)({clientId:o("KEYCLOAK_CLIENT_ID"),clientSecret:o("KEYCLOAK_CLIENT_SECRET"),issuer:o("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,n.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>o});var t=s(96330),n=s(25037);let o=globalThis.prisma||new t.PrismaClient({datasources:{db:{url:n._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580,762],()=>s(17180));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/calendars/[id]/events/route.js.nft.json b/.next/server/app/api/calendars/[id]/events/route.js.nft.json new file mode 100644 index 00000000..bd29bb7c --- /dev/null +++ b/.next/server/app/api/calendars/[id]/events/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../.env","../../../../../../../node_modules/.prisma/client/default.js","../../../../../../../node_modules/.prisma/client/index.js","../../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../../node_modules/.prisma/client/package.json","../../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../../node_modules/@prisma/client/default.js","../../../../../../../node_modules/@prisma/client/package.json","../../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/4243.js","../../../../../chunks/5419.js","../../../../../chunks/580.js","../../../../../chunks/762.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/calendars/[id]/events/route_client-reference-manifest.js b/.next/server/app/api/calendars/[id]/events/route_client-reference-manifest.js new file mode 100644 index 00000000..78b47786 --- /dev/null +++ b/.next/server/app/api/calendars/[id]/events/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/calendars/[id]/events/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/calendars/route":[],"/Users/alma/Documents/NeahNew/app/api/calendars/[id]/route":[],"/Users/alma/Documents/NeahNew/app/api/calendars/[id]/events/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/calendars/[id]/route.js b/.next/server/app/api/calendars/[id]/route.js new file mode 100644 index 00000000..e1b27662 --- /dev/null +++ b/.next/server/app/api/calendars/[id]/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=1311,e.ids=[1311],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},21071:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>E,routeModule:()=>k,serverHooks:()=>T,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>_});var t={};s.r(t),s.d(t,{DELETE:()=>f,GET:()=>d,PUT:()=>p});var o=s(96559),n=s(48088),i=s(37719),a=s(32190),c=s(35426),u=s(26690),l=s(79464);async function d(e,{params:r}){let s=await (0,c.getServerSession)(u.N);if(!s?.user?.username)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let{id:e}=await r,t=await l.z.calendar.findUnique({where:{id:e}});if(!t)return a.NextResponse.json({error:"Calendrier non trouv\xe9"},{status:404});if(t.userId!==s.user.username)return a.NextResponse.json({error:"Non autoris\xe9"},{status:403});return a.NextResponse.json(t)}catch(e){return console.error("Erreur lors de la r\xe9cup\xe9ration du calendrier:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}async function p(e,{params:r}){let s=await (0,c.getServerSession)(u.N);if(!s?.user?.username)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let{id:t}=await r,o=await l.z.calendar.findUnique({where:{id:t}});if(!o)return a.NextResponse.json({error:"Calendrier non trouv\xe9"},{status:404});if(o.userId!==s.user.username)return a.NextResponse.json({error:"Non autoris\xe9"},{status:403});let{name:n,color:i,description:c}=await e.json();if(!n)return a.NextResponse.json({error:"Le nom du calendrier est requis"},{status:400});let u=await l.z.calendar.update({where:{id:t},data:{name:n,color:i,description:c}});return a.NextResponse.json(u)}catch(e){return console.error("Erreur lors de la mise \xe0 jour du calendrier:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}async function f(e,{params:r}){let s=await (0,c.getServerSession)(u.N);if(!s?.user?.id)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let{id:e}=await r;if(!await l.z.calendar.findFirst({where:{id:e,userId:s.user.id}}))return a.NextResponse.json({error:"Calendrier non trouv\xe9 ou non autoris\xe9"},{status:404});return await l.z.calendar.delete({where:{id:e}}),a.NextResponse.json({success:!0})}catch(e){return console.error("Erreur lors de la suppression du calendrier:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}let k=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/calendars/[id]/route",pathname:"/api/calendars/[id]",filename:"route",bundlePath:"app/api/calendars/[id]/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/calendars/[id]/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:m,workUnitAsyncStorage:_,serverHooks:T}=k;function E(){return(0,i.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:_})}},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>o});var t=s(70762);let o=t.z.object({NODE_ENV:t.z.enum(["development","test","production"]).default("development"),DATABASE_URL:t.z.string().url(),NEWSDB_URL:t.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:t.z.string().url(),KEYCLOAK_CLIENT_ID:t.z.string(),KEYCLOAK_CLIENT_SECRET:t.z.string(),KEYCLOAK_REALM:t.z.string(),KEYCLOAK_ISSUER:t.z.string().url(),LEANTIME_TOKEN:t.z.string(),LEANTIME_API_URL:t.z.string().url(),ROCKET_CHAT_TOKEN:t.z.string(),ROCKET_CHAT_USER_ID:t.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var t=s(1926),o=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,t.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>n});var t=s(96330),o=s(25037);let n=globalThis.prisma||new t.PrismaClient({datasources:{db:{url:o._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580,762],()=>s(21071));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/calendars/[id]/route.js.nft.json b/.next/server/app/api/calendars/[id]/route.js.nft.json new file mode 100644 index 00000000..b5ee2f6e --- /dev/null +++ b/.next/server/app/api/calendars/[id]/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/762.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/calendars/[id]/route_client-reference-manifest.js b/.next/server/app/api/calendars/[id]/route_client-reference-manifest.js new file mode 100644 index 00000000..25f86898 --- /dev/null +++ b/.next/server/app/api/calendars/[id]/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/calendars/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/calendars/route":[],"/Users/alma/Documents/NeahNew/app/api/calendars/[id]/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/calendars/[id]/share/route.js b/.next/server/app/api/calendars/[id]/share/route.js new file mode 100644 index 00000000..2d05d843 --- /dev/null +++ b/.next/server/app/api/calendars/[id]/share/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=971,e.ids=[971],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>t});var o=s(70762);let t=o.z.object({NODE_ENV:o.z.enum(["development","test","production"]).default("development"),DATABASE_URL:o.z.string().url(),NEWSDB_URL:o.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:o.z.string().url(),KEYCLOAK_CLIENT_ID:o.z.string(),KEYCLOAK_CLIENT_SECRET:o.z.string(),KEYCLOAK_REALM:o.z.string(),KEYCLOAK_ISSUER:o.z.string().url(),LEANTIME_TOKEN:o.z.string(),LEANTIME_API_URL:o.z.string().url(),ROCKET_CHAT_TOKEN:o.z.string(),ROCKET_CHAT_USER_ID:o.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var o=s(1926),t=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,o.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let o=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=o,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,t.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let o=e.accessTokenExpires;if(o&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49144:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>g,routeModule:()=>k,serverHooks:()=>T,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>m});var o={};s.r(o),s.d(o,{POST:()=>_});var t=s(96559),n=s(48088),i=s(37719),a=s(32190),c=s(35426),l=s(26690),u=s(79464),d=s(55511),p=s.n(d);async function _(e,r){let s=await r.params,o=await (0,c.getServerSession)(l.N);if(!o?.user?.username)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let e=await u.z.calendar.findUnique({where:{id:s.id}});if(!e)return a.NextResponse.json({error:"Calendrier non trouv\xe9"},{status:404});if(e.userId!==o.user.username)return a.NextResponse.json({error:"Non autoris\xe9"},{status:403});let r=p().randomBytes(32).toString("hex"),t=`${process.env.NEXT_PUBLIC_BASE_URL}/calendars/shared/${r}`;return a.NextResponse.json({shareUrl:t,shareToken:r})}catch(e){return console.error("Erreur lors de la cr\xe9ation du lien de partage:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}let k=new t.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/calendars/[id]/share/route",pathname:"/api/calendars/[id]/share",filename:"route",bundlePath:"app/api/calendars/[id]/share/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/calendars/[id]/share/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:f,workUnitAsyncStorage:m,serverHooks:T}=k;function g(){return(0,i.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:m})}},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>n});var o=s(96330),t=s(25037);let n=globalThis.prisma||new o.PrismaClient({datasources:{db:{url:t._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),o=r.X(0,[4243,5419,580,762],()=>s(49144));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/calendars/[id]/share/route.js.nft.json b/.next/server/app/api/calendars/[id]/share/route.js.nft.json new file mode 100644 index 00000000..bd29bb7c --- /dev/null +++ b/.next/server/app/api/calendars/[id]/share/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../.env","../../../../../../../node_modules/.prisma/client/default.js","../../../../../../../node_modules/.prisma/client/index.js","../../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../../node_modules/.prisma/client/package.json","../../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../../node_modules/@prisma/client/default.js","../../../../../../../node_modules/@prisma/client/package.json","../../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/4243.js","../../../../../chunks/5419.js","../../../../../chunks/580.js","../../../../../chunks/762.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/calendars/[id]/share/route_client-reference-manifest.js b/.next/server/app/api/calendars/[id]/share/route_client-reference-manifest.js new file mode 100644 index 00000000..aee18d25 --- /dev/null +++ b/.next/server/app/api/calendars/[id]/share/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/calendars/[id]/share/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/calendars/route":[],"/Users/alma/Documents/NeahNew/app/api/calendars/[id]/route":[],"/Users/alma/Documents/NeahNew/app/api/calendars/[id]/share/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/calendars/default/route.js b/.next/server/app/api/calendars/default/route.js new file mode 100644 index 00000000..ce94f958 --- /dev/null +++ b/.next/server/app/api/calendars/default/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=2481,e.ids=[2481],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>t});var o=s(70762);let t=o.z.object({NODE_ENV:o.z.enum(["development","test","production"]).default("development"),DATABASE_URL:o.z.string().url(),NEWSDB_URL:o.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:o.z.string().url(),KEYCLOAK_CLIENT_ID:o.z.string(),KEYCLOAK_CLIENT_SECRET:o.z.string(),KEYCLOAK_REALM:o.z.string(),KEYCLOAK_ISSUER:o.z.string().url(),LEANTIME_TOKEN:o.z.string(),LEANTIME_API_URL:o.z.string().url(),ROCKET_CHAT_TOKEN:o.z.string(),ROCKET_CHAT_USER_ID:o.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var o=s(1926),t=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,o.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let o=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=o,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,t.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let o=e.accessTokenExpires;if(o&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>n});var o=s(96330),t=s(25037);let n=globalThis.prisma||new o.PrismaClient({datasources:{db:{url:t._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},87673:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>_,routeModule:()=>p,serverHooks:()=>m,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>k});var o={};s.r(o),s.d(o,{POST:()=>d});var t=s(96559),n=s(48088),i=s(37719),a=s(32190),c=s(35426),l=s(26690),u=s(79464);async function d(e){let r=await (0,c.getServerSession)(l.N);if(!r?.user?.username)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let e=await u.z.calendar.findFirst({where:{userId:r.user.username,name:"Calendrier principal"}});if(e)return a.NextResponse.json(e);let s=await u.z.calendar.create({data:{name:"Calendrier principal",color:"#0082c9",description:"Calendrier principal",userId:r.user.username}});return a.NextResponse.json(s,{status:201})}catch(e){return console.error("Erreur lors de la cr\xe9ation du calendrier par d\xe9faut:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}let p=new t.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/calendars/default/route",pathname:"/api/calendars/default",filename:"route",bundlePath:"app/api/calendars/default/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/calendars/default/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:f,workUnitAsyncStorage:k,serverHooks:m}=p;function _(){return(0,i.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:k})}},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),o=r.X(0,[4243,5419,580,762],()=>s(87673));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/calendars/default/route.js.nft.json b/.next/server/app/api/calendars/default/route.js.nft.json new file mode 100644 index 00000000..b5ee2f6e --- /dev/null +++ b/.next/server/app/api/calendars/default/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/762.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/calendars/default/route_client-reference-manifest.js b/.next/server/app/api/calendars/default/route_client-reference-manifest.js new file mode 100644 index 00000000..72cac809 --- /dev/null +++ b/.next/server/app/api/calendars/default/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/calendars/default/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/calendars/route":[],"/Users/alma/Documents/NeahNew/app/api/calendars/default/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/calendars/route.js b/.next/server/app/api/calendars/route.js new file mode 100644 index 00000000..b3cedfaf --- /dev/null +++ b/.next/server/app/api/calendars/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=3731,e.ids=[3731],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},14985:e=>{"use strict";e.exports=require("dns")},21820:e=>{"use strict";e.exports=require("os")},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>o});var t=s(70762);let o=t.z.object({NODE_ENV:t.z.enum(["development","test","production"]).default("development"),DATABASE_URL:t.z.string().url(),NEWSDB_URL:t.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:t.z.string().url(),KEYCLOAK_CLIENT_ID:t.z.string(),KEYCLOAK_CLIENT_SECRET:t.z.string(),KEYCLOAK_REALM:t.z.string(),KEYCLOAK_ISSUER:t.z.string().url(),LEANTIME_TOKEN:t.z.string(),LEANTIME_API_URL:t.z.string().url(),ROCKET_CHAT_TOKEN:t.z.string(),ROCKET_CHAT_USER_ID:t.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var t=s(1926),o=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,t.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},34631:e=>{"use strict";e.exports=require("tls")},41204:e=>{"use strict";e.exports=require("string_decoder")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>n});var t=s(96330),o=s(25037);let n=globalThis.prisma||new t.PrismaClient({datasources:{db:{url:o._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},83997:e=>{"use strict";e.exports=require("tty")},91645:e=>{"use strict";e.exports=require("net")},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{},98082:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>T,routeModule:()=>k,serverHooks:()=>g,workAsyncStorage:()=>_,workUnitAsyncStorage:()=>m});var t={};s.r(t),s.d(t,{GET:()=>p,POST:()=>f});var o=s(96559),n=s(48088),i=s(37719),a=s(32190),c=s(35426),l=s(26690),u=s(79464),d=s(36781);async function p(e){let r=await (0,c.getServerSession)(l.N);if(!r?.user?.id)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let s=new URL(e.url);if("true"!==s.searchParams.get("refresh")){let e=await (0,d.FD)(r.user.id);if(e)return console.log(`Using cached calendar data for user ${r.user.id}`),a.NextResponse.json(e)}console.log(`Fetching calendar data from database for user ${r.user.id}`);let t=await u.z.calendar.findMany({where:{userId:r.user.id},include:{events:{orderBy:{start:"asc"}}},orderBy:{createdAt:"desc"}});return console.log("Fetched calendars with events:",t),await (0,d.$)(r.user.id,t),a.NextResponse.json(t)}catch(e){return console.error("Erreur lors de la r\xe9cup\xe9ration des calendriers:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}async function f(e){let r=await (0,c.getServerSession)(l.N);if(!r?.user?.id)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let{name:s,color:t,description:o}=await e.json();if(!s)return a.NextResponse.json({error:"Le nom du calendrier est requis"},{status:400});let n=await u.z.calendar.create({data:{name:s,color:t||"#0082c9",description:o,userId:r.user.id}});return a.NextResponse.json(n,{status:201})}catch(e){return console.error("Erreur lors de la cr\xe9ation du calendrier:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}let k=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/calendars/route",pathname:"/api/calendars",filename:"route",bundlePath:"app/api/calendars/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/calendars/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:_,workUnitAsyncStorage:m,serverHooks:g}=k;function T(){return(0,i.patchFetch)({workAsyncStorage:_,workUnitAsyncStorage:m})}}};var r=require("../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580,8794,1642,762,6781],()=>s(98082));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/calendars/route.js.nft.json b/.next/server/app/api/calendars/route.js.nft.json new file mode 100644 index 00000000..915ea70b --- /dev/null +++ b/.next/server/app/api/calendars/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../.env","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1642.js","../../../chunks/4243.js","../../../chunks/5419.js","../../../chunks/580.js","../../../chunks/6781.js","../../../chunks/762.js","../../../chunks/8794.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/calendars/route_client-reference-manifest.js b/.next/server/app/api/calendars/route_client-reference-manifest.js new file mode 100644 index 00000000..92b9b235 --- /dev/null +++ b/.next/server/app/api/calendars/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/calendars/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/calendars/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/[id]/flag/route.js b/.next/server/app/api/courrier/[id]/flag/route.js new file mode 100644 index 00000000..a43bdd9e --- /dev/null +++ b/.next/server/app/api/courrier/[id]/flag/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=4072,e.ids=[4072],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>o.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>o.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>o.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>o.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>o.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>o.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>o.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>o.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>o.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>o.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>o.cE});var o=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a.default}});var s=t(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))});var a=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&({}).hasOwnProperty.call(e,a)){var u=s?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,t&&t.set(e,o),o}(t(35426));function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}Object.keys(a).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===a[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},42001:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>g,routeModule:()=>l,serverHooks:()=>q,workAsyncStorage:()=>b,workUnitAsyncStorage:()=>x});var o={};t.r(o),t.d(o,{POST:()=>f});var s=t(96559),a=t(48088),n=t(37719),u=t(32190),i=t(19854),p=t(26690),c=t(87795),d=t(36781);async function f(e,r){try{let t=await (0,i.getServerSession)(p.N);if(!t||!t.user?.id)return u.NextResponse.json({error:"Not authenticated"},{status:401});let o=await r.params,s=o?.id;if(!s)return u.NextResponse.json({error:"Missing email ID"},{status:400});let{flagged:a,folder:n,accountId:f}=await e.json();if("boolean"!=typeof a)return u.NextResponse.json({error:"Invalid 'flagged' parameter. Must be a boolean."},{status:400});let l=f||"default";if(!await (0,c.Nw)(t.user.id,s,a,n||"INBOX",l))return u.NextResponse.json({error:`Failed to ${a?"star":"unstar"} email`},{status:500});return await (0,d.nV)(t.user.id,l,s),u.NextResponse.json({success:!0})}catch(e){return console.error("Error in flag API:",e),u.NextResponse.json({error:"Internal server error",message:e.message},{status:500})}}let l=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/courrier/[id]/flag/route",pathname:"/api/courrier/[id]/flag",filename:"route",bundlePath:"app/api/courrier/[id]/flag/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/[id]/flag/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:b,workUnitAsyncStorage:x,serverHooks:q}=l;function g(){return(0,n.patchFetch)({workAsyncStorage:b,workUnitAsyncStorage:x})}},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(42001));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/[id]/flag/route.js.nft.json b/.next/server/app/api/courrier/[id]/flag/route.js.nft.json new file mode 100644 index 00000000..0a3c4173 --- /dev/null +++ b/.next/server/app/api/courrier/[id]/flag/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../.env","../../../../../../../node_modules/.prisma/client/default.js","../../../../../../../node_modules/.prisma/client/index.js","../../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../../node_modules/.prisma/client/package.json","../../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../../node_modules/@prisma/client/default.js","../../../../../../../node_modules/@prisma/client/package.json","../../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/1642.js","../../../../../chunks/2461.js","../../../../../chunks/4243.js","../../../../../chunks/4612.js","../../../../../chunks/5419.js","../../../../../chunks/580.js","../../../../../chunks/6365.js","../../../../../chunks/6624.js","../../../../../chunks/6724.js","../../../../../chunks/6781.js","../../../../../chunks/762.js","../../../../../chunks/8376.js","../../../../../chunks/8794.js","../../../../../chunks/9908.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/[id]/flag/route_client-reference-manifest.js b/.next/server/app/api/courrier/[id]/flag/route_client-reference-manifest.js new file mode 100644 index 00000000..1c1a8fdc --- /dev/null +++ b/.next/server/app/api/courrier/[id]/flag/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/[id]/flag/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/[id]/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/[id]/flag/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/[id]/mark-read/route.js b/.next/server/app/api/courrier/[id]/mark-read/route.js new file mode 100644 index 00000000..ca8aab36 --- /dev/null +++ b/.next/server/app/api/courrier/[id]/mark-read/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=9950,e.ids=[9950],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>a.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>a.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>a.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>a.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>a.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>a.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>a.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>a.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>a.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>a.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>a.cE});var a=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var a={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s.default}});var o=t(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(a,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var s=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&({}).hasOwnProperty.call(e,s)){var u=o?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(a,s,u):a[s]=e[s]}return a.default=e,t&&t.set(e,a),a}(t(35426));function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(a,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},48933:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>m,routeModule:()=>l,serverHooks:()=>q,workAsyncStorage:()=>b,workUnitAsyncStorage:()=>x});var a={};t.r(a),t.d(a,{POST:()=>f});var o=t(96559),s=t(48088),n=t(37719),u=t(32190),i=t(19854),p=t(26690),d=t(87795),c=t(36781);async function f(e,r){try{let t=await (0,i.getServerSession)(p.N);if(!t||!t.user?.id)return u.NextResponse.json({error:"Not authenticated"},{status:401});let a=await r.params,o=a?.id;if(!o)return u.NextResponse.json({error:"Missing email ID"},{status:400});let{isRead:s,folder:n,accountId:f}=await e.json();if("boolean"!=typeof s)return u.NextResponse.json({error:"Invalid 'isRead' parameter. Must be a boolean."},{status:400});let l=n||"INBOX",b=f||"default";if(!await (0,d.e9)(t.user.id,o,s,l,b))return u.NextResponse.json({error:`Failed to ${s?"mark email as read":"mark email as unread"}`},{status:500});return await (0,c.nV)(t.user.id,b,o),await (0,c.gU)(t.user.id,b,l),u.NextResponse.json({success:!0})}catch(e){return console.error("Error in mark-read API:",e),u.NextResponse.json({error:"Internal server error",message:e.message},{status:500})}}let l=new o.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/courrier/[id]/mark-read/route",pathname:"/api/courrier/[id]/mark-read",filename:"route",bundlePath:"app/api/courrier/[id]/mark-read/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/[id]/mark-read/route.ts",nextConfigOutput:"",userland:a}),{workAsyncStorage:b,workUnitAsyncStorage:x,serverHooks:q}=l;function m(){return(0,n.patchFetch)({workAsyncStorage:b,workUnitAsyncStorage:x})}},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),a=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(48933));module.exports=a})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/[id]/mark-read/route.js.nft.json b/.next/server/app/api/courrier/[id]/mark-read/route.js.nft.json new file mode 100644 index 00000000..0a3c4173 --- /dev/null +++ b/.next/server/app/api/courrier/[id]/mark-read/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../.env","../../../../../../../node_modules/.prisma/client/default.js","../../../../../../../node_modules/.prisma/client/index.js","../../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../../node_modules/.prisma/client/package.json","../../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../../node_modules/@prisma/client/default.js","../../../../../../../node_modules/@prisma/client/package.json","../../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/1642.js","../../../../../chunks/2461.js","../../../../../chunks/4243.js","../../../../../chunks/4612.js","../../../../../chunks/5419.js","../../../../../chunks/580.js","../../../../../chunks/6365.js","../../../../../chunks/6624.js","../../../../../chunks/6724.js","../../../../../chunks/6781.js","../../../../../chunks/762.js","../../../../../chunks/8376.js","../../../../../chunks/8794.js","../../../../../chunks/9908.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/[id]/mark-read/route_client-reference-manifest.js b/.next/server/app/api/courrier/[id]/mark-read/route_client-reference-manifest.js new file mode 100644 index 00000000..4fccd1a3 --- /dev/null +++ b/.next/server/app/api/courrier/[id]/mark-read/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/[id]/mark-read/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/[id]/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/[id]/mark-read/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/[id]/route.js b/.next/server/app/api/courrier/[id]/route.js new file mode 100644 index 00000000..2361532d --- /dev/null +++ b/.next/server/app/api/courrier/[id]/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=1571,e.ids=[1571],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>s.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>s.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>s.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>s.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>s.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>s.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>s.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>s.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>s.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>s.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>s.cE});var s=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var s={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a.default}});var o=t(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var a=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&({}).hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(s,a,i):s[a]=e[a]}return s.default=e,t&&t.set(e,s),s}(t(35426));function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}Object.keys(a).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===a[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},43162:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>q,routeModule:()=>x,serverHooks:()=>g,workAsyncStorage:()=>b,workUnitAsyncStorage:()=>m});var s={};t.r(s),t.d(s,{GET:()=>f,POST:()=>l});var o=t(96559),a=t(48088),n=t(37719),i=t(32190),u=t(19854),c=t(26690),d=t(87795),p=t(36781);async function f(e,r){try{let t=await (0,u.getServerSession)(c.N);if(!t||!t.user?.id)return i.NextResponse.json({error:"Not authenticated"},{status:401});let s=await r.params,o=s?.id;if(!o)return i.NextResponse.json({error:"Missing email ID"},{status:400});let{searchParams:a}=new URL(e.url),n=a.get("folder")||"INBOX",f=a.get("accountId");try{let e=await (0,p.Ij)(t.user.id,f||"default",o);if(e)return console.log(`Using cached email content for ${t.user.id}:${o}`),i.NextResponse.json(e);console.log(`Cache miss for email content ${t.user.id}:${o}, fetching from IMAP`);let r=await (0,d.Yg)(t.user.id,o,n,f||void 0);return i.NextResponse.json(r)}catch(e){return console.error("Error fetching email content:",e),i.NextResponse.json({error:"Failed to fetch email content",message:e.message},{status:500})}}catch(e){return console.error("Error in GET:",e),i.NextResponse.json({error:"Internal server error",message:e.message},{status:500})}}async function l(e,r){try{let t=await (0,u.getServerSession)(c.N);if(!t||!t.user?.id)return i.NextResponse.json({error:"Not authenticated"},{status:401});let s=await r.params,o=s?.id;if(!o)return i.NextResponse.json({error:"Missing email ID"},{status:400});let{action:a}=await e.json();if("mark-read"!==a&&"mark-unread"!==a)return i.NextResponse.json({error:"Invalid action. Supported actions: mark-read, mark-unread"},{status:400});let{searchParams:n}=new URL(e.url),f=n.get("folder")||"INBOX",l=n.get("accountId");if(!await (0,d.e9)(t.user.id,o,"mark-read"===a,f))return i.NextResponse.json({error:`Failed to ${"mark-read"===a?"mark email as read":"mark email as unread"}`},{status:500});return await (0,p.nV)(t.user.id,l||"default",o),i.NextResponse.json({success:!0})}catch(e){return console.error("Error in POST:",e),i.NextResponse.json({error:"Internal server error",message:e.message},{status:500})}}let x=new o.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/courrier/[id]/route",pathname:"/api/courrier/[id]",filename:"route",bundlePath:"app/api/courrier/[id]/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/[id]/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:b,workUnitAsyncStorage:m,serverHooks:g}=x;function q(){return(0,n.patchFetch)({workAsyncStorage:b,workUnitAsyncStorage:m})}},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(43162));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/[id]/route.js.nft.json b/.next/server/app/api/courrier/[id]/route.js.nft.json new file mode 100644 index 00000000..f1fec7d7 --- /dev/null +++ b/.next/server/app/api/courrier/[id]/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/[id]/route_client-reference-manifest.js b/.next/server/app/api/courrier/[id]/route_client-reference-manifest.js new file mode 100644 index 00000000..b5fe38bb --- /dev/null +++ b/.next/server/app/api/courrier/[id]/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/[id]/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/account-details/route.js b/.next/server/app/api/courrier/account-details/route.js new file mode 100644 index 00000000..dca4eb70 --- /dev/null +++ b/.next/server/app/api/courrier/account-details/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=2222,e.ids=[2222],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},19854:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=t(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=o?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(s,n,a):s[n]=e[n]}return s.default=e,t&&t.set(e,s),s}(t(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(i=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},20885:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>m,routeModule:()=>p,serverHooks:()=>k,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>_});var s={};t.r(s),t.d(s,{GET:()=>d});var o=t(96559),n=t(48088),i=t(37719),a=t(32190),c=t(19854),l=t(26690),u=t(79464);async function d(e){try{let r=await (0,c.getServerSession)(l.N);if(!r?.user?.id)return a.NextResponse.json({error:"Unauthorized"},{status:401});let{searchParams:t}=new URL(e.url),s=t.get("accountId");if(!s)return a.NextResponse.json({error:"Account ID is required"},{status:400});let o=await u.z.mailCredentials.findFirst({where:{id:s,userId:r.user.id},select:{id:!0,email:!0,host:!0,port:!0,secure:!0,display_name:!0,color:!0}});if(!o)return a.NextResponse.json({error:"Account not found"},{status:404});return a.NextResponse.json(o)}catch(e){return console.error("Error fetching account details:",e),a.NextResponse.json({error:"Failed to fetch account details",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let p=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/courrier/account-details/route",pathname:"/api/courrier/account-details",filename:"route",bundlePath:"app/api/courrier/account-details/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/account-details/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:f,workUnitAsyncStorage:_,serverHooks:k}=p;function m(){return(0,i.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:_})}},25037:(e,r,t)=>{"use strict";t.d(r,{_:()=>o});var s=t(70762);let o=s.z.object({NODE_ENV:s.z.enum(["development","test","production"]).default("development"),DATABASE_URL:s.z.string().url(),NEWSDB_URL:s.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:s.z.string().url(),KEYCLOAK_CLIENT_ID:s.z.string(),KEYCLOAK_CLIENT_SECRET:s.z.string(),KEYCLOAK_REALM:s.z.string(),KEYCLOAK_ISSUER:s.z.string().url(),LEANTIME_TOKEN:s.z.string(),LEANTIME_API_URL:s.z.string().url(),ROCKET_CHAT_TOKEN:s.z.string(),ROCKET_CHAT_USER_ID:s.z.string()}).parse(process.env)},26690:(e,r,t)=>{"use strict";t.d(r,{N:()=>a});var s=t(1926),o=t(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),t=await r.json();if(!r.ok){if("invalid_grant"===t.error||t.error_description?.includes("Session not active")||t.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw t}return{...e,accessToken:t.access_token,refreshToken:t.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*t.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,s.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let t=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",t),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:t}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:t}){if(r&&t){let s=(t.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=t.sub,e.role=s,e.username=t.preferred_username??"",e.first_name=t.given_name??"",e.last_name=t.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let s=e.accessTokenExpires;if(s&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,t)=>{"use strict";t.d(r,{z:()=>n});var s=t(96330),o=t(25037);let n=globalThis.prisma||new s.PrismaClient({datasources:{db:{url:o._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580,762],()=>t(20885));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/account-details/route.js.nft.json b/.next/server/app/api/courrier/account-details/route.js.nft.json new file mode 100644 index 00000000..b5ee2f6e --- /dev/null +++ b/.next/server/app/api/courrier/account-details/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/762.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/account-details/route_client-reference-manifest.js b/.next/server/app/api/courrier/account-details/route_client-reference-manifest.js new file mode 100644 index 00000000..7d2a6d29 --- /dev/null +++ b/.next/server/app/api/courrier/account-details/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/account-details/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/account-details/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/account-folders/route.js b/.next/server/app/api/courrier/account-folders/route.js new file mode 100644 index 00000000..1d8f593c --- /dev/null +++ b/.next/server/app/api/courrier/account-folders/route.js @@ -0,0 +1,5 @@ +"use strict";(()=>{var e={};e.id=5063,e.ids=[5063],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>o.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>o.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>o.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>o.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>o.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>o.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>o.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>o.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>o.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>o.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>o.cE});var o=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s.default}});var a=t(12269);Object.keys(a).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===a[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))});var s=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&({}).hasOwnProperty.call(e,s)){var i=a?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(o,s,i):o[s]=e[s]}return o.default=e,t&&t.set(e,o),o}(t(35426));function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))})},21820:e=>{e.exports=require("os")},26683:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>w,routeModule:()=>x,serverHooks:()=>m,workAsyncStorage:()=>b,workUnitAsyncStorage:()=>h});var o={};t.r(o),t.d(o,{GET:()=>f});var a=t(96559),s=t(48088),n=t(37719),i=t(32190),u=t(19854),c=t(26690),d=t(87795),p=t(12461),l=t(79464);async function f(e){let r=await (0,u.getServerSession)(c.N);if(!r?.user?.id)return i.NextResponse.json({error:"Unauthorized"},{status:401});let{searchParams:t}=new URL(e.url),o=t.get("accountId"),a=r.user.id;try{if(o){let e=await l.z.mailCredentials.findFirst({where:{id:o,userId:a},select:{email:!0,password:!0,host:!0,port:!0}});if(!e)return i.NextResponse.json({error:"Account not found"},{status:404});let r=new p._({host:e.host,port:e.port,secure:!0,auth:{user:e.email,pass:e.password||void 0},logger:!1,tls:{rejectUnauthorized:!1}});try{await r.connect();let t=await (0,d.nJ)(r);return await r.logout(),i.NextResponse.json({accountId:o,email:e.email,folders:t})}catch(e){return i.NextResponse.json({error:"Failed to connect to IMAP server",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}{let e=await l.z.mailCredentials.findMany({where:{userId:a},select:{id:!0,email:!0,password:!0,host:!0,port:!0}});if(0===e.length)return i.NextResponse.json({accounts:[]});let r=await Promise.all(e.map(async e=>{try{let r=new p._({host:e.host,port:e.port,secure:!0,auth:{user:e.email,pass:e.password||void 0},logger:!1,tls:{rejectUnauthorized:!1}});await r.connect();let t=await (0,d.nJ)(r);await r.logout();let o=await l.z.$queryRaw` + SELECT display_name, color + FROM "MailCredentials" + WHERE id = ${e.id} + `,a=Array.isArray(o)&&o.length>0?o[0]:{};return{id:e.id,email:e.email,display_name:a.display_name||e.email,color:a.color||"#0082c9",folders:t}}catch(r){return console.error(`Error fetching folders for account ${e.email}:`,r),{id:e.id,email:e.email,folders:["INBOX","Sent","Drafts","Trash"]}}}));return i.NextResponse.json({accounts:r})}}catch(e){return i.NextResponse.json({error:"Failed to get account folders",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let x=new a.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/courrier/account-folders/route",pathname:"/api/courrier/account-folders",filename:"route",bundlePath:"app/api/courrier/account-folders/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/account-folders/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:b,workUnitAsyncStorage:h,serverHooks:m}=x;function w(){return(0,n.patchFetch)({workAsyncStorage:b,workUnitAsyncStorage:h})}},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(26683));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/account-folders/route.js.nft.json b/.next/server/app/api/courrier/account-folders/route.js.nft.json new file mode 100644 index 00000000..f1fec7d7 --- /dev/null +++ b/.next/server/app/api/courrier/account-folders/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/account-folders/route_client-reference-manifest.js b/.next/server/app/api/courrier/account-folders/route_client-reference-manifest.js new file mode 100644 index 00000000..d22dcae6 --- /dev/null +++ b/.next/server/app/api/courrier/account-folders/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/account-folders/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/account-folders/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/account-list/route.js b/.next/server/app/api/courrier/account-list/route.js new file mode 100644 index 00000000..958b78a7 --- /dev/null +++ b/.next/server/app/api/courrier/account-list/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=2420,e.ids=[2420],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4752:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>m,routeModule:()=>d,serverHooks:()=>k,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>_});var t={};s.r(t),s.d(t,{GET:()=>p});var o=s(96559),n=s(48088),i=s(37719),a=s(32190),c=s(19854),l=s(26690),u=s(79464);async function p(e){try{let e=await (0,c.getServerSession)(l.N);if(!e?.user?.id)return a.NextResponse.json({error:"Unauthorized"},{status:401});let r=await u.z.mailCredentials.findMany({where:{userId:e.user.id},select:{id:!0,email:!0,host:!0,port:!0,secure:!0,display_name:!0,color:!0,smtp_host:!0,smtp_port:!0,smtp_secure:!0,createdAt:!0,updatedAt:!0}});return a.NextResponse.json({success:!0,accounts:r})}catch(e){return console.error("Error fetching email accounts:",e),a.NextResponse.json({error:"Failed to fetch email accounts",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let d=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/courrier/account-list/route",pathname:"/api/courrier/account-list",filename:"route",bundlePath:"app/api/courrier/account-list/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/account-list/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:f,workUnitAsyncStorage:_,serverHooks:k}=d;function m(){return(0,i.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:_})}},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},19854:(e,r,s)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=s(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var s=i(r);if(s&&s.has(e))return s.get(e);var t={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=o?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,s&&s.set(e,t),t}(s(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,s=new WeakMap;return(i=function(e){return e?s:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>o});var t=s(70762);let o=t.z.object({NODE_ENV:t.z.enum(["development","test","production"]).default("development"),DATABASE_URL:t.z.string().url(),NEWSDB_URL:t.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:t.z.string().url(),KEYCLOAK_CLIENT_ID:t.z.string(),KEYCLOAK_CLIENT_SECRET:t.z.string(),KEYCLOAK_REALM:t.z.string(),KEYCLOAK_ISSUER:t.z.string().url(),LEANTIME_TOKEN:t.z.string(),LEANTIME_API_URL:t.z.string().url(),ROCKET_CHAT_TOKEN:t.z.string(),ROCKET_CHAT_USER_ID:t.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var t=s(1926),o=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,t.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>n});var t=s(96330),o=s(25037);let n=globalThis.prisma||new t.PrismaClient({datasources:{db:{url:o._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580,762],()=>s(4752));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/account-list/route.js.nft.json b/.next/server/app/api/courrier/account-list/route.js.nft.json new file mode 100644 index 00000000..b5ee2f6e --- /dev/null +++ b/.next/server/app/api/courrier/account-list/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/762.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/account-list/route_client-reference-manifest.js b/.next/server/app/api/courrier/account-list/route_client-reference-manifest.js new file mode 100644 index 00000000..218e4570 --- /dev/null +++ b/.next/server/app/api/courrier/account-list/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/account-list/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/account-list/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/account/route.js b/.next/server/app/api/courrier/account/route.js new file mode 100644 index 00000000..247f8854 --- /dev/null +++ b/.next/server/app/api/courrier/account/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=2263,e.ids=[2263],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>s.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>s.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>s.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>s.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>s.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>s.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>s.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>s.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>s.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>s.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>s.cE});var s=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var s={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=t(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var i=o?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(s,n,i):s[n]=e[n]}return s.default=e,t&&t.set(e,s),s}(t(35426));function a(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(a=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46265:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>j,routeModule:()=>h,serverHooks:()=>q,workAsyncStorage:()=>y,workUnitAsyncStorage:()=>m});var s={};t.r(s),t.d(s,{DELETE:()=>b,PATCH:()=>w,POST:()=>g});var o=t(96559),n=t(48088),a=t(37719),i=t(32190),u=t(19854),c=t(26690),d=t(87795),l=t(36781),p=t(79464),f=t(85663);async function x(e){let r=e.user.id,t=e.user.email;if(!r||!t)throw Error("Missing required user data in session");try{if(await p.z.user.findUnique({where:{id:r}}))return void console.log(`User ${r} already exists in database`);console.log(`User ${r} not found in database, creating from session data...`);let e=await f.Ay.hash(Math.random().toString(36).slice(-10),10);await p.z.user.create({data:{id:r,email:t,password:e,createdAt:new Date,updatedAt:new Date}}),console.log(`Successfully created user ${r} (${t}) in database`)}catch(e){if(console.error("Error ensuring user exists:",e),e instanceof Error&&e.message.includes("Unique constraint"))return void console.log("User may have been created by concurrent request, continuing...");throw e}}async function g(e){try{let r=await (0,u.getServerSession)(c.N);if(!r?.user?.id)return i.NextResponse.json({error:"Unauthorized"},{status:401});try{await x(r)}catch(e){return console.error("Error ensuring user exists:",e),i.NextResponse.json({error:"Failed to ensure user exists in database",details:e instanceof Error?e.message:"Unknown error"},{status:500})}let t=await e.json().catch(e=>(console.error("Error parsing request body:",e),{}));console.log("Adding account:",{...t,password:t.password?"***":void 0});let{email:s,password:o,host:n,port:a,secure:f,smtp_host:g,smtp_port:b,smtp_secure:w,display_name:h,color:y}=t,m=[];if(s||m.push("email"),o||m.push("password"),n||m.push("host"),void 0===a&&m.push("port"),m.length>0)return console.error(`Missing required fields: ${m.join(", ")}`),i.NextResponse.json({error:`Required fields missing: ${m.join(", ")}`},{status:400});let q=n;q.startsWith("http://")?q=q.substring(7):q.startsWith("https://")&&(q=q.substring(8));let j={email:s,password:o,host:q,port:"string"==typeof a?parseInt(a):a,secure:f??!0,...g&&{smtp_host:g},...b&&{smtp_port:"string"==typeof b?parseInt(b):b},...void 0!==w&&{smtp_secure:w},...h&&{display_name:h},...y&&{color:y}};console.log(`Testing connection before saving for user ${r.user.id}`);let v=await (0,d.vC)(j);if(!v.imap)return i.NextResponse.json({error:`Connection test failed: ${v.error||"Could not connect to IMAP server"}`},{status:400});console.log(`Saving credentials for user: ${r.user.id}`),await (0,d.tE)(r.user.id,s,j),console.log(`Email account successfully added for user ${r.user.id}`);let E=await p.z.mailCredentials.findFirst({where:{userId:r.user.id,email:s},select:{id:!0,email:!0,display_name:!0,color:!0}});return await (0,l.gU)(r.user.id,s,"*"),i.NextResponse.json({success:!0,account:E,message:"Email account added successfully"})}catch(e){return console.error("Error adding email account:",e),i.NextResponse.json({error:"Failed to add email account",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}async function b(e){try{let r=await (0,u.getServerSession)(c.N);if(!r?.user?.id)return i.NextResponse.json({error:"Unauthorized"},{status:401});let{searchParams:t}=new URL(e.url),s=t.get("accountId");if(!s)return i.NextResponse.json({error:"Missing accountId"},{status:400});let o=await p.z.mailCredentials.findFirst({where:{id:s,userId:r.user.id}});if(!o)return i.NextResponse.json({error:"Account not found"},{status:404});return await p.z.mailCredentials.delete({where:{id:s}}),await (0,l.gU)(r.user.id,o.email,"*"),i.NextResponse.json({success:!0,message:"Account deleted"})}catch(e){return console.error("Error deleting account:",e),i.NextResponse.json({error:"Failed to delete account",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}async function w(e){try{let r=await (0,u.getServerSession)(c.N);if(!r?.user?.id)return i.NextResponse.json({error:"Unauthorized"},{status:401});let{accountId:t,newPassword:s,display_name:o,color:n}=await e.json();if(!t)return i.NextResponse.json({error:"Account ID is required"},{status:400});if(!s&&!o&&!n)return i.NextResponse.json({error:"At least one field to update is required"},{status:400});if(!await p.z.mailCredentials.findFirst({where:{id:t,userId:r.user.id}}))return i.NextResponse.json({error:"Account not found"},{status:404});let a={};return s&&(a.password=s),void 0!==o&&(a.display_name=o),n&&(a.color=n),await p.z.mailCredentials.update({where:{id:t},data:a}),i.NextResponse.json({success:!0,message:"Account updated successfully"})}catch(e){return console.error("Error updating account:",e),i.NextResponse.json({error:"Failed to update account",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let h=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/courrier/account/route",pathname:"/api/courrier/account",filename:"route",bundlePath:"app/api/courrier/account/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/account/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:y,workUnitAsyncStorage:m,serverHooks:q}=h;function j(){return(0,a.patchFetch)({workAsyncStorage:y,workUnitAsyncStorage:m})}},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,5663,6781,6624],()=>t(46265));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/account/route.js.nft.json b/.next/server/app/api/courrier/account/route.js.nft.json new file mode 100644 index 00000000..13da9df9 --- /dev/null +++ b/.next/server/app/api/courrier/account/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/5663.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/account/route_client-reference-manifest.js b/.next/server/app/api/courrier/account/route_client-reference-manifest.js new file mode 100644 index 00000000..61ddaaeb --- /dev/null +++ b/.next/server/app/api/courrier/account/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/account/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/account/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/credentials/route.js b/.next/server/app/api/courrier/credentials/route.js new file mode 100644 index 00000000..77f4898d --- /dev/null +++ b/.next/server/app/api/courrier/credentials/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=1768,e.ids=[1768],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>o.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>o.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>o.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>o.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>o.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>o.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>o.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>o.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>o.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>o.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>o.cE});var o=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var s=t(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var u=s?Object.getOwnPropertyDescriptor(e,n):null;u&&(u.get||u.set)?Object.defineProperty(o,n,u):o[n]=e[n]}return o.default=e,t&&t.set(e,o),o}(t(35426));function a(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(a=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31290:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>q,routeModule:()=>f,serverHooks:()=>b,workAsyncStorage:()=>l,workUnitAsyncStorage:()=>x});var o={};t.r(o),t.d(o,{GET:()=>d});var s=t(96559),n=t(48088),a=t(37719),u=t(32190),i=t(19854),c=t(26690),p=t(87795);async function d(){try{let e=await (0,i.getServerSession)(c.N);if(!e||!e.user)return console.error("Unauthorized access to mail credentials"),u.NextResponse.json({error:"Unauthorized"},{status:401});let r=e.user.id;if(!r)return console.error("User ID not found in session"),u.NextResponse.json({error:"User ID not found"},{status:401});let t=await (0,p.QM)(r);if(!t)return console.warn(`No mail credentials found for user ID: ${r}`),u.NextResponse.json({error:"Mail credentials not found"},{status:404});return console.log(`Successfully retrieved mail credentials for user ID: ${r}`),u.NextResponse.json({credentials:{email:t.email,host:t.host,port:t.port}})}catch(e){return console.error("Error retrieving mail credentials:",e),u.NextResponse.json({error:"Internal Server Error"},{status:500})}}let f=new s.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/courrier/credentials/route",pathname:"/api/courrier/credentials",filename:"route",bundlePath:"app/api/courrier/credentials/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/credentials/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:l,workUnitAsyncStorage:x,serverHooks:b}=f;function q(){return(0,a.patchFetch)({workAsyncStorage:l,workUnitAsyncStorage:x})}},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(31290));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/credentials/route.js.nft.json b/.next/server/app/api/courrier/credentials/route.js.nft.json new file mode 100644 index 00000000..f1fec7d7 --- /dev/null +++ b/.next/server/app/api/courrier/credentials/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/credentials/route_client-reference-manifest.js b/.next/server/app/api/courrier/credentials/route_client-reference-manifest.js new file mode 100644 index 00000000..5c0889ff --- /dev/null +++ b/.next/server/app/api/courrier/credentials/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/credentials/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/credentials/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/debug-account/route.js b/.next/server/app/api/courrier/debug-account/route.js new file mode 100644 index 00000000..e38c7816 --- /dev/null +++ b/.next/server/app/api/courrier/debug-account/route.js @@ -0,0 +1,11 @@ +"use strict";(()=>{var e={};e.id=8289,e.ids=[8289],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>a.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>a.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>a.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>a.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>a.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>a.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>a.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>a.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>a.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>a.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>a.cE});var a=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var a={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s.default}});var o=t(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(a,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var s=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var a={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&({}).hasOwnProperty.call(e,s)){var i=o?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(a,s,i):a[s]=e[s]}return a.default=e,t&&t.set(e,a),a}(t(35426));function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(a,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29035:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>w,routeModule:()=>b,serverHooks:()=>y,workAsyncStorage:()=>h,workUnitAsyncStorage:()=>x});var a={};t.r(a),t.d(a,{GET:()=>m});var o=t(96559),s=t(48088),n=t(37719),i=t(32190),u=t(19854),c=t(26690),d=t(36781),p=t(79464),l=t(87795),f=t(12461);async function m(){let e=await (0,u.getServerSession)(c.N);if(!e?.user?.id)return i.NextResponse.json({error:"Unauthorized"},{status:401});let r=e.user.id,t={userId:r,timestamp:new Date().toISOString(),redis:{emailCredentials:null,session:null},database:{accounts:[],schema:null},imap:{connectionAttempt:!1,connected:!1,folders:[]}};try{let e=await (0,d.Po)(r,"default");e?t.redis.emailCredentials={found:!0,email:e.email,host:e.host,port:e.port,hasPassword:!!e.password,hasSmtp:!!e.smtp_host}:t.redis.emailCredentials={found:!1}}catch(e){t.redis.emailCredentials={error:e instanceof Error?e.message:"Unknown error"}}try{let e=await (0,d.mX)(r);e?t.redis.session={found:!0,lastActive:new Date(e.lastActive).toISOString(),hasFolders:!!e.mailboxes,folderCount:e.mailboxes?.length||0,folders:e.mailboxes||[]}:t.redis.session={found:!1}}catch(e){t.redis.session={error:e instanceof Error?e.message:"Unknown error"}}try{let e=await p.z.$queryRaw` + SELECT column_name, data_type, is_nullable + FROM information_schema.columns + WHERE table_name = 'MailCredentials' + AND table_schema = 'public' + ORDER BY ordinal_position + `;t.database.schema=e}catch(e){t.database.schemaError=e instanceof Error?e.message:"Unknown error"}try{let e=await p.z.mailCredentials.findMany({where:{userId:r},select:{id:!0,email:!0,host:!0,port:!0}}),a=await Promise.all(e.map(async e=>{try{let r=await p.z.$queryRaw` + SELECT display_name, color, smtp_host, smtp_port, smtp_secure, secure + FROM "MailCredentials" + WHERE id = ${e.id} + `,t=Array.isArray(r)&&r.length>0?r[0]:{};return{...e,display_name:t.display_name,color:t.color,smtp_host:t.smtp_host,smtp_port:t.smtp_port,smtp_secure:t.smtp_secure,secure:t.secure}}catch(r){return{...e,_queryError:r instanceof Error?r.message:"Unknown error"}}}));t.database.accounts=a,t.database.accountCount=e.length}catch(e){t.database.error=e instanceof Error?e.message:"Unknown error"}if(t.redis.emailCredentials?.found||t.database.accountCount>0)try{t.imap.connectionAttempt=!0;let e=await (0,d.Po)(r,"default");if(e&&e.email&&e.password){let r=new f._({host:e.host,port:e.port,secure:!0,auth:{user:e.email,pass:e.password},logger:!1,tls:{rejectUnauthorized:!1}});await r.connect(),t.imap.connected=!0;let a=await (0,l.nJ)(r);t.imap.folders=a,await r.logout()}else t.imap.error="No valid credentials found"}catch(e){t.imap.error=e instanceof Error?e.message:"Unknown error"}return i.NextResponse.json(t)}let b=new o.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/courrier/debug-account/route",pathname:"/api/courrier/debug-account",filename:"route",bundlePath:"app/api/courrier/debug-account/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/debug-account/route.ts",nextConfigOutput:"",userland:a}),{workAsyncStorage:h,workUnitAsyncStorage:x,serverHooks:y}=b;function w(){return(0,n.patchFetch)({workAsyncStorage:h,workUnitAsyncStorage:x})}},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),a=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(29035));module.exports=a})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/debug-account/route.js.nft.json b/.next/server/app/api/courrier/debug-account/route.js.nft.json new file mode 100644 index 00000000..f1fec7d7 --- /dev/null +++ b/.next/server/app/api/courrier/debug-account/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/debug-account/route_client-reference-manifest.js b/.next/server/app/api/courrier/debug-account/route_client-reference-manifest.js new file mode 100644 index 00000000..9b2afb5f --- /dev/null +++ b/.next/server/app/api/courrier/debug-account/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/debug-account/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/debug-account/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/delete/route.js b/.next/server/app/api/courrier/delete/route.js new file mode 100644 index 00000000..56c7f9d3 --- /dev/null +++ b/.next/server/app/api/courrier/delete/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=7523,e.ids=[7523],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>o.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>o.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>o.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>o.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>o.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>o.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>o.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>o.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>o.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>o.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>o.cE});var o=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a.default}});var s=t(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))});var a=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&({}).hasOwnProperty.call(e,a)){var n=s?Object.getOwnPropertyDescriptor(e,a):null;n&&(n.get||n.set)?Object.defineProperty(o,a,n):o[a]=e[a]}return o.default=e,t&&t.set(e,o),o}(t(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(i=function(e){return e?t:r})(e)}Object.keys(a).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===a[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},91819:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>m,routeModule:()=>f,serverHooks:()=>g,workAsyncStorage:()=>b,workUnitAsyncStorage:()=>x});var o={};t.r(o),t.d(o,{POST:()=>p});var s=t(96559),a=t(48088),i=t(37719),n=t(32190),u=t(19854),l=t(26690),d=t(87795),c=t(36781);async function p(e){try{let r=await (0,u.getServerSession)(l.N);if(!r||!r.user?.id)return n.NextResponse.json({error:"Not authenticated"},{status:401});let{emailIds:t,folder:o,accountId:s}=await e.json();if(!t||!Array.isArray(t)||0===t.length)return console.error("[DELETE API] Missing or invalid emailIds parameter:",t),n.NextResponse.json({error:"Missing or invalid emailIds parameter"},{status:400});if(!o)return console.error("[DELETE API] Missing folder parameter"),n.NextResponse.json({error:"Missing folder parameter"},{status:400});let a=(o.includes(":")?o.split(":")[0]:void 0)||s||"default",i=o.includes(":")?o.split(":")[1]:o;console.log(`[DELETE API] Deleting ${t.length} emails from folder ${i}, account ${a}`);let p=await (0,d.IF)(r.user.id,a);try{if(await p.mailboxOpen(i),"trash"===i.toLowerCase()||"bin"===i.toLowerCase()||"deleted"===i.toLowerCase())for(let e of(console.log(`[DELETE API] In trash folder, marking emails as deleted: ${t.join(", ")}`),t))await p.messageFlagsAdd(e,["\\Deleted"]);else{console.log(`[DELETE API] Moving emails to trash: ${t.join(", ")}`);let e=await p.list(),r="Trash",o=["Trash","TRASH","Bin","Deleted","Deleted Items"];for(let t of e)if(o.includes(t.name)||o.some(e=>t.name.toLowerCase().includes(e.toLowerCase()))){r=t.name;break}for(let e of t)try{let t="string"==typeof e?parseInt(e,10):e;console.log(`[DELETE API] Moving email with UID ${t} to trash folder "${r}"`),await p.messageMove(t.toString(),r,{uid:!0}),console.log(`[DELETE API] Successfully moved email ${t} to trash`)}catch(r){console.error(`[DELETE API] Error moving email ${e} to trash:`,r)}}return await (0,c.gU)(r.user.id,a,i),await (0,c.gU)(r.user.id,a,"Trash"),n.NextResponse.json({success:!0,message:`${t.length} email(s) deleted successfully`})}finally{try{await p.mailboxClose()}catch(e){console.error("Error closing mailbox:",e)}}}catch(e){return console.error("[DELETE API] Error processing delete request:",e),n.NextResponse.json({error:"Failed to delete emails",details:e instanceof Error?e.message:String(e)},{status:500})}}let f=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/courrier/delete/route",pathname:"/api/courrier/delete",filename:"route",bundlePath:"app/api/courrier/delete/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/delete/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:b,workUnitAsyncStorage:x,serverHooks:g}=f;function m(){return(0,i.patchFetch)({workAsyncStorage:b,workUnitAsyncStorage:x})}},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(91819));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/delete/route.js.nft.json b/.next/server/app/api/courrier/delete/route.js.nft.json new file mode 100644 index 00000000..f1fec7d7 --- /dev/null +++ b/.next/server/app/api/courrier/delete/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/delete/route_client-reference-manifest.js b/.next/server/app/api/courrier/delete/route_client-reference-manifest.js new file mode 100644 index 00000000..f57a3fe1 --- /dev/null +++ b/.next/server/app/api/courrier/delete/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/delete/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/delete/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/emails/route.js b/.next/server/app/api/courrier/emails/route.js new file mode 100644 index 00000000..23424673 --- /dev/null +++ b/.next/server/app/api/courrier/emails/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=5905,e.ids=[5905],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>o.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>o.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>o.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>o.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>o.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>o.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>o.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>o.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>o.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>o.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>o.cE});var o=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a.default}});var s=t(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))});var a=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&({}).hasOwnProperty.call(e,a)){var n=s?Object.getOwnPropertyDescriptor(e,a):null;n&&(n.get||n.set)?Object.defineProperty(o,a,n):o[a]=e[a]}return o.default=e,t&&t.set(e,o),o}(t(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(i=function(e){return e?t:r})(e)}Object.keys(a).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===a[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94288:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>m,routeModule:()=>f,serverHooks:()=>g,workAsyncStorage:()=>x,workUnitAsyncStorage:()=>b});var o={};t.r(o),t.d(o,{GET:()=>d});var s=t(96559),a=t(48088),i=t(37719),n=t(32190),u=t(19854),c=t(26690),p=t(87795),l=t(36781);async function d(e){try{let r=await (0,u.getServerSession)(c.N);if(!r||!r.user?.id)return n.NextResponse.json({error:"Not authenticated"},{status:401});let{searchParams:t}=new URL(e.url),o=parseInt(t.get("page")||"1"),s=parseInt(t.get("perPage")||"20"),a=t.get("folder")||"INBOX",i=t.get("search")||"",d=t.get("accountId")||"",f="true"===t.get("checkOnly");console.log(`[API/emails] Received request with: folder=${a}, accountId=${d}, page=${o}, checkOnly=${f}`);let x=a,b=d||"default";if(a.includes(":")&&(x=a.split(":")[1],console.log(`[API/emails] Folder has prefix, normalized to ${x}`)),console.log(`[API/emails] Using normalized parameters: folder=${x}, accountId=${b}`),!i&&!f){console.log(`[API/emails] Checking Redis cache for ${r.user.id}:${b}:${x}:${o}:${s}`);let e=await (0,l.VP)(r.user.id,b,x,o,s);if(e)return console.log(`[API/emails] Using Redis cached emails for ${r.user.id}:${b}:${x}:${o}:${s}`),n.NextResponse.json(e)}console.log(`[API/emails] Redis cache miss for ${r.user.id}:${b}:${x}:${o}:${s}, fetching emails from IMAP`);let g=await (0,p.cE)(r.user.id,x,o,s,b,f);return console.log(`[API/emails] Successfully fetched ${g.emails.length} emails from IMAP for account ${b}`),n.NextResponse.json(g)}catch(e){return console.error("[API/emails] Error fetching emails:",e),n.NextResponse.json({error:"Failed to fetch emails",message:e.message},{status:500})}}let f=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/courrier/emails/route",pathname:"/api/courrier/emails",filename:"route",bundlePath:"app/api/courrier/emails/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/emails/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:x,workUnitAsyncStorage:b,serverHooks:g}=f;function m(){return(0,i.patchFetch)({workAsyncStorage:x,workUnitAsyncStorage:b})}},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(94288));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/emails/route.js.nft.json b/.next/server/app/api/courrier/emails/route.js.nft.json new file mode 100644 index 00000000..f1fec7d7 --- /dev/null +++ b/.next/server/app/api/courrier/emails/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/emails/route_client-reference-manifest.js b/.next/server/app/api/courrier/emails/route_client-reference-manifest.js new file mode 100644 index 00000000..380cdc6d --- /dev/null +++ b/.next/server/app/api/courrier/emails/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/emails/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/emails/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/fix-folders/route.js b/.next/server/app/api/courrier/fix-folders/route.js new file mode 100644 index 00000000..149adc13 --- /dev/null +++ b/.next/server/app/api/courrier/fix-folders/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=2019,e.ids=[2019],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>o.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>o.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>o.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>o.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>o.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>o.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>o.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>o.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>o.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>o.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>o.cE});var o=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a.default}});var s=t(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))});var a=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&({}).hasOwnProperty.call(e,a)){var u=s?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(o,a,u):o[a]=e[a]}return o.default=e,t&&t.set(e,o),o}(t(35426));function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}Object.keys(a).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===a[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29204:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>y,routeModule:()=>b,serverHooks:()=>w,workAsyncStorage:()=>q,workUnitAsyncStorage:()=>h});var o={};t.r(o),t.d(o,{POST:()=>x});var s=t(96559),a=t(48088),n=t(37719),u=t(32190),i=t(19854),c=t(26690),d=t(79464),p=t(87795),f=t(12461),l=t(36781);async function x(){let e=await (0,i.getServerSession)(c.N);if(!e?.user?.id)return u.NextResponse.json({error:"Unauthorized"},{status:401});let r=e.user.id,t={success:!1,userId:r,accountsProcessed:0,foldersFound:0,accounts:[]};try{let e=await d.z.mailCredentials.findMany({where:{userId:r},select:{id:!0,email:!0,password:!0,host:!0,port:!0}});if(0===e.length)return u.NextResponse.json({success:!1,error:"No email accounts found"});for(let o of e)try{let e=new f._({host:o.host,port:o.port,secure:!0,auth:{user:o.email,pass:o.password||void 0},logger:!1,tls:{rejectUnauthorized:!1}});await e.connect();let s=await (0,p.nJ)(e);t.accounts.push({id:o.id,email:o.email,folderCount:s.length,folders:s}),t.foldersFound+=s.length,t.accountsProcessed++;let a=await (0,l.mX)(r);await (0,l.Kb)(r,{...a||{lastActive:Date.now()},mailboxes:s,lastVisit:Date.now()}),await e.logout()}catch(e){t.accounts.push({id:o.id,email:o.email,error:e instanceof Error?e.message:"Unknown error"})}return t.success=t.accountsProcessed>0,u.NextResponse.json(t)}catch(e){return u.NextResponse.json({success:!1,error:"Failed to fix folders",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let b=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/courrier/fix-folders/route",pathname:"/api/courrier/fix-folders",filename:"route",bundlePath:"app/api/courrier/fix-folders/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/fix-folders/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:q,workUnitAsyncStorage:h,serverHooks:w}=b;function y(){return(0,n.patchFetch)({workAsyncStorage:q,workUnitAsyncStorage:h})}},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(29204));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/fix-folders/route.js.nft.json b/.next/server/app/api/courrier/fix-folders/route.js.nft.json new file mode 100644 index 00000000..f1fec7d7 --- /dev/null +++ b/.next/server/app/api/courrier/fix-folders/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/fix-folders/route_client-reference-manifest.js b/.next/server/app/api/courrier/fix-folders/route_client-reference-manifest.js new file mode 100644 index 00000000..4ae0162a --- /dev/null +++ b/.next/server/app/api/courrier/fix-folders/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/fix-folders/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/fix-folders/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/microsoft/callback/route.js b/.next/server/app/api/courrier/microsoft/callback/route.js new file mode 100644 index 00000000..4816be4c --- /dev/null +++ b/.next/server/app/api/courrier/microsoft/callback/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=3500,e.ids=[3500],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},9875:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>y,routeModule:()=>b,serverHooks:()=>q,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>h});var o={};t.r(o),t.d(o,{POST:()=>x});var s=t(96559),a=t(48088),n=t(37719),i=t(32190),u=t(19854),c=t(26690),p=t(42873),f=t(79464),d=t(87795),l=t(36781);async function x(e){try{let r=await (0,u.getServerSession)(c.N);if(!r?.user?.id)return i.NextResponse.json({error:"Unauthorized"},{status:401});let{code:t,state:o}=await e.json();if(!t||!o)return i.NextResponse.json({error:"Missing required parameters"},{status:400});try{let e=JSON.parse(Buffer.from(o,"base64").toString());if(e.userId!==r.user.id||Date.now()-e.timestamp>6e5)return i.NextResponse.json({error:"Invalid or expired state parameter"},{status:400})}catch(e){return i.NextResponse.json({error:"Invalid state parameter"},{status:400})}let s=await (0,p.oK)(t),a="";a=r.user?.email?r.user.email:`unknown-user-${r.user.id}@outlook.com`,console.log(`Using email: ${a} for Microsoft account`);let n={email:a,password:"microsoft-oauth2-account",host:"outlook.office365.com",port:993,secure:!0,useOAuth:!0,accessToken:s.access_token,refreshToken:s.refresh_token,tokenExpiry:Date.now()+1e3*s.expires_in,display_name:`Microsoft (${a})`,color:"#0078D4",smtp_host:"smtp.office365.com",smtp_port:587,smtp_secure:!1};console.log(`Microsoft OAuth credentials prepared for ${a}:`,{useOAuth:n.useOAuth,host:n.host,hasAccessToken:!!n.accessToken,hasRefreshToken:!!n.refreshToken,tokenExpiry:new Date(n.tokenExpiry).toISOString()}),console.log(`Testing Microsoft OAuth connection for user ${r.user.id}`);let x=await (0,d.vC)(n);if(!x.imap)return i.NextResponse.json({error:`Connection test failed: ${x.error||"Could not connect to Microsoft IMAP server"}`},{status:400});console.log(`Saving Microsoft account for user: ${r.user.id}`),await (0,d.tE)(r.user.id,a,n);let b=await f.z.mailCredentials.findFirst({where:{userId:r.user.id,email:a},select:{id:!0,email:!0,display_name:!0,color:!0}});return await (0,l.gU)(r.user.id,a,"*"),await (0,l.pz)(r.user.id,a,n),i.NextResponse.json({success:!0,account:b,message:"Microsoft account added successfully"})}catch(e){return console.error("Error processing Microsoft callback:",e),i.NextResponse.json({error:"Failed to process Microsoft authentication",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let b=new s.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/courrier/microsoft/callback/route",pathname:"/api/courrier/microsoft/callback",filename:"route",bundlePath:"app/api/courrier/microsoft/callback/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/microsoft/callback/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:m,workUnitAsyncStorage:h,serverHooks:q}=b;function y(){return(0,n.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:h})}},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>o.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>o.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>o.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>o.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>o.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>o.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>o.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>o.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>o.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>o.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>o.cE});var o=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a.default}});var s=t(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))});var a=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&({}).hasOwnProperty.call(e,a)){var i=s?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,t&&t.set(e,o),o}(t(35426));function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}Object.keys(a).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===a[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(9875));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/microsoft/callback/route.js.nft.json b/.next/server/app/api/courrier/microsoft/callback/route.js.nft.json new file mode 100644 index 00000000..0a3c4173 --- /dev/null +++ b/.next/server/app/api/courrier/microsoft/callback/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../.env","../../../../../../../node_modules/.prisma/client/default.js","../../../../../../../node_modules/.prisma/client/index.js","../../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../../node_modules/.prisma/client/package.json","../../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../../node_modules/@prisma/client/default.js","../../../../../../../node_modules/@prisma/client/package.json","../../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/1642.js","../../../../../chunks/2461.js","../../../../../chunks/4243.js","../../../../../chunks/4612.js","../../../../../chunks/5419.js","../../../../../chunks/580.js","../../../../../chunks/6365.js","../../../../../chunks/6624.js","../../../../../chunks/6724.js","../../../../../chunks/6781.js","../../../../../chunks/762.js","../../../../../chunks/8376.js","../../../../../chunks/8794.js","../../../../../chunks/9908.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/microsoft/callback/route_client-reference-manifest.js b/.next/server/app/api/courrier/microsoft/callback/route_client-reference-manifest.js new file mode 100644 index 00000000..5ed225b8 --- /dev/null +++ b/.next/server/app/api/courrier/microsoft/callback/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/microsoft/callback/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/microsoft/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/microsoft/callback/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/microsoft/route.js b/.next/server/app/api/courrier/microsoft/route.js new file mode 100644 index 00000000..ce449d16 --- /dev/null +++ b/.next/server/app/api/courrier/microsoft/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=9841,e.ids=[9841],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},19854:(e,r,o)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var t=o(12269);Object.keys(t).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===t[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return t[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(r);if(o&&o.has(e))return o.get(e);var s={__proto__:null},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=t?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(s,n,a):s[n]=e[n]}return s.default=e,o&&o.set(e,s),s}(o(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},21820:e=>{"use strict";e.exports=require("os")},26690:(e,r,o)=>{"use strict";o.d(r,{N:()=>a});var s=o(1926),t=o(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),o=await r.json();if(!r.ok){if("invalid_grant"===o.error||o.error_description?.includes("Session not active")||o.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw o}return{...e,accessToken:o.access_token,refreshToken:o.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*o.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,s.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let o=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",o),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:o}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:o}){if(r&&o){let s=(o.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=o.sub,e.role=s,e.username=o.preferred_username??"",e.first_name=o.given_name??"",e.last_name=o.family_name??""}else if(e.accessToken)try{let r=(0,t.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let s=e.accessTokenExpires;if(s&&Date.now(){"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},42268:(e,r,o)=>{"use strict";o.r(r),o.d(r,{patchFetch:()=>h,routeModule:()=>d,serverHooks:()=>_,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>k});var s={};o.r(s),o.d(s,{GET:()=>p});var t=o(96559),n=o(48088),i=o(37719),a=o(32190),c=o(19854),l=o(26690),u=o(42873);async function p(e){try{let e=await (0,c.getServerSession)(l.N);if(!e?.user?.id)return a.NextResponse.json({error:"Unauthorized"},{status:401});let r=Buffer.from(JSON.stringify({userId:e.user.id,timestamp:Date.now()})).toString("base64"),o=(0,u.GW)(r);return a.NextResponse.json({authUrl:o,state:r})}catch(e){return console.error("Error initiating Microsoft OAuth flow:",e),a.NextResponse.json({error:"Failed to initiate Microsoft OAuth flow",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let d=new t.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/courrier/microsoft/route",pathname:"/api/courrier/microsoft",filename:"route",bundlePath:"app/api/courrier/microsoft/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/microsoft/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:f,workUnitAsyncStorage:k,serverHooks:_}=d;function h(){return(0,i.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:k})}},42873:(e,r,o)=>{"use strict";o.d(r,{GW:()=>p,J1:()=>f,oK:()=>d});var s=o(94612);let t=process.env.MICROSOFT_TENANT_ID||"common",n=`https://login.microsoftonline.com/${t}/oauth2/v2.0/authorize`,i=`https://login.microsoftonline.com/${t}/oauth2/v2.0/token`,a=process.env.MICROSOFT_CLIENT_ID,c=process.env.MICROSOFT_CLIENT_SECRET,l=process.env.MICROSOFT_REDIRECT_URI;console.log("Microsoft OAuth Configuration:",{tenantId:t,authorizeUrl:n,tokenUrl:i,clientIdFirstChars:a?a.substring(0,5)+"...":"undefined",redirectUri:l});let u="offline_access https://outlook.office.com/IMAP.AccessAsUser.All https://outlook.office.com/SMTP.Send";function p(e){let r=new URLSearchParams({client_id:a,response_type:"code",redirect_uri:l,scope:u,state:e,response_mode:"query"});return`${n}?${r.toString()}`}async function d(e){let r=new URLSearchParams({client_id:a,client_secret:c,code:e,redirect_uri:l,grant_type:"authorization_code"});try{console.log(`Exchanging code for tokens. URL: ${i}`);let e=await s.A.post(i,r.toString(),{headers:{"Content-Type":"application/x-www-form-urlencoded"}});return console.log("Token exchange successful!"),{access_token:e.data.access_token,refresh_token:e.data.refresh_token,expires_in:e.data.expires_in}}catch(e){if(console.error("Error exchanging code for tokens:",e),e.response){console.error("Response data:",e.response.data),console.error("Response status:",e.response.status),console.error("Response headers:",e.response.headers);let r=e.response.data;if(r&&r.error_description)throw Error(`Token exchange failed: ${r.error_description}`)}throw Error("Failed to exchange authorization code for tokens")}}async function f(e){let r=new URLSearchParams({client_id:a,client_secret:c,refresh_token:e,grant_type:"refresh_token",scope:u});try{console.log(`Refreshing access token. URL: ${i}`);let e=await s.A.post(i,r.toString(),{headers:{"Content-Type":"application/x-www-form-urlencoded"}});return console.log("Token refresh successful!"),{access_token:e.data.access_token,refresh_token:e.data.refresh_token,expires_in:e.data.expires_in}}catch(e){if(console.error("Error refreshing token:",e),e.response){console.error("Response data:",e.response.data),console.error("Response status:",e.response.status),console.error("Response headers:",e.response.headers);let r=e.response.data;if(r&&r.error_description)throw Error(`Token refresh failed: ${r.error_description}`)}throw Error("Failed to refresh access token")}}},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},83997:e=>{"use strict";e.exports=require("tty")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var o=e=>r(r.s=e),s=r.X(0,[4243,5419,580,8794,4612],()=>o(42268));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/microsoft/route.js.nft.json b/.next/server/app/api/courrier/microsoft/route.js.nft.json new file mode 100644 index 00000000..1072370a --- /dev/null +++ b/.next/server/app/api/courrier/microsoft/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/8794.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/microsoft/route_client-reference-manifest.js b/.next/server/app/api/courrier/microsoft/route_client-reference-manifest.js new file mode 100644 index 00000000..83e9662b --- /dev/null +++ b/.next/server/app/api/courrier/microsoft/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/microsoft/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/microsoft/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/recache/route.js b/.next/server/app/api/courrier/recache/route.js new file mode 100644 index 00000000..9e282e1c --- /dev/null +++ b/.next/server/app/api/courrier/recache/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=3353,e.ids=[3353],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>s.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>s.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>s.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>s.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>s.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>s.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>s.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>s.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>s.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>s.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>s.cE});var s=t(87795)},14985:e=>{e.exports=require("dns")},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},72013:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>b,routeModule:()=>x,serverHooks:()=>l,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>q});var s={};t.r(s),t.d(s,{GET:()=>d});var o=t(96559),a=t(48088),u=t(37719),i=t(32190),c=t(35426),n=t(26690),p=t(87795);async function d(e){try{let e=await (0,c.getServerSession)(n.N);if(!e||!e.user?.id)return i.NextResponse.json({error:"Unauthorized"},{status:401});let r=e.user.id;if(await (0,p.uu)(r))return i.NextResponse.json({success:!0,message:"Credentials recached successfully",userId:r});return i.NextResponse.json({success:!1,error:"Failed to recache credentials. Check server logs for details.",userId:r},{status:500})}catch(e){return console.error("Recache API error:",e),i.NextResponse.json({success:!1,error:e instanceof Error?e.message:"Unknown error"},{status:500})}}let x=new o.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/courrier/recache/route",pathname:"/api/courrier/recache",filename:"route",bundlePath:"app/api/courrier/recache/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/recache/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:f,workUnitAsyncStorage:q,serverHooks:l}=x;function b(){return(0,u.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:q})}},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(72013));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/recache/route.js.nft.json b/.next/server/app/api/courrier/recache/route.js.nft.json new file mode 100644 index 00000000..f1fec7d7 --- /dev/null +++ b/.next/server/app/api/courrier/recache/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/recache/route_client-reference-manifest.js b/.next/server/app/api/courrier/recache/route_client-reference-manifest.js new file mode 100644 index 00000000..3281a542 --- /dev/null +++ b/.next/server/app/api/courrier/recache/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/recache/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/recache/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/refresh/route.js b/.next/server/app/api/courrier/refresh/route.js new file mode 100644 index 00000000..a89544cb --- /dev/null +++ b/.next/server/app/api/courrier/refresh/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=5475,e.ids=[5475],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var a=t(12269);Object.keys(a).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===a[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return a[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=c(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var s=a?Object.getOwnPropertyDescriptor(e,n):null;s&&(s.get||s.set)?Object.defineProperty(o,n,s):o[n]=e[n]}return o.default=e,t&&t.set(e,o),o}(t(35426));function c(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(c=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29879:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>$,routeModule:()=>p,serverHooks:()=>m,workAsyncStorage:()=>g,workUnitAsyncStorage:()=>h});var o={};t.r(o),t.d(o,{POST:()=>d});var a=t(96559),n=t(48088),c=t(37719),s=t(32190),l=t(19854),i=t(26690),f=t(36781),u=t(69602);async function d(e){try{let r,t,o=await (0,l.getServerSession)(i.N);if(!o?.user?.id)return s.NextResponse.json({error:"Not authenticated"},{status:401});let{folder:a="INBOX",accountId:n}=await e.json();if(a.includes(":")){let e=a.split(":"),o=e[0];r=e[1],t=n||o}else r=a,t=n||"default";return console.log(`[API] Refreshing folder=${r}, accountId=${t}`),await (0,f.gU)(o.user.id,t,r),(0,u.yZ)(o.user.id,r,1,20,t),"INBOX"===r&&(0,u.yZ)(o.user.id,r,2,20,t),s.NextResponse.json({success:!0,message:`Refresh scheduled for folder: ${a}`})}catch(e){return console.error("Error scheduling refresh:",e),s.NextResponse.json({error:"Failed to schedule refresh"},{status:500})}}let p=new a.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/courrier/refresh/route",pathname:"/api/courrier/refresh",filename:"route",bundlePath:"app/api/courrier/refresh/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/refresh/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:g,workUnitAsyncStorage:h,serverHooks:m}=p;function $(){return(0,c.patchFetch)({workAsyncStorage:g,workUnitAsyncStorage:h})}},33873:e=>{e.exports=require("path")},34389:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>a.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>a.uu,"40dcad7971f40c6329dddcfa7d8c6c9b691721a4cc":()=>o.r2,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>a.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>a.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>a.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>a.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>a.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>a.Yg,"7c2bde298c5aa61fd993d78d91582c1ec246f10a86":()=>o.n8,"7c33b498776be3756deb7c4fdfe13414f37b0d32ee":()=>o.yZ,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>a.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>a.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>a.cE,"7eecc71c2a61fc19120068523c1216a8d16632978a":()=>o.XU});var o=t(69602),a=t(87795)},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},69602:(e,r,t)=>{t.d(r,{XU:()=>d,n8:()=>h,r2:()=>g,yZ:()=>p});var o=t(67218);t(79130);var a=t(87795),n=t(36781),c=t(17478);let s=new Map,l=new Map,i=new Map;function f(e,r="general"){let t=`${e}:${r}`;if(s.get(t))return console.log(`Prefetch already in progress for ${t}`),!1;let o=l.get(t)||0,a=Date.now();return a-o<3e4?(console.log(`Prefetch cooldown active for ${t}, last was ${Math.round((a-o)/1e3)}s ago`),!1):(s.set(t,!0),l.set(t,a),!0)}function u(e,r="general"){let t=`${e}:${r}`;s.set(t,!1)}async function d(e,r,t,o,a=100,c){let s,l;if("loading-account"===c)return console.log("Skipping cache for loading account"),null;if(r.includes(":")){let e=r.split(":"),t=e[0];l=e[1],c?(console.log(`[getCachedEmailsWithTimeout] Using provided accountId (${c}) over folder prefix (${t})`),s=c):s=t}else l=r,s=c||"default";return console.log(`[getCachedEmailsWithTimeout] Normalized: folder=${l}, accountId=${s} (from ${r})`),new Promise(r=>{let c=setTimeout(()=>{console.log(`Cache access timeout for ${e}:${s}:${l}:${t}:${o}`),r(null)},a);(0,n.VP)(e,s,l,t,o).then(a=>{clearTimeout(c),a?(console.log(`[getCachedEmailsWithTimeout] Cache hit for ${e}:${s}:${l}:${t}:${o}`),r(a)):(console.log(`[getCachedEmailsWithTimeout] Cache miss for ${e}:${s}:${l}:${t}:${o}`),r(null))}).catch(e=>{clearTimeout(c),console.error("[getCachedEmailsWithTimeout] Error accessing cache:",e),r(null)})})}async function p(e,r,t,o,a){try{console.log(`[refreshEmailsInBackground] Normalized: folder=${r}, accountId=${a} (from ${r})`);let o=`${e}:refresh:${a||"default"}:${r}:${t}`,n=i.get(o),c=Date.now();if(n&&c-n<6e4)return void console.log(`Prefetch cooldown active for ${o}, last was ${Math.floor((c-n)/1e3)}s ago`);for(let[e,r]of(i.set(o,c),i.entries()))c-r>6e4&&i.delete(e);console.log("[refreshEmailsInBackground] DISABLED to prevent infinite loops");return}catch(e){console.error("Error in refreshEmailsInBackground:",e)}}async function g(e){if(!f(e))return;console.log(`Starting email prefetch for user ${e}`);let r=Date.now();try{let t=await (0,a.IF)(e),o=(await t.list()).map(e=>e.path);for(let r of(await (0,n.Kb)(e,{lastActive:Date.now(),mailboxes:o}),console.log(`Prefetched ${o.length} folders for user ${e}`),["INBOX",o.find(e=>e.toLowerCase().includes("sent"))||"Sent",o.find(e=>e.toLowerCase().includes("draft"))||"Drafts"].filter(Boolean)))try{console.log(`Prefetching emails for ${r}`);let t=await (0,a.cE)(e,r,1,20);console.log(`Prefetched ${t.emails.length} emails for ${r}`)}catch(e){console.error(`Error prefetching emails for folder ${r}:`,e)}try{let r=(await (0,a.cE)(e,"INBOX",1,20)).emails.filter(e=>!e.flags.seen).slice(0,5);r.length>0&&(console.log(`Prefetching content for ${r.length} unread emails`),await Promise.allSettled(r.map(r=>(0,a.Yg)(e,r.id,"INBOX").catch(e=>console.error(`Error prefetching email ${r.id}:`,e)))),console.log("Completed prefetching content for unread emails"))}catch(e){console.error("Error prefetching unread email content:",e)}let c=(Date.now()-r)/1e3;console.log(`Email prefetch completed for user ${e} in ${c.toFixed(2)}s`)}catch(e){console.error("Error during email prefetch:",e)}finally{u(e)}}async function h(e,r,t=3,o=1,n){let c=(r.includes(":")?r.split(":")[0]:n)||n||"default",s=r.includes(":")?r.split(":")[1]:r,l=`folder:${s}:${o}:${c}`;if(f(e,l))try{console.log(`Prefetching ${t} pages of emails for folder ${s} starting from page ${o} for account ${c}`);let r=Array.from({length:t},(e,r)=>o+r);console.log(`Will prefetch pages: ${r.join(", ")}`),await Promise.allSettled(r.map(r=>(0,a.cE)(e,s,r,20,c).then(e=>(console.log(`Successfully prefetched and cached page ${r} of ${s} with ${e.emails.length} emails for account ${c}`),e)).catch(e=>(console.error(`Error prefetching page ${r} of ${s} for account ${c}:`,e),null)))),console.log(`Completed prefetching ${t} pages for ${s} in account ${c}`)}catch(e){console.error("Error during folder prefetch:",e)}finally{u(e,l)}}(0,c.D)([d,p,g,h]),(0,o.A)(d,"7eecc71c2a61fc19120068523c1216a8d16632978a",null),(0,o.A)(p,"7c33b498776be3756deb7c4fdfe13414f37b0d32ee",null),(0,o.A)(g,"40dcad7971f40c6329dddcfa7d8c6c9b691721a4cc",null),(0,o.A)(h,"7c2bde298c5aa61fd993d78d91582c1ec246f10a86",null)},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(29879));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/refresh/route.js.nft.json b/.next/server/app/api/courrier/refresh/route.js.nft.json new file mode 100644 index 00000000..f1fec7d7 --- /dev/null +++ b/.next/server/app/api/courrier/refresh/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/refresh/route_client-reference-manifest.js b/.next/server/app/api/courrier/refresh/route_client-reference-manifest.js new file mode 100644 index 00000000..033db0a5 --- /dev/null +++ b/.next/server/app/api/courrier/refresh/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/refresh/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/refresh/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/route.js b/.next/server/app/api/courrier/route.js new file mode 100644 index 00000000..b05e7ce7 --- /dev/null +++ b/.next/server/app/api/courrier/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=5367,e.ids=[5367],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>o.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>o.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>o.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>o.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>o.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>o.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>o.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>o.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>o.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>o.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>o.cE});var o=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var s=t(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var i=s?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(o,n,i):o[n]=e[n]}return o.default=e,t&&t.set(e,o),o}(t(35426));function a(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(a=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},86716:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>q,routeModule:()=>x,serverHooks:()=>h,workAsyncStorage:()=>g,workUnitAsyncStorage:()=>b});var o={};t.r(o),t.d(o,{GET:()=>l,POST:()=>f});var s=t(96559),n=t(48088),a=t(37719),i=t(32190),u=t(19854),c=t(26690),d=t(87795),p=t(36781);async function l(e){try{let r=await (0,u.getServerSession)(c.N);if(!r||!r.user?.id)return i.NextResponse.json({error:"Not authenticated"},{status:401});let{searchParams:t}=new URL(e.url),o=parseInt(t.get("page")||"1"),s=parseInt(t.get("perPage")||"20"),n=t.get("folder")||"INBOX",a=t.get("search")||"",l=t.get("accountId")||"",f="true"===t.get("checkOnly");console.log(`[API] Received request with: folder=${n}, accountId=${l}, page=${o}, checkOnly=${f}`);let x=n,g=l||"default";if(n.includes(":")){let e=n.split(":"),r=e[0];x=e[1],console.log(`[API] Folder has prefix (${r}), normalized to ${x}`)}if(console.log(`[API] Using normalized parameters: folder=${x}, accountId=${g}`),!a&&!f){console.log(`[API] Checking Redis cache for ${r.user.id}:${g}:${x}:${o}:${s}`);let e=await (0,p.VP)(r.user.id,g,x,o,s);if(e)return console.log(`[API] Using Redis cached emails for ${r.user.id}:${g}:${x}:${o}:${s}`),i.NextResponse.json(e)}console.log(`[API] Redis cache miss for ${r.user.id}:${g}:${x}:${o}:${s}, fetching emails from IMAP`);let b=await (0,d.cE)(r.user.id,x,o,s,g,f);return console.log(`[API] Successfully fetched ${b.emails.length} emails from IMAP for account ${g}`),i.NextResponse.json(b)}catch(e){return console.error("[API] Error fetching emails:",e),i.NextResponse.json({error:"Failed to fetch emails",message:e.message},{status:500})}}async function f(e){try{let r=await (0,u.getServerSession)(c.N);if(!r?.user?.id)return i.NextResponse.json({error:"Unauthorized"},{status:401});let{emailId:t,folderName:o,accountId:s}=await e.json();if(!t)return i.NextResponse.json({error:"Missing emailId parameter"},{status:400});let n=s||"default",a=o&&o.includes(":")?o.split(":")[1]:o;if(console.log(`Invalidating cache for user ${r.user.id}, account ${n}, folder ${a||"all folders"}`),a)await (0,p.gU)(r.user.id,n,a);else for(let e of["INBOX","Sent","Drafts","Trash","Junk"])await (0,p.gU)(r.user.id,n,e);return i.NextResponse.json({success:!0})}catch(e){return console.error("Error in POST handler:",e),i.NextResponse.json({error:"An unexpected error occurred"},{status:500})}}new(t(96330)).PrismaClient;let x=new s.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/courrier/route",pathname:"/api/courrier",filename:"route",bundlePath:"app/api/courrier/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:g,workUnitAsyncStorage:b,serverHooks:h}=x;function q(){return(0,a.patchFetch)({workAsyncStorage:g,workUnitAsyncStorage:b})}},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(86716));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/route.js.nft.json b/.next/server/app/api/courrier/route.js.nft.json new file mode 100644 index 00000000..f5e0c64e --- /dev/null +++ b/.next/server/app/api/courrier/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../.env","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1642.js","../../../chunks/2461.js","../../../chunks/4243.js","../../../chunks/4612.js","../../../chunks/5419.js","../../../chunks/580.js","../../../chunks/6365.js","../../../chunks/6624.js","../../../chunks/6724.js","../../../chunks/6781.js","../../../chunks/762.js","../../../chunks/8376.js","../../../chunks/8794.js","../../../chunks/9908.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/route_client-reference-manifest.js b/.next/server/app/api/courrier/route_client-reference-manifest.js new file mode 100644 index 00000000..2857b0a7 --- /dev/null +++ b/.next/server/app/api/courrier/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/send/route.js b/.next/server/app/api/courrier/send/route.js new file mode 100644 index 00000000..ac19b1c8 --- /dev/null +++ b/.next/server/app/api/courrier/send/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=3920,e.ids=[3920],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>s.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>s.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>s.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>s.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>s.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>s.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>s.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>s.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>s.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>s.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>s.cE});var s=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var s={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=t(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var u=o?Object.getOwnPropertyDescriptor(e,n):null;u&&(u.get||u.set)?Object.defineProperty(s,n,u):s[n]=e[n]}return s.default=e,t&&t.set(e,s),s}(t(35426));function a(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(a=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81307:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>q,routeModule:()=>f,serverHooks:()=>b,workAsyncStorage:()=>l,workUnitAsyncStorage:()=>x});var s={};t.r(s),t.d(s,{POST:()=>d});var o=t(96559),n=t(48088),a=t(37719),u=t(32190),i=t(19854),p=t(26690),c=t(87795);async function d(e){try{let r=await (0,i.getServerSession)(p.N);if(!r?.user?.id)return u.NextResponse.json({error:"Unauthorized"},{status:401});let{to:t,cc:s,bcc:o,subject:n,body:a,attachments:d}=await e.json();if(!t)return u.NextResponse.json({error:"Recipient is required"},{status:400});let f=await (0,c.ZM)(r.user.id,{to:t,cc:s,bcc:o,subject:n,body:a,attachments:d});if(!f.success)return u.NextResponse.json({error:"Failed to send email",details:f.error},{status:500});return u.NextResponse.json({success:!0,messageId:f.messageId})}catch(e){return console.error("Error sending email:",e),u.NextResponse.json({error:"Failed to send email",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let f=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/courrier/send/route",pathname:"/api/courrier/send",filename:"route",bundlePath:"app/api/courrier/send/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/send/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:l,workUnitAsyncStorage:x,serverHooks:b}=f;function q(){return(0,a.patchFetch)({workAsyncStorage:l,workUnitAsyncStorage:x})}},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(81307));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/send/route.js.nft.json b/.next/server/app/api/courrier/send/route.js.nft.json new file mode 100644 index 00000000..f1fec7d7 --- /dev/null +++ b/.next/server/app/api/courrier/send/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/send/route_client-reference-manifest.js b/.next/server/app/api/courrier/send/route_client-reference-manifest.js new file mode 100644 index 00000000..e10d6216 --- /dev/null +++ b/.next/server/app/api/courrier/send/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/send/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/send/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/session/route.js b/.next/server/app/api/courrier/session/route.js new file mode 100644 index 00000000..e44a0fc0 --- /dev/null +++ b/.next/server/app/api/courrier/session/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=9230,e.ids=[9230],e.modules={1789:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>w,routeModule:()=>h,serverHooks:()=>q,workAsyncStorage:()=>g,workUnitAsyncStorage:()=>y});var o={};t.r(o),t.d(o,{GET:()=>b});var s=t(96559),n=t(48088),a=t(37719),i=t(32190),u=t(19854),c=t(26690),l=t(87795),d=t(36781),f=t(79464),p=t(85663);let m=(e,r)=>`email:folders:${e}:${r}`;async function x(e){let r=e.user.id,t=e.user.email;if(!r||!t)throw Error("Missing required user data in session");try{if(await f.z.user.findUnique({where:{id:r}}))return;console.log(`User ${r} not found in database, creating from session data...`);let e=await p.Ay.hash(Math.random().toString(36).slice(-10),10);await f.z.user.create({data:{id:r,email:t,password:e,createdAt:new Date,updatedAt:new Date}}),console.log(`Successfully created user ${r} (${t}) in database`)}catch(e){if(console.error("Error ensuring user exists:",e),e instanceof Error&&e.message.includes("Unique constraint"))return void console.log("User may have been created by concurrent request, continuing...");throw e}}async function b(){try{let e=(0,d.nr)();if(!e)return console.error("Redis connection failed"),i.NextResponse.json({error:"Redis connection failed"},{status:500});console.log("Attempting to get server session...");let r=await (0,u.getServerSession)(c.N);if(!r)return console.error("No session found"),i.NextResponse.json({authenticated:!1,error:"No session found"},{status:401});if(!r.user)return console.error("No user in session"),i.NextResponse.json({authenticated:!1,error:"No user in session"},{status:401});if(!r.user.id)return console.error("No user ID in session"),i.NextResponse.json({authenticated:!1,error:"No user ID in session"},{status:401});console.log("Session validated successfully:",{userId:r.user.id,email:r.user.email,name:r.user.name});try{await x(r)}catch(e){return console.error("Error ensuring user exists:",e),i.NextResponse.json({authenticated:!0,hasEmailCredentials:!1,error:"Failed to ensure user exists in database",details:e instanceof Error?e.message:"Unknown error"})}console.log("Fetching user with ID:",r.user.id);let t=await f.z.user.findUnique({where:{id:r.user.id},include:{mailCredentials:!0}});if(!t)return console.error("User not found in database after creation attempt"),i.NextResponse.json({authenticated:!0,hasEmailCredentials:!1,error:"User not found in database"});let o=t.mailCredentials||[];if(0===o.length)return console.log("No email accounts found for user:",r.user.id),i.NextResponse.json({authenticated:!0,hasEmailCredentials:!1,accounts:[],message:"No email accounts found"});console.log(`Found ${o.length} accounts for user:`,o.map(e=>e.email));let s=await Promise.all(o.map(async r=>{let o=m(t.id,r.id);try{let s=await e.get(o);if(s)return console.log(`Using cached folders for account ${r.email}`),{id:r.id,email:r.email,display_name:r.display_name,color:r.color,folders:JSON.parse(s)};console.log(`Fetching folders from IMAP for account ${r.email}`);let n=await (0,l.IF)(t.id,r.id);if(!n)return console.warn(`Failed to get IMAP connection for account ${r.email}`),{id:r.id,email:r.email,display_name:r.display_name,color:r.color,folders:["INBOX","Sent","Drafts","Trash","Junk"]};let a=await (0,l.nJ)(n);return console.log(`Fetched ${a.length} folders for account ${r.email}`),await e.set(o,JSON.stringify(a),"EX",3600),{id:r.id,email:r.email,display_name:r.display_name,color:r.color,folders:a}}catch(e){return console.error(`Error fetching folders for account ${r.id}:`,e),{id:r.id,email:r.email,display_name:r.display_name,color:r.color,folders:["INBOX","Sent","Drafts","Trash","Junk"]}}}));return i.NextResponse.json({authenticated:!0,hasEmailCredentials:!0,allAccounts:s})}catch(e){return console.error("Error in session route:",e),i.NextResponse.json({authenticated:!1,error:"Internal server error",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let h=new s.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/courrier/session/route",pathname:"/api/courrier/session",filename:"route",bundlePath:"app/api/courrier/session/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/session/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:g,workUnitAsyncStorage:y,serverHooks:q}=h;function w(){return(0,a.patchFetch)({workAsyncStorage:g,workUnitAsyncStorage:y})}},3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>o.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>o.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>o.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>o.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>o.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>o.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>o.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>o.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>o.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>o.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>o.cE});var o=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var s=t(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var i=s?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(o,n,i):o[n]=e[n]}return o.default=e,t&&t.set(e,o),o}(t(35426));function a(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(a=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,5663,6781,6624],()=>t(1789));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/session/route.js.nft.json b/.next/server/app/api/courrier/session/route.js.nft.json new file mode 100644 index 00000000..13da9df9 --- /dev/null +++ b/.next/server/app/api/courrier/session/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/5663.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/session/route_client-reference-manifest.js b/.next/server/app/api/courrier/session/route_client-reference-manifest.js new file mode 100644 index 00000000..48ecaca3 --- /dev/null +++ b/.next/server/app/api/courrier/session/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/session/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/session/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/test-connection/route.js b/.next/server/app/api/courrier/test-connection/route.js new file mode 100644 index 00000000..27d33130 --- /dev/null +++ b/.next/server/app/api/courrier/test-connection/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=8803,e.ids=[8803],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{"use strict";e.exports=require("node:buffer")},8086:e=>{"use strict";e.exports=require("module")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:e=>{"use strict";e.exports=require("assert")},14985:e=>{"use strict";e.exports=require("dns")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},34631:e=>{"use strict";e.exports=require("tls")},41204:e=>{"use strict";e.exports=require("string_decoder")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{"use strict";e.exports=require("node:os")},55511:e=>{"use strict";e.exports=require("crypto")},57075:e=>{"use strict";e.exports=require("node:stream")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{"use strict";e.exports=require("worker_threads")},74075:e=>{"use strict";e.exports=require("zlib")},76760:e=>{"use strict";e.exports=require("node:path")},78335:()=>{},78474:e=>{"use strict";e.exports=require("node:events")},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},88785:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>g,routeModule:()=>p,serverHooks:()=>x,workAsyncStorage:()=>l,workUnitAsyncStorage:()=>d});var s={};r.r(s),r.d(s,{POST:()=>a});var o=r(96559),i=r(48088),n=r(37719),u=r(32190),c=r(12461);async function a(e){try{let t=await e.json().catch(e=>(console.error("Error parsing request body:",e),{}));console.log("Testing connection with:",{...t,password:t.password?"***":void 0});let{email:r,password:s,host:o,port:i,secure:n=!0}=t;if(!r||!s||!o||!i){let e=[];return r||e.push("email"),s||e.push("password"),o||e.push("host"),i||e.push("port"),u.NextResponse.json({error:`Missing required fields: ${e.join(", ")}`},{status:400})}let a=o;a.startsWith("http://")?a=a.substring(7):a.startsWith("https://")&&(a=a.substring(8)),console.log(`Testing IMAP connection to ${a}:${i} for ${r}`);let p=new c._({host:a,port:"string"==typeof i?parseInt(i):i,secure:!0===n||"true"===n,auth:{user:r,pass:s},logger:!1,tls:{rejectUnauthorized:!1},connectionTimeout:1e4});try{await p.connect(),console.log(`IMAP connection successful for ${r}`);let e=(await p.list()).map(e=>e.path);console.log(`Found ${e.length} folders:`,e.slice(0,5));try{await p.logout()}catch(e){}return u.NextResponse.json({success:!0,message:"IMAP connection successful",details:{host:a,port:i,folderCount:e.length,sampleFolders:e.slice(0,5)}})}catch(r){console.error("IMAP connection test failed:",r);let e="Connection failed",t="";r instanceof Error&&(t=r.message,r.message.includes("Invalid login")||r.message.includes("authentication failed")?e="Invalid username or password":r.message.includes("ENOTFOUND")||r.message.includes("ECONNREFUSED")?e="Cannot connect to server - check host and port":r.message.includes("certificate")?e="SSL/TLS certificate issue":r.message.includes("timeout")&&(e="Connection timed out"));try{await p.logout()}catch(e){}return u.NextResponse.json({error:e,details:t,debug:{providedHost:o,cleanHost:a,port:i,secure:n}},{status:400})}}catch(e){return console.error("Error testing connection:",e),u.NextResponse.json({error:"Failed to test connection",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let p=new o.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/courrier/test-connection/route",pathname:"/api/courrier/test-connection",filename:"route",bundlePath:"app/api/courrier/test-connection/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/test-connection/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:l,workUnitAsyncStorage:d,serverHooks:x}=p;function g(){return(0,n.patchFetch)({workAsyncStorage:l,workUnitAsyncStorage:d})}},91645:e=>{"use strict";e.exports=require("net")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4243,580,8376,2461],()=>r(88785));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/test-connection/route.js.nft.json b/.next/server/app/api/courrier/test-connection/route.js.nft.json new file mode 100644 index 00000000..2a531f22 --- /dev/null +++ b/.next/server/app/api/courrier/test-connection/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/580.js","../../../../chunks/8376.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/test-connection/route_client-reference-manifest.js b/.next/server/app/api/courrier/test-connection/route_client-reference-manifest.js new file mode 100644 index 00000000..e05c9b83 --- /dev/null +++ b/.next/server/app/api/courrier/test-connection/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/test-connection/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/test-connection/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/courrier/unread-counts/route.js b/.next/server/app/api/courrier/unread-counts/route.js new file mode 100644 index 00000000..9a58ff65 --- /dev/null +++ b/.next/server/app/api/courrier/unread-counts/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=1084,e.ids=[1084],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},5158:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>q,routeModule:()=>y,serverHooks:()=>m,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>A});var o={};t.r(o),t.d(o,{GET:()=>b});var n=t(96559),s=t(48088),a=t(37719),u=t(32190),i=t(19854),c=t(26690),d=t(87795),f=t(79464),l=t(36781);let p=e=>`email:unread:${e}`,g=e=>`email:unread-refresh:${e}`;async function b(e){try{let e=await (0,i.getServerSession)(c.N);if(!e||!e.user?.id)return u.NextResponse.json({error:"Not authenticated"},{status:401});let r=e.user.id,t=(0,l.nr)(),o=await t.get(p(r));if(o)return console.log(`[UNREAD_API] Using cached unread counts for user ${r}`),await t.ttl(p(r))<60&&await t.set(g(r),Date.now().toString(),"EX",30,"NX")&&(console.log(`[UNREAD_API] Scheduling background refresh for user ${r}`),setTimeout(()=>{h(r,t).catch(e=>console.error(`[UNREAD_API] Background refresh error: ${e}`)).finally(()=>{t.del(g(r)).catch(()=>{})})},0)),u.NextResponse.json(JSON.parse(o));if(console.log(`[UNREAD_API] Cache miss for user ${r}, fetching unread counts`),!await t.set(g(r),Date.now().toString(),"EX",30,"NX"))return console.log(`[UNREAD_API] Another process is refreshing unread counts for ${r}`),u.NextResponse.json({_status:"pending_refresh"});try{let e=await x(r);return await t.set(p(r),JSON.stringify(e),"EX",120),u.NextResponse.json(e)}finally{await t.del(g(r))}}catch(e){return console.error("[UNREAD_API] Error fetching unread counts:",e),u.NextResponse.json({error:"Failed to fetch unread counts",message:e.message},{status:500})}}async function h(e,r){try{console.log(`[UNREAD_API] Background refresh started for user ${e}`);let t=await x(e);await r.set(p(e),JSON.stringify(t),"EX",120),console.log(`[UNREAD_API] Background refresh completed for user ${e}`)}catch(r){throw console.error(`[UNREAD_API] Background refresh failed for user ${e}:`,r),r}}async function x(e){let r=await f.z.mailCredentials.findMany({where:{userId:e},select:{id:!0,email:!0}});if(console.log(`[UNREAD_API] Found ${r.length} accounts for user ${e}`),0===r.length)return{default:{}};let t={};for(let o of r){let r=o.id;try{console.log(`[UNREAD_API] Processing account ${r} (${o.email})`);let n=await (0,d.IF)(e,r);t[r]={};let s=["INBOX","Sent","Drafts","Trash","Junk","Spam","Archive","Sent Items","Archives","Notes","\xc9l\xe9ments supprim\xe9s"],a=(await n.list()).map(e=>e.path);for(let e of s)if(a.includes(e)||a.some(r=>r.toLowerCase()===e.toLowerCase()))try{let o=await n.status(e,{unseen:!0});o&&"number"==typeof o.unseen&&(t[r][e]=o.unseen,t[r][`${r}:${e}`]=o.unseen,console.log(`[UNREAD_API] Account ${r}, folder ${e}: ${o.unseen} unread`))}catch(t){console.error(`[UNREAD_API] Error getting unread count for ${r}:${e}:`,t)}}catch(e){console.error(`[UNREAD_API] Error processing account ${r}:`,e)}}return t}let y=new n.AppRouteRouteModule({definition:{kind:s.RouteKind.APP_ROUTE,page:"/api/courrier/unread-counts/route",pathname:"/api/courrier/unread-counts",filename:"route",bundlePath:"app/api/courrier/unread-counts/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/courrier/unread-counts/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:w,workUnitAsyncStorage:A,serverHooks:m}=y;function q(){return(0,a.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:A})}},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>o.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>o.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>o.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>o.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>o.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>o.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>o.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>o.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>o.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>o.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>o.cE});var o=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s.default}});var n=t(12269);Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))});var s=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&({}).hasOwnProperty.call(e,s)){var u=n?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(o,s,u):o[s]=e[s]}return o.default=e,t&&t.set(e,o),o}(t(35426));function a(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(a=function(e){return e?t:r})(e)}Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(5158));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/courrier/unread-counts/route.js.nft.json b/.next/server/app/api/courrier/unread-counts/route.js.nft.json new file mode 100644 index 00000000..f1fec7d7 --- /dev/null +++ b/.next/server/app/api/courrier/unread-counts/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/2461.js","../../../../chunks/4243.js","../../../../chunks/4612.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6365.js","../../../../chunks/6624.js","../../../../chunks/6724.js","../../../../chunks/6781.js","../../../../chunks/762.js","../../../../chunks/8376.js","../../../../chunks/8794.js","../../../../chunks/9908.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/courrier/unread-counts/route_client-reference-manifest.js b/.next/server/app/api/courrier/unread-counts/route_client-reference-manifest.js new file mode 100644 index 00000000..908ee52c --- /dev/null +++ b/.next/server/app/api/courrier/unread-counts/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/courrier/unread-counts/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/courrier/route":[],"/Users/alma/Documents/NeahNew/app/api/courrier/unread-counts/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/debug-email/route.js b/.next/server/app/api/debug-email/route.js new file mode 100644 index 00000000..2435f8e5 --- /dev/null +++ b/.next/server/app/api/debug-email/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=152,e.ids=[152],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{e.exports=require("node:buffer")},8086:e=>{e.exports=require("module")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12269:(e,r)=>{Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{e.exports=require("assert")},14255:(e,r,t)=>{t.r(r),t.d(r,{"409083e64f5fe82bb580397645258675cdecd4aedb":()=>o.vC,"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":()=>o.uu,"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":()=>o.QM,"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":()=>o.ZM,"6092b43564b136264f47b6839f2d73d16b93f0c144":()=>o.IF,"60942df3263695c44a36c3b274f620e2859980e1c0":()=>o.nJ,"70947927b21002dafca76b076ccfddf03253e7eb74":()=>o.tE,"78b69d87b0e79f11066ba9300fd1a70693d2c10285":()=>o.Yg,"7c4795a4c07f98f5945bac30357610c05c6e402ec1":()=>o.Nw,"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":()=>o.e9,"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":()=>o.cE});var o=t(87795)},14985:e=>{e.exports=require("dns")},19854:(e,r,t)=>{Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var s=t(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var u=s?Object.getOwnPropertyDescriptor(e,n):null;u&&(u.get||u.set)?Object.defineProperty(o,n,u):o[n]=e[n]}return o.default=e,t&&t.set(e,o),o}(t(35426));function a(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(a=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29021:e=>{e.exports=require("fs")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},30752:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>h,routeModule:()=>f,serverHooks:()=>g,workAsyncStorage:()=>b,workUnitAsyncStorage:()=>x});var o={};t.r(o),t.d(o,{GET:()=>d});var s=t(96559),n=t(48088),a=t(37719),u=t(32190),i=t(19854),p=t(26690),l=t(87795),c=t(29908);async function d(e){let r=await (0,i.getServerSession)(p.N);if(!r?.user?.id)return u.NextResponse.json({error:"Unauthorized"},{status:401});try{let{searchParams:t}=new URL(e.url),o=t.get("id"),s=t.get("folder")||"INBOX";if(!o)return u.NextResponse.json({error:"Email ID is required"},{status:400});let n=await (0,l.IF)(r.user.id);try{await n.mailboxOpen(s);let e=await n.fetchOne(o,{source:!0,envelope:!0,flags:!0});if(!e)return u.NextResponse.json({error:"Email not found"},{status:404});let{source:r,envelope:t}=e,a=r.toString(),i=await (0,c.simpleParser)(a,{skipHtmlToText:!0,keepCidLinks:!0});return u.NextResponse.json({id:o,folder:s,date:t.date,subject:t.subject,from:t.from,to:t.to,sourcePreview:a.substring(0,1e3)+(a.length>1e3?"...":""),sourceLength:a.length,htmlPreview:i.html?i.html.substring(0,1e3)+(i.html.length>1e3?"...":""):null,htmlLength:i.html?i.html.length:0,textPreview:i.text?i.text.substring(0,1e3)+(i.text.length>1e3?"...":""):null,textLength:i.text?i.text.length:0,hasHtml:!!i.html,hasStyleTags:"string"==typeof i.html&&i.html.includes("{e.exports=require("path")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},48161:e=>{e.exports=require("node:os")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},57075:e=>{e.exports=require("node:stream")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73566:e=>{e.exports=require("worker_threads")},74075:e=>{e.exports=require("zlib")},76760:e=>{e.exports=require("node:path")},78474:e=>{e.exports=require("node:events")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},79646:e=>{e.exports=require("child_process")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580,8794,1642,6724,762,8376,2461,9908,4612,6365,6781,6624],()=>t(30752));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/debug-email/route.js.nft.json b/.next/server/app/api/debug-email/route.js.nft.json new file mode 100644 index 00000000..f5e0c64e --- /dev/null +++ b/.next/server/app/api/debug-email/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../.env","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1642.js","../../../chunks/2461.js","../../../chunks/4243.js","../../../chunks/4612.js","../../../chunks/5419.js","../../../chunks/580.js","../../../chunks/6365.js","../../../chunks/6624.js","../../../chunks/6724.js","../../../chunks/6781.js","../../../chunks/762.js","../../../chunks/8376.js","../../../chunks/8794.js","../../../chunks/9908.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/debug-email/route_client-reference-manifest.js b/.next/server/app/api/debug-email/route_client-reference-manifest.js new file mode 100644 index 00000000..fd1d54d8 --- /dev/null +++ b/.next/server/app/api/debug-email/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/debug-email/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/debug-email/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/debug/create-all-folders/route.js b/.next/server/app/api/debug/create-all-folders/route.js new file mode 100644 index 00000000..426d6237 --- /dev/null +++ b/.next/server/app/api/debug/create-all-folders/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=6484,e.ids=[6484],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},14182:(e,r,t)=>{"use strict";t.d(r,{$R:()=>a,Ui:()=>l,XB:()=>i,XR:()=>c,YE:()=>o,ZT:()=>d,b4:()=>u,oD:()=>n});var s=t(91043);let o={endpoint:"https://dome-api.slm-lab.net",region:"us-east-1",bucket:process.env.S3_BUCKET||"pages",accessKey:"4aBT4CMb7JIMMyUtp4Pl",secretKey:"HGn39XhCIlqOjmDVzRK9MED2Fci2rYvDDgbLFElg"},n=new s.S3Client({region:o.region,endpoint:o.endpoint,credentials:{accessKeyId:o.accessKey,secretAccessKey:o.secretKey},forcePathStyle:!0});async function a(e,r,t){let a=new s.PutObjectCommand({Bucket:o.bucket,Key:e,Body:"string"==typeof r?Buffer.from(r,"utf-8"):r,ContentType:t||"text/plain"});return await n.send(a),{key:e}}async function i(e){try{let r=new s.GetObjectCommand({Bucket:o.bucket,Key:e}),t=await n.send(r);if(!t.Body)return null;let a=[];for await(let e of t.Body)a.push(e);return Buffer.concat(a).toString("utf-8")}catch(e){return console.error("Error getting object content:",e),null}}async function c(e){let r=new s.DeleteObjectCommand({Bucket:o.bucket,Key:e});await n.send(r)}async function l(e,r){let t=`user-${e}/${r}/`,a=new s.ListObjectsV2Command({Bucket:o.bucket,Prefix:t,Delimiter:"/"});return((await n.send(a)).Contents||[]).filter(e=>e.Key&&!e.Key.endsWith("/")&&!e.Key.includes(".placeholder")).map(e=>({key:e.Key,name:e.Key.split("/").pop()||e.Key,size:e.Size,lastModified:e.LastModified}))}function u(e,r){if(!e)return"";if(e.startsWith("http"))return e;let t=e.startsWith("/")?e.substring(1):e,s=o.endpoint?.replace(/\/$/,""),n=r||o.bucket;return s?`${s}/${n}/${t}`:t}async function d(e){for(let r of["notes","diary","health","contacts"])try{let t=`user-${e}/${r}/`;await a(t,"","application/x-directory");let s=`user-${e}/${r}/.placeholder`;await a(s,"Folder placeholder","text/plain"),console.log(`Created folder: ${t}`)}catch(t){console.error(`Error creating folder ${r} for user ${e}:`,t)}}},19854:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=t(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var i=o?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(s,n,i):s[n]=e[n]}return s.default=e,t&&t.set(e,s),s}(t(35426));function a(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(a=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},25716:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>y,routeModule:()=>f,serverHooks:()=>m,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>k});var s={};t.r(s),t.d(s,{GET:()=>d});var o=t(96559),n=t(48088),a=t(37719),i=t(32190),c=t(19854),l=t(26690),u=t(14182);async function d(e){try{let e=await (0,c.getServerSession)(l.N);if(!e?.user?.id)return i.NextResponse.json({error:"Unauthorized"},{status:401});let r=e.user.id;return console.log(`Manually creating all folders for user: ${r}`),await (0,u.ZT)(r),i.NextResponse.json({success:!0,message:"All folders created successfully",userId:r})}catch(e){return console.error("Error creating folders:",e),i.NextResponse.json({error:"Failed to create folders",message:e instanceof Error?e.message:String(e)},{status:500})}}let f=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/debug/create-all-folders/route",pathname:"/api/debug/create-all-folders",filename:"route",bundlePath:"app/api/debug/create-all-folders/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/debug/create-all-folders/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:p,workUnitAsyncStorage:k,serverHooks:m}=f;function y(){return(0,a.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:k})}},26690:(e,r,t)=>{"use strict";t.d(r,{N:()=>i});var s=t(1926),o=t(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function a(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),t=await r.json();if(!r.ok){if("invalid_grant"===t.error||t.error_description?.includes("Session not active")||t.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw t}return{...e,accessToken:t.access_token,refreshToken:t.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*t.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let i={providers:[(0,s.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let t=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",t),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:t}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:t}){if(r&&t){let s=(t.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=t.sub,e.role=s,e.username=t.preferred_username??"",e.first_name=t.given_name??"",e.last_name=t.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let s=e.accessTokenExpires;if(s&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},91043:e=>{"use strict";e.exports=require("@aws-sdk/client-s3")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580],()=>t(25716));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/debug/create-all-folders/route.js.nft.json b/.next/server/app/api/debug/create-all-folders/route.js.nft.json new file mode 100644 index 00000000..26a2b8cd --- /dev/null +++ b/.next/server/app/api/debug/create-all-folders/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/@aws-crypto/crc32/build/main/aws_crc32.js","../../../../../../node_modules/@aws-crypto/crc32/build/main/index.js","../../../../../../node_modules/@aws-crypto/crc32/package.json","../../../../../../node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js","../../../../../../node_modules/@aws-crypto/crc32c/build/main/index.js","../../../../../../node_modules/@aws-crypto/crc32c/package.json","../../../../../../node_modules/@aws-crypto/util/build/main/convertToBuffer.js","../../../../../../node_modules/@aws-crypto/util/build/main/index.js","../../../../../../node_modules/@aws-crypto/util/build/main/isEmptyData.js","../../../../../../node_modules/@aws-crypto/util/build/main/numToUint8.js","../../../../../../node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json","../../../../../../node_modules/@aws-crypto/util/package.json","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/client-s3/package.json","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/client-sso/package.json","../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/package.json","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/fxp.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/util.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/validator.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/node2json.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js","../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/package.json","../../../../../../node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-expect-continue/package.json","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/package.json","../../../../../../node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-host-header/package.json","../../../../../../node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-location-constraint/package.json","../../../../../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-logger/package.json","../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/package.json","../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/package.json","../../../../../../node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-ssec/package.json","../../../../../../node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-user-agent/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js","../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/region-config-resolver/package.json","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-arn-parser/package.json","../../../../../../node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-endpoints/package.json","../../../../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-user-agent-node/package.json","../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../node_modules/@smithy/config-resolver/dist-cjs/index.js","../../../../../../node_modules/@smithy/config-resolver/package.json","../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@smithy/core/package.json","../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../node_modules/@smithy/eventstream-codec/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-codec/package.json","../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/package.json","../../../../../../node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-node/package.json","../../../../../../node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-universal/package.json","../../../../../../node_modules/@smithy/fetch-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/fetch-http-handler/package.json","../../../../../../node_modules/@smithy/hash-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/hash-node/package.json","../../../../../../node_modules/@smithy/hash-stream-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/hash-stream-node/package.json","../../../../../../node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../node_modules/@smithy/is-array-buffer/package.json","../../../../../../node_modules/@smithy/middleware-content-length/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-content-length/package.json","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-endpoint/package.json","../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/package.json","../../../../../../node_modules/@smithy/middleware-retry/package.json","../../../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-serde/package.json","../../../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-stack/package.json","../../../../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-config-provider/package.json","../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../node_modules/@smithy/property-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/property-provider/package.json","../../../../../../node_modules/@smithy/protocol-http/dist-cjs/index.js","../../../../../../node_modules/@smithy/protocol-http/package.json","../../../../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js","../../../../../../node_modules/@smithy/querystring-builder/package.json","../../../../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js","../../../../../../node_modules/@smithy/querystring-parser/package.json","../../../../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js","../../../../../../node_modules/@smithy/service-error-classification/package.json","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/package.json","../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js","../../../../../../node_modules/@smithy/smithy-client/package.json","../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../node_modules/@smithy/types/package.json","../../../../../../node_modules/@smithy/url-parser/dist-cjs/index.js","../../../../../../node_modules/@smithy/url-parser/package.json","../../../../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js","../../../../../../node_modules/@smithy/util-base64/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js","../../../../../../node_modules/@smithy/util-base64/package.json","../../../../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-body-length-node/package.json","../../../../../../node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-buffer-from/package.json","../../../../../../node_modules/@smithy/util-config-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-config-provider/package.json","../../../../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-defaults-mode-node/package.json","../../../../../../node_modules/@smithy/util-endpoints/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-endpoints/package.json","../../../../../../node_modules/@smithy/util-hex-encoding/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-hex-encoding/package.json","../../../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-middleware/package.json","../../../../../../node_modules/@smithy/util-retry/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-retry/package.json","../../../../../../node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js","../../../../../../node_modules/@smithy/util-stream/package.json","../../../../../../node_modules/@smithy/util-uri-escape/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-uri-escape/package.json","../../../../../../node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-utf8/package.json","../../../../../../node_modules/@smithy/util-waiter/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-waiter/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/strnum/package.json","../../../../../../node_modules/strnum/strnum.js","../../../../../../node_modules/tslib/package.json","../../../../../../node_modules/tslib/tslib.js","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/debug/create-all-folders/route_client-reference-manifest.js b/.next/server/app/api/debug/create-all-folders/route_client-reference-manifest.js new file mode 100644 index 00000000..bf5415b7 --- /dev/null +++ b/.next/server/app/api/debug/create-all-folders/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/debug/create-all-folders/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/debug/create-all-folders/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/debug/leantime-methods/route.js b/.next/server/app/api/debug/leantime-methods/route.js new file mode 100644 index 00000000..53f94fa0 --- /dev/null +++ b/.next/server/app/api/debug/leantime-methods/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=1632,e.ids=[1632],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},19854:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=t(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=o?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(s,n,a):s[n]=e[n]}return s.default=e,t&&t.set(e,s),s}(t(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(i=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},26690:(e,r,t)=>{"use strict";t.d(r,{N:()=>a});var s=t(1926),o=t(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),t=await r.json();if(!r.ok){if("invalid_grant"===t.error||t.error_description?.includes("Session not active")||t.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw t}return{...e,accessToken:t.access_token,refreshToken:t.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*t.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,s.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let t=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",t),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:t}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:t}){if(r&&t){let s=(t.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=t.sub,e.role=s,e.username=t.preferred_username??"",e.first_name=t.given_name??"",e.last_name=t.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let s=e.accessTokenExpires;if(s&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},77547:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>k,routeModule:()=>p,serverHooks:()=>m,workAsyncStorage:()=>d,workUnitAsyncStorage:()=>f});var s={};t.r(s),t.d(s,{GET:()=>u});var o=t(96559),n=t(48088),i=t(37719),a=t(32190),c=t(19854),l=t(26690);async function u(e){try{let e=await (0,c.getServerSession)(l.N);if(!e||!e.user?.id)return a.NextResponse.json({error:"Not authenticated"},{status:401});if(!process.env.LEANTIME_API_URL||!process.env.LEANTIME_TOKEN)return a.NextResponse.json({error:"Missing Leantime API configuration"},{status:500});let r=["leantime.rpc.users.getAll","leantime.rpc.notifications.getNotifications","leantime.rpc.notifications.getAllNotifications","leantime.rpc.notifications.getMyNotifications","leantime.rpc.notifications.markNotificationRead","leantime.rpc.Notifications.getNotifications","leantime.rpc.Notifications.getAllNotifications","leantime.rpc.Notifications.getMyNotifications","notifications.getNotifications","notifications.getAll","notifications.getAllByUser","leantime.domain.notifications.getNotifications","leantime.domain.notifications.getAll"],t=await Promise.all(r.map(async e=>{let r;console.log(`[LEANTIME_DEBUG] Testing method: ${e}`);let t=await fetch(`${process.env.LEANTIME_API_URL}/api/jsonrpc`,{method:"POST",headers:{"Content-Type":"application/json","X-API-Key":process.env.LEANTIME_TOKEN||""},body:JSON.stringify({jsonrpc:"2.0",method:e,params:{userId:2,status:"open",limit:10},id:1})}),s=await t.text();try{r=JSON.parse(s)}catch(e){r={parseError:"Invalid JSON response"}}return{method:e,status:t.status,success:t.ok&&!r.error,response:r}})),s=t.filter(e=>e.success);return a.NextResponse.json({success:!0,timestamp:new Date().toISOString(),totalMethodsTested:r.length,successfulMethods:s.length,successfulMethodNames:s.map(e=>e.method),results:t})}catch(e){return console.error("[LEANTIME_DEBUG] Error testing Leantime methods:",e),a.NextResponse.json({error:"Internal server error",message:e.message,stack:void 0},{status:500})}}let p=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/debug/leantime-methods/route",pathname:"/api/debug/leantime-methods",filename:"route",bundlePath:"app/api/debug/leantime-methods/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/debug/leantime-methods/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:d,workUnitAsyncStorage:f,serverHooks:m}=p;function k(){return(0,i.patchFetch)({workAsyncStorage:d,workUnitAsyncStorage:f})}},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580],()=>t(77547));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/debug/leantime-methods/route.js.nft.json b/.next/server/app/api/debug/leantime-methods/route.js.nft.json new file mode 100644 index 00000000..6583ffd3 --- /dev/null +++ b/.next/server/app/api/debug/leantime-methods/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/debug/leantime-methods/route_client-reference-manifest.js b/.next/server/app/api/debug/leantime-methods/route_client-reference-manifest.js new file mode 100644 index 00000000..55361c4e --- /dev/null +++ b/.next/server/app/api/debug/leantime-methods/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/debug/leantime-methods/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/debug/leantime-methods/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/debug/notifications/route.js b/.next/server/app/api/debug/notifications/route.js new file mode 100644 index 00000000..82bd3435 --- /dev/null +++ b/.next/server/app/api/debug/notifications/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=8506,e.ids=[8506],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},14985:e=>{e.exports=require("dns")},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},72756:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>N,routeModule:()=>l,serverHooks:()=>x,workAsyncStorage:()=>d,workUnitAsyncStorage:()=>g});var s={};r.r(s),r.d(s,{GET:()=>E});var o=r(96559),n=r(48088),i=r(37719),a=r(32190),u=r(19854),p=r(26690),c=r(70014);async function E(e){try{let e=await (0,u.getServerSession)(p.N);if(!e||!e.user?.id)return a.NextResponse.json({error:"Not authenticated"},{status:401});let t=e.user.id;console.log(`[DEBUG] Testing notifications for user ${t}`);let r={LEANTIME_API_URL:process.env.LEANTIME_API_URL?"Set":"Not set",LEANTIME_TOKEN:process.env.LEANTIME_TOKEN?`Set (length: ${process.env.LEANTIME_TOKEN.length})`:"Not set",LEANTIME_API_KEY:process.env.LEANTIME_API_KEY?`Set (length: ${process.env.LEANTIME_API_KEY.length})`:"Not set",KEYCLOAK_BASE_URL:process.env.KEYCLOAK_BASE_URL?"Set":"Not set",KEYCLOAK_REALM:process.env.KEYCLOAK_REALM||"Not set",KEYCLOAK_ADMIN_CLIENT_ID:process.env.KEYCLOAK_ADMIN_CLIENT_ID?"Set":"Not set",KEYCLOAK_ADMIN_CLIENT_SECRET:process.env.KEYCLOAK_ADMIN_CLIENT_SECRET?"Set (masked)":"Not set"};console.log(`[DEBUG] Getting user info for ${t}`);let s={id:t,email:e.user.email||"Unknown"};console.log("[DEBUG] Testing notification service");let o=c.J.getInstance();console.log("[DEBUG] Getting notification count");let n=Date.now(),i=await o.getNotificationCount(t),E=Date.now()-n;console.log("[DEBUG] Getting notifications");let l=Date.now(),d=await o.getNotifications(t,1,10),g=Date.now()-l;return a.NextResponse.json({success:!0,timestamp:new Date().toISOString(),userInfo:s,environmentVariables:r,notificationServiceTest:{count:{result:i,timeMs:E},notifications:{count:d.length,timeMs:g,samples:d.slice(0,3)}}})}catch(e){return console.error("[DEBUG] Error in debug notifications API:",e),a.NextResponse.json({error:"Internal server error",message:e.message,stack:void 0},{status:500})}}let l=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/debug/notifications/route",pathname:"/api/debug/notifications",filename:"route",bundlePath:"app/api/debug/notifications/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/debug/notifications/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:d,workUnitAsyncStorage:g,serverHooks:x}=l;function N(){return(0,i.patchFetch)({workAsyncStorage:d,workUnitAsyncStorage:g})}},74075:e=>{e.exports=require("zlib")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4243,5419,580,8794,1642,6781,1890],()=>r(72756));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/debug/notifications/route.js.nft.json b/.next/server/app/api/debug/notifications/route.js.nft.json new file mode 100644 index 00000000..fd4928ee --- /dev/null +++ b/.next/server/app/api/debug/notifications/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/1890.js","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6781.js","../../../../chunks/8794.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/debug/notifications/route_client-reference-manifest.js b/.next/server/app/api/debug/notifications/route_client-reference-manifest.js new file mode 100644 index 00000000..a79d34ff --- /dev/null +++ b/.next/server/app/api/debug/notifications/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/debug/notifications/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/debug/notifications/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/debug/s3/route.js b/.next/server/app/api/debug/s3/route.js new file mode 100644 index 00000000..875e6285 --- /dev/null +++ b/.next/server/app/api/debug/s3/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=564,e.ids=[564],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},6074:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>g,routeModule:()=>f,serverHooks:()=>y,workAsyncStorage:()=>k,workUnitAsyncStorage:()=>m});var s={};t.r(s),t.d(s,{GET:()=>p});var o=t(96559),n=t(48088),i=t(37719),a=t(32190),c=t(19854),l=t(26690),u=t(91043),d=t(14182);async function p(e){try{let r=await (0,c.getServerSession)(l.N);if(!r?.user?.id)return a.NextResponse.json({error:"Unauthorized"},{status:401});let t=r.user.id,{searchParams:s}=new URL(e.url),o=s.get("folder")||"notes",n={endpoint:d.YE.endpoint,region:d.YE.region,bucket:d.YE.bucket,hasAccessKey:!!d.YE.accessKey,hasSecretKey:!!d.YE.secretKey},i=[];try{let e=await d.oD.send(new u.ListBucketsCommand({}));i=e.Buckets?.map(e=>e.Name)||[]}catch(e){return a.NextResponse.json({error:"Failed to list buckets",message:e instanceof Error?e.message:String(e),config:n},{status:500})}let p=`user-${t}/${o}/`;try{let e=new u.ListObjectsV2Command({Bucket:d.YE.bucket,Prefix:p,Delimiter:"/"}),r=await d.oD.send(e);return a.NextResponse.json({config:n,buckets:i,prefix:p,objects:r.Contents?.map(e=>({key:e.Key,size:e.Size,lastModified:e.LastModified}))||[],prefixes:r.CommonPrefixes?.map(e=>e.Prefix)||[]})}catch(e){return a.NextResponse.json({error:"Failed to list objects",message:e instanceof Error?e.message:String(e),config:n,buckets:i,prefix:p},{status:500})}}catch(e){return a.NextResponse.json({error:"Internal server error",message:e instanceof Error?e.message:String(e)},{status:500})}}let f=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/debug/s3/route",pathname:"/api/debug/s3",filename:"route",bundlePath:"app/api/debug/s3/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/debug/s3/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:k,workUnitAsyncStorage:m,serverHooks:y}=f;function g(){return(0,i.patchFetch)({workAsyncStorage:k,workUnitAsyncStorage:m})}},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},14182:(e,r,t)=>{"use strict";t.d(r,{$R:()=>i,Ui:()=>l,XB:()=>a,XR:()=>c,YE:()=>o,ZT:()=>d,b4:()=>u,oD:()=>n});var s=t(91043);let o={endpoint:"https://dome-api.slm-lab.net",region:"us-east-1",bucket:process.env.S3_BUCKET||"pages",accessKey:"4aBT4CMb7JIMMyUtp4Pl",secretKey:"HGn39XhCIlqOjmDVzRK9MED2Fci2rYvDDgbLFElg"},n=new s.S3Client({region:o.region,endpoint:o.endpoint,credentials:{accessKeyId:o.accessKey,secretAccessKey:o.secretKey},forcePathStyle:!0});async function i(e,r,t){let i=new s.PutObjectCommand({Bucket:o.bucket,Key:e,Body:"string"==typeof r?Buffer.from(r,"utf-8"):r,ContentType:t||"text/plain"});return await n.send(i),{key:e}}async function a(e){try{let r=new s.GetObjectCommand({Bucket:o.bucket,Key:e}),t=await n.send(r);if(!t.Body)return null;let i=[];for await(let e of t.Body)i.push(e);return Buffer.concat(i).toString("utf-8")}catch(e){return console.error("Error getting object content:",e),null}}async function c(e){let r=new s.DeleteObjectCommand({Bucket:o.bucket,Key:e});await n.send(r)}async function l(e,r){let t=`user-${e}/${r}/`,i=new s.ListObjectsV2Command({Bucket:o.bucket,Prefix:t,Delimiter:"/"});return((await n.send(i)).Contents||[]).filter(e=>e.Key&&!e.Key.endsWith("/")&&!e.Key.includes(".placeholder")).map(e=>({key:e.Key,name:e.Key.split("/").pop()||e.Key,size:e.Size,lastModified:e.LastModified}))}function u(e,r){if(!e)return"";if(e.startsWith("http"))return e;let t=e.startsWith("/")?e.substring(1):e,s=o.endpoint?.replace(/\/$/,""),n=r||o.bucket;return s?`${s}/${n}/${t}`:t}async function d(e){for(let r of["notes","diary","health","contacts"])try{let t=`user-${e}/${r}/`;await i(t,"","application/x-directory");let s=`user-${e}/${r}/.placeholder`;await i(s,"Folder placeholder","text/plain"),console.log(`Created folder: ${t}`)}catch(t){console.error(`Error creating folder ${r} for user ${e}:`,t)}}},19854:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=t(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=o?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(s,n,a):s[n]=e[n]}return s.default=e,t&&t.set(e,s),s}(t(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(i=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},26690:(e,r,t)=>{"use strict";t.d(r,{N:()=>a});var s=t(1926),o=t(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),t=await r.json();if(!r.ok){if("invalid_grant"===t.error||t.error_description?.includes("Session not active")||t.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw t}return{...e,accessToken:t.access_token,refreshToken:t.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*t.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,s.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let t=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",t),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:t}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:t}){if(r&&t){let s=(t.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=t.sub,e.role=s,e.username=t.preferred_username??"",e.first_name=t.given_name??"",e.last_name=t.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let s=e.accessTokenExpires;if(s&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},91043:e=>{"use strict";e.exports=require("@aws-sdk/client-s3")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580],()=>t(6074));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/debug/s3/route.js.nft.json b/.next/server/app/api/debug/s3/route.js.nft.json new file mode 100644 index 00000000..26a2b8cd --- /dev/null +++ b/.next/server/app/api/debug/s3/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/@aws-crypto/crc32/build/main/aws_crc32.js","../../../../../../node_modules/@aws-crypto/crc32/build/main/index.js","../../../../../../node_modules/@aws-crypto/crc32/package.json","../../../../../../node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js","../../../../../../node_modules/@aws-crypto/crc32c/build/main/index.js","../../../../../../node_modules/@aws-crypto/crc32c/package.json","../../../../../../node_modules/@aws-crypto/util/build/main/convertToBuffer.js","../../../../../../node_modules/@aws-crypto/util/build/main/index.js","../../../../../../node_modules/@aws-crypto/util/build/main/isEmptyData.js","../../../../../../node_modules/@aws-crypto/util/build/main/numToUint8.js","../../../../../../node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json","../../../../../../node_modules/@aws-crypto/util/package.json","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/client-s3/package.json","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/client-sso/package.json","../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/package.json","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/fxp.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/util.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/validator.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/node2json.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js","../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/package.json","../../../../../../node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-expect-continue/package.json","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/package.json","../../../../../../node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-host-header/package.json","../../../../../../node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-location-constraint/package.json","../../../../../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-logger/package.json","../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/package.json","../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/package.json","../../../../../../node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-ssec/package.json","../../../../../../node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-user-agent/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js","../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/region-config-resolver/package.json","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-arn-parser/package.json","../../../../../../node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-endpoints/package.json","../../../../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-user-agent-node/package.json","../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../node_modules/@smithy/config-resolver/dist-cjs/index.js","../../../../../../node_modules/@smithy/config-resolver/package.json","../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@smithy/core/package.json","../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../node_modules/@smithy/eventstream-codec/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-codec/package.json","../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/package.json","../../../../../../node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-node/package.json","../../../../../../node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-universal/package.json","../../../../../../node_modules/@smithy/fetch-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/fetch-http-handler/package.json","../../../../../../node_modules/@smithy/hash-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/hash-node/package.json","../../../../../../node_modules/@smithy/hash-stream-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/hash-stream-node/package.json","../../../../../../node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../node_modules/@smithy/is-array-buffer/package.json","../../../../../../node_modules/@smithy/middleware-content-length/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-content-length/package.json","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-endpoint/package.json","../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/package.json","../../../../../../node_modules/@smithy/middleware-retry/package.json","../../../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-serde/package.json","../../../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-stack/package.json","../../../../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-config-provider/package.json","../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../node_modules/@smithy/property-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/property-provider/package.json","../../../../../../node_modules/@smithy/protocol-http/dist-cjs/index.js","../../../../../../node_modules/@smithy/protocol-http/package.json","../../../../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js","../../../../../../node_modules/@smithy/querystring-builder/package.json","../../../../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js","../../../../../../node_modules/@smithy/querystring-parser/package.json","../../../../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js","../../../../../../node_modules/@smithy/service-error-classification/package.json","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/package.json","../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js","../../../../../../node_modules/@smithy/smithy-client/package.json","../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../node_modules/@smithy/types/package.json","../../../../../../node_modules/@smithy/url-parser/dist-cjs/index.js","../../../../../../node_modules/@smithy/url-parser/package.json","../../../../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js","../../../../../../node_modules/@smithy/util-base64/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js","../../../../../../node_modules/@smithy/util-base64/package.json","../../../../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-body-length-node/package.json","../../../../../../node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-buffer-from/package.json","../../../../../../node_modules/@smithy/util-config-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-config-provider/package.json","../../../../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-defaults-mode-node/package.json","../../../../../../node_modules/@smithy/util-endpoints/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-endpoints/package.json","../../../../../../node_modules/@smithy/util-hex-encoding/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-hex-encoding/package.json","../../../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-middleware/package.json","../../../../../../node_modules/@smithy/util-retry/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-retry/package.json","../../../../../../node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js","../../../../../../node_modules/@smithy/util-stream/package.json","../../../../../../node_modules/@smithy/util-uri-escape/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-uri-escape/package.json","../../../../../../node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-utf8/package.json","../../../../../../node_modules/@smithy/util-waiter/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-waiter/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/strnum/package.json","../../../../../../node_modules/strnum/strnum.js","../../../../../../node_modules/tslib/package.json","../../../../../../node_modules/tslib/tslib.js","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/debug/s3/route_client-reference-manifest.js b/.next/server/app/api/debug/s3/route_client-reference-manifest.js new file mode 100644 index 00000000..e6a1da07 --- /dev/null +++ b/.next/server/app/api/debug/s3/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/debug/s3/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/debug/s3/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/emails/route.js b/.next/server/app/api/emails/route.js new file mode 100644 index 00000000..964d7555 --- /dev/null +++ b/.next/server/app/api/emails/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=7245,e.ids=[7245],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},19854:(e,r,s)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=s(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var s=i(r);if(s&&s.has(e))return s.get(e);var t={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=o?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,s&&s.set(e,t),t}(s(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,s=new WeakMap;return(i=function(e){return e?s:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var t=s(1926),o=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,t.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44602:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>k,routeModule:()=>p,serverHooks:()=>m,workAsyncStorage:()=>d,workUnitAsyncStorage:()=>f});var t={};s.r(t),s.d(t,{GET:()=>u});var o=s(96559),n=s(48088),i=s(37719),a=s(32190),c=s(19854),l=s(26690);async function u(e){try{let e=await (0,c.getServerSession)(l.N);if(!e?.user?.email)return a.NextResponse.json({error:"Unauthorized"},{status:401});let r=process.env.NEXTCLOUD_URL;if(!r)return console.error("Missing Nextcloud URL"),a.NextResponse.json({error:"Nextcloud configuration is missing"},{status:500});let s=await fetch(`${r}/status.php`);if(!s.ok)return console.error("Nextcloud is not accessible:",await s.text()),a.NextResponse.json({error:"Nextcloud n'est pas accessible. Veuillez contacter votre administrateur.",emails:[]},{status:503});return a.NextResponse.json({emails:[{id:"test-1",subject:"Test Email",sender:{name:"System",email:"system@example.com"},date:new Date().toISOString(),isUnread:!0}],mailUrl:`${r}/apps/courrier/box/unified`})}catch(e){return console.error("Error:",e),a.NextResponse.json({error:"Une erreur est survenue. Veuillez contacter votre administrateur.",emails:[]},{status:500})}}let p=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/emails/route",pathname:"/api/emails",filename:"route",bundlePath:"app/api/emails/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/emails/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:d,workUnitAsyncStorage:f,serverHooks:m}=p;function k(){return(0,i.patchFetch)({workAsyncStorage:d,workUnitAsyncStorage:f})}},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580],()=>s(44602));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/emails/route.js.nft.json b/.next/server/app/api/emails/route.js.nft.json new file mode 100644 index 00000000..f1cf24f8 --- /dev/null +++ b/.next/server/app/api/emails/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4243.js","../../../chunks/5419.js","../../../chunks/580.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/emails/route_client-reference-manifest.js b/.next/server/app/api/emails/route_client-reference-manifest.js new file mode 100644 index 00000000..e167e87f --- /dev/null +++ b/.next/server/app/api/emails/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/emails/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/emails/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/events/[id]/route.js b/.next/server/app/api/events/[id]/route.js new file mode 100644 index 00000000..d40fe107 --- /dev/null +++ b/.next/server/app/api/events/[id]/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=9733,e.ids=[9733],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},9756:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>m,routeModule:()=>p,serverHooks:()=>f,workAsyncStorage:()=>k,workUnitAsyncStorage:()=>_});var o={};s.r(o),s.d(o,{DELETE:()=>d});var t=s(96559),n=s(48088),i=s(37719),a=s(32190),c=s(35426),l=s(26690),u=s(79464);async function d(e,r){let s=await r.params,o=await (0,c.getServerSession)(l.N);if(!o?.user?.id)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let e=await u.z.event.findUnique({where:{id:s.id},include:{calendar:!0}});if(!e)return a.NextResponse.json({error:"\xc9v\xe9nement non trouv\xe9"},{status:404});if(e.calendar.userId!==o.user.id)return a.NextResponse.json({error:"Non autoris\xe9"},{status:403});return await u.z.event.delete({where:{id:s.id}}),new a.NextResponse(null,{status:204})}catch(e){return console.error("Erreur lors de la suppression de l'\xe9v\xe9nement:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}let p=new t.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/events/[id]/route",pathname:"/api/events/[id]",filename:"route",bundlePath:"app/api/events/[id]/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/events/[id]/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:k,workUnitAsyncStorage:_,serverHooks:f}=p;function m(){return(0,i.patchFetch)({workAsyncStorage:k,workUnitAsyncStorage:_})}},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>t});var o=s(70762);let t=o.z.object({NODE_ENV:o.z.enum(["development","test","production"]).default("development"),DATABASE_URL:o.z.string().url(),NEWSDB_URL:o.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:o.z.string().url(),KEYCLOAK_CLIENT_ID:o.z.string(),KEYCLOAK_CLIENT_SECRET:o.z.string(),KEYCLOAK_REALM:o.z.string(),KEYCLOAK_ISSUER:o.z.string().url(),LEANTIME_TOKEN:o.z.string(),LEANTIME_API_URL:o.z.string().url(),ROCKET_CHAT_TOKEN:o.z.string(),ROCKET_CHAT_USER_ID:o.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var o=s(1926),t=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,o.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let o=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=o,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,t.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let o=e.accessTokenExpires;if(o&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>n});var o=s(96330),t=s(25037);let n=globalThis.prisma||new o.PrismaClient({datasources:{db:{url:t._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),o=r.X(0,[4243,5419,580,762],()=>s(9756));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/events/[id]/route.js.nft.json b/.next/server/app/api/events/[id]/route.js.nft.json new file mode 100644 index 00000000..b5ee2f6e --- /dev/null +++ b/.next/server/app/api/events/[id]/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/762.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/events/[id]/route_client-reference-manifest.js b/.next/server/app/api/events/[id]/route_client-reference-manifest.js new file mode 100644 index 00000000..9cc59dcb --- /dev/null +++ b/.next/server/app/api/events/[id]/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/events/[id]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/events/route":[],"/Users/alma/Documents/NeahNew/app/api/events/[id]/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/events/route.js b/.next/server/app/api/events/route.js new file mode 100644 index 00000000..1ddbfa57 --- /dev/null +++ b/.next/server/app/api/events/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=8301,e.ids=[8301],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>o});var t=s(70762);let o=t.z.object({NODE_ENV:t.z.enum(["development","test","production"]).default("development"),DATABASE_URL:t.z.string().url(),NEWSDB_URL:t.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:t.z.string().url(),KEYCLOAK_CLIENT_ID:t.z.string(),KEYCLOAK_CLIENT_SECRET:t.z.string(),KEYCLOAK_REALM:t.z.string(),KEYCLOAK_ISSUER:t.z.string().url(),LEANTIME_TOKEN:t.z.string(),LEANTIME_API_URL:t.z.string().url(),ROCKET_CHAT_TOKEN:t.z.string(),ROCKET_CHAT_USER_ID:t.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var t=s(1926),o=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,t.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>n});var t=s(96330),o=s(25037);let n=globalThis.prisma||new t.PrismaClient({datasources:{db:{url:o._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},86286:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>m,routeModule:()=>f,serverHooks:()=>_,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>k});var t={};s.r(t),s.d(t,{POST:()=>d,PUT:()=>p});var o=s(96559),n=s(48088),i=s(37719),a=s(32190),l=s(35426),c=s(26690),u=s(79464);async function d(e){let r=await (0,l.getServerSession)(c.N);if(!r?.user?.id)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let{title:s,description:t,start:o,end:n,allDay:i,location:l,calendarId:c}=await e.json();if(!s||!o||!n||!c)return a.NextResponse.json({error:"Titre, d\xe9but, fin et calendrier sont requis"},{status:400});if(!await u.z.calendar.findFirst({where:{id:c,userId:r.user.id}}))return a.NextResponse.json({error:"Calendrier non trouv\xe9 ou non autoris\xe9"},{status:404});let d=await u.z.event.create({data:{title:s,description:t||null,start:new Date(o),end:new Date(n),isAllDay:i||!1,location:l||null,calendarId:c,userId:r.user.id}});return console.log("Created event:",d),a.NextResponse.json(d,{status:201})}catch(e){return console.error("Erreur lors de la cr\xe9ation de l'\xe9v\xe9nement:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}async function p(e){let r=await (0,l.getServerSession)(c.N);if(!r?.user?.id)return a.NextResponse.json({error:"Non authentifi\xe9"},{status:401});try{let s=await e.json();console.log("Received event update data:",s);let{id:t,title:o,description:n,start:i,end:l,allDay:c,location:d,calendarId:p}=s;if(!t||!o||!i||!l||!p)return console.log("Validation failed. Missing fields:",{id:!t,title:!o,start:!i,end:!l,calendarId:!p}),a.NextResponse.json({error:"ID, titre, d\xe9but, fin et calendrier sont requis"},{status:400});let f=await u.z.calendar.findFirst({where:{id:p,userId:r.user.id},include:{events:{where:{id:t}}}});if(console.log("Found calendar:",f),!f||0===f.events.length)return console.log("Calendar or event not found:",{calendarFound:!!f,eventsFound:f?.events.length}),a.NextResponse.json({error:"\xc9v\xe9nement non trouv\xe9 ou non autoris\xe9"},{status:404});let v=await u.z.event.update({where:{id:t},data:{title:o,description:n,start:new Date(i),end:new Date(l),isAllDay:c||!1,location:d,calendarId:p}});return console.log("Updated event:",v),a.NextResponse.json(v)}catch(e){return console.error("Erreur lors de la mise \xe0 jour de l'\xe9v\xe9nement:",e),a.NextResponse.json({error:"Erreur serveur"},{status:500})}}let f=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/events/route",pathname:"/api/events",filename:"route",bundlePath:"app/api/events/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/events/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:v,workUnitAsyncStorage:k,serverHooks:_}=f;function m(){return(0,i.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:k})}},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580,762],()=>s(86286));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/events/route.js.nft.json b/.next/server/app/api/events/route.js.nft.json new file mode 100644 index 00000000..204a17ce --- /dev/null +++ b/.next/server/app/api/events/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../.env","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4243.js","../../../chunks/5419.js","../../../chunks/580.js","../../../chunks/762.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/events/route_client-reference-manifest.js b/.next/server/app/api/events/route_client-reference-manifest.js new file mode 100644 index 00000000..62ea2d02 --- /dev/null +++ b/.next/server/app/api/events/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/events/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/events/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/groups/[groupId]/members/route.js b/.next/server/app/api/groups/[groupId]/members/route.js new file mode 100644 index 00000000..d2a81b8d --- /dev/null +++ b/.next/server/app/api/groups/[groupId]/members/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=455,e.ids=[455],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>i});var o=s(1926),t=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function a(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let i={providers:[(0,o.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let o=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=o,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,t.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let o=e.accessTokenExpires;if(o&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63144:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>f,routeModule:()=>d,serverHooks:()=>_,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>k});var o={};s.r(o),s.d(o,{GET:()=>u,POST:()=>p});var t=s(96559),n=s(48088),a=s(37719),i=s(35426),c=s(26690),l=s(32190);async function u(e,r){let s=await r.params;if(!await (0,i.getServerSession)(c.N))return l.NextResponse.json({error:"Non autoris\xe9"},{status:401});try{let e=await fetch(`${process.env.KEYCLOAK_BASE_URL}/realms/${process.env.KEYCLOAK_REALM}/protocol/openid-connect/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"client_credentials",client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET})}),r=await e.json();if(!e.ok)return console.error("Failed to get token:",r),l.NextResponse.json({error:"Failed to get token"},{status:500});let o=await fetch(`${process.env.KEYCLOAK_BASE_URL}/admin/realms/${process.env.KEYCLOAK_REALM}/groups/${s.groupId}/members`,{headers:{Authorization:`Bearer ${r.access_token}`}});if(!o.ok){let e=await o.json();return console.error("Failed to get group members:",e),l.NextResponse.json({error:"Failed to get group members"},{status:o.status})}let t=await o.json();return l.NextResponse.json(t)}catch(e){return console.error("Error in get group members:",e),l.NextResponse.json({error:"Internal server error"},{status:500})}}async function p(e,r){let s=await r.params;if(!await (0,i.getServerSession)(c.N))return l.NextResponse.json({error:"Non autoris\xe9"},{status:401});try{let{userId:r}=await e.json(),o=await fetch(`${process.env.KEYCLOAK_BASE_URL}/realms/${process.env.KEYCLOAK_REALM}/protocol/openid-connect/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"client_credentials",client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET})}),t=await o.json();if(!o.ok)return console.error("Failed to get token:",t),l.NextResponse.json({error:"Failed to get token"},{status:500});let n=await fetch(`${process.env.KEYCLOAK_BASE_URL}/admin/realms/${process.env.KEYCLOAK_REALM}/users/${r}/groups/${s.groupId}`,{method:"PUT",headers:{Authorization:`Bearer ${t.access_token}`}});if(!n.ok){let e=await n.json();return console.error("Failed to add user to group:",e),l.NextResponse.json({error:"Failed to add user to group"},{status:n.status})}return l.NextResponse.json({success:!0})}catch(e){return console.error("Error in add user to group:",e),l.NextResponse.json({error:"Internal server error"},{status:500})}}let d=new t.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/groups/[groupId]/members/route",pathname:"/api/groups/[groupId]/members",filename:"route",bundlePath:"app/api/groups/[groupId]/members/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/groups/[groupId]/members/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:m,workUnitAsyncStorage:k,serverHooks:_}=d;function f(){return(0,a.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:k})}},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),o=r.X(0,[4243,5419,580],()=>s(63144));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/groups/[groupId]/members/route.js.nft.json b/.next/server/app/api/groups/[groupId]/members/route.js.nft.json new file mode 100644 index 00000000..838c3cb9 --- /dev/null +++ b/.next/server/app/api/groups/[groupId]/members/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/4243.js","../../../../../chunks/5419.js","../../../../../chunks/580.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/groups/[groupId]/members/route_client-reference-manifest.js b/.next/server/app/api/groups/[groupId]/members/route_client-reference-manifest.js new file mode 100644 index 00000000..dd4b708c --- /dev/null +++ b/.next/server/app/api/groups/[groupId]/members/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/groups/[groupId]/members/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/groups/route":[],"/Users/alma/Documents/NeahNew/app/api/groups/[groupId]/route":[],"/Users/alma/Documents/NeahNew/app/api/groups/[groupId]/members/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/groups/[groupId]/route.js b/.next/server/app/api/groups/[groupId]/route.js new file mode 100644 index 00000000..157fd1bd --- /dev/null +++ b/.next/server/app/api/groups/[groupId]/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=7435,e.ids=[7435],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},26690:(e,r,o)=>{"use strict";o.d(r,{N:()=>i});var s=o(1926),t=o(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function a(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),o=await r.json();if(!r.ok){if("invalid_grant"===o.error||o.error_description?.includes("Session not active")||o.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw o}return{...e,accessToken:o.access_token,refreshToken:o.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*o.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let i={providers:[(0,s.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let o=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",o),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:o}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:o}){if(r&&o){let s=(o.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=o.sub,e.role=s,e.username=o.preferred_username??"",e.first_name=o.given_name??"",e.last_name=o.family_name??""}else if(e.accessToken)try{let r=(0,t.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let s=e.accessTokenExpires;if(s&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},56794:(e,r,o)=>{"use strict";o.r(r),o.d(r,{patchFetch:()=>E,routeModule:()=>k,serverHooks:()=>g,workAsyncStorage:()=>h,workUnitAsyncStorage:()=>_});var s={};o.r(s),o.d(s,{DELETE:()=>m,GET:()=>p,PATCH:()=>f,PUT:()=>d});var t=o(96559),n=o(48088),a=o(37719),i=o(35426),c=o(26690),u=o(32190);async function l(){let e=await fetch(`${process.env.KEYCLOAK_BASE_URL}/realms/${process.env.KEYCLOAK_REALM}/protocol/openid-connect/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"client_credentials",client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET})}),r=await e.json();if(!e.ok)throw Error(r.error_description||"Failed to get admin token");return r.access_token}async function p(e,r){let o=await r.params;try{if(!await (0,i.getServerSession)(c.N))return u.NextResponse.json({error:"Non autoris\xe9"},{status:401});let e=await l(),r=await fetch(`${process.env.KEYCLOAK_BASE_URL}/admin/realms/${process.env.KEYCLOAK_REALM}/groups/${o.groupId}`,{headers:{Authorization:`Bearer ${e}`}});if(!r.ok)throw Error("Failed to fetch group");let s=await r.json();return u.NextResponse.json(s)}catch(e){return console.error("Get Group Error:",e),u.NextResponse.json({error:"Erreur lors de la r\xe9cup\xe9ration du groupe"},{status:500})}}async function d(e,r){let o=await r.params;try{if(!await (0,i.getServerSession)(c.N))return u.NextResponse.json({error:"Non autoris\xe9"},{status:401});let r=await l(),s=await e.json();if(!(await fetch(`${process.env.KEYCLOAK_BASE_URL}/admin/realms/${process.env.KEYCLOAK_REALM}/groups/${o.groupId}`,{method:"PUT",headers:{Authorization:`Bearer ${r}`,"Content-Type":"application/json"},body:JSON.stringify(s)})).ok)throw Error("Failed to update group");return u.NextResponse.json({success:!0})}catch(e){return console.error("Update Group Error:",e),u.NextResponse.json({error:"Erreur lors de la mise \xe0 jour du groupe"},{status:500})}}async function f(e,r){let o=await r.params;try{if(!await (0,i.getServerSession)(c.N))return u.NextResponse.json({error:"Non autoris\xe9"},{status:401});let r=await l(),s=await e.json();if(!(await fetch(`${process.env.KEYCLOAK_BASE_URL}/admin/realms/${process.env.KEYCLOAK_REALM}/groups/${o.groupId}`,{method:"PUT",headers:{Authorization:`Bearer ${r}`,"Content-Type":"application/json"},body:JSON.stringify(s)})).ok)throw Error("Failed to update group");return u.NextResponse.json({success:!0})}catch(e){return console.error("Update Group Error:",e),u.NextResponse.json({error:"Erreur lors de la mise \xe0 jour du groupe"},{status:500})}}async function m(e,r){let o=await r.params;try{if(!await (0,i.getServerSession)(c.N))return u.NextResponse.json({error:"Non autoris\xe9"},{status:401});let e=await l();if(!(await fetch(`${process.env.KEYCLOAK_BASE_URL}/admin/realms/${process.env.KEYCLOAK_REALM}/groups/${o.groupId}`,{method:"DELETE",headers:{Authorization:`Bearer ${e}`}})).ok)throw Error("Failed to delete group");return u.NextResponse.json({success:!0})}catch(e){return console.error("Delete Group Error:",e),u.NextResponse.json({error:"Erreur lors de la suppression du groupe"},{status:500})}}let k=new t.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/groups/[groupId]/route",pathname:"/api/groups/[groupId]",filename:"route",bundlePath:"app/api/groups/[groupId]/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/groups/[groupId]/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:h,workUnitAsyncStorage:_,serverHooks:g}=k;function E(){return(0,a.patchFetch)({workAsyncStorage:h,workUnitAsyncStorage:_})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var o=e=>r(r.s=e),s=r.X(0,[4243,5419,580],()=>o(56794));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/groups/[groupId]/route.js.nft.json b/.next/server/app/api/groups/[groupId]/route.js.nft.json new file mode 100644 index 00000000..6583ffd3 --- /dev/null +++ b/.next/server/app/api/groups/[groupId]/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/groups/[groupId]/route_client-reference-manifest.js b/.next/server/app/api/groups/[groupId]/route_client-reference-manifest.js new file mode 100644 index 00000000..380d6303 --- /dev/null +++ b/.next/server/app/api/groups/[groupId]/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/groups/[groupId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/groups/route":[],"/Users/alma/Documents/NeahNew/app/api/groups/[groupId]/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/groups/route.js b/.next/server/app/api/groups/route.js new file mode 100644 index 00000000..2722ce19 --- /dev/null +++ b/.next/server/app/api/groups/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=558,e.ids=[558],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>i});var o=s(1926),t=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function a(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let i={providers:[(0,o.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let o=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=o,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,t.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let o=e.accessTokenExpires;if(o&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},57127:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>_,routeModule:()=>m,serverHooks:()=>h,workAsyncStorage:()=>k,workUnitAsyncStorage:()=>f});var o={};s.r(o),s.d(o,{GET:()=>p,POST:()=>d});var t=s(96559),n=s(48088),a=s(37719),i=s(35426),c=s(26690),l=s(32190);async function u(){try{let e=await fetch(`${process.env.KEYCLOAK_BASE_URL}/realms/${process.env.KEYCLOAK_REALM}/protocol/openid-connect/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"client_credentials",client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET})}),r=await e.json();if(console.log("Token Response:",{status:e.status,ok:e.ok,data:r}),!e.ok||!r.access_token)return console.error("Token Error Details:",{status:e.status,data:r}),null;return r.access_token}catch(e){return console.error("Token Error:",e),null}}async function p(){try{if(!await (0,i.getServerSession)(c.N))return l.NextResponse.json({message:"Non autoris\xe9"},{status:401});let e=await u();if(!e)return l.NextResponse.json({message:"Erreur d'authentification"},{status:401});let r=await fetch(`${process.env.KEYCLOAK_BASE_URL}/admin/realms/${process.env.KEYCLOAK_REALM}/groups`,{headers:{Authorization:`Bearer ${e}`}});if(!r.ok)return l.NextResponse.json({message:"\xc9chec de la r\xe9cup\xe9ration des groupes"},{status:r.status});let s=await r.json();if(!Array.isArray(s))return l.NextResponse.json([]);let o=await Promise.all(s.map(async r=>{try{let s=await fetch(`${process.env.KEYCLOAK_BASE_URL}/admin/realms/${process.env.KEYCLOAK_REALM}/groups/${r.id}/members/count`,{headers:{Authorization:`Bearer ${e}`}}),o=0;return s.ok&&(o=await s.json()),{id:r.id,name:r.name,path:r.path,membersCount:o}}catch(e){return{id:r.id,name:r.name,path:r.path,membersCount:0}}}));return l.NextResponse.json(o)}catch(e){return console.error("Groups API Error:",e),l.NextResponse.json({message:"Une erreur est survenue"},{status:500})}}async function d(e){try{if(!await (0,i.getServerSession)(c.N))return l.NextResponse.json({message:"Non autoris\xe9"},{status:401});let{name:r}=await e.json();if(!r?.trim())return l.NextResponse.json({message:"Le nom du groupe est requis"},{status:400});let s=await u();if(!(await fetch(`${process.env.KEYCLOAK_BASE_URL}/admin/realms/${process.env.KEYCLOAK_REALM}/groups`,{method:"POST",headers:{Authorization:`Bearer ${s}`,"Content-Type":"application/json"},body:JSON.stringify({name:r})})).ok)throw Error("\xc9chec de la cr\xe9ation du groupe");return l.NextResponse.json({id:Date.now().toString(),name:r,path:`/${r}`,membersCount:0})}catch(e){return console.error("Create Group Error:",e),l.NextResponse.json({message:e instanceof Error?e.message:"Une erreur est survenue"},{status:500})}}let m=new t.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/groups/route",pathname:"/api/groups",filename:"route",bundlePath:"app/api/groups/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/groups/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:k,workUnitAsyncStorage:f,serverHooks:h}=m;function _(){return(0,a.patchFetch)({workAsyncStorage:k,workUnitAsyncStorage:f})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),o=r.X(0,[4243,5419,580],()=>s(57127));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/groups/route.js.nft.json b/.next/server/app/api/groups/route.js.nft.json new file mode 100644 index 00000000..f1cf24f8 --- /dev/null +++ b/.next/server/app/api/groups/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/4243.js","../../../chunks/5419.js","../../../chunks/580.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/groups/route_client-reference-manifest.js b/.next/server/app/api/groups/route_client-reference-manifest.js new file mode 100644 index 00000000..dad6ffe6 --- /dev/null +++ b/.next/server/app/api/groups/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/groups/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/groups/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/leantime/status-labels/route.js b/.next/server/app/api/leantime/status-labels/route.js new file mode 100644 index 00000000..777026b0 --- /dev/null +++ b/.next/server/app/api/leantime/status-labels/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=6086,e.ids=[6086],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>i});var t=s(1926),o=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function a(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let i={providers:[(0,t.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},92659:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>h,routeModule:()=>m,serverHooks:()=>g,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>k});var t={};s.r(t),s.d(t,{GET:()=>d});var o=s(96559),n=s(48088),a=s(37719),i=s(35426),l=s(26690),c=s(32190);let u=new Map;async function p(e){if(u.has(e))return u.get(e);try{console.log("Fetching Leantime user with token:",process.env.LEANTIME_TOKEN?"Token present":"Token missing");let r=await fetch("https://agilite.slm-lab.net/api/jsonrpc",{method:"POST",headers:{"Content-Type":"application/json","X-API-Key":process.env.LEANTIME_TOKEN||""},body:JSON.stringify({jsonrpc:"2.0",method:"leantime.rpc.Users.Users.getUserByEmail",id:1,params:{email:e}})});if(!r.ok)throw console.error("Failed to fetch user from Leantime:",{status:r.status,statusText:r.statusText}),Error(`Failed to fetch user from Leantime: ${r.status} ${r.statusText}`);let s=await r.json();if(console.log("Leantime user response:",s),!s.result||!1===s.result)return console.log("User not found in Leantime"),null;return u.set(e,s.result.id),setTimeout(()=>u.delete(e),3e5),s.result.id}catch(e){return console.error("Error getting Leantime user ID:",e),null}}async function d(e){try{let e=await (0,i.getServerSession)(l.N);if(console.log("Session:",e?"Present":"Missing"),!e)return c.NextResponse.json({error:"Unauthorized",message:"No session found. Please sign in."},{status:401});if(!e.user?.email)return c.NextResponse.json({error:"Unauthorized",message:"No email found in session. Please sign in again."},{status:401});console.log("User email:",e.user.email);let r=await p(e.user.email);if(console.log("Leantime user ID:",r),!r)return c.NextResponse.json({error:"User not found",message:"Could not find user in Leantime. Please check your email."},{status:404});console.log("Fetching tasks for user:",r);let s=await fetch("https://agilite.slm-lab.net/api/jsonrpc",{method:"POST",headers:{"Content-Type":"application/json","X-API-Key":process.env.LEANTIME_TOKEN||""},body:JSON.stringify({jsonrpc:"2.0",method:"leantime.rpc.Tickets.Tickets.getAll",id:1,params:{projectId:0,userId:r,status:"all",limit:100}})});if(!s.ok)throw console.error("Failed to fetch tasks:",{status:s.status,statusText:s.statusText}),Error(`Failed to fetch tasks: ${s.status} ${s.statusText}`);let t=await s.json();if(console.log("Tasks response:",t),!t.result)return c.NextResponse.json({projects:[]});console.log("Fetching projects");let o=await fetch("https://agilite.slm-lab.net/api/jsonrpc",{method:"POST",headers:{"Content-Type":"application/json","X-API-Key":process.env.LEANTIME_TOKEN||""},body:JSON.stringify({jsonrpc:"2.0",method:"leantime.rpc.Projects.getAll",id:1})});if(!o.ok)throw console.error("Failed to fetch projects:",{status:o.status,statusText:o.statusText}),Error(`Failed to fetch projects: ${o.status} ${o.statusText}`);let n=await o.json();console.log("Projects response:",n);let a=new Map;t.result.forEach(e=>{let r=n.result.find(r=>r.id===e.projectId),s=r?r.name:`Project ${e.projectId}`,t=e.projectId.toString();a.has(t)||a.set(t,{id:t,name:s,labels:[]});let o=a.get(t);if(!o.labels.find(r=>r.name===e.status)){let r,s;switch(e.status.toString()){case"1":r="NEW",s="bg-blue-100 text-blue-800";break;case"2":r="INPROGRESS",s="bg-yellow-100 text-yellow-800";break;case"3":r="DONE",s="bg-green-100 text-green-800";break;default:r="UNKNOWN",s="bg-gray-100 text-gray-800"}o.labels.push({id:`${t}-${e.status}`,name:e.status,statusType:r,class:s})}});let u=Array.from(a.values()).sort((e,r)=>e.name.localeCompare(r.name));return console.log("Final projects:",u),c.NextResponse.json({projects:u})}catch(e){return console.error("Error fetching status labels:",e),c.NextResponse.json({error:"Failed to fetch status labels",message:e instanceof Error?e.message:"Unknown error occurred"},{status:500})}}let m=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/leantime/status-labels/route",pathname:"/api/leantime/status-labels",filename:"route",bundlePath:"app/api/leantime/status-labels/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/leantime/status-labels/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:f,workUnitAsyncStorage:k,serverHooks:g}=m;function h(){return(0,a.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:k})}},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580],()=>s(92659));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/leantime/status-labels/route.js.nft.json b/.next/server/app/api/leantime/status-labels/route.js.nft.json new file mode 100644 index 00000000..6583ffd3 --- /dev/null +++ b/.next/server/app/api/leantime/status-labels/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/leantime/status-labels/route_client-reference-manifest.js b/.next/server/app/api/leantime/status-labels/route_client-reference-manifest.js new file mode 100644 index 00000000..910c539d --- /dev/null +++ b/.next/server/app/api/leantime/status-labels/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/leantime/status-labels/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/leantime/status-labels/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/leantime/tasks/route.js b/.next/server/app/api/leantime/tasks/route.js new file mode 100644 index 00000000..3342d615 --- /dev/null +++ b/.next/server/app/api/leantime/tasks/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=7778,e.ids=[7778],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12412:e=>{"use strict";e.exports=require("assert")},14985:e=>{"use strict";e.exports=require("dns")},21820:e=>{"use strict";e.exports=require("os")},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var t=s(1926),o=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,t.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},34631:e=>{"use strict";e.exports=require("tls")},41204:e=>{"use strict";e.exports=require("string_decoder")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},68251:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>h,routeModule:()=>m,serverHooks:()=>g,workAsyncStorage:()=>f,workUnitAsyncStorage:()=>k});var t={};s.r(t),s.d(t,{GET:()=>p});var o=s(96559),n=s(48088),i=s(37719),a=s(32190),l=s(35426),c=s(26690),u=s(36781);async function d(e){try{let r;if(!process.env.LEANTIME_TOKEN)return console.error("LEANTIME_TOKEN is not set in environment variables"),null;console.log("Fetching Leantime users for email:",e),console.log("API URL:",process.env.LEANTIME_API_URL),console.log("Token length:",process.env.LEANTIME_TOKEN.length);let s={"Content-Type":"application/json","X-API-Key":process.env.LEANTIME_TOKEN},t=await fetch(`${process.env.LEANTIME_API_URL}/api/jsonrpc`,{method:"POST",headers:s,body:JSON.stringify({jsonrpc:"2.0",method:"leantime.rpc.users.getAll",id:1})}),o=await t.text();if(console.log("Raw Leantime response:",o),!t.ok)return console.error("Failed to fetch Leantime users:",{status:t.status,statusText:t.statusText,headers:Object.fromEntries(t.headers.entries())}),null;try{r=JSON.parse(o)}catch(e){return console.error("Failed to parse Leantime response:",e),null}if(console.log("Leantime users response:",r),!r.result||!Array.isArray(r.result))return console.error("Invalid response format from Leantime users API"),null;let n=r.result.find(r=>r.username===e);return n?console.log("Found Leantime user:",{id:n.id,username:n.username}):console.log("No Leantime user found for username:",e),n?n.id:null}catch(e){return console.error("Error fetching Leantime user ID:",e),null}}async function p(e){try{let r,s=await (0,l.getServerSession)(c.N);if(!s?.user?.email)return a.NextResponse.json({error:"Unauthorized"},{status:401});let t=new URL(e.url);if("true"!==t.searchParams.get("refresh")){let e=await (0,u.ds)(s.user.id);if(e)return console.log(`Using cached tasks data for user ${s.user.id}`),a.NextResponse.json(e)}console.log("Fetching tasks for user:",s.user.email);let o=await d(s.user.email);if(!o)return console.error("User not found in Leantime"),a.NextResponse.json({error:"User not found in Leantime"},{status:404});console.log("Fetching tasks for Leantime user ID:",o);let n={"Content-Type":"application/json","X-API-Key":process.env.LEANTIME_TOKEN},i=await fetch(`${process.env.LEANTIME_API_URL}/api/jsonrpc`,{method:"POST",headers:n,body:JSON.stringify({jsonrpc:"2.0",method:"leantime.rpc.tickets.getAll",params:{userId:o,status:"all"},id:1})}),p=await i.text();if(console.log("Tasks API response status:",i.status),!i.ok)throw console.error("Failed to fetch tasks from Leantime:",{status:i.status,statusText:i.statusText}),Error("Failed to fetch tasks from Leantime");try{r=JSON.parse(p)}catch(e){throw console.error("Failed to parse tasks response"),Error("Invalid response format from Leantime")}if(!r.result||!Array.isArray(r.result))throw console.error("Invalid response format from Leantime tasks API"),Error("Invalid response format from Leantime");console.log("Received tasks count:",r.result.length),console.log("Task IDs:",r.result.map(e=>e.id));let m=r.result.filter(e=>{if(console.log("Raw task data:",{id:e.id,headline:e.headline,status:e.status,type:e.type,dependingTicketId:e.dependingTicketId}),5===e.status)return console.log(`Filtering out Done task ${e.id} (type: ${e.type||"main"}, status: ${e.status})`),!1;let r=String(e.editorId).trim(),s=String(o).trim(),t=r===s;return console.log(`Task ${e.id}: status=${e.status}, type=${e.type||"main"}, parentId=${e.dependingTicketId||"none"}, isUserEditor=${t}`),t}).map(e=>({id:e.id.toString(),headline:e.headline,projectName:e.projectName,projectId:e.projectId,status:e.status,dateToFinish:e.dateToFinish||null,milestone:e.type||null,details:e.description||null,createdOn:e.dateCreated,editedOn:e.editedOn||null,editorId:e.editorId,editorFirstname:e.editorFirstname,editorLastname:e.editorLastname,type:e.type||null,dependingTicketId:e.dependingTicketId||null}));return console.log(`Found ${m.length} tasks assigned to user ${o}`),await (0,u.to)(s.user.id,m),a.NextResponse.json(m)}catch(e){return console.error("Error in tasks route:",e),a.NextResponse.json({error:"Failed to fetch tasks"},{status:500})}}let m=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/leantime/tasks/route",pathname:"/api/leantime/tasks",filename:"route",bundlePath:"app/api/leantime/tasks/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/leantime/tasks/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:f,workUnitAsyncStorage:k,serverHooks:g}=m;function h(){return(0,i.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:k})}},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},83997:e=>{"use strict";e.exports=require("tty")},91645:e=>{"use strict";e.exports=require("net")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580,8794,1642,6781],()=>s(68251));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/leantime/tasks/route.js.nft.json b/.next/server/app/api/leantime/tasks/route.js.nft.json new file mode 100644 index 00000000..1ef0f1b3 --- /dev/null +++ b/.next/server/app/api/leantime/tasks/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6781.js","../../../../chunks/8794.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/leantime/tasks/route_client-reference-manifest.js b/.next/server/app/api/leantime/tasks/route_client-reference-manifest.js new file mode 100644 index 00000000..99a9339f --- /dev/null +++ b/.next/server/app/api/leantime/tasks/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/leantime/tasks/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/leantime/tasks/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/missions/[missionId]/attachments/[attachmentId]/route.js b/.next/server/app/api/missions/[missionId]/attachments/[attachmentId]/route.js new file mode 100644 index 00000000..bda08d18 --- /dev/null +++ b/.next/server/app/api/missions/[missionId]/attachments/[attachmentId]/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=6895,e.ids=[6895],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},13298:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>w,routeModule:()=>h,serverHooks:()=>f,workAsyncStorage:()=>x,workUnitAsyncStorage:()=>q});var s={};t.r(s),t.d(s,{DELETE:()=>l});var n=t(96559),a=t(48088),i=t(37719),o=t(32190),u=t(19854),d=t(26690),p=t(79464),c=t(22039);async function m(e){let r=await (0,u.getServerSession)(d.N);return r?.user?.id?{authorized:!0,userId:r.user.id}:(console.error("Unauthorized access attempt:",{url:e.url,method:e.method,headers:Object.fromEntries(e.headers)}),{authorized:!1,userId:null})}async function l(e,r){let t=await r.params;try{let{authorized:r,userId:s}=await m(e);if(!r||!s)return o.NextResponse.json({error:"Unauthorized"},{status:401});let{missionId:n,attachmentId:a}=t;if(!n||!a)return o.NextResponse.json({error:"Mission ID and Attachment ID are required"},{status:400});if(!await p.z.mission.findFirst({where:{id:n,OR:[{creatorId:s},{missionUsers:{some:{userId:s,role:"gardien-memoire"}}}]}}))return o.NextResponse.json({error:"Mission not found or access denied"},{status:404});let i=await p.z.attachment.findUnique({where:{id:a,missionId:n}});if(!i)return o.NextResponse.json({error:"Attachment not found"},{status:404});return await (0,c.zt)(i.filePath),await p.z.attachment.delete({where:{id:a}}),o.NextResponse.json({success:!0})}catch(e){return console.error("Error deleting attachment:",e),o.NextResponse.json({error:"Internal server error",details:e instanceof Error?e.message:String(e)},{status:500})}}let h=new n.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/missions/[missionId]/attachments/[attachmentId]/route",pathname:"/api/missions/[missionId]/attachments/[attachmentId]",filename:"route",bundlePath:"app/api/missions/[missionId]/attachments/[attachmentId]/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/missions/[missionId]/attachments/[attachmentId]/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:x,workUnitAsyncStorage:q,serverHooks:f}=h;function w(){return(0,i.patchFetch)({workAsyncStorage:x,workUnitAsyncStorage:q})}},28354:e=>{e.exports=require("util")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{e.exports=require("zlib")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},81630:e=>{e.exports=require("http")},91043:e=>{e.exports=require("@aws-sdk/client-s3")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580,762,6300],()=>t(13298));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/missions/[missionId]/attachments/[attachmentId]/route.js.nft.json b/.next/server/app/api/missions/[missionId]/attachments/[attachmentId]/route.js.nft.json new file mode 100644 index 00000000..c77d3c6d --- /dev/null +++ b/.next/server/app/api/missions/[missionId]/attachments/[attachmentId]/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../../.env","../../../../../../../../node_modules/.prisma/client/default.js","../../../../../../../../node_modules/.prisma/client/index.js","../../../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../../../node_modules/.prisma/client/package.json","../../../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../../../node_modules/@aws-crypto/crc32/build/main/aws_crc32.js","../../../../../../../../node_modules/@aws-crypto/crc32/build/main/index.js","../../../../../../../../node_modules/@aws-crypto/crc32/package.json","../../../../../../../../node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js","../../../../../../../../node_modules/@aws-crypto/crc32c/build/main/index.js","../../../../../../../../node_modules/@aws-crypto/crc32c/package.json","../../../../../../../../node_modules/@aws-crypto/util/build/main/convertToBuffer.js","../../../../../../../../node_modules/@aws-crypto/util/build/main/index.js","../../../../../../../../node_modules/@aws-crypto/util/build/main/isEmptyData.js","../../../../../../../../node_modules/@aws-crypto/util/build/main/numToUint8.js","../../../../../../../../node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js","../../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json","../../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json","../../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json","../../../../../../../../node_modules/@aws-crypto/util/package.json","../../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js","../../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js","../../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js","../../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js","../../../../../../../../node_modules/@aws-sdk/client-s3/package.json","../../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js","../../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js","../../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js","../../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js","../../../../../../../../node_modules/@aws-sdk/client-sso/package.json","../../../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../../../node_modules/@aws-sdk/core/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/package.json","../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/fxp.js","../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/util.js","../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/validator.js","../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js","../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js","../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js","../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js","../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js","../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js","../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/node2json.js","../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js","../../../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/package.json","../../../../../../../../node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/middleware-expect-continue/package.json","../../../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js","../../../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/package.json","../../../../../../../../node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/middleware-host-header/package.json","../../../../../../../../node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/middleware-location-constraint/package.json","../../../../../../../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/middleware-logger/package.json","../../../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/package.json","../../../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/package.json","../../../../../../../../node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/middleware-ssec/package.json","../../../../../../../../node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/middleware-user-agent/package.json","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/region-config-resolver/package.json","../../../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../../../node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/util-arn-parser/package.json","../../../../../../../../node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/util-endpoints/package.json","../../../../../../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/util-user-agent-node/package.json","../../../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../../../node_modules/@prisma/client/default.js","../../../../../../../../node_modules/@prisma/client/package.json","../../../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../../../node_modules/@smithy/config-resolver/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/config-resolver/package.json","../../../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../../../node_modules/@smithy/core/package.json","../../../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../../../node_modules/@smithy/eventstream-codec/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/eventstream-codec/package.json","../../../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/package.json","../../../../../../../../node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/eventstream-serde-node/package.json","../../../../../../../../node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/eventstream-serde-universal/package.json","../../../../../../../../node_modules/@smithy/fetch-http-handler/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/fetch-http-handler/package.json","../../../../../../../../node_modules/@smithy/hash-node/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/hash-node/package.json","../../../../../../../../node_modules/@smithy/hash-stream-node/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/hash-stream-node/package.json","../../../../../../../../node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/is-array-buffer/package.json","../../../../../../../../node_modules/@smithy/middleware-content-length/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/middleware-content-length/package.json","../../../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js","../../../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js","../../../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/middleware-endpoint/package.json","../../../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js","../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/package.json","../../../../../../../../node_modules/@smithy/middleware-retry/package.json","../../../../../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/middleware-serde/package.json","../../../../../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/middleware-stack/package.json","../../../../../../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/node-config-provider/package.json","../../../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../../../node_modules/@smithy/property-provider/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/property-provider/package.json","../../../../../../../../node_modules/@smithy/protocol-http/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/protocol-http/package.json","../../../../../../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/querystring-builder/package.json","../../../../../../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/querystring-parser/package.json","../../../../../../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/service-error-classification/package.json","../../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js","../../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js","../../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js","../../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js","../../../../../../../../node_modules/@smithy/shared-ini-file-loader/package.json","../../../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/smithy-client/package.json","../../../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/types/package.json","../../../../../../../../node_modules/@smithy/url-parser/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/url-parser/package.json","../../../../../../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js","../../../../../../../../node_modules/@smithy/util-base64/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js","../../../../../../../../node_modules/@smithy/util-base64/package.json","../../../../../../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-body-length-node/package.json","../../../../../../../../node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-buffer-from/package.json","../../../../../../../../node_modules/@smithy/util-config-provider/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-config-provider/package.json","../../../../../../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-defaults-mode-node/package.json","../../../../../../../../node_modules/@smithy/util-endpoints/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-endpoints/package.json","../../../../../../../../node_modules/@smithy/util-hex-encoding/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-hex-encoding/package.json","../../../../../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-middleware/package.json","../../../../../../../../node_modules/@smithy/util-retry/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-retry/package.json","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.js","../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js","../../../../../../../../node_modules/@smithy/util-stream/package.json","../../../../../../../../node_modules/@smithy/util-uri-escape/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-uri-escape/package.json","../../../../../../../../node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-utf8/package.json","../../../../../../../../node_modules/@smithy/util-waiter/dist-cjs/index.js","../../../../../../../../node_modules/@smithy/util-waiter/package.json","../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../node_modules/next/package.json","../../../../../../../../node_modules/strnum/package.json","../../../../../../../../node_modules/strnum/strnum.js","../../../../../../../../node_modules/tslib/package.json","../../../../../../../../node_modules/tslib/tslib.js","../../../../../../../../package.json","../../../../../../../package.json","../../../../../../chunks/4243.js","../../../../../../chunks/5419.js","../../../../../../chunks/580.js","../../../../../../chunks/6300.js","../../../../../../chunks/762.js","../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/missions/[missionId]/attachments/[attachmentId]/route_client-reference-manifest.js b/.next/server/app/api/missions/[missionId]/attachments/[attachmentId]/route_client-reference-manifest.js new file mode 100644 index 00000000..b5746d40 --- /dev/null +++ b/.next/server/app/api/missions/[missionId]/attachments/[attachmentId]/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/missions/[missionId]/attachments/[attachmentId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/missions/route":[],"/Users/alma/Documents/NeahNew/app/api/missions/[missionId]/route":[],"/Users/alma/Documents/NeahNew/app/api/missions/[missionId]/attachments/route":[],"/Users/alma/Documents/NeahNew/app/api/missions/[missionId]/attachments/[attachmentId]/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/missions/[missionId]/attachments/download/[attachmentId]/route.js b/.next/server/app/api/missions/[missionId]/attachments/download/[attachmentId]/route.js new file mode 100644 index 00000000..0923e409 --- /dev/null +++ b/.next/server/app/api/missions/[missionId]/attachments/download/[attachmentId]/route.js @@ -0,0 +1,10 @@ +(()=>{var e={};e.id=9926,e.ids=[9926],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},7710:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>ty,routeModule:()=>tf,serverHooks:()=>th,workAsyncStorage:()=>tg,workUnitAsyncStorage:()=>tp});var n,s,i,o,a,c,l,u,d,f={};r.r(f),r.d(f,{GET:()=>td});var g=r(96559),p=r(48088),h=r(37719),y=r(32190),m=r(19854),w=r(26690),v=r(79464);let b=e=>encodeURIComponent(e).replace(/[!'()*]/g,S),S=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`,k=async e=>{let t=e?.Bucket||"";if("string"==typeof e.Bucket&&(e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),O(t)){if(!0===e.ForcePathStyle)throw Error("Path-style addressing cannot be used with ARN buckets")}else _(t)&&(-1===t.indexOf(".")||String(e.Endpoint).startsWith("http:"))&&t.toLowerCase()===t&&!(t.length<3)||(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e},E=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,A=/(\d+\.){3}\d+/,C=/\.\./,_=e=>E.test(e)&&!A.test(e)&&!C.test(e),O=e=>{let[t,r,n,,,s]=e.split(":"),i="arn"===t&&e.split(":").length>=6,o=!!(i&&r&&n&&s);if(i&&!o)throw Error(`Invalid ARN: ${e} was an invalid ARN.`);return o},T=(e,t,r)=>{let n=async()=>{let n=r[e]??r[t];return"function"==typeof n?n():n};return"credentialScope"===e||"CredentialScope"===t?async()=>{let e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.credentialScope??e?.CredentialScope}:"accountId"===e||"AccountId"===t?async()=>{let e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.accountId??e?.AccountId}:"endpoint"===e||"endpoint"===t?async()=>{let e=await n();if(e&&"object"==typeof e){if("url"in e)return e.url.href;if("hostname"in e){let{protocol:t,hostname:r,port:n,path:s}=e;return`${t}//${r}${n?":"+n:""}${s}`}}return e}:n};class R extends Error{constructor(e,t=!0){let r,n=!0;"boolean"==typeof t?(r=void 0,n=t):null!=t&&"object"==typeof t&&(r=t.logger,n=t.tryNextLink??!0),super(e),this.name="ProviderError",this.tryNextLink=n,Object.setPrototypeOf(this,R.prototype),r?.debug?.(`@smithy/property-provider ${n?"->":"(!)"} ${e}`)}static from(e,t=!0){return Object.assign(new this(e.message,t),e)}}class $ extends R{constructor(e,t=!0){super(e,t),this.name="CredentialsProviderError",Object.setPrototypeOf(this,$.prototype)}}let P=(...e)=>async()=>{let t;if(0===e.length)throw new R("No providers in chain");for(let r of e)try{return await r()}catch(e){if(t=e,e?.tryNextLink)continue;throw e}throw t},j=e=>()=>Promise.resolve(e),x=(e,t,r)=>{let n,s,i,o=!1,a=async()=>{s||(s=e());try{n=await s,i=!0,o=!1}finally{s=void 0}return n};return void 0===t?async e=>((!i||e?.forceRefresh)&&(n=await a()),n):async e=>((!i||e?.forceRefresh)&&(n=await a()),o||(r&&!r(n)?o=!0:t(n)&&await a()),n)};function I(e){try{let t=new Set(Array.from(e.match(/([A-Z_]){3,}/g)??[]));return t.delete("CONFIG"),t.delete("CONFIG_PREFIX_SEPARATOR"),t.delete("ENV"),[...t].join(", ")}catch(t){return e}}let L=(e,t)=>async()=>{try{let t=e(process.env);if(void 0===t)throw Error();return t}catch(r){throw new $(r.message||`Not found in ENV: ${I(e.toString())}`,{logger:t})}};var q=r(21820),N=r(33873);let U={},K=()=>process&&process.geteuid?`${process.geteuid()}`:"DEFAULT",D=()=>{let{HOME:e,USERPROFILE:t,HOMEPATH:r,HOMEDRIVE:n=`C:${N.sep}`}=process.env;if(e)return e;if(t)return t;if(r)return`${n}${r}`;let s=K();return U[s]||(U[s]=(0,q.homedir)()),U[s]},z=e=>e.profile||process.env.AWS_PROFILE||"default";r(55511);var M=r(29021);let{readFile:W}=M.promises;!function(e){e.HEADER="header",e.QUERY="query"}(n||(n={})),function(e){e.HEADER="header",e.QUERY="query"}(s||(s={})),function(e){e.HTTP="http",e.HTTPS="https"}(i||(i={})),function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"}(o||(o={})),function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"}(a||(a={})),function(e){e.PROFILE="profile",e.SSO_SESSION="sso-session",e.SERVICES="services"}(c||(c={})),function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"}(l||(l={}));let B=e=>Object.entries(e).filter(([e])=>{let t=e.indexOf(ee);return -1!==t&&Object.values(c).includes(e.substring(0,t))}).reduce((e,[t,r])=>{let n=t.indexOf(ee);return e[t.substring(0,n)===c.PROFILE?t.substring(n+1):t]=r,e},{...e.default&&{default:e.default}}),F=()=>process.env.AWS_CONFIG_FILE||(0,N.join)(D(),".aws","config"),H=()=>process.env.AWS_SHARED_CREDENTIALS_FILE||(0,N.join)(D(),".aws","credentials"),V=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,Y=["__proto__","profile __proto__"],X=e=>{let t,r,n={};for(let s of e.split(/\r?\n/)){let e=s.split(/(^|\s)[;#]/)[0].trim();if("["===e[0]&&"]"===e[e.length-1]){t=void 0,r=void 0;let n=e.substring(1,e.length-1),s=V.exec(n);if(s){let[,e,,r]=s;Object.values(c).includes(e)&&(t=[e,r].join(ee))}else t=n;if(Y.includes(n))throw Error(`Found invalid profile name "${n}"`)}else if(t){let i=e.indexOf("=");if(![0,-1].includes(i)){let[o,a]=[e.substring(0,i).trim(),e.substring(i+1).trim()];if(""===a)r=o;else{r&&s.trimStart()===s&&(r=void 0),n[t]=n[t]||{};let e=r?[r,o].join(ee):o;n[t][e]=a}}}}return n},{readFile:G}=M.promises,J={},Z=(e,t)=>((!J[e]||t?.ignoreCache)&&(J[e]=G(e,"utf8")),J[e]),Q=()=>({}),ee=".",et=async(e={})=>{let{filepath:t=H(),configFilepath:r=F()}=e,n=D(),s=t;t.startsWith("~/")&&(s=(0,N.join)(n,t.slice(2)));let i=r;r.startsWith("~/")&&(i=(0,N.join)(n,r.slice(2)));let o=await Promise.all([Z(i,{ignoreCache:e.ignoreCache}).then(X).then(B).catch(Q),Z(s,{ignoreCache:e.ignoreCache}).then(X).catch(Q)]);return{configFile:o[0],credentialsFile:o[1]}},er=(e,{preferredFile:t="config",...r}={})=>async()=>{let n=z(r),{configFile:s,credentialsFile:i}=await et(r),o=i[n]||{},a=s[n]||{},c="config"===t?{...o,...a}:{...a,...o};try{let r="config"===t?s:i,n=e(c,r);if(void 0===n)throw Error();return n}catch(t){throw new $(t.message||`Not found in config files w/ profile [${n}]: ${I(e.toString())}`,{logger:r.logger})}},en=e=>"function"==typeof e,es=e=>en(e)?async()=>await e():j(e),ei=({environmentVariableSelector:e,configFileSelector:t,default:r},n={})=>x(P(L(e),er(t,n),es(r))),eo="AWS_ENDPOINT_URL",ea="endpoint_url",ec=e=>({environmentVariableSelector:t=>{let r=t[[eo,...e.split(" ").map(e=>e.toUpperCase())].join("_")];if(r)return r;let n=t[eo];if(n)return n},configFileSelector:(t,r)=>{if(r&&t.services){let n=r[["services",t.services].join(ee)];if(n){let t=n[[e.split(" ").map(e=>e.toLowerCase()).join("_"),ea].join(ee)];if(t)return t}}let n=t[ea];if(n)return n},default:void 0}),el=async e=>ei(ec(e??""))(),eu=e=>{let t;if("string"==typeof e)return eu(new URL(e));let{hostname:r,pathname:n,port:s,protocol:i,search:o}=e;return o&&(t=function(e){let t={};if(e=e.replace(/^\?/,""))for(let r of e.split("&")){let[e,n=null]=r.split("=");e=decodeURIComponent(e),n&&(n=decodeURIComponent(n)),e in t?Array.isArray(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n}return t}(o)),{hostname:r,port:s?parseInt(s):void 0,protocol:i,path:n,query:t}},ed=e=>"object"==typeof e?"url"in e?eu(e.url):e:eu(e),ef=async(e,t,r,n)=>{if(!r.endpoint){let e;(e=r.serviceConfiguredEndpoint?await r.serviceConfiguredEndpoint():await el(r.serviceId))&&(r.endpoint=()=>Promise.resolve(ed(e)))}let s=await eg(e,t,r);if("function"!=typeof r.endpointProvider)throw Error("config.endpointProvider is not set.");return r.endpointProvider(s,n)},eg=async(e,t,r)=>{let n={},s=t?.getEndpointParameterInstructions?.()||{};for(let[t,i]of Object.entries(s))switch(i.type){case"staticContextParams":n[t]=i.value;break;case"contextParams":n[t]=e[i.name];break;case"clientContextParams":case"builtInParams":n[t]=await T(i.name,t,r)();break;case"operationContextParams":n[t]=i.get(e);break;default:throw Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(i))}return 0===Object.keys(s).length&&Object.assign(n,r),"s3"===String(r.serviceId).toLowerCase()&&await k(n),n},ep=e=>{if("function"==typeof e)return e;let t=Promise.resolve(e);return()=>t},eh={name:"serializerMiddleware"};eh.name;class ey{constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){var t;let r=new ey({...e,headers:{...e.headers}});return r.query&&(r.query=Object.keys(t=r.query).reduce((e,r)=>{let n=t[r];return{...e,[r]:Array.isArray(n)?[...n]:n}},{})),r}static isInstance(e){return!!e&&"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers}clone(){return ey.clone(this)}}let em=e=>"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e);var ew=r(79428);let ev=(e,t=0,r=e.byteLength-t)=>{if(!em(e))throw TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof e} (${e})`);return ew.Buffer.from(e,t,r)},eb=(e,t)=>{if("string"!=typeof e)throw TypeError(`The "input" argument must be of type string. Received type ${typeof e} (${e})`);return t?ew.Buffer.from(e,t):ew.Buffer.from(e)},eS=e=>{let t=eb(e,"utf8");return new Uint8Array(t.buffer,t.byteOffset,t.byteLength/Uint8Array.BYTES_PER_ELEMENT)},ek=e=>"string"==typeof e?eS(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e);var eE=r(27910);eE.Duplex,"function"==typeof ReadableStream&&ReadableStream,r(57075),eE.Writable,r(81630),r(55591),require("http2"),Symbol.iterator,eE.Writable;let eA={},eC={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),eA[e]=t,eC[t]=e}function e_(e){let t="";for(let r=0;rJSON.parse(String(e)),toString:()=>String(e),toJSON:()=>String(e)})};eT.from=e=>e&&"object"==typeof e&&(e instanceof eT||"deserializeJSON"in e)?e:"string"==typeof e||Object.getPrototypeOf(e)===String.prototype?eT(String(e)):eT(JSON.stringify(e)),eT.fromObject=eT.from;let eR="X-Amz-Date",e$="X-Amz-Signature",eP="X-Amz-Security-Token",ej="authorization",ex=eR.toLowerCase(),eI=[ej,ex,"date"],eL=e$.toLowerCase(),eq="x-amz-content-sha256",eN=eP.toLowerCase(),eU={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},eK=/^proxy-/,eD=/^sec-/,ez="AWS4-HMAC-SHA256",eM="aws4_request",eW={},eB=[],eF=(e,t,r)=>`${e}/${t}/${r}/${eM}`,eH=async(e,t,r,n,s)=>{let i=await eV(e,t.secretAccessKey,t.accessKeyId),o=`${r}:${n}:${s}:${e_(i)}:${t.sessionToken}`;if(o in eW)return eW[o];for(eB.push(o);eB.length>50;)delete eW[eB.shift()];let a=`AWS4${t.secretAccessKey}`;for(let t of[r,n,s,eM])a=await eV(e,a,t);return eW[o]=a},eV=(e,t,r)=>{let n=new e(t);return n.update(ek(r)),n.digest()},eY=({headers:e},t,r)=>{let n={};for(let s of Object.keys(e).sort()){if(void 0==e[s])continue;let i=s.toLowerCase();(!(i in eU||t?.has(i)||eK.test(i)||eD.test(i))||r&&(!r||r.has(i)))&&(n[i]=e[s].trim().replace(/\s+/g," "))}return n},eX=async({headers:e,body:t},r)=>{for(let t of Object.keys(e))if(t.toLowerCase()===eq)return e[t];if(void 0==t)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof t||ArrayBuffer.isView(t)||em(t)){let e=new r;return e.update(ek(t)),e_(await e.digest())}return"UNSIGNED-PAYLOAD"};class eG{format(e){let t=[];for(let r of Object.keys(e)){let n=eS(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}let r=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0)),n=0;for(let e of t)r.set(e,n),n+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([+!e.value]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let i=new Uint8Array(s.buffer);return i.set(e.value,3),i;case"string":let o=eS(e.value),a=new DataView(new ArrayBuffer(3+o.byteLength));a.setUint8(0,7),a.setUint16(1,o.byteLength,!1);let c=new Uint8Array(a.buffer);return c.set(o,3),c;case"timestamp":let l=new Uint8Array(9);return l[0]=8,l.set(eZ.fromNumber(e.value.valueOf()).bytes,1),l;case"uuid":if(!eJ.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let u=new Uint8Array(17);return u[0]=9,u.set(function(e){if(e.length%2!=0)throw Error("Hex encoded strings must have an even number length");let t=new Uint8Array(e.length/2);for(let r=0;r0x8000000000000000||e<-0x8000000000000000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&eQ(t),new eZ(t)}valueOf(){let e=this.bytes.slice(0),t=128&e[0];return t&&eQ(e),parseInt(e_(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function eQ(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}let e0=(e,t)=>{for(let r of(e=e.toLowerCase(),Object.keys(t)))if(e===r.toLowerCase())return!0;return!1},e1=(e,t={})=>{let{headers:r,query:n={}}=ey.clone(e);for(let e of Object.keys(r)){let s=e.toLowerCase();("x-amz-"===s.slice(0,6)&&!t.unhoistableHeaders?.has(s)||t.hoistableHeaders?.has(s))&&(n[e]=r[e],delete r[e])}return{...e,headers:r,query:n}},e4=e=>{for(let t of Object.keys((e=ey.clone(e)).headers))eI.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e},e2=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===eL)continue;let s=b(n);t.push(s);let i=e[n];"string"==typeof i?r[s]=`${s}=${b(i)}`:Array.isArray(i)&&(r[s]=i.slice(0).reduce((e,t)=>e.concat([`${s}=${b(t)}`]),[]).sort().join("&"))}return t.sort().map(e=>r[e]).filter(e=>e).join("&")},e3=e=>e9(e).toISOString().replace(/\.\d{3}Z$/,"Z"),e9=e=>"number"==typeof e?new Date(1e3*e):"string"==typeof e?new Date(Number(e)?1e3*Number(e):e):e;class e8{constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:i=!0}){this.service=n,this.sha256=s,this.uriEscapePath=i,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=ep(r),this.credentialProvider=ep(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method} +${this.getCanonicalPath(e)} +${e2(e)} +${n.map(e=>`${e}:${t[e]}`).join("\n")} + +${n.join(";")} +${r}`}async createStringToSign(e,t,r,n){let s=new this.sha256;s.update(ek(r));let i=await s.digest();return`${n} +${e} +${t} +${e_(i)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let r of e.split("/"))r?.length!==0&&"."!==r&&(".."===r?t.pop():t.push(r));return b(`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if("object"!=typeof e||"string"!=typeof e.accessKeyId||"string"!=typeof e.secretAccessKey)throw Error("Resolved credential object is not valid")}formatDate(e){let t=e3(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}class e5 extends e8{constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:i=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:s,uriEscapePath:i}),this.headerFormatter=new eG}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:s,unhoistableHeaders:i,signableHeaders:o,hoistableHeaders:a,signingRegion:c,signingService:l}=t,u=await this.credentialProvider();this.validateResolvedCredentials(u);let d=c??await this.regionProvider(),{longDate:f,shortDate:g}=this.formatDate(r);if(n>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let p=eF(g,d,l??this.service),h=e1(e4(e),{unhoistableHeaders:i,hoistableHeaders:a});u.sessionToken&&(h.query[eP]=u.sessionToken),h.query["X-Amz-Algorithm"]=ez,h.query["X-Amz-Credential"]=`${u.accessKeyId}/${p}`,h.query[eR]=f,h.query["X-Amz-Expires"]=n.toString(10);let y=eY(h,s,o);return h.query["X-Amz-SignedHeaders"]=this.getCanonicalHeaderList(y),h.query[e$]=await this.getSignature(f,p,this.getSigningKey(u,d,g,l),this.createCanonicalRequest(h,y,await eX(e,this.sha256))),h}async sign(e,t){return"string"==typeof e?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:i}){let o=s??await this.regionProvider(),{shortDate:a,longDate:c}=this.formatDate(r),l=eF(a,o,i??this.service),u=await eX({headers:{},body:t},this.sha256),d=new this.sha256;d.update(e);let f=["AWS4-HMAC-SHA256-PAYLOAD",c,l,n,e_(await d.digest()),u].join("\n");return this.signString(f,{signingDate:r,signingRegion:o,signingService:i})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature}).then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n}={}){let s=await this.credentialProvider();this.validateResolvedCredentials(s);let i=r??await this.regionProvider(),{shortDate:o}=this.formatDate(t),a=new this.sha256(await this.getSigningKey(s,i,o,n));return a.update(ek(e)),e_(await a.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:s,signingService:i}={}){let o=await this.credentialProvider();this.validateResolvedCredentials(o);let a=s??await this.regionProvider(),c=e4(e),{longDate:l,shortDate:u}=this.formatDate(t),d=eF(u,a,i??this.service);c.headers[ex]=l,o.sessionToken&&(c.headers[eN]=o.sessionToken);let f=await eX(c,this.sha256);!e0(eq,c.headers)&&this.applyChecksum&&(c.headers[eq]=f);let g=eY(c,n,r),p=await this.getSignature(l,d,this.getSigningKey(o,a,u,i),this.createCanonicalRequest(c,g,f));return c.headers[ej]=`${ez} Credential=${o.accessKeyId}/${d}, SignedHeaders=${this.getCanonicalHeaderList(g)}, Signature=${p}`,c}async getSignature(e,t,r,n){let s=await this.createStringToSign(e,t,n,ez),i=new this.sha256(await r);return i.update(ek(s)),e_(await i.digest())}getSigningKey(e,t,r,n){return eH(this.sha256,e,r,t,n||this.service)}}let e6={SignatureV4a:null};!function(e){e.ENV="env",e.CONFIG="shared config entry"}(d||(d={}));let e7="X-Amz-S3session-Token",te=e7.toLowerCase();class tt extends e5{async signWithCredentials(e,t,r){let n=tr(t);return e.headers[te]=t.sessionToken,tn(this,n),this.signRequest(e,r??{})}async presignWithCredentials(e,t,r){let n=tr(t);return delete e.headers[te],e.headers[e7]=t.sessionToken,e.query=e.query??{},e.query[e7]=t.sessionToken,tn(this,n),this.presign(e,r)}}function tr(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function tn(e,t){let r=setTimeout(()=>{throw Error("SignatureV4S3Express credential override was created but not called.")},10),n=e.credentialProvider;e.credentialProvider=()=>(clearTimeout(r),e.credentialProvider=n,Promise.resolve(t))}let ts={CrtSignerV4:null};class ti{sigv4aSigner;sigv4Signer;signerOptions;constructor(e){this.sigv4Signer=new tt(e),this.signerOptions=e}async sign(e,t={}){return"*"===t.signingRegion?this.getSigv4aSigner().sign(e,t):this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,r={}){if("*"===r.signingRegion){let n=this.getSigv4aSigner(),s=ts.CrtSignerV4;if(s&&n instanceof s)return n.signWithCredentials(e,t,r);throw Error('signWithCredentials with signingRegion \'*\' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt')}return this.sigv4Signer.signWithCredentials(e,t,r)}async presign(e,t={}){if("*"===t.signingRegion){let r=this.getSigv4aSigner(),n=ts.CrtSignerV4;if(n&&r instanceof n)return r.presign(e,t);throw Error('presign with signingRegion \'*\' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt')}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,r={}){if("*"===r.signingRegion)throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(e,t,r)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=ts.CrtSignerV4,t=e6.SignatureV4a;if("node"===this.signerOptions.runtime){if(!e&&!t)throw Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(e&&"function"==typeof e)this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&"function"==typeof t)this.sigv4aSigner=new t({...this.signerOptions});else throw Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{if(!t||"function"!=typeof t)throw Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}}class to{signer;constructor(e){let t={service:e.signingName||e.service||"s3",uriEscapePath:e.uriEscapePath||!1,applyChecksum:e.applyChecksum||!1,...e};this.signer=new ti(t)}presign(e,{unsignableHeaders:t=new Set,hoistableHeaders:r=new Set,unhoistableHeaders:n=new Set,...s}={}){return this.prepareRequest(e,{unsignableHeaders:t,unhoistableHeaders:n,hoistableHeaders:r}),this.signer.presign(e,{expiresIn:900,unsignableHeaders:t,unhoistableHeaders:n,...s})}presignWithCredentials(e,t,{unsignableHeaders:r=new Set,hoistableHeaders:n=new Set,unhoistableHeaders:s=new Set,...i}={}){return this.prepareRequest(e,{unsignableHeaders:r,unhoistableHeaders:s,hoistableHeaders:n}),this.signer.presignWithCredentials(e,t,{expiresIn:900,unsignableHeaders:r,unhoistableHeaders:s,...i})}prepareRequest(e,{unsignableHeaders:t=new Set,unhoistableHeaders:r=new Set,hoistableHeaders:n=new Set}={}){t.add("content-type"),Object.keys(e.headers).map(e=>e.toLowerCase()).filter(e=>e.startsWith("x-amz-server-side-encryption")).forEach(e=>{n.has(e)||r.add(e)}),e.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD";let s=e.headers.host,i=e.port,o=`${e.hostname}${null!=e.port?":"+i:""}`;s&&(s!==e.hostname||null==e.port)||(e.headers.host=o)}}let ta=async(e,t,r={})=>{let n,s;if("function"==typeof e.config.endpointProvider){let r=await ef(t.input,t.constructor,e.config),i=r.properties?.authSchemes?.[0];s=i?.name==="sigv4a"?i?.signingRegionSet?.join(","):i?.signingRegion,n=new to({...e.config,signingName:i?.signingName,region:async()=>s})}else n=new to(e.config);let i=e.middlewareStack.clone();i.addRelativeTo((e,t)=>async e=>{let i,{request:o}=e;if(!ey.isInstance(o))throw Error("Request to be presigned is not an valid HTTP request.");delete o.headers["amz-sdk-invocation-id"],delete o.headers["amz-sdk-request"],delete o.headers["x-amz-user-agent"];let a={...r,signingRegion:r.signingRegion??t.signing_region??s,signingService:r.signingService??t.signing_service};return{response:{},output:{$metadata:{httpStatusCode:200},presigned:t.s3ExpressIdentity?await n.presignWithCredentials(o,t.s3ExpressIdentity,a):await n.presign(o,a)}}},{name:"presignInterceptMiddleware",relation:"before",toMiddleware:"awsAuthMiddleware",override:!0});let o=t.resolveMiddleware(i,e.config,{}),{output:a}=await o({input:t.input}),{presigned:c}=a;return function(e){let{port:t,query:r}=e,{protocol:n,path:s,hostname:i}=e;n&&":"!==n.slice(-1)&&(n+=":"),t&&(i+=`:${t}`),s&&"/"!==s.charAt(0)&&(s=`/${s}`);let o=r?function(e){let t=[];for(let r of Object.keys(e).sort()){let n=e[r];if(r=b(r),Array.isArray(n))for(let e=0,s=n.length;e{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},14182:(e,t,r)=>{"use strict";r.d(t,{$R:()=>o,Ui:()=>l,XB:()=>a,XR:()=>c,YE:()=>s,ZT:()=>d,b4:()=>u,oD:()=>i});var n=r(91043);let s={endpoint:"https://dome-api.slm-lab.net",region:"us-east-1",bucket:process.env.S3_BUCKET||"pages",accessKey:"4aBT4CMb7JIMMyUtp4Pl",secretKey:"HGn39XhCIlqOjmDVzRK9MED2Fci2rYvDDgbLFElg"},i=new n.S3Client({region:s.region,endpoint:s.endpoint,credentials:{accessKeyId:s.accessKey,secretAccessKey:s.secretKey},forcePathStyle:!0});async function o(e,t,r){let o=new n.PutObjectCommand({Bucket:s.bucket,Key:e,Body:"string"==typeof t?Buffer.from(t,"utf-8"):t,ContentType:r||"text/plain"});return await i.send(o),{key:e}}async function a(e){try{let t=new n.GetObjectCommand({Bucket:s.bucket,Key:e}),r=await i.send(t);if(!r.Body)return null;let o=[];for await(let e of r.Body)o.push(e);return Buffer.concat(o).toString("utf-8")}catch(e){return console.error("Error getting object content:",e),null}}async function c(e){let t=new n.DeleteObjectCommand({Bucket:s.bucket,Key:e});await i.send(t)}async function l(e,t){let r=`user-${e}/${t}/`,o=new n.ListObjectsV2Command({Bucket:s.bucket,Prefix:r,Delimiter:"/"});return((await i.send(o)).Contents||[]).filter(e=>e.Key&&!e.Key.endsWith("/")&&!e.Key.includes(".placeholder")).map(e=>({key:e.Key,name:e.Key.split("/").pop()||e.Key,size:e.Size,lastModified:e.LastModified}))}function u(e,t){if(!e)return"";if(e.startsWith("http"))return e;let r=e.startsWith("/")?e.substring(1):e,n=s.endpoint?.replace(/\/$/,""),i=t||s.bucket;return n?`${n}/${i}/${r}`:r}async function d(e){for(let t of["notes","diary","health","contacts"])try{let r=`user-${e}/${t}/`;await o(r,"","application/x-directory");let n=`user-${e}/${t}/.placeholder`;await o(n,"Folder placeholder","text/plain"),console.log(`Created folder: ${r}`)}catch(r){console.error(`Error creating folder ${t} for user ${e}:`,r)}}},19854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={};Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var s=r(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(n,e))&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))});var i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&({}).hasOwnProperty.call(e,i)){var a=s?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(35426));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}Object.keys(i).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(n,e))&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))})},21820:e=>{"use strict";e.exports=require("os")},25037:(e,t,r)=>{"use strict";r.d(t,{_:()=>s});var n=r(70762);let s=n.z.object({NODE_ENV:n.z.enum(["development","test","production"]).default("development"),DATABASE_URL:n.z.string().url(),NEWSDB_URL:n.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:n.z.string().url(),KEYCLOAK_CLIENT_ID:n.z.string(),KEYCLOAK_CLIENT_SECRET:n.z.string(),KEYCLOAK_REALM:n.z.string(),KEYCLOAK_ISSUER:n.z.string().url(),LEANTIME_TOKEN:n.z.string(),LEANTIME_API_URL:n.z.string().url(),ROCKET_CHAT_TOKEN:n.z.string(),ROCKET_CHAT_USER_ID:n.z.string()}).parse(process.env)},26690:(e,t,r)=>{"use strict";r.d(t,{N:()=>a});var n=r(1926),s=r(10591);function i(e){let t=process.env[e];if(!t)throw Error(`Missing required environment variable: ${e}`);return t}async function o(e){try{let t=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),r=await t.json();if(!t.ok){if("invalid_grant"===r.error||r.error_description?.includes("Session not active")||r.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw r}return{...e,accessToken:r.access_token,refreshToken:r.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*r.expires_in}}catch(t){if(console.error("Error refreshing access token:",t),t?.error==="invalid_grant"||t?.error_description?.includes("Session not active")||t?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,n.A)({clientId:i("KEYCLOAK_CLIENT_ID"),clientSecret:i("KEYCLOAK_CLIENT_SECRET"),issuer:i("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let t=e.realm_access?.roles||[];console.log("Profile callback raw roles:",t);let r=t.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",r),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:r}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:t,profile:r}){if(t&&r){let n=(r.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=t.access_token??"",e.refreshToken=t.refresh_token??"",e.idToken=t.id_token??"",e.accessTokenExpires=t.expires_at??0,e.sub=r.sub,e.role=n,e.username=r.preferred_username??"",e.first_name=r.given_name??"",e.last_name=r.family_name??""}else if(e.accessToken)try{let t=(0,s.s)(e.accessToken);t.realm_access?.roles&&(e.role=t.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let n=e.accessTokenExpires;if(n&&Date.now(){"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29021:e=>{"use strict";e.exports=require("fs")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},57075:e=>{"use strict";e.exports=require("node:stream")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,t,r)=>{"use strict";r.d(t,{z:()=>i});var n=r(96330),s=r(25037);let i=globalThis.prisma||new n.PrismaClient({datasources:{db:{url:s._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},91043:e=>{"use strict";e.exports=require("@aws-sdk/client-s3")},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var t=require("../../../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[4243,5419,580,762],()=>r(7710));module.exports=n})(); \ No newline at end of file diff --git a/.next/server/app/api/missions/[missionId]/attachments/download/[attachmentId]/route.js.nft.json b/.next/server/app/api/missions/[missionId]/attachments/download/[attachmentId]/route.js.nft.json new file mode 100644 index 00000000..a37c0201 --- /dev/null +++ b/.next/server/app/api/missions/[missionId]/attachments/download/[attachmentId]/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../../../.env","../../../../../../../../../node_modules/.prisma/client/default.js","../../../../../../../../../node_modules/.prisma/client/index.js","../../../../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../../../../node_modules/.prisma/client/package.json","../../../../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../../../../node_modules/@aws-crypto/crc32/build/main/aws_crc32.js","../../../../../../../../../node_modules/@aws-crypto/crc32/build/main/index.js","../../../../../../../../../node_modules/@aws-crypto/crc32/package.json","../../../../../../../../../node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js","../../../../../../../../../node_modules/@aws-crypto/crc32c/build/main/index.js","../../../../../../../../../node_modules/@aws-crypto/crc32c/package.json","../../../../../../../../../node_modules/@aws-crypto/util/build/main/convertToBuffer.js","../../../../../../../../../node_modules/@aws-crypto/util/build/main/index.js","../../../../../../../../../node_modules/@aws-crypto/util/build/main/isEmptyData.js","../../../../../../../../../node_modules/@aws-crypto/util/build/main/numToUint8.js","../../../../../../../../../node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js","../../../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json","../../../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json","../../../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json","../../../../../../../../../node_modules/@aws-crypto/util/package.json","../../../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js","../../../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js","../../../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js","../../../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js","../../../../../../../../../node_modules/@aws-sdk/client-s3/package.json","../../../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js","../../../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js","../../../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js","../../../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js","../../../../../../../../../node_modules/@aws-sdk/client-sso/package.json","../../../../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../../../../node_modules/@aws-sdk/core/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/package.json","../../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/fxp.js","../../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/util.js","../../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/validator.js","../../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js","../../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js","../../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js","../../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js","../../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js","../../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js","../../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/node2json.js","../../../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js","../../../../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/package.json","../../../../../../../../../node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/middleware-expect-continue/package.json","../../../../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js","../../../../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/package.json","../../../../../../../../../node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/middleware-host-header/package.json","../../../../../../../../../node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/middleware-location-constraint/package.json","../../../../../../../../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/middleware-logger/package.json","../../../../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/package.json","../../../../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/package.json","../../../../../../../../../node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/middleware-ssec/package.json","../../../../../../../../../node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/middleware-user-agent/package.json","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/region-config-resolver/package.json","../../../../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../../../../node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/util-arn-parser/package.json","../../../../../../../../../node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/util-endpoints/package.json","../../../../../../../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/util-user-agent-node/package.json","../../../../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../../../../node_modules/@prisma/client/default.js","../../../../../../../../../node_modules/@prisma/client/package.json","../../../../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../../../../node_modules/@smithy/config-resolver/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/config-resolver/package.json","../../../../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../../../../node_modules/@smithy/core/package.json","../../../../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../../../../node_modules/@smithy/eventstream-codec/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/eventstream-codec/package.json","../../../../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/package.json","../../../../../../../../../node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/eventstream-serde-node/package.json","../../../../../../../../../node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/eventstream-serde-universal/package.json","../../../../../../../../../node_modules/@smithy/fetch-http-handler/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/fetch-http-handler/package.json","../../../../../../../../../node_modules/@smithy/hash-node/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/hash-node/package.json","../../../../../../../../../node_modules/@smithy/hash-stream-node/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/hash-stream-node/package.json","../../../../../../../../../node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/is-array-buffer/package.json","../../../../../../../../../node_modules/@smithy/middleware-content-length/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/middleware-content-length/package.json","../../../../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js","../../../../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js","../../../../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/middleware-endpoint/package.json","../../../../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js","../../../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/package.json","../../../../../../../../../node_modules/@smithy/middleware-retry/package.json","../../../../../../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/middleware-serde/package.json","../../../../../../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/middleware-stack/package.json","../../../../../../../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/node-config-provider/package.json","../../../../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../../../../node_modules/@smithy/property-provider/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/property-provider/package.json","../../../../../../../../../node_modules/@smithy/protocol-http/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/protocol-http/package.json","../../../../../../../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/querystring-builder/package.json","../../../../../../../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/querystring-parser/package.json","../../../../../../../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/service-error-classification/package.json","../../../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js","../../../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js","../../../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js","../../../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js","../../../../../../../../../node_modules/@smithy/shared-ini-file-loader/package.json","../../../../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/smithy-client/package.json","../../../../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/types/package.json","../../../../../../../../../node_modules/@smithy/url-parser/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/url-parser/package.json","../../../../../../../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js","../../../../../../../../../node_modules/@smithy/util-base64/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js","../../../../../../../../../node_modules/@smithy/util-base64/package.json","../../../../../../../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-body-length-node/package.json","../../../../../../../../../node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-buffer-from/package.json","../../../../../../../../../node_modules/@smithy/util-config-provider/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-config-provider/package.json","../../../../../../../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-defaults-mode-node/package.json","../../../../../../../../../node_modules/@smithy/util-endpoints/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-endpoints/package.json","../../../../../../../../../node_modules/@smithy/util-hex-encoding/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-hex-encoding/package.json","../../../../../../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-middleware/package.json","../../../../../../../../../node_modules/@smithy/util-retry/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-retry/package.json","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.js","../../../../../../../../../node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js","../../../../../../../../../node_modules/@smithy/util-stream/package.json","../../../../../../../../../node_modules/@smithy/util-uri-escape/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-uri-escape/package.json","../../../../../../../../../node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-utf8/package.json","../../../../../../../../../node_modules/@smithy/util-waiter/dist-cjs/index.js","../../../../../../../../../node_modules/@smithy/util-waiter/package.json","../../../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../../../node_modules/next/package.json","../../../../../../../../../node_modules/strnum/package.json","../../../../../../../../../node_modules/strnum/strnum.js","../../../../../../../../../node_modules/tslib/package.json","../../../../../../../../../node_modules/tslib/tslib.js","../../../../../../../../../package.json","../../../../../../../../package.json","../../../../../../../chunks/4243.js","../../../../../../../chunks/5419.js","../../../../../../../chunks/580.js","../../../../../../../chunks/762.js","../../../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/missions/[missionId]/attachments/download/[attachmentId]/route_client-reference-manifest.js b/.next/server/app/api/missions/[missionId]/attachments/download/[attachmentId]/route_client-reference-manifest.js new file mode 100644 index 00000000..12ba105b --- /dev/null +++ b/.next/server/app/api/missions/[missionId]/attachments/download/[attachmentId]/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/missions/[missionId]/attachments/download/[attachmentId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/missions/route":[],"/Users/alma/Documents/NeahNew/app/api/missions/[missionId]/route":[],"/Users/alma/Documents/NeahNew/app/api/missions/[missionId]/attachments/route":[],"/Users/alma/Documents/NeahNew/app/api/missions/[missionId]/attachments/download/[attachmentId]/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/missions/[missionId]/attachments/route.js b/.next/server/app/api/missions/[missionId]/attachments/route.js new file mode 100644 index 00000000..aabc4347 --- /dev/null +++ b/.next/server/app/api/missions/[missionId]/attachments/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=3696,e.ids=[3696],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},19854:(e,r,s)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=s(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var s=i(r);if(s&&s.has(e))return s.get(e);var t={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=o?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,s&&s.set(e,t),t}(s(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,s=new WeakMap;return(i=function(e){return e?s:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>o});var t=s(70762);let o=t.z.object({NODE_ENV:t.z.enum(["development","test","production"]).default("development"),DATABASE_URL:t.z.string().url(),NEWSDB_URL:t.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:t.z.string().url(),KEYCLOAK_CLIENT_ID:t.z.string(),KEYCLOAK_CLIENT_SECRET:t.z.string(),KEYCLOAK_REALM:t.z.string(),KEYCLOAK_ISSUER:t.z.string().url(),LEANTIME_TOKEN:t.z.string(),LEANTIME_API_URL:t.z.string().url(),ROCKET_CHAT_TOKEN:t.z.string(),ROCKET_CHAT_USER_ID:t.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var t=s(1926),o=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,t.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>n});var t=s(96330),o=s(25037);let n=globalThis.prisma||new t.PrismaClient({datasources:{db:{url:o._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},89365:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>h,routeModule:()=>f,serverHooks:()=>k,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>_});var t={};s.r(t),s.d(t,{GET:()=>p});var o=s(96559),n=s(48088),i=s(37719),a=s(32190),c=s(19854),l=s(26690),u=s(79464);async function d(e){let r=await (0,c.getServerSession)(l.N);return r?.user?.id?{authorized:!0,userId:r.user.id}:(console.error("Unauthorized access attempt:",{url:e.url,method:e.method,headers:Object.fromEntries(e.headers)}),{authorized:!1,userId:null})}async function p(e,r){let s=await r.params;try{let{authorized:r,userId:t}=await d(e);if(!r||!t)return a.NextResponse.json({error:"Unauthorized"},{status:401});let{missionId:o}=s;if(!o)return a.NextResponse.json({error:"Mission ID is required"},{status:400});if(!await u.z.mission.findFirst({where:{id:o,OR:[{creatorId:t},{missionUsers:{some:{userId:t}}}]}}))return a.NextResponse.json({error:"Mission not found or access denied"},{status:404});let n=(await u.z.attachment.findMany({where:{missionId:o},orderBy:{createdAt:"desc"},select:{id:!0,filename:!0,filePath:!0,fileType:!0,fileSize:!0,createdAt:!0}})).map(e=>({...e,publicUrl:`/api/missions/image/${e.filePath}`}));return a.NextResponse.json(n)}catch(e){return console.error("Error fetching mission attachments:",e),a.NextResponse.json({error:"Internal server error",details:e instanceof Error?e.message:String(e)},{status:500})}}let f=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/missions/[missionId]/attachments/route",pathname:"/api/missions/[missionId]/attachments",filename:"route",bundlePath:"app/api/missions/[missionId]/attachments/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/missions/[missionId]/attachments/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:m,workUnitAsyncStorage:_,serverHooks:k}=f;function h(){return(0,i.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:_})}},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580,762],()=>s(89365));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/missions/[missionId]/attachments/route.js.nft.json b/.next/server/app/api/missions/[missionId]/attachments/route.js.nft.json new file mode 100644 index 00000000..bd29bb7c --- /dev/null +++ b/.next/server/app/api/missions/[missionId]/attachments/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../.env","../../../../../../../node_modules/.prisma/client/default.js","../../../../../../../node_modules/.prisma/client/index.js","../../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../../node_modules/.prisma/client/package.json","../../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../../node_modules/@prisma/client/default.js","../../../../../../../node_modules/@prisma/client/package.json","../../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/4243.js","../../../../../chunks/5419.js","../../../../../chunks/580.js","../../../../../chunks/762.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/missions/[missionId]/attachments/route_client-reference-manifest.js b/.next/server/app/api/missions/[missionId]/attachments/route_client-reference-manifest.js new file mode 100644 index 00000000..3091c9fc --- /dev/null +++ b/.next/server/app/api/missions/[missionId]/attachments/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/missions/[missionId]/attachments/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/missions/route":[],"/Users/alma/Documents/NeahNew/app/api/missions/[missionId]/route":[],"/Users/alma/Documents/NeahNew/app/api/missions/[missionId]/attachments/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/missions/[missionId]/route.js b/.next/server/app/api/missions/[missionId]/route.js new file mode 100644 index 00000000..edaa1f21 --- /dev/null +++ b/.next/server/app/api/missions/[missionId]/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=7699,e.ids=[7699],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},28354:e=>{e.exports=require("util")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},50796:(e,r,s)=>{s.r(r),s.d(r,{patchFetch:()=>U,routeModule:()=>f,serverHooks:()=>y,workAsyncStorage:()=>x,workUnitAsyncStorage:()=>w});var t={};s.r(t),s.d(t,{DELETE:()=>h,GET:()=>c,PUT:()=>g});var i=s(96559),o=s(48088),n=s(37719),a=s(32190),d=s(19854),u=s(26690),l=s(79464),p=s(22039);async function m(e){let r=await (0,d.getServerSession)(u.N);return r?.user?.id?{authorized:!0,userId:r.user.id}:(console.error("Unauthorized access attempt:",{url:e.url,method:e.method,headers:Object.fromEntries(e.headers)}),{authorized:!1,userId:null})}async function c(e,r){let s=await r.params;try{let{authorized:r,userId:t}=await m(e);if(!r||!t)return a.NextResponse.json({error:"Unauthorized"},{status:401});let{missionId:i}=s;if(!i)return a.NextResponse.json({error:"Mission ID is required"},{status:400});let o=await l.z.mission.findFirst({where:{id:i,OR:[{creatorId:t},{missionUsers:{some:{userId:t}}}]},include:{creator:{select:{id:!0,email:!0}},missionUsers:{select:{id:!0,role:!0,user:{select:{id:!0,email:!0}}}},attachments:{select:{id:!0,filename:!0,filePath:!0,fileType:!0,fileSize:!0,createdAt:!0},orderBy:{createdAt:"desc"}}}});if(!o)return a.NextResponse.json({error:"Mission not found or access denied"},{status:404});let n={...o,logoUrl:o.logo?(0,p._F)(o.logo):null,logo:o.logo,attachments:o.attachments.map(e=>({...e,publicUrl:(0,p._F)(e.filePath)}))};return console.log("Mission data with URLs:",{missionId:o.id,logoPath:o.logo,logoUrl:n.logoUrl,attachmentCount:o.attachments.length}),a.NextResponse.json(n)}catch(e){return console.error("Error retrieving mission:",{error:e,missionId:s.missionId,errorType:e instanceof Error?e.constructor.name:typeof e,message:e instanceof Error?e.message:String(e)}),a.NextResponse.json({error:"Internal server error",details:e instanceof Error?e.message:String(e)},{status:500})}}async function g(e,r){let s=await r.params;try{let{authorized:r,userId:t}=await m(e);if(!r||!t)return a.NextResponse.json({error:"Unauthorized"},{status:401});let{missionId:i}=s;if(!i)return a.NextResponse.json({error:"Mission ID is required"},{status:400});if(!await l.z.mission.findFirst({where:{id:i,OR:[{creatorId:t},{missionUsers:{some:{userId:t,role:{in:["gardien-temps","gardien-parole"]}}}}]}}))return a.NextResponse.json({error:"Mission not found or not authorized to update"},{status:404});let{name:o,logo:n,oddScope:d,niveau:u,intention:p,missionType:c,donneurDOrdre:g,projection:h,services:f,participation:x,profils:w,guardians:y,volunteers:U}=await e.json(),v=n;if(n&&"string"==typeof n)try{if(n.startsWith("http")){let e=new URL(n);v=e.pathname.startsWith("/")?e.pathname.substring(1):e.pathname}else n.startsWith("missions/")||(v=`missions/${n}`)}catch(e){console.error("Error processing logo URL:",{error:e,logo:n,missionId:i})}let j=await l.z.mission.update({where:{id:i},data:{name:o,logo:v,oddScope:d||void 0,niveau:u,intention:p,missionType:c,donneurDOrdre:g,projection:h,services:f||void 0,participation:x,profils:w||void 0}});if(y){(await l.z.missionUser.findMany({where:{missionId:i,role:{in:["gardien-temps","gardien-parole","gardien-memoire"]}}})).length>0&&await l.z.missionUser.deleteMany({where:{missionId:i,role:{in:["gardien-temps","gardien-parole","gardien-memoire"]}}});let e=["gardien-temps","gardien-parole","gardien-memoire"],r=Object.entries(y).filter(([r,s])=>e.includes(r)&&s).map(([e,r])=>({role:e,userId:r,missionId:i}));r.length>0&&await l.z.missionUser.createMany({data:r})}if(U&&Array.isArray(U)&&((await l.z.missionUser.findMany({where:{missionId:i,role:"volontaire"}})).length>0&&await l.z.missionUser.deleteMany({where:{missionId:i,role:"volontaire"}}),U.length>0)){let e=U.map(e=>({role:"volontaire",userId:e,missionId:i}));await l.z.missionUser.createMany({data:e})}return a.NextResponse.json({success:!0,mission:{id:j.id,name:j.name,updatedAt:j.updatedAt}})}catch(e){return console.error("Error updating mission:",e),a.NextResponse.json({error:"Internal server error",details:e instanceof Error?e.message:String(e)},{status:500})}}async function h(e,r){let s=await r.params;try{let e=await (0,d.getServerSession)(u.N);if(!e?.user)return a.NextResponse.json({error:"Unauthorized"},{status:401});let r=await l.z.mission.findUnique({where:{id:s.missionId},include:{missionUsers:{include:{user:!0}}}});if(!r)return a.NextResponse.json({error:"Mission not found"},{status:404});let t=r.creatorId===e.user.id,i=Array.isArray(e.user.role)?e.user.role:[],o=i.includes("admin")||i.includes("ADMIN");if(!t&&!o)return a.NextResponse.json({error:"Forbidden"},{status:403});if(r.logo)try{await (0,p.fU)(s.missionId,r.logo)}catch(e){console.error("Error deleting mission logo:",e)}return await l.z.mission.delete({where:{id:s.missionId}}),a.NextResponse.json({success:!0})}catch(e){return console.error("Error deleting mission:",e),a.NextResponse.json({error:"Failed to delete mission"},{status:500})}}let f=new i.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/missions/[missionId]/route",pathname:"/api/missions/[missionId]",filename:"route",bundlePath:"app/api/missions/[missionId]/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/missions/[missionId]/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:x,workUnitAsyncStorage:w,serverHooks:y}=f;function U(){return(0,n.patchFetch)({workAsyncStorage:x,workUnitAsyncStorage:w})}},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{e.exports=require("zlib")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},81630:e=>{e.exports=require("http")},91043:e=>{e.exports=require("@aws-sdk/client-s3")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580,762,6300],()=>s(50796));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/missions/[missionId]/route.js.nft.json b/.next/server/app/api/missions/[missionId]/route.js.nft.json new file mode 100644 index 00000000..7bc0299d --- /dev/null +++ b/.next/server/app/api/missions/[missionId]/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@aws-crypto/crc32/build/main/aws_crc32.js","../../../../../../node_modules/@aws-crypto/crc32/build/main/index.js","../../../../../../node_modules/@aws-crypto/crc32/package.json","../../../../../../node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js","../../../../../../node_modules/@aws-crypto/crc32c/build/main/index.js","../../../../../../node_modules/@aws-crypto/crc32c/package.json","../../../../../../node_modules/@aws-crypto/util/build/main/convertToBuffer.js","../../../../../../node_modules/@aws-crypto/util/build/main/index.js","../../../../../../node_modules/@aws-crypto/util/build/main/isEmptyData.js","../../../../../../node_modules/@aws-crypto/util/build/main/numToUint8.js","../../../../../../node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json","../../../../../../node_modules/@aws-crypto/util/package.json","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/client-s3/package.json","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/client-sso/package.json","../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/package.json","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/fxp.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/util.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/validator.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/node2json.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js","../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/package.json","../../../../../../node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-expect-continue/package.json","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/package.json","../../../../../../node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-host-header/package.json","../../../../../../node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-location-constraint/package.json","../../../../../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-logger/package.json","../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/package.json","../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/package.json","../../../../../../node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-ssec/package.json","../../../../../../node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-user-agent/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js","../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/region-config-resolver/package.json","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-arn-parser/package.json","../../../../../../node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-endpoints/package.json","../../../../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-user-agent-node/package.json","../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/@smithy/config-resolver/dist-cjs/index.js","../../../../../../node_modules/@smithy/config-resolver/package.json","../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@smithy/core/package.json","../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../node_modules/@smithy/eventstream-codec/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-codec/package.json","../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/package.json","../../../../../../node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-node/package.json","../../../../../../node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-universal/package.json","../../../../../../node_modules/@smithy/fetch-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/fetch-http-handler/package.json","../../../../../../node_modules/@smithy/hash-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/hash-node/package.json","../../../../../../node_modules/@smithy/hash-stream-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/hash-stream-node/package.json","../../../../../../node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../node_modules/@smithy/is-array-buffer/package.json","../../../../../../node_modules/@smithy/middleware-content-length/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-content-length/package.json","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-endpoint/package.json","../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/package.json","../../../../../../node_modules/@smithy/middleware-retry/package.json","../../../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-serde/package.json","../../../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-stack/package.json","../../../../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-config-provider/package.json","../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../node_modules/@smithy/property-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/property-provider/package.json","../../../../../../node_modules/@smithy/protocol-http/dist-cjs/index.js","../../../../../../node_modules/@smithy/protocol-http/package.json","../../../../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js","../../../../../../node_modules/@smithy/querystring-builder/package.json","../../../../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js","../../../../../../node_modules/@smithy/querystring-parser/package.json","../../../../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js","../../../../../../node_modules/@smithy/service-error-classification/package.json","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/package.json","../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js","../../../../../../node_modules/@smithy/smithy-client/package.json","../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../node_modules/@smithy/types/package.json","../../../../../../node_modules/@smithy/url-parser/dist-cjs/index.js","../../../../../../node_modules/@smithy/url-parser/package.json","../../../../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js","../../../../../../node_modules/@smithy/util-base64/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js","../../../../../../node_modules/@smithy/util-base64/package.json","../../../../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-body-length-node/package.json","../../../../../../node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-buffer-from/package.json","../../../../../../node_modules/@smithy/util-config-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-config-provider/package.json","../../../../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-defaults-mode-node/package.json","../../../../../../node_modules/@smithy/util-endpoints/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-endpoints/package.json","../../../../../../node_modules/@smithy/util-hex-encoding/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-hex-encoding/package.json","../../../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-middleware/package.json","../../../../../../node_modules/@smithy/util-retry/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-retry/package.json","../../../../../../node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js","../../../../../../node_modules/@smithy/util-stream/package.json","../../../../../../node_modules/@smithy/util-uri-escape/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-uri-escape/package.json","../../../../../../node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-utf8/package.json","../../../../../../node_modules/@smithy/util-waiter/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-waiter/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/strnum/package.json","../../../../../../node_modules/strnum/strnum.js","../../../../../../node_modules/tslib/package.json","../../../../../../node_modules/tslib/tslib.js","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6300.js","../../../../chunks/762.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/missions/[missionId]/route_client-reference-manifest.js b/.next/server/app/api/missions/[missionId]/route_client-reference-manifest.js new file mode 100644 index 00000000..b806eb20 --- /dev/null +++ b/.next/server/app/api/missions/[missionId]/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/missions/[missionId]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/missions/route":[],"/Users/alma/Documents/NeahNew/app/api/missions/[missionId]/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/missions/all/route.js b/.next/server/app/api/missions/all/route.js new file mode 100644 index 00000000..8b6dc353 --- /dev/null +++ b/.next/server/app/api/missions/all/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=4999,e.ids=[4999],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},19854:(e,r,s)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var t={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=s(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var s=i(r);if(s&&s.has(e))return s.get(e);var t={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=o?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,s&&s.set(e,t),t}(s(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,s=new WeakMap;return(i=function(e){return e?s:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},25037:(e,r,s)=>{"use strict";s.d(r,{_:()=>o});var t=s(70762);let o=t.z.object({NODE_ENV:t.z.enum(["development","test","production"]).default("development"),DATABASE_URL:t.z.string().url(),NEWSDB_URL:t.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:t.z.string().url(),KEYCLOAK_CLIENT_ID:t.z.string(),KEYCLOAK_CLIENT_SECRET:t.z.string(),KEYCLOAK_REALM:t.z.string(),KEYCLOAK_ISSUER:t.z.string().url(),LEANTIME_TOKEN:t.z.string(),LEANTIME_API_URL:t.z.string().url(),ROCKET_CHAT_TOKEN:t.z.string(),ROCKET_CHAT_USER_ID:t.z.string()}).parse(process.env)},26690:(e,r,s)=>{"use strict";s.d(r,{N:()=>a});var t=s(1926),o=s(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),s=await r.json();if(!r.ok){if("invalid_grant"===s.error||s.error_description?.includes("Session not active")||s.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw s}return{...e,accessToken:s.access_token,refreshToken:s.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*s.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,t.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let s=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",s),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:s}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:s}){if(r&&s){let t=(s.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=s.sub,e.role=t,e.username=s.preferred_username??"",e.first_name=s.given_name??"",e.last_name=s.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let t=e.accessTokenExpires;if(t&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46903:(e,r,s)=>{"use strict";s.r(r),s.d(r,{patchFetch:()=>g,routeModule:()=>f,serverHooks:()=>k,workAsyncStorage:()=>m,workUnitAsyncStorage:()=>_});var t={};s.r(t),s.d(t,{GET:()=>p});var o=s(96559),n=s(48088),i=s(37719),a=s(32190),c=s(19854),l=s(26690),u=s(79464);async function d(e){let r=await (0,c.getServerSession)(l.N);return r?.user?.id?{authorized:!0,userId:r.user.id}:(console.error("Unauthorized access attempt:",{url:e.url,method:e.method,headers:Object.fromEntries(e.headers)}),{authorized:!1,userId:null})}async function p(e){try{let{authorized:r,userId:s}=await d(e);if(!r||!s)return a.NextResponse.json({error:"Unauthorized"},{status:401});let{searchParams:t}=new URL(e.url),o=Number(t.get("limit")||"100"),n=Number(t.get("offset")||"0"),i=t.get("search"),c={};i&&(c.OR=[{name:{contains:i,mode:"insensitive"}},{intention:{contains:i,mode:"insensitive"}}]);let l=await u.z.mission.findMany({where:c,skip:n,take:o,orderBy:{createdAt:"desc"},select:{id:!0,name:!0,logo:!0,oddScope:!0,niveau:!0,missionType:!0,projection:!0,participation:!0,services:!0,intention:!0,createdAt:!0,creator:{select:{id:!0,email:!0}},missionUsers:{select:{id:!0,role:!0,user:{select:{id:!0,email:!0}}}}}}),p=await u.z.mission.count({where:c}),f=l.map(e=>({...e,logo:e.logo?`/api/missions/image/${e.logo}`:null}));return a.NextResponse.json({missions:f,pagination:{total:p,offset:n,limit:o}})}catch(e){return console.error("Error listing all missions:",e),a.NextResponse.json({error:"Internal server error",details:e instanceof Error?e.message:String(e)},{status:500})}}let f=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/missions/all/route",pathname:"/api/missions/all",filename:"route",bundlePath:"app/api/missions/all/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/missions/all/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:m,workUnitAsyncStorage:_,serverHooks:k}=f;function g(){return(0,i.patchFetch)({workAsyncStorage:m,workUnitAsyncStorage:_})}},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79464:(e,r,s)=>{"use strict";s.d(r,{z:()=>n});var t=s(96330),o=s(25037);let n=globalThis.prisma||new t.PrismaClient({datasources:{db:{url:o._.DATABASE_URL}},log:["query"]})},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},94735:e=>{"use strict";e.exports=require("events")},96330:e=>{"use strict";e.exports=require("@prisma/client")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[4243,5419,580,762],()=>s(46903));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/missions/all/route.js.nft.json b/.next/server/app/api/missions/all/route.js.nft.json new file mode 100644 index 00000000..b5ee2f6e --- /dev/null +++ b/.next/server/app/api/missions/all/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/762.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/missions/all/route_client-reference-manifest.js b/.next/server/app/api/missions/all/route_client-reference-manifest.js new file mode 100644 index 00000000..b9ec5c6e --- /dev/null +++ b/.next/server/app/api/missions/all/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/missions/all/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/missions/route":[],"/Users/alma/Documents/NeahNew/app/api/missions/all/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/missions/image/[...path]/route.js b/.next/server/app/api/missions/image/[...path]/route.js new file mode 100644 index 00000000..c8ee0ebe --- /dev/null +++ b/.next/server/app/api/missions/image/[...path]/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=4839,e.ids=[4839],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},47493:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>h,routeModule:()=>l,serverHooks:()=>g,workAsyncStorage:()=>d,workUnitAsyncStorage:()=>m});var s={};r.r(s),r.d(s,{GET:()=>c});var n=r(96559),o=r(48088),i=r(37719),a=r(32190),p=r(91043);let u=new p.S3Client({region:"us-east-1",endpoint:"https://dome-api.slm-lab.net",credentials:{accessKeyId:"4aBT4CMb7JIMMyUtp4Pl",secretAccessKey:"HGn39XhCIlqOjmDVzRK9MED2Fci2rYvDDgbLFElg"},forcePathStyle:!0});async function c(e,{params:t}){try{let{path:e}=await t;if(!e||0===e.length)return console.error("No path segments provided"),new a.NextResponse("Path is required",{status:400});let r=e.join("/");console.log("Fetching mission image:",{originalPath:r,segments:e});let s=r.replace(/^missions\//,"");console.log("Full Minio path:",{minioPath:s,bucket:"missions",endpoint:"https://dome-api.slm-lab.net"});let n=new p.GetObjectCommand({Bucket:"missions",Key:s});try{let e=await u.send(n);if(!e.Body)return console.error("File not found in Minio:",{path:r,minioPath:s,bucket:"missions",contentType:e.ContentType}),new a.NextResponse("File not found",{status:404});let t=e.ContentType||"image/png",o=new Headers;return o.set("Content-Type",t),o.set("Cache-Control","public, max-age=31536000"),console.log("Serving image:",{path:r,minioPath:s,contentType:t,contentLength:e.ContentLength,lastModified:e.LastModified,etag:e.ETag}),new a.NextResponse(e.Body,{headers:o})}catch(e){if(console.error("Error fetching file from Minio:",{error:e,path:r,minioPath:s,bucket:"missions",endpoint:"https://dome-api.slm-lab.net",errorType:e instanceof p.NoSuchKey?"NoSuchKey":"Unknown"}),e instanceof p.NoSuchKey)return new a.NextResponse("File not found",{status:404});return new a.NextResponse("Internal Server Error",{status:500})}}catch(e){return console.error("Error in image serving:",{error:e,errorType:e instanceof Error?e.constructor.name:typeof e,message:e instanceof Error?e.message:String(e)}),new a.NextResponse("Internal Server Error",{status:500})}}let l=new n.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/missions/image/[...path]/route",pathname:"/api/missions/image/[...path]",filename:"route",bundlePath:"app/api/missions/image/[...path]/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/missions/image/[...path]/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:d,workUnitAsyncStorage:m,serverHooks:g}=l;function h(){return(0,i.patchFetch)({workAsyncStorage:d,workUnitAsyncStorage:m})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},91043:e=>{"use strict";e.exports=require("@aws-sdk/client-s3")},96487:()=>{}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4243,580],()=>r(47493));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/missions/image/[...path]/route.js.nft.json b/.next/server/app/api/missions/image/[...path]/route.js.nft.json new file mode 100644 index 00000000..3c5f195d --- /dev/null +++ b/.next/server/app/api/missions/image/[...path]/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../node_modules/@aws-crypto/crc32/build/main/aws_crc32.js","../../../../../../../node_modules/@aws-crypto/crc32/build/main/index.js","../../../../../../../node_modules/@aws-crypto/crc32/package.json","../../../../../../../node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js","../../../../../../../node_modules/@aws-crypto/crc32c/build/main/index.js","../../../../../../../node_modules/@aws-crypto/crc32c/package.json","../../../../../../../node_modules/@aws-crypto/util/build/main/convertToBuffer.js","../../../../../../../node_modules/@aws-crypto/util/build/main/index.js","../../../../../../../node_modules/@aws-crypto/util/build/main/isEmptyData.js","../../../../../../../node_modules/@aws-crypto/util/build/main/numToUint8.js","../../../../../../../node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js","../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json","../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json","../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json","../../../../../../../node_modules/@aws-crypto/util/package.json","../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js","../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js","../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js","../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js","../../../../../../../node_modules/@aws-sdk/client-s3/package.json","../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js","../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js","../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js","../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js","../../../../../../../node_modules/@aws-sdk/client-sso/package.json","../../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/package.json","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/fxp.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/util.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/validator.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/node2json.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js","../../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js","../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js","../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js","../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js","../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js","../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js","../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/package.json","../../../../../../../node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-expect-continue/package.json","../../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js","../../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/package.json","../../../../../../../node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-host-header/package.json","../../../../../../../node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-location-constraint/package.json","../../../../../../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-logger/package.json","../../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/package.json","../../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/package.json","../../../../../../../node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-ssec/package.json","../../../../../../../node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-user-agent/package.json","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js","../../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/region-config-resolver/package.json","../../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../../node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/util-arn-parser/package.json","../../../../../../../node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/util-endpoints/package.json","../../../../../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/util-user-agent-node/package.json","../../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../../node_modules/@smithy/config-resolver/dist-cjs/index.js","../../../../../../../node_modules/@smithy/config-resolver/package.json","../../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../../node_modules/@smithy/core/package.json","../../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../../node_modules/@smithy/eventstream-codec/dist-cjs/index.js","../../../../../../../node_modules/@smithy/eventstream-codec/package.json","../../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js","../../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/package.json","../../../../../../../node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js","../../../../../../../node_modules/@smithy/eventstream-serde-node/package.json","../../../../../../../node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js","../../../../../../../node_modules/@smithy/eventstream-serde-universal/package.json","../../../../../../../node_modules/@smithy/fetch-http-handler/dist-cjs/index.js","../../../../../../../node_modules/@smithy/fetch-http-handler/package.json","../../../../../../../node_modules/@smithy/hash-node/dist-cjs/index.js","../../../../../../../node_modules/@smithy/hash-node/package.json","../../../../../../../node_modules/@smithy/hash-stream-node/dist-cjs/index.js","../../../../../../../node_modules/@smithy/hash-stream-node/package.json","../../../../../../../node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../../node_modules/@smithy/is-array-buffer/package.json","../../../../../../../node_modules/@smithy/middleware-content-length/dist-cjs/index.js","../../../../../../../node_modules/@smithy/middleware-content-length/package.json","../../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js","../../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js","../../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js","../../../../../../../node_modules/@smithy/middleware-endpoint/package.json","../../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js","../../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/package.json","../../../../../../../node_modules/@smithy/middleware-retry/package.json","../../../../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js","../../../../../../../node_modules/@smithy/middleware-serde/package.json","../../../../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js","../../../../../../../node_modules/@smithy/middleware-stack/package.json","../../../../../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js","../../../../../../../node_modules/@smithy/node-config-provider/package.json","../../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../../node_modules/@smithy/property-provider/dist-cjs/index.js","../../../../../../../node_modules/@smithy/property-provider/package.json","../../../../../../../node_modules/@smithy/protocol-http/dist-cjs/index.js","../../../../../../../node_modules/@smithy/protocol-http/package.json","../../../../../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js","../../../../../../../node_modules/@smithy/querystring-builder/package.json","../../../../../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js","../../../../../../../node_modules/@smithy/querystring-parser/package.json","../../../../../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js","../../../../../../../node_modules/@smithy/service-error-classification/package.json","../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js","../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js","../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js","../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js","../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js","../../../../../../../node_modules/@smithy/shared-ini-file-loader/package.json","../../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js","../../../../../../../node_modules/@smithy/smithy-client/package.json","../../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../../node_modules/@smithy/types/package.json","../../../../../../../node_modules/@smithy/url-parser/dist-cjs/index.js","../../../../../../../node_modules/@smithy/url-parser/package.json","../../../../../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js","../../../../../../../node_modules/@smithy/util-base64/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js","../../../../../../../node_modules/@smithy/util-base64/package.json","../../../../../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-body-length-node/package.json","../../../../../../../node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-buffer-from/package.json","../../../../../../../node_modules/@smithy/util-config-provider/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-config-provider/package.json","../../../../../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-defaults-mode-node/package.json","../../../../../../../node_modules/@smithy/util-endpoints/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-endpoints/package.json","../../../../../../../node_modules/@smithy/util-hex-encoding/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-hex-encoding/package.json","../../../../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-middleware/package.json","../../../../../../../node_modules/@smithy/util-retry/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-retry/package.json","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js","../../../../../../../node_modules/@smithy/util-stream/package.json","../../../../../../../node_modules/@smithy/util-uri-escape/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-uri-escape/package.json","../../../../../../../node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-utf8/package.json","../../../../../../../node_modules/@smithy/util-waiter/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-waiter/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../node_modules/strnum/package.json","../../../../../../../node_modules/strnum/strnum.js","../../../../../../../node_modules/tslib/package.json","../../../../../../../node_modules/tslib/tslib.js","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/4243.js","../../../../../chunks/580.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/missions/image/[...path]/route_client-reference-manifest.js b/.next/server/app/api/missions/image/[...path]/route_client-reference-manifest.js new file mode 100644 index 00000000..866844f1 --- /dev/null +++ b/.next/server/app/api/missions/image/[...path]/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/missions/image/[...path]/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/missions/route":[],"/Users/alma/Documents/NeahNew/app/api/missions/image/[...path]/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/missions/route.js b/.next/server/app/api/missions/route.js new file mode 100644 index 00000000..df9a9eb5 --- /dev/null +++ b/.next/server/app/api/missions/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=3659,e.ids=[3659],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},14182:(e,r,o)=>{o.d(r,{$R:()=>i,Ui:()=>c,XB:()=>a,XR:()=>l,YE:()=>s,ZT:()=>d,b4:()=>u,oD:()=>n});var t=o(91043);let s={endpoint:"https://dome-api.slm-lab.net",region:"us-east-1",bucket:process.env.S3_BUCKET||"pages",accessKey:"4aBT4CMb7JIMMyUtp4Pl",secretKey:"HGn39XhCIlqOjmDVzRK9MED2Fci2rYvDDgbLFElg"},n=new t.S3Client({region:s.region,endpoint:s.endpoint,credentials:{accessKeyId:s.accessKey,secretAccessKey:s.secretKey},forcePathStyle:!0});async function i(e,r,o){let i=new t.PutObjectCommand({Bucket:s.bucket,Key:e,Body:"string"==typeof r?Buffer.from(r,"utf-8"):r,ContentType:o||"text/plain"});return await n.send(i),{key:e}}async function a(e){try{let r=new t.GetObjectCommand({Bucket:s.bucket,Key:e}),o=await n.send(r);if(!o.Body)return null;let i=[];for await(let e of o.Body)i.push(e);return Buffer.concat(i).toString("utf-8")}catch(e){return console.error("Error getting object content:",e),null}}async function l(e){let r=new t.DeleteObjectCommand({Bucket:s.bucket,Key:e});await n.send(r)}async function c(e,r){let o=`user-${e}/${r}/`,i=new t.ListObjectsV2Command({Bucket:s.bucket,Prefix:o,Delimiter:"/"});return((await n.send(i)).Contents||[]).filter(e=>e.Key&&!e.Key.endsWith("/")&&!e.Key.includes(".placeholder")).map(e=>({key:e.Key,name:e.Key.split("/").pop()||e.Key,size:e.Size,lastModified:e.LastModified}))}function u(e,r){if(!e)return"";if(e.startsWith("http"))return e;let o=e.startsWith("/")?e.substring(1):e,t=s.endpoint?.replace(/\/$/,""),n=r||s.bucket;return t?`${t}/${n}/${o}`:o}async function d(e){for(let r of["notes","diary","health","contacts"])try{let o=`user-${e}/${r}/`;await i(o,"","application/x-directory");let t=`user-${e}/${r}/.placeholder`;await i(t,"Folder placeholder","text/plain"),console.log(`Created folder: ${o}`)}catch(o){console.error(`Error creating folder ${r} for user ${e}:`,o)}}},28354:e=>{e.exports=require("util")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{e.exports=require("zlib")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},81630:e=>{e.exports=require("http")},82792:(e,r,o)=>{o.r(r),o.d(r,{patchFetch:()=>S,routeModule:()=>k,serverHooks:()=>N,workAsyncStorage:()=>b,workUnitAsyncStorage:()=>v});var t={};o.r(t),o.d(t,{GET:()=>h,POST:()=>w});var s=o(96559),n=o(48088),i=o(37719),a=o(32190),l=o(19854),c=o(26690),u=o(79464);class d{constructor(){this.webhookUrl=process.env.N8N_WEBHOOK_URL||"https://brain.slm-lab.net/webhook/mission-created",this.rollbackWebhookUrl=process.env.N8N_ROLLBACK_WEBHOOK_URL||"https://brain.slm-lab.net/webhook/mission-rollback",this.apiKey=process.env.N8N_API_KEY||"",this.apiKey||console.error("N8N_API_KEY is not set in environment variables")}async triggerMissionCreation(e){try{console.log("N8nService - Input data:",{hasServices:Array.isArray(e.services),services:e.services,hasGite:e.services?.includes("Gite"),missionProcessed:e.missionProcessed,config:e.config});let r={name:e.name,oddScope:Array.isArray(e.oddScope)?e.oddScope:[e.oddScope],niveau:e.niveau||"default",intention:e.intention?.trim()||"",missionType:e.missionType||"default",donneurDOrdre:e.donneurDOrdre||"default",projection:e.projection||"default",services:Array.isArray(e.services)?e.services:[],participation:e.participation||"default",profils:Array.isArray(e.profils)?e.profils:[],guardians:e.guardians||{},volunteers:Array.isArray(e.volunteers)?e.volunteers:[],creatorId:e.creatorId,config:{...e.config,N8N_API_KEY:this.apiKey,MISSION_API_URL:process.env.NEXT_PUBLIC_API_URL||"https://api.slm-lab.net/api"}};console.log("Sending cleaned data to n8n:",{name:r.name,creatorId:r.creatorId,oddScope:r.oddScope,niveau:r.niveau,intention:r.intention?.substring(0,100)+"...",missionType:r.missionType,donneurDOrdre:r.donneurDOrdre,projection:r.projection,services:r.services,participation:r.participation,profils:r.profils,hasGuardians:!!r.guardians,volunteersCount:r.volunteers.length,hasConfig:!!r.config,configKeys:r.config?Object.keys(r.config):[]}),console.log("Using webhook URL:",this.webhookUrl),console.log("API key present:",!!this.apiKey);let o=await fetch(this.webhookUrl,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":this.apiKey},body:JSON.stringify(r)});if(console.log("Webhook response status:",o.status),console.log("Webhook response headers:",Object.fromEntries(o.headers.entries())),!o.ok){let e=await o.text();console.error("Webhook error response:",e);try{let r=JSON.parse(e);console.error("Parsed error response:",r)}catch(e){console.error("Error response is not JSON")}throw Error(`HTTP error! status: ${o.status}, body: ${e}`)}let t=await o.text();console.log("N8nService - Raw response:",t);try{let e=JSON.parse(t);if(console.log("Parsed workflow result:",JSON.stringify(e,null,2)),e.error||e.message?.includes("failed")){let r=e.message||e.error,o={gitRepo:r.includes("Git repository creation failed"),leantimeProject:r.includes("Leantime project creation failed"),docCollection:r.includes("Documentation collection creation failed"),rocketChatChannel:r.includes("RocketChat channel creation failed")};return{success:!0,results:{...e,failedServices:o}}}return{success:!0,results:e}}catch(e){return console.log("Response is not JSON, treating as workflow trigger confirmation"),{success:!0,results:{logoUrl:null,leantimeProjectId:null,outlineCollectionId:null,rocketChatChannelId:null,giteaRepositoryUrl:null}}}}catch(e){return console.error("Error triggering n8n workflow:",e),{success:!1,error:e instanceof Error?e.message:"Unknown error"}}}async triggerMissionRollback(e){try{console.log("Triggering n8n rollback workflow with data:",JSON.stringify(e,null,2)),console.log("Using rollback webhook URL:",this.rollbackWebhookUrl),console.log("API key present:",!!this.apiKey);let r=await fetch(this.rollbackWebhookUrl,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":this.apiKey},body:JSON.stringify(e)});if(!r.ok){let e=await r.text();throw console.error("Rollback webhook error response:",e),Error(`HTTP error! status: ${r.status}, body: ${e}`)}let o=await r.json();return console.log("Received response from n8n rollback:",JSON.stringify(o,null,2)),{success:!0,results:o}}catch(e){return console.error("Error triggering n8n rollback workflow:",e),{success:!1,error:e instanceof Error?e.message:"Unknown error"}}}}var p=o(14182),g=o(91043),f=o(22039);async function m(e){let r=await (0,l.getServerSession)(c.N);return{authorized:!!r?.user,userId:r?.user?.id}}async function h(e){try{let{authorized:r,userId:o}=await m(e);if(!r||!o)return a.NextResponse.json({error:"Unauthorized"},{status:401});let{searchParams:t}=new URL(e.url),s=Number(t.get("limit")||"10"),n=Number(t.get("offset")||"0"),i=t.get("search"),l=t.get("name"),c={};i&&(c.OR=[{name:{contains:i,mode:"insensitive"}},{intention:{contains:i,mode:"insensitive"}}]),l&&(c.name=l);let d=await u.z.mission.findMany({where:c,skip:n,take:s,orderBy:{createdAt:"desc"},include:{creator:{select:{id:!0,email:!0}},missionUsers:{include:{user:{select:{id:!0,email:!0}}}},attachments:{select:{id:!0,filename:!0,filePath:!0,fileType:!0,fileSize:!0,createdAt:!0},orderBy:{createdAt:"desc"}}}}),p=await u.z.mission.count({where:c}),g=d.map(e=>(console.log("Processing mission logo:",{missionId:e.id,logo:e.logo,constructedUrl:e.logo?`/api/missions/image/${e.logo}`:null}),{...e,logoUrl:e.logo?`/api/missions/image/${e.logo}`:null,logo:e.logo,attachments:e.attachments?.map(e=>({...e,publicUrl:`/api/missions/image/${e.filePath}`}))||[]}));return a.NextResponse.json({missions:g,pagination:{total:p,offset:n,limit:s}})}catch(e){return console.error("Error listing missions:",e),a.NextResponse.json({error:"Internal server error",details:e instanceof Error?e.message:String(e)},{status:500})}}async function y(e){try{return await p.oD.send(new g.HeadObjectCommand({Bucket:"missions",Key:e.replace("missions/","")})),!0}catch(r){return console.error("Error verifying file:",e,r),!1}}async function w(e){let r=[];try{console.log("=== Mission Creation Started ===");let{authorized:o,userId:t}=await m(e);if(!o||!t)return a.NextResponse.json({error:"Unauthorized"},{status:401});let s=await e.json();if(console.log("Received request body:",JSON.stringify(s,null,2)),!s.name||!s.oddScope)return a.NextResponse.json({error:"Missing required fields",missingFields:["name","oddScope"].filter(e=>!s[e])},{status:400});let n={name:s.name,oddScope:s.oddScope,niveau:s.niveau,intention:s.intention,missionType:s.missionType,donneurDOrdre:s.donneurDOrdre,projection:s.projection,services:s.services,profils:s.profils,participation:s.participation,creatorId:t,logo:null};console.log("Creating mission with data:",JSON.stringify(n,null,2));let i=await u.z.mission.create({data:n});console.log("Mission created successfully:",JSON.stringify(i,null,2));let l=[];if(s.guardians)for(let[e,r]of Object.entries(s.guardians))r&&l.push({missionId:i.id,userId:r,role:e});if(s.volunteers&&s.volunteers.length>0)for(let e of s.volunteers)l.push({missionId:i.id,userId:e,role:"volontaire"});l.length>0&&(await u.z.missionUser.createMany({data:l}),console.log("Mission users created:",l));let c=null;if(s.logo?.data)try{let e=s.logo.data.split(",")[1],o=Buffer.from(e,"base64"),n=new File([o],s.logo.name||"logo.png",{type:s.logo.type||"image/png"}),{filePath:a}=await (0,f.vB)(t,i.id,n);c=a,r.push({type:"logo",path:a}),await u.z.mission.update({where:{id:i.id},data:{logo:a}}),console.log("Logo uploaded successfully:",{logoPath:c})}catch(e){throw console.error("Error uploading logo:",e),Error("Failed to upload logo")}if(s.attachments&&s.attachments.length>0)try{let e=s.attachments.map(async e=>{let o=e.data.split(",")[1],s=Buffer.from(o,"base64"),n=new File([s],e.name||"attachment",{type:e.type||"application/octet-stream"}),{filePath:a,filename:l,fileType:c,fileSize:d}=await (0,f.jY)(t,i.id,n);return r.push({type:"attachment",path:a}),u.z.attachment.create({data:{missionId:i.id,filename:l,filePath:a,fileType:c,fileSize:d,uploaderId:t}})});await Promise.all(e),console.log("Attachments uploaded successfully")}catch(e){throw console.error("Error uploading attachments:",e),Error("Failed to upload attachments")}try{if(c&&!await y(c))throw Error("Logo file not found in Minio");if(s.attachments?.length>0){let e=r.filter(e=>"attachment"===e.type).map(e=>y(e.path));if((await Promise.all(e)).some(e=>!e))throw Error("One or more attachment files not found in Minio")}console.log("=== Starting N8N Workflow ===");let e=new d,o={...s,creatorId:t,logoPath:c,config:{N8N_API_KEY:process.env.N8N_API_KEY,MISSION_API_URL:process.env.NEXT_PUBLIC_API_URL}};console.log("Sending to N8N:",JSON.stringify(o,null,2));let n=await e.triggerMissionCreation(o);if(console.log("N8N Workflow Result:",JSON.stringify(n,null,2)),!n.success)throw Error(n.error||"N8N workflow failed");return a.NextResponse.json({success:!0,mission:i,message:"Mission created successfully with all integrations"})}catch(e){throw console.error("Error in final verification or n8n:",e),e}}catch(e){for(let o of(console.error("Error in mission creation:",e),r))try{await p.oD.send(new g.DeleteObjectCommand({Bucket:"missions",Key:o.path.replace("missions/","")})),console.log("Cleaned up file:",o.path)}catch(e){console.error("Error cleaning up file:",o.path,e)}return a.NextResponse.json({error:"Failed to create mission",details:e instanceof Error?e.message:String(e)},{status:500})}}let k=new s.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/missions/route",pathname:"/api/missions",filename:"route",bundlePath:"app/api/missions/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/missions/route.ts",nextConfigOutput:"",userland:t}),{workAsyncStorage:b,workUnitAsyncStorage:v,serverHooks:N}=k;function S(){return(0,i.patchFetch)({workAsyncStorage:b,workUnitAsyncStorage:v})}},91043:e=>{e.exports=require("@aws-sdk/client-s3")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var r=require("../../../webpack-runtime.js");r.C(e);var o=e=>r(r.s=e),t=r.X(0,[4243,5419,580,762,6300],()=>o(82792));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/app/api/missions/route.js.nft.json b/.next/server/app/api/missions/route.js.nft.json new file mode 100644 index 00000000..749fc3c9 --- /dev/null +++ b/.next/server/app/api/missions/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../.env","../../../../../node_modules/.prisma/client/default.js","../../../../../node_modules/.prisma/client/index.js","../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../node_modules/.prisma/client/package.json","../../../../../node_modules/.prisma/client/schema.prisma","../../../../../node_modules/@aws-crypto/crc32/build/main/aws_crc32.js","../../../../../node_modules/@aws-crypto/crc32/build/main/index.js","../../../../../node_modules/@aws-crypto/crc32/package.json","../../../../../node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js","../../../../../node_modules/@aws-crypto/crc32c/build/main/index.js","../../../../../node_modules/@aws-crypto/crc32c/package.json","../../../../../node_modules/@aws-crypto/util/build/main/convertToBuffer.js","../../../../../node_modules/@aws-crypto/util/build/main/index.js","../../../../../node_modules/@aws-crypto/util/build/main/isEmptyData.js","../../../../../node_modules/@aws-crypto/util/build/main/numToUint8.js","../../../../../node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js","../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json","../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json","../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json","../../../../../node_modules/@aws-crypto/util/package.json","../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js","../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js","../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js","../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js","../../../../../node_modules/@aws-sdk/client-s3/package.json","../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js","../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js","../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js","../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js","../../../../../node_modules/@aws-sdk/client-sso/package.json","../../../../../node_modules/@aws-sdk/core/client.js","../../../../../node_modules/@aws-sdk/core/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/package.json","../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/fxp.js","../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/util.js","../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/validator.js","../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js","../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js","../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js","../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js","../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js","../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js","../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/node2json.js","../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js","../../../../../node_modules/@aws-sdk/core/package.json","../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js","../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js","../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js","../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js","../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js","../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js","../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/package.json","../../../../../node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/middleware-expect-continue/package.json","../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js","../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/package.json","../../../../../node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/middleware-host-header/package.json","../../../../../node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/middleware-location-constraint/package.json","../../../../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/middleware-logger/package.json","../../../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/middleware-recursion-detection/package.json","../../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/middleware-sdk-s3/package.json","../../../../../node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/middleware-ssec/package.json","../../../../../node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/middleware-user-agent/package.json","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js","../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js","../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/region-config-resolver/package.json","../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/util-arn-parser/package.json","../../../../../node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/util-endpoints/package.json","../../../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/util-user-agent-node/package.json","../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../node_modules/@prisma/client/default.js","../../../../../node_modules/@prisma/client/package.json","../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../node_modules/@smithy/config-resolver/dist-cjs/index.js","../../../../../node_modules/@smithy/config-resolver/package.json","../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../node_modules/@smithy/core/package.json","../../../../../node_modules/@smithy/core/protocols.js","../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../node_modules/@smithy/eventstream-codec/dist-cjs/index.js","../../../../../node_modules/@smithy/eventstream-codec/package.json","../../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js","../../../../../node_modules/@smithy/eventstream-serde-config-resolver/package.json","../../../../../node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js","../../../../../node_modules/@smithy/eventstream-serde-node/package.json","../../../../../node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js","../../../../../node_modules/@smithy/eventstream-serde-universal/package.json","../../../../../node_modules/@smithy/fetch-http-handler/dist-cjs/index.js","../../../../../node_modules/@smithy/fetch-http-handler/package.json","../../../../../node_modules/@smithy/hash-node/dist-cjs/index.js","../../../../../node_modules/@smithy/hash-node/package.json","../../../../../node_modules/@smithy/hash-stream-node/dist-cjs/index.js","../../../../../node_modules/@smithy/hash-stream-node/package.json","../../../../../node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../node_modules/@smithy/is-array-buffer/package.json","../../../../../node_modules/@smithy/middleware-content-length/dist-cjs/index.js","../../../../../node_modules/@smithy/middleware-content-length/package.json","../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js","../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js","../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js","../../../../../node_modules/@smithy/middleware-endpoint/package.json","../../../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js","../../../../../node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js","../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/package.json","../../../../../node_modules/@smithy/middleware-retry/package.json","../../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js","../../../../../node_modules/@smithy/middleware-serde/package.json","../../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js","../../../../../node_modules/@smithy/middleware-stack/package.json","../../../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js","../../../../../node_modules/@smithy/node-config-provider/package.json","../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../node_modules/@smithy/property-provider/dist-cjs/index.js","../../../../../node_modules/@smithy/property-provider/package.json","../../../../../node_modules/@smithy/protocol-http/dist-cjs/index.js","../../../../../node_modules/@smithy/protocol-http/package.json","../../../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js","../../../../../node_modules/@smithy/querystring-builder/package.json","../../../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js","../../../../../node_modules/@smithy/querystring-parser/package.json","../../../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js","../../../../../node_modules/@smithy/service-error-classification/package.json","../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js","../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js","../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js","../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js","../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js","../../../../../node_modules/@smithy/shared-ini-file-loader/package.json","../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js","../../../../../node_modules/@smithy/smithy-client/package.json","../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../node_modules/@smithy/types/package.json","../../../../../node_modules/@smithy/url-parser/dist-cjs/index.js","../../../../../node_modules/@smithy/url-parser/package.json","../../../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js","../../../../../node_modules/@smithy/util-base64/dist-cjs/index.js","../../../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js","../../../../../node_modules/@smithy/util-base64/package.json","../../../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js","../../../../../node_modules/@smithy/util-body-length-node/package.json","../../../../../node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../node_modules/@smithy/util-buffer-from/package.json","../../../../../node_modules/@smithy/util-config-provider/dist-cjs/index.js","../../../../../node_modules/@smithy/util-config-provider/package.json","../../../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js","../../../../../node_modules/@smithy/util-defaults-mode-node/package.json","../../../../../node_modules/@smithy/util-endpoints/dist-cjs/index.js","../../../../../node_modules/@smithy/util-endpoints/package.json","../../../../../node_modules/@smithy/util-hex-encoding/dist-cjs/index.js","../../../../../node_modules/@smithy/util-hex-encoding/package.json","../../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js","../../../../../node_modules/@smithy/util-middleware/package.json","../../../../../node_modules/@smithy/util-retry/dist-cjs/index.js","../../../../../node_modules/@smithy/util-retry/package.json","../../../../../node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/index.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.js","../../../../../node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js","../../../../../node_modules/@smithy/util-stream/package.json","../../../../../node_modules/@smithy/util-uri-escape/dist-cjs/index.js","../../../../../node_modules/@smithy/util-uri-escape/package.json","../../../../../node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../node_modules/@smithy/util-utf8/package.json","../../../../../node_modules/@smithy/util-waiter/dist-cjs/index.js","../../../../../node_modules/@smithy/util-waiter/package.json","../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../node_modules/strnum/package.json","../../../../../node_modules/strnum/strnum.js","../../../../../node_modules/tslib/package.json","../../../../../node_modules/tslib/tslib.js","../../../../../package.json","../../../../package.json","../../../chunks/4243.js","../../../chunks/5419.js","../../../chunks/580.js","../../../chunks/6300.js","../../../chunks/762.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/missions/route_client-reference-manifest.js b/.next/server/app/api/missions/route_client-reference-manifest.js new file mode 100644 index 00000000..5decda9c --- /dev/null +++ b/.next/server/app/api/missions/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/missions/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/missions/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/missions/upload/route.js b/.next/server/app/api/missions/upload/route.js new file mode 100644 index 00000000..59c78e1e --- /dev/null +++ b/.next/server/app/api/missions/upload/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=9189,e.ids=[9189],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},14182:(e,t,r)=>{r.d(t,{$R:()=>i,Ui:()=>u,XB:()=>a,XR:()=>l,YE:()=>s,ZT:()=>d,b4:()=>c,oD:()=>n});var o=r(91043);let s={endpoint:"https://dome-api.slm-lab.net",region:"us-east-1",bucket:process.env.S3_BUCKET||"pages",accessKey:"4aBT4CMb7JIMMyUtp4Pl",secretKey:"HGn39XhCIlqOjmDVzRK9MED2Fci2rYvDDgbLFElg"},n=new o.S3Client({region:s.region,endpoint:s.endpoint,credentials:{accessKeyId:s.accessKey,secretAccessKey:s.secretKey},forcePathStyle:!0});async function i(e,t,r){let i=new o.PutObjectCommand({Bucket:s.bucket,Key:e,Body:"string"==typeof t?Buffer.from(t,"utf-8"):t,ContentType:r||"text/plain"});return await n.send(i),{key:e}}async function a(e){try{let t=new o.GetObjectCommand({Bucket:s.bucket,Key:e}),r=await n.send(t);if(!r.Body)return null;let i=[];for await(let e of r.Body)i.push(e);return Buffer.concat(i).toString("utf-8")}catch(e){return console.error("Error getting object content:",e),null}}async function l(e){let t=new o.DeleteObjectCommand({Bucket:s.bucket,Key:e});await n.send(t)}async function u(e,t){let r=`user-${e}/${t}/`,i=new o.ListObjectsV2Command({Bucket:s.bucket,Prefix:r,Delimiter:"/"});return((await n.send(i)).Contents||[]).filter(e=>e.Key&&!e.Key.endsWith("/")&&!e.Key.includes(".placeholder")).map(e=>({key:e.Key,name:e.Key.split("/").pop()||e.Key,size:e.Size,lastModified:e.LastModified}))}function c(e,t){if(!e)return"";if(e.startsWith("http"))return e;let r=e.startsWith("/")?e.substring(1):e,o=s.endpoint?.replace(/\/$/,""),n=t||s.bucket;return o?`${o}/${n}/${r}`:r}async function d(e){for(let t of["notes","diary","health","contacts"])try{let r=`user-${e}/${t}/`;await i(r,"","application/x-directory");let o=`user-${e}/${t}/.placeholder`;await i(o,"Folder placeholder","text/plain"),console.log(`Created folder: ${r}`)}catch(r){console.error(`Error creating folder ${t} for user ${e}:`,r)}}},24247:(e,t,r)=>{r.r(t),r.d(t,{patchFetch:()=>j,routeModule:()=>h,serverHooks:()=>w,workAsyncStorage:()=>y,workUnitAsyncStorage:()=>x});var o={};r.r(o),r.d(o,{GET:()=>g,POST:()=>m});var s=r(96559),n=r(48088),i=r(37719),a=r(32190),l=r(19854),u=r(26690),c=r(79464),d=r(22039),p=r(14182);async function f(e){let t=await (0,l.getServerSession)(u.N);return t?.user?.id?{authorized:!0,userId:t.user.id}:(console.error("Unauthorized access attempt:",{url:e.url,method:e.method,headers:Object.fromEntries(e.headers)}),{authorized:!1,userId:null})}async function g(e){try{let t,{authorized:r,userId:o}=await f(e);if(!r||!o)return a.NextResponse.json({error:"Unauthorized"},{status:401});let{searchParams:s}=new URL(e.url),n=s.get("missionId"),i=s.get("type"),l=s.get("filename");if(!n||!i||!l)return a.NextResponse.json({error:"Missing required parameters",required:{missionId:!0,type:!0,filename:!0},received:{missionId:!!n,type:!!i,filename:!!l}},{status:400});let u=await c.z.mission.findUnique({where:{id:n},select:{id:!0,creatorId:!0}});if(!u)return a.NextResponse.json({error:"Mission not found"},{status:404});if(u.creatorId!==o)return a.NextResponse.json({error:"Not authorized to upload to this mission"},{status:403});if("logo"===i){let e=l.substring(l.lastIndexOf("."));t=await (0,d.nq)(o,n,e)}else{if("attachment"!==i)return a.NextResponse.json({error:"Invalid upload type"},{status:400});t=await (0,d.dm)(o,n,l)}return a.NextResponse.json(t)}catch(e){return console.error("Error generating upload URL:",e),a.NextResponse.json({error:"Internal server error",details:e instanceof Error?e.message:String(e)},{status:500})}}async function m(e){console.log("=== File upload request received ===");try{console.log("Checking authentication...");let{authorized:t,userId:r}=await f(e);if(!t||!r)return console.log("Authentication failed"),a.NextResponse.json({error:"Unauthorized"},{status:401});console.log("User authenticated:",r),console.log("Parsing form data...");let o=await e.formData(),s=o.get("missionId"),n=o.get("type"),i=o.get("file");if(console.log("Form data received:",{missionId:s,type:n,fileExists:!!i,fileName:i?.name,fileSize:i?.size,fileType:i?.type}),!s||!n||!i)return console.log("Missing required fields:",{missionId:!!s,type:!!n,file:!!i}),a.NextResponse.json({error:"Missing required fields",required:{missionId:!0,type:!0,file:!0},received:{missionId:!!s,type:!!n,file:!!i}},{status:400});console.log("Verifying mission access...");let l=await c.z.mission.findUnique({where:{id:s},select:{id:!0,creatorId:!0}});if(!l)return console.log("Mission not found:",s),a.NextResponse.json({error:"Mission not found"},{status:404});if(l.creatorId!==r)return console.log("User not authorized to upload to this mission",{userId:r,creatorId:l.creatorId}),a.NextResponse.json({error:"Not authorized to upload to this mission"},{status:403});if(console.log("Mission access verified"),"logo"===n){console.log("Processing logo upload...");try{let{filePath:e}=await (0,d.vB)(r,s,i);console.log("Logo uploaded successfully to path:",e);let t=`/api/missions/image/${e.replace("missions/","")}`;return console.log("Public URL for logo:",t),console.log("Updating mission record with logo path..."),await c.z.mission.update({where:{id:s},data:{logo:e}}),console.log("Mission record updated"),a.NextResponse.json({success:!0,filePath:e,publicUrl:t})}catch(e){return console.error("Error in logo upload process:",e),a.NextResponse.json({error:"Logo upload failed",details:e instanceof Error?e.message:String(e)},{status:500})}}if("attachment"!==n)return console.log("Invalid upload type:",n),a.NextResponse.json({error:"Invalid upload type"},{status:400});console.log("Processing attachment upload...");try{let{filename:e,filePath:t,fileType:o,fileSize:n}=await (0,d.jY)(r,s,i);console.log("Attachment uploaded successfully to path:",t);let l=(0,p.b4)(t,p.YE.bucket);console.log("Public URL for attachment:",l),console.log("Creating attachment record in database...");let u=await c.z.attachment.create({data:{filename:e,filePath:t,fileType:o,fileSize:n,missionId:s,uploaderId:r}});return console.log("Attachment record created:",u.id),a.NextResponse.json({success:!0,attachment:{id:u.id,filename:u.filename,filePath:u.filePath,publicUrl:l,fileType:u.fileType,fileSize:u.fileSize,createdAt:u.createdAt}})}catch(e){return console.error("Error in attachment upload process:",e),a.NextResponse.json({error:"Attachment upload failed",details:e instanceof Error?e.message:String(e)},{status:500})}}catch(e){return console.error("Unhandled error in upload process:",e),a.NextResponse.json({error:"Internal server error",details:e instanceof Error?e.message:String(e)},{status:500})}}let h=new s.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/missions/upload/route",pathname:"/api/missions/upload",filename:"route",bundlePath:"app/api/missions/upload/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/missions/upload/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:y,workUnitAsyncStorage:x,serverHooks:w}=h;function j(){return(0,i.patchFetch)({workAsyncStorage:y,workUnitAsyncStorage:x})}},28354:e=>{e.exports=require("util")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{e.exports=require("zlib")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},81630:e=>{e.exports=require("http")},91043:e=>{e.exports=require("@aws-sdk/client-s3")},94735:e=>{e.exports=require("events")},96330:e=>{e.exports=require("@prisma/client")}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),o=t.X(0,[4243,5419,580,762,6300],()=>r(24247));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/missions/upload/route.js.nft.json b/.next/server/app/api/missions/upload/route.js.nft.json new file mode 100644 index 00000000..7bc0299d --- /dev/null +++ b/.next/server/app/api/missions/upload/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../.env","../../../../../../node_modules/.prisma/client/default.js","../../../../../../node_modules/.prisma/client/index.js","../../../../../../node_modules/.prisma/client/libquery_engine-darwin-arm64.dylib.node","../../../../../../node_modules/.prisma/client/libquery_engine-linux-arm64-openssl-3.0.x.so.node","../../../../../../node_modules/.prisma/client/package.json","../../../../../../node_modules/.prisma/client/schema.prisma","../../../../../../node_modules/@aws-crypto/crc32/build/main/aws_crc32.js","../../../../../../node_modules/@aws-crypto/crc32/build/main/index.js","../../../../../../node_modules/@aws-crypto/crc32/package.json","../../../../../../node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js","../../../../../../node_modules/@aws-crypto/crc32c/build/main/index.js","../../../../../../node_modules/@aws-crypto/crc32c/package.json","../../../../../../node_modules/@aws-crypto/util/build/main/convertToBuffer.js","../../../../../../node_modules/@aws-crypto/util/build/main/index.js","../../../../../../node_modules/@aws-crypto/util/build/main/isEmptyData.js","../../../../../../node_modules/@aws-crypto/util/build/main/numToUint8.js","../../../../../../node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json","../../../../../../node_modules/@aws-crypto/util/package.json","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/client-s3/package.json","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/client-sso/package.json","../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/package.json","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/fxp.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/util.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/validator.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/node2json.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js","../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/package.json","../../../../../../node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-expect-continue/package.json","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/package.json","../../../../../../node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-host-header/package.json","../../../../../../node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-location-constraint/package.json","../../../../../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-logger/package.json","../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/package.json","../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/package.json","../../../../../../node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-ssec/package.json","../../../../../../node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-user-agent/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js","../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/region-config-resolver/package.json","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-arn-parser/package.json","../../../../../../node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-endpoints/package.json","../../../../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-user-agent-node/package.json","../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../node_modules/@prisma/client/default.js","../../../../../../node_modules/@prisma/client/package.json","../../../../../../node_modules/@prisma/client/runtime/library.js","../../../../../../node_modules/@smithy/config-resolver/dist-cjs/index.js","../../../../../../node_modules/@smithy/config-resolver/package.json","../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@smithy/core/package.json","../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../node_modules/@smithy/eventstream-codec/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-codec/package.json","../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/package.json","../../../../../../node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-node/package.json","../../../../../../node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-universal/package.json","../../../../../../node_modules/@smithy/fetch-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/fetch-http-handler/package.json","../../../../../../node_modules/@smithy/hash-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/hash-node/package.json","../../../../../../node_modules/@smithy/hash-stream-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/hash-stream-node/package.json","../../../../../../node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../node_modules/@smithy/is-array-buffer/package.json","../../../../../../node_modules/@smithy/middleware-content-length/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-content-length/package.json","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-endpoint/package.json","../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/package.json","../../../../../../node_modules/@smithy/middleware-retry/package.json","../../../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-serde/package.json","../../../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-stack/package.json","../../../../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-config-provider/package.json","../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../node_modules/@smithy/property-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/property-provider/package.json","../../../../../../node_modules/@smithy/protocol-http/dist-cjs/index.js","../../../../../../node_modules/@smithy/protocol-http/package.json","../../../../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js","../../../../../../node_modules/@smithy/querystring-builder/package.json","../../../../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js","../../../../../../node_modules/@smithy/querystring-parser/package.json","../../../../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js","../../../../../../node_modules/@smithy/service-error-classification/package.json","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/package.json","../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js","../../../../../../node_modules/@smithy/smithy-client/package.json","../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../node_modules/@smithy/types/package.json","../../../../../../node_modules/@smithy/url-parser/dist-cjs/index.js","../../../../../../node_modules/@smithy/url-parser/package.json","../../../../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js","../../../../../../node_modules/@smithy/util-base64/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js","../../../../../../node_modules/@smithy/util-base64/package.json","../../../../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-body-length-node/package.json","../../../../../../node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-buffer-from/package.json","../../../../../../node_modules/@smithy/util-config-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-config-provider/package.json","../../../../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-defaults-mode-node/package.json","../../../../../../node_modules/@smithy/util-endpoints/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-endpoints/package.json","../../../../../../node_modules/@smithy/util-hex-encoding/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-hex-encoding/package.json","../../../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-middleware/package.json","../../../../../../node_modules/@smithy/util-retry/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-retry/package.json","../../../../../../node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js","../../../../../../node_modules/@smithy/util-stream/package.json","../../../../../../node_modules/@smithy/util-uri-escape/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-uri-escape/package.json","../../../../../../node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-utf8/package.json","../../../../../../node_modules/@smithy/util-waiter/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-waiter/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/strnum/package.json","../../../../../../node_modules/strnum/strnum.js","../../../../../../node_modules/tslib/package.json","../../../../../../node_modules/tslib/tslib.js","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6300.js","../../../../chunks/762.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/missions/upload/route_client-reference-manifest.js b/.next/server/app/api/missions/upload/route_client-reference-manifest.js new file mode 100644 index 00000000..f64d5fbb --- /dev/null +++ b/.next/server/app/api/missions/upload/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/missions/upload/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/missions/route":[],"/Users/alma/Documents/NeahNew/app/api/missions/upload/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/news/purge-cache/route.js b/.next/server/app/api/news/purge-cache/route.js new file mode 100644 index 00000000..4ff50e6f --- /dev/null +++ b/.next/server/app/api/news/purge-cache/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=1274,e.ids=[1274],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:e=>{"use strict";e.exports=require("assert")},14985:e=>{"use strict";e.exports=require("dns")},16508:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>q,routeModule:()=>p,serverHooks:()=>l,workAsyncStorage:()=>d,workUnitAsyncStorage:()=>x});var s={};t.r(s),t.d(s,{POST:()=>c});var i=t(96559),a=t(48088),u=t(37719),o=t(32190),n=t(36781);async function c(e){try{let r=new URL(e.url).searchParams.get("limit");if(r)return await (0,n.vA)(r),o.NextResponse.json({success:!0,message:`Cache invalidated for limit=${r}`});return await (0,n.vA)(),o.NextResponse.json({success:!0,message:"All news caches invalidated"})}catch(e){return console.error("Failed to invalidate news cache:",e),o.NextResponse.json({error:"Failed to invalidate cache",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let p=new i.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/news/purge-cache/route",pathname:"/api/news/purge-cache",filename:"route",bundlePath:"app/api/news/purge-cache/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/news/purge-cache/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:d,workUnitAsyncStorage:x,serverHooks:l}=p;function q(){return(0,u.patchFetch)({workAsyncStorage:d,workUnitAsyncStorage:x})}},21820:e=>{"use strict";e.exports=require("os")},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},34631:e=>{"use strict";e.exports=require("tls")},41204:e=>{"use strict";e.exports=require("string_decoder")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},83997:e=>{"use strict";e.exports=require("tty")},91645:e=>{"use strict";e.exports=require("net")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,580,8794,1642,6781],()=>t(16508));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/news/purge-cache/route.js.nft.json b/.next/server/app/api/news/purge-cache/route.js.nft.json new file mode 100644 index 00000000..d23e7ac6 --- /dev/null +++ b/.next/server/app/api/news/purge-cache/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/4243.js","../../../../chunks/580.js","../../../../chunks/6781.js","../../../../chunks/8794.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/news/purge-cache/route_client-reference-manifest.js b/.next/server/app/api/news/purge-cache/route_client-reference-manifest.js new file mode 100644 index 00000000..2de40001 --- /dev/null +++ b/.next/server/app/api/news/purge-cache/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/news/purge-cache/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/news/route":[],"/Users/alma/Documents/NeahNew/app/api/news/purge-cache/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/news/route.js b/.next/server/app/api/news/route.js new file mode 100644 index 00000000..c8b0e811 --- /dev/null +++ b/.next/server/app/api/news/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=8635,e.ids=[8635],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:e=>{"use strict";e.exports=require("assert")},14985:e=>{"use strict";e.exports=require("dns")},21820:e=>{"use strict";e.exports=require("os")},25037:(e,t,r)=>{"use strict";r.d(t,{_:()=>n});var s=r(70762);let n=s.z.object({NODE_ENV:s.z.enum(["development","test","production"]).default("development"),DATABASE_URL:s.z.string().url(),NEWSDB_URL:s.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:s.z.string().url(),KEYCLOAK_CLIENT_ID:s.z.string(),KEYCLOAK_CLIENT_SECRET:s.z.string(),KEYCLOAK_REALM:s.z.string(),KEYCLOAK_ISSUER:s.z.string().url(),LEANTIME_TOKEN:s.z.string(),LEANTIME_API_URL:s.z.string().url(),ROCKET_CHAT_TOKEN:s.z.string(),ROCKET_CHAT_USER_ID:s.z.string()}).parse(process.env)},27910:e=>{"use strict";e.exports=require("stream")},28354:e=>{"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33848:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>w,routeModule:()=>d,serverHooks:()=>h,workAsyncStorage:()=>g,workUnitAsyncStorage:()=>m});var s={};r.r(s),r.d(s,{GET:()=>p});var n=r(96559),o=r(48088),i=r(37719),a=r(32190),u=r(25037),l=r(36781);function c(e){try{let t=new Date(e),r=t.getDate(),s=t.toLocaleString("fr-FR",{month:"short"}).toLowerCase().replace(".","");return{displayDate:`${r} ${s}.`,timestamp:t.toLocaleString("fr-FR",{day:"2-digit",month:"short",hour:"2-digit",minute:"2-digit",hour12:!1}).replace(","," \xe0")}}catch(e){return{displayDate:"N/A",timestamp:"N/A"}}}async function p(e){try{let t,r=new URL(e.url),s="true"===r.searchParams.get("refresh"),n=r.searchParams.get("limit")||"100",o=s||r.searchParams.has("limit")&&"100"!==n;if(console.log(`News API request: limit=${n}, forceRefresh=${s}, bypassCache=${o}`),!o){let e=await (0,l.ax)(n);if(e)return console.log(`Using cached news data (${e.length} articles)`),a.NextResponse.json(e)}console.log(`Fetching news from FastAPI server with limit=${n}...`);let i=`${u._.NEWS_API_URL}/news?limit=${n}`;console.log(`Full API URL: ${i}`);let p=await fetch(i,{method:"GET",headers:{Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!p.ok){console.error(`News API error: ${p.status} ${p.statusText}`);let e=p.headers.get("content-type");if(e&&!e.includes("application/json"))return console.error("News API returned non-JSON response"),a.NextResponse.json({error:"News API returned invalid response format",status:p.status},{status:502});return a.NextResponse.json({error:"Failed to fetch news",status:p.status},{status:502})}try{t=await p.json(),console.log(`News API returned ${t.length} articles with limit=${n}`),console.log(`First article: ${JSON.stringify(t[0])}`),console.log(`API URL used: ${i}`),t.length0&&console.log(`WARNING: API returned fewer articles (${t.length}) than requested (${n}). This suggests a backend limit.`)}catch(e){return console.error("Failed to parse news API response:",e),a.NextResponse.json({error:"Failed to parse news API response",details:e instanceof Error?e.message:"Unknown error"},{status:502})}let d=t.map(e=>({id:e.id,title:e.title,displayDate:c(e.date).displayDate,timestamp:c(e.date).timestamp,source:function(e){if(!e)return"";let t=e.replace(/^(https?:\/\/)?(www\.)?/i,"").split(".")[0].toLowerCase().replace(/[^a-z0-9]/g," ").trim();return t.charAt(0).toUpperCase()+t.slice(1)}(e.source),description:function(e,t){if(!e)return"";let r=e?e.replace(/<[^>]*>/g,"").replace(/ /g," ").replace(/\s+/g," ").trim():"";if(r.length<=200)return r;let s=r.lastIndexOf(" ",200);return r.substring(0,s>0?s:t).trim().replace(/[.,!?]$/,"")+"..."}(e.description||"",200),category:(!e.category,null),url:e.url}));return console.log(`Formatted and returning ${d.length} news articles`),await (0,l.ql)(d,n),a.NextResponse.json(d)}catch(e){return console.error("News API error:",e),a.NextResponse.json({error:"Failed to fetch news",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let d=new n.AppRouteRouteModule({definition:{kind:o.RouteKind.APP_ROUTE,page:"/api/news/route",pathname:"/api/news",filename:"route",bundlePath:"app/api/news/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/news/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:g,workUnitAsyncStorage:m,serverHooks:h}=d;function w(){return(0,i.patchFetch)({workAsyncStorage:g,workUnitAsyncStorage:m})}},34631:e=>{"use strict";e.exports=require("tls")},41204:e=>{"use strict";e.exports=require("string_decoder")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},83997:e=>{"use strict";e.exports=require("tty")},91645:e=>{"use strict";e.exports=require("net")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4243,580,8794,1642,762,6781],()=>r(33848));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/news/route.js.nft.json b/.next/server/app/api/news/route.js.nft.json new file mode 100644 index 00000000..5b00dd77 --- /dev/null +++ b/.next/server/app/api/news/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1642.js","../../../chunks/4243.js","../../../chunks/580.js","../../../chunks/6781.js","../../../chunks/762.js","../../../chunks/8794.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/news/route_client-reference-manifest.js b/.next/server/app/api/news/route_client-reference-manifest.js new file mode 100644 index 00000000..512a5a77 --- /dev/null +++ b/.next/server/app/api/news/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/news/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/news/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/news/test-backend/route.js b/.next/server/app/api/news/test-backend/route.js new file mode 100644 index 00000000..8f15808f --- /dev/null +++ b/.next/server/app/api/news/test-backend/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=9333,e.ids=[9333],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},25037:(e,t,r)=>{"use strict";r.d(t,{_:()=>n});var s=r(70762);let n=s.z.object({NODE_ENV:s.z.enum(["development","test","production"]).default("development"),DATABASE_URL:s.z.string().url(),NEWSDB_URL:s.z.string().regex(/^postgresql:\/\//,"Must be a valid PostgreSQL URL"),NEWS_API_URL:s.z.string().url(),KEYCLOAK_CLIENT_ID:s.z.string(),KEYCLOAK_CLIENT_SECRET:s.z.string(),KEYCLOAK_REALM:s.z.string(),KEYCLOAK_ISSUER:s.z.string().url(),LEANTIME_TOKEN:s.z.string(),LEANTIME_API_URL:s.z.string().url(),ROCKET_CHAT_TOKEN:s.z.string(),ROCKET_CHAT_USER_ID:s.z.string()}).parse(process.env)},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},45526:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>E,routeModule:()=>p,serverHooks:()=>g,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>d});var s={};r.r(s),r.d(s,{GET:()=>l});var n=r(96559),a=r(48088),i=r(37719),o=r(32190),u=r(25037);async function l(e){try{let t=new URL(e.url).searchParams.get("limit"),r={};for(let e of t?[t]:["5","10","50","100"]){console.log(`Testing backend with limit=${e}...`);let t=`${u._.NEWS_API_URL}/news?limit=${e}`;try{let s=await fetch(t,{method:"GET",headers:{Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!s.ok){r[e]={error:`API returned status ${s.status}`,status:s.status};continue}let n=await s.json();r[e]={requested:parseInt(e),received:n.length,matches:n.length===parseInt(e),firstArticleId:n.length>0?n[0].id:null,lastArticleId:n.length>0?n[n.length-1].id:null}}catch(t){r[e]={error:t instanceof Error?t.message:"Unknown error"}}}return o.NextResponse.json({timestamp:new Date().toISOString(),apiUrl:u._.NEWS_API_URL,results:r})}catch(e){return console.error("Test endpoint error:",e),o.NextResponse.json({error:"Failed to test backend",details:e instanceof Error?e.message:"Unknown error"},{status:500})}}let p=new n.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/news/test-backend/route",pathname:"/api/news/test-backend",filename:"route",bundlePath:"app/api/news/test-backend/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/news/test-backend/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:c,workUnitAsyncStorage:d,serverHooks:g}=p;function E(){return(0,i.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:d})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},96487:()=>{}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[4243,580,762],()=>r(45526));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/news/test-backend/route.js.nft.json b/.next/server/app/api/news/test-backend/route.js.nft.json new file mode 100644 index 00000000..74c36667 --- /dev/null +++ b/.next/server/app/api/news/test-backend/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/580.js","../../../../chunks/762.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/news/test-backend/route_client-reference-manifest.js b/.next/server/app/api/news/test-backend/route_client-reference-manifest.js new file mode 100644 index 00000000..0bbd2f3e --- /dev/null +++ b/.next/server/app/api/news/test-backend/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/news/test-backend/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/news/route":[],"/Users/alma/Documents/NeahNew/app/api/news/test-backend/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/nextcloud/files/content/route.js b/.next/server/app/api/nextcloud/files/content/route.js new file mode 100644 index 00000000..e30070cf --- /dev/null +++ b/.next/server/app/api/nextcloud/files/content/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=2546,e.ids=[2546],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},19854:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var s=t(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=s?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(o,n,a):o[n]=e[n]}return o.default=e,t&&t.set(e,o),o}(t(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(i=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},26690:(e,r,t)=>{"use strict";t.d(r,{N:()=>a});var o=t(1926),s=t(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),t=await r.json();if(!r.ok){if("invalid_grant"===t.error||t.error_description?.includes("Session not active")||t.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw t}return{...e,accessToken:t.access_token,refreshToken:t.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*t.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,o.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let t=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",t),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:t}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:t}){if(r&&t){let o=(t.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=t.sub,e.role=o,e.username=t.preferred_username??"",e.first_name=t.given_name??"",e.last_name=t.family_name??""}else if(e.accessToken)try{let r=(0,s.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let o=e.accessTokenExpires;if(o&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},57873:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>m,routeModule:()=>p,serverHooks:()=>k,workAsyncStorage:()=>d,workUnitAsyncStorage:()=>f});var o={};t.r(o),t.d(o,{GET:()=>u});var s=t(96559),n=t(48088),i=t(37719),a=t(32190),c=t(19854),l=t(26690);async function u(e){try{let r=await (0,c.getServerSession)(l.N);if(!r?.user)return a.NextResponse.json({error:"Unauthorized"},{status:401});try{let{GET:r}=await t.e(2620).then(t.bind(t,22620));return await r(e)}catch(e){return console.error("Error calling storage content handler:",e),a.NextResponse.json({error:"Failed to get file content"},{status:500})}}catch(e){return console.error("Error in NextCloud content adapter:",e),a.NextResponse.json({error:"Internal server error"},{status:500})}}let p=new s.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/nextcloud/files/content/route",pathname:"/api/nextcloud/files/content",filename:"route",bundlePath:"app/api/nextcloud/files/content/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/nextcloud/files/content/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:d,workUnitAsyncStorage:f,serverHooks:k}=p;function m(){return(0,i.patchFetch)({workAsyncStorage:d,workUnitAsyncStorage:f})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},91043:e=>{"use strict";e.exports=require("@aws-sdk/client-s3")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580],()=>t(57873));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/nextcloud/files/content/route.js.nft.json b/.next/server/app/api/nextcloud/files/content/route.js.nft.json new file mode 100644 index 00000000..63126585 --- /dev/null +++ b/.next/server/app/api/nextcloud/files/content/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../node_modules/@aws-crypto/crc32/build/main/aws_crc32.js","../../../../../../../node_modules/@aws-crypto/crc32/build/main/index.js","../../../../../../../node_modules/@aws-crypto/crc32/package.json","../../../../../../../node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js","../../../../../../../node_modules/@aws-crypto/crc32c/build/main/index.js","../../../../../../../node_modules/@aws-crypto/crc32c/package.json","../../../../../../../node_modules/@aws-crypto/util/build/main/convertToBuffer.js","../../../../../../../node_modules/@aws-crypto/util/build/main/index.js","../../../../../../../node_modules/@aws-crypto/util/build/main/isEmptyData.js","../../../../../../../node_modules/@aws-crypto/util/build/main/numToUint8.js","../../../../../../../node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js","../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json","../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json","../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json","../../../../../../../node_modules/@aws-crypto/util/package.json","../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js","../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js","../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js","../../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js","../../../../../../../node_modules/@aws-sdk/client-s3/package.json","../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js","../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js","../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js","../../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js","../../../../../../../node_modules/@aws-sdk/client-sso/package.json","../../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/package.json","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/fxp.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/util.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/validator.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/node2json.js","../../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js","../../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js","../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js","../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js","../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js","../../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js","../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js","../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/package.json","../../../../../../../node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-expect-continue/package.json","../../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js","../../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/package.json","../../../../../../../node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-host-header/package.json","../../../../../../../node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-location-constraint/package.json","../../../../../../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-logger/package.json","../../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/package.json","../../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/package.json","../../../../../../../node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-ssec/package.json","../../../../../../../node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/middleware-user-agent/package.json","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js","../../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js","../../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/region-config-resolver/package.json","../../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../../node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/util-arn-parser/package.json","../../../../../../../node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/util-endpoints/package.json","../../../../../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/util-user-agent-node/package.json","../../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../../node_modules/@smithy/config-resolver/dist-cjs/index.js","../../../../../../../node_modules/@smithy/config-resolver/package.json","../../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../../node_modules/@smithy/core/package.json","../../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../../node_modules/@smithy/eventstream-codec/dist-cjs/index.js","../../../../../../../node_modules/@smithy/eventstream-codec/package.json","../../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js","../../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/package.json","../../../../../../../node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js","../../../../../../../node_modules/@smithy/eventstream-serde-node/package.json","../../../../../../../node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js","../../../../../../../node_modules/@smithy/eventstream-serde-universal/package.json","../../../../../../../node_modules/@smithy/fetch-http-handler/dist-cjs/index.js","../../../../../../../node_modules/@smithy/fetch-http-handler/package.json","../../../../../../../node_modules/@smithy/hash-node/dist-cjs/index.js","../../../../../../../node_modules/@smithy/hash-node/package.json","../../../../../../../node_modules/@smithy/hash-stream-node/dist-cjs/index.js","../../../../../../../node_modules/@smithy/hash-stream-node/package.json","../../../../../../../node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../../node_modules/@smithy/is-array-buffer/package.json","../../../../../../../node_modules/@smithy/middleware-content-length/dist-cjs/index.js","../../../../../../../node_modules/@smithy/middleware-content-length/package.json","../../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js","../../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js","../../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js","../../../../../../../node_modules/@smithy/middleware-endpoint/package.json","../../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js","../../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js","../../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/package.json","../../../../../../../node_modules/@smithy/middleware-retry/package.json","../../../../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js","../../../../../../../node_modules/@smithy/middleware-serde/package.json","../../../../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js","../../../../../../../node_modules/@smithy/middleware-stack/package.json","../../../../../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js","../../../../../../../node_modules/@smithy/node-config-provider/package.json","../../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../../node_modules/@smithy/property-provider/dist-cjs/index.js","../../../../../../../node_modules/@smithy/property-provider/package.json","../../../../../../../node_modules/@smithy/protocol-http/dist-cjs/index.js","../../../../../../../node_modules/@smithy/protocol-http/package.json","../../../../../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js","../../../../../../../node_modules/@smithy/querystring-builder/package.json","../../../../../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js","../../../../../../../node_modules/@smithy/querystring-parser/package.json","../../../../../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js","../../../../../../../node_modules/@smithy/service-error-classification/package.json","../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js","../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js","../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js","../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js","../../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js","../../../../../../../node_modules/@smithy/shared-ini-file-loader/package.json","../../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js","../../../../../../../node_modules/@smithy/smithy-client/package.json","../../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../../node_modules/@smithy/types/package.json","../../../../../../../node_modules/@smithy/url-parser/dist-cjs/index.js","../../../../../../../node_modules/@smithy/url-parser/package.json","../../../../../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js","../../../../../../../node_modules/@smithy/util-base64/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js","../../../../../../../node_modules/@smithy/util-base64/package.json","../../../../../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-body-length-node/package.json","../../../../../../../node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-buffer-from/package.json","../../../../../../../node_modules/@smithy/util-config-provider/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-config-provider/package.json","../../../../../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-defaults-mode-node/package.json","../../../../../../../node_modules/@smithy/util-endpoints/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-endpoints/package.json","../../../../../../../node_modules/@smithy/util-hex-encoding/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-hex-encoding/package.json","../../../../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-middleware/package.json","../../../../../../../node_modules/@smithy/util-retry/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-retry/package.json","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.js","../../../../../../../node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js","../../../../../../../node_modules/@smithy/util-stream/package.json","../../../../../../../node_modules/@smithy/util-uri-escape/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-uri-escape/package.json","../../../../../../../node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-utf8/package.json","../../../../../../../node_modules/@smithy/util-waiter/dist-cjs/index.js","../../../../../../../node_modules/@smithy/util-waiter/package.json","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../node_modules/strnum/package.json","../../../../../../../node_modules/strnum/strnum.js","../../../../../../../node_modules/tslib/package.json","../../../../../../../node_modules/tslib/tslib.js","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/2620.js","../../../../../chunks/4243.js","../../../../../chunks/5419.js","../../../../../chunks/580.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/nextcloud/files/content/route_client-reference-manifest.js b/.next/server/app/api/nextcloud/files/content/route_client-reference-manifest.js new file mode 100644 index 00000000..a696d616 --- /dev/null +++ b/.next/server/app/api/nextcloud/files/content/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/nextcloud/files/content/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/nextcloud/files/route":[],"/Users/alma/Documents/NeahNew/app/api/nextcloud/files/content/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/nextcloud/files/route.js b/.next/server/app/api/nextcloud/files/route.js new file mode 100644 index 00000000..24215ab8 --- /dev/null +++ b/.next/server/app/api/nextcloud/files/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=516,e.ids=[516],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12378:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>_,routeModule:()=>k,serverHooks:()=>v,workAsyncStorage:()=>h,workUnitAsyncStorage:()=>m});var s={};t.r(s),t.d(s,{DELETE:()=>f,GET:()=>u,POST:()=>d,PUT:()=>p});var o=t(96559),n=t(48088),a=t(37719),i=t(32190),c=t(19854),l=t(26690);async function u(e){try{let r=await (0,c.getServerSession)(l.N);if(!r?.user)return i.NextResponse.json({error:"Unauthorized"},{status:401});try{let{GET:r}=await t.e(9834).then(t.bind(t,29834));return await r(e)}catch(e){return console.error("Error calling storage files handler:",e),i.NextResponse.json({error:"Failed to list files"},{status:500})}}catch(e){return console.error("Error in NextCloud adapter (GET):",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function d(e){try{let r=await (0,c.getServerSession)(l.N);if(!r?.user)return i.NextResponse.json({error:"Unauthorized"},{status:401});try{let{POST:r}=await t.e(9834).then(t.bind(t,29834));return await r(e)}catch(e){return console.error("Error calling storage files handler:",e),i.NextResponse.json({error:"Failed to create file"},{status:500})}}catch(e){return console.error("Error in NextCloud adapter (POST):",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function p(e){try{let r=await (0,c.getServerSession)(l.N);if(!r?.user)return i.NextResponse.json({error:"Unauthorized"},{status:401});try{let{PUT:r}=await t.e(9834).then(t.bind(t,29834));return await r(e)}catch(e){return console.error("Error calling storage files handler:",e),i.NextResponse.json({error:"Failed to update file"},{status:500})}}catch(e){return console.error("Error in NextCloud adapter (PUT):",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}async function f(e){try{let r=await (0,c.getServerSession)(l.N);if(!r?.user)return i.NextResponse.json({error:"Unauthorized"},{status:401});try{let{DELETE:r}=await t.e(9834).then(t.bind(t,29834));return await r(e)}catch(e){return console.error("Error calling storage files handler:",e),i.NextResponse.json({error:"Failed to delete file"},{status:500})}}catch(e){return console.error("Error in NextCloud adapter (DELETE):",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}let k=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/nextcloud/files/route",pathname:"/api/nextcloud/files",filename:"route",bundlePath:"app/api/nextcloud/files/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/nextcloud/files/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:h,workUnitAsyncStorage:m,serverHooks:v}=k;function _(){return(0,a.patchFetch)({workAsyncStorage:h,workUnitAsyncStorage:m})}},12412:e=>{"use strict";e.exports=require("assert")},19854:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=t(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var i=o?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(s,n,i):s[n]=e[n]}return s.default=e,t&&t.set(e,s),s}(t(35426));function a(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(a=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},26690:(e,r,t)=>{"use strict";t.d(r,{N:()=>i});var s=t(1926),o=t(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function a(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),t=await r.json();if(!r.ok){if("invalid_grant"===t.error||t.error_description?.includes("Session not active")||t.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw t}return{...e,accessToken:t.access_token,refreshToken:t.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*t.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let i={providers:[(0,s.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let t=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",t),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:t}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:t}){if(r&&t){let s=(t.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=t.sub,e.role=s,e.username=t.preferred_username??"",e.first_name=t.given_name??"",e.last_name=t.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let s=e.accessTokenExpires;if(s&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},91043:e=>{"use strict";e.exports=require("@aws-sdk/client-s3")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580],()=>t(12378));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/nextcloud/files/route.js.nft.json b/.next/server/app/api/nextcloud/files/route.js.nft.json new file mode 100644 index 00000000..c66f82a2 --- /dev/null +++ b/.next/server/app/api/nextcloud/files/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/@aws-crypto/crc32/build/main/aws_crc32.js","../../../../../../node_modules/@aws-crypto/crc32/build/main/index.js","../../../../../../node_modules/@aws-crypto/crc32/package.json","../../../../../../node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js","../../../../../../node_modules/@aws-crypto/crc32c/build/main/index.js","../../../../../../node_modules/@aws-crypto/crc32c/package.json","../../../../../../node_modules/@aws-crypto/util/build/main/convertToBuffer.js","../../../../../../node_modules/@aws-crypto/util/build/main/index.js","../../../../../../node_modules/@aws-crypto/util/build/main/isEmptyData.js","../../../../../../node_modules/@aws-crypto/util/build/main/numToUint8.js","../../../../../../node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json","../../../../../../node_modules/@aws-crypto/util/package.json","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/client-s3/package.json","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/client-sso/package.json","../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/package.json","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/fxp.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/util.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/validator.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/node2json.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js","../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/package.json","../../../../../../node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-expect-continue/package.json","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/package.json","../../../../../../node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-host-header/package.json","../../../../../../node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-location-constraint/package.json","../../../../../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-logger/package.json","../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/package.json","../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/package.json","../../../../../../node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-ssec/package.json","../../../../../../node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-user-agent/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js","../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/region-config-resolver/package.json","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-arn-parser/package.json","../../../../../../node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-endpoints/package.json","../../../../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-user-agent-node/package.json","../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../node_modules/@smithy/config-resolver/dist-cjs/index.js","../../../../../../node_modules/@smithy/config-resolver/package.json","../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@smithy/core/package.json","../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../node_modules/@smithy/eventstream-codec/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-codec/package.json","../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/package.json","../../../../../../node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-node/package.json","../../../../../../node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-universal/package.json","../../../../../../node_modules/@smithy/fetch-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/fetch-http-handler/package.json","../../../../../../node_modules/@smithy/hash-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/hash-node/package.json","../../../../../../node_modules/@smithy/hash-stream-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/hash-stream-node/package.json","../../../../../../node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../node_modules/@smithy/is-array-buffer/package.json","../../../../../../node_modules/@smithy/middleware-content-length/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-content-length/package.json","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-endpoint/package.json","../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/package.json","../../../../../../node_modules/@smithy/middleware-retry/package.json","../../../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-serde/package.json","../../../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-stack/package.json","../../../../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-config-provider/package.json","../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../node_modules/@smithy/property-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/property-provider/package.json","../../../../../../node_modules/@smithy/protocol-http/dist-cjs/index.js","../../../../../../node_modules/@smithy/protocol-http/package.json","../../../../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js","../../../../../../node_modules/@smithy/querystring-builder/package.json","../../../../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js","../../../../../../node_modules/@smithy/querystring-parser/package.json","../../../../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js","../../../../../../node_modules/@smithy/service-error-classification/package.json","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/package.json","../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js","../../../../../../node_modules/@smithy/smithy-client/package.json","../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../node_modules/@smithy/types/package.json","../../../../../../node_modules/@smithy/url-parser/dist-cjs/index.js","../../../../../../node_modules/@smithy/url-parser/package.json","../../../../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js","../../../../../../node_modules/@smithy/util-base64/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js","../../../../../../node_modules/@smithy/util-base64/package.json","../../../../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-body-length-node/package.json","../../../../../../node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-buffer-from/package.json","../../../../../../node_modules/@smithy/util-config-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-config-provider/package.json","../../../../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-defaults-mode-node/package.json","../../../../../../node_modules/@smithy/util-endpoints/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-endpoints/package.json","../../../../../../node_modules/@smithy/util-hex-encoding/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-hex-encoding/package.json","../../../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-middleware/package.json","../../../../../../node_modules/@smithy/util-retry/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-retry/package.json","../../../../../../node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js","../../../../../../node_modules/@smithy/util-stream/package.json","../../../../../../node_modules/@smithy/util-uri-escape/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-uri-escape/package.json","../../../../../../node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-utf8/package.json","../../../../../../node_modules/@smithy/util-waiter/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-waiter/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/strnum/package.json","../../../../../../node_modules/strnum/strnum.js","../../../../../../node_modules/tslib/package.json","../../../../../../node_modules/tslib/tslib.js","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/9834.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/nextcloud/files/route_client-reference-manifest.js b/.next/server/app/api/nextcloud/files/route_client-reference-manifest.js new file mode 100644 index 00000000..c1a99434 --- /dev/null +++ b/.next/server/app/api/nextcloud/files/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/nextcloud/files/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/nextcloud/files/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/nextcloud/init/route.js b/.next/server/app/api/nextcloud/init/route.js new file mode 100644 index 00000000..2b1d2fb4 --- /dev/null +++ b/.next/server/app/api/nextcloud/init/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=3429,e.ids=[3429],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},17157:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>m,routeModule:()=>p,serverHooks:()=>k,workAsyncStorage:()=>d,workUnitAsyncStorage:()=>f});var o={};t.r(o),t.d(o,{POST:()=>u});var s=t(96559),n=t(48088),i=t(37719),a=t(32190),c=t(19854),l=t(26690);async function u(e){try{let r=await (0,c.getServerSession)(l.N);if(!r?.user)return a.NextResponse.json({error:"Unauthorized"},{status:401});try{let{POST:r}=await t.e(7099).then(t.bind(t,27099));return await r(e)}catch(e){return console.error("Error calling storage init handler:",e),a.NextResponse.json({error:"Failed to initialize storage"},{status:500})}}catch(e){return console.error("Error in NextCloud init adapter:",e),a.NextResponse.json({error:"Internal server error"},{status:500})}}let p=new s.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/nextcloud/init/route",pathname:"/api/nextcloud/init",filename:"route",bundlePath:"app/api/nextcloud/init/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/nextcloud/init/route.ts",nextConfigOutput:"",userland:o}),{workAsyncStorage:d,workUnitAsyncStorage:f,serverHooks:k}=p;function m(){return(0,i.patchFetch)({workAsyncStorage:d,workUnitAsyncStorage:f})}},19854:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var s=t(12269);Object.keys(s).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===s[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return s[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var a=s?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(o,n,a):o[n]=e[n]}return o.default=e,t&&t.set(e,o),o}(t(35426));function i(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(i=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(o,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},26690:(e,r,t)=>{"use strict";t.d(r,{N:()=>a});var o=t(1926),s=t(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function i(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),t=await r.json();if(!r.ok){if("invalid_grant"===t.error||t.error_description?.includes("Session not active")||t.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw t}return{...e,accessToken:t.access_token,refreshToken:t.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*t.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let a={providers:[(0,o.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let t=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",t),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:t}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:t}){if(r&&t){let o=(t.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=t.sub,e.role=o,e.username=t.preferred_username??"",e.first_name=t.given_name??"",e.last_name=t.family_name??""}else if(e.accessToken)try{let r=(0,s.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let o=e.accessTokenExpires;if(o&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},91043:e=>{"use strict";e.exports=require("@aws-sdk/client-s3")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),o=r.X(0,[4243,5419,580],()=>t(17157));module.exports=o})(); \ No newline at end of file diff --git a/.next/server/app/api/nextcloud/init/route.js.nft.json b/.next/server/app/api/nextcloud/init/route.js.nft.json new file mode 100644 index 00000000..4d37b4b7 --- /dev/null +++ b/.next/server/app/api/nextcloud/init/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/@aws-crypto/crc32/build/main/aws_crc32.js","../../../../../../node_modules/@aws-crypto/crc32/build/main/index.js","../../../../../../node_modules/@aws-crypto/crc32/package.json","../../../../../../node_modules/@aws-crypto/crc32c/build/main/aws_crc32c.js","../../../../../../node_modules/@aws-crypto/crc32c/build/main/index.js","../../../../../../node_modules/@aws-crypto/crc32c/package.json","../../../../../../node_modules/@aws-crypto/util/build/main/convertToBuffer.js","../../../../../../node_modules/@aws-crypto/util/build/main/index.js","../../../../../../node_modules/@aws-crypto/util/build/main/isEmptyData.js","../../../../../../node_modules/@aws-crypto/util/build/main/numToUint8.js","../../../../../../node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/package.json","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/package.json","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/package.json","../../../../../../node_modules/@aws-crypto/util/package.json","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/client-s3/package.json","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/client-sso/package.json","../../../../../../node_modules/@aws-sdk/core/client.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js","../../../../../../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/package.json","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/fxp.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/util.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/validator.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/node2json.js","../../../../../../node_modules/@aws-sdk/core/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js","../../../../../../node_modules/@aws-sdk/core/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-env/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-http/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-ini/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-node/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-process/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-sso/package.json","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/credential-provider-web-identity/package.json","../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-bucket-endpoint/package.json","../../../../../../node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-expect-continue/package.json","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-flexible-checksums/package.json","../../../../../../node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-host-header/package.json","../../../../../../node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-location-constraint/package.json","../../../../../../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-logger/package.json","../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-recursion-detection/package.json","../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-sdk-s3/package.json","../../../../../../node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-ssec/package.json","../../../../../../node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/middleware-user-agent/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js","../../../../../../node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js","../../../../../../node_modules/@aws-sdk/nested-clients/package.json","../../../../../../node_modules/@aws-sdk/nested-clients/sso-oidc.js","../../../../../../node_modules/@aws-sdk/nested-clients/sts.js","../../../../../../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/region-config-resolver/package.json","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/signature-v4-multi-region/package.json","../../../../../../node_modules/@aws-sdk/token-providers/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/token-providers/package.json","../../../../../../node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-arn-parser/package.json","../../../../../../node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-endpoints/package.json","../../../../../../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/util-user-agent-node/package.json","../../../../../../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../../../../../../node_modules/@aws-sdk/xml-builder/package.json","../../../../../../node_modules/@smithy/config-resolver/dist-cjs/index.js","../../../../../../node_modules/@smithy/config-resolver/package.json","../../../../../../node_modules/@smithy/core/dist-cjs/index.js","../../../../../../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../../../../../../node_modules/@smithy/core/package.json","../../../../../../node_modules/@smithy/core/protocols.js","../../../../../../node_modules/@smithy/credential-provider-imds/dist-cjs/index.js","../../../../../../node_modules/@smithy/credential-provider-imds/package.json","../../../../../../node_modules/@smithy/eventstream-codec/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-codec/package.json","../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-config-resolver/package.json","../../../../../../node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-node/package.json","../../../../../../node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js","../../../../../../node_modules/@smithy/eventstream-serde-universal/package.json","../../../../../../node_modules/@smithy/fetch-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/fetch-http-handler/package.json","../../../../../../node_modules/@smithy/hash-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/hash-node/package.json","../../../../../../node_modules/@smithy/hash-stream-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/hash-stream-node/package.json","../../../../../../node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../../../../../../node_modules/@smithy/is-array-buffer/package.json","../../../../../../node_modules/@smithy/middleware-content-length/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-content-length/package.json","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js","../../../../../../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-endpoint/package.json","../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/index.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/md5.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/native.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/nil.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/parse.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/regex.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/rng.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/sha1.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/stringify.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v1.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v3.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v35.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v4.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/v5.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/validate.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/dist/version.js","../../../../../../node_modules/@smithy/middleware-retry/node_modules/uuid/package.json","../../../../../../node_modules/@smithy/middleware-retry/package.json","../../../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-serde/package.json","../../../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js","../../../../../../node_modules/@smithy/middleware-stack/package.json","../../../../../../node_modules/@smithy/node-config-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-config-provider/package.json","../../../../../../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../../../../../../node_modules/@smithy/node-http-handler/package.json","../../../../../../node_modules/@smithy/property-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/property-provider/package.json","../../../../../../node_modules/@smithy/protocol-http/dist-cjs/index.js","../../../../../../node_modules/@smithy/protocol-http/package.json","../../../../../../node_modules/@smithy/querystring-builder/dist-cjs/index.js","../../../../../../node_modules/@smithy/querystring-builder/package.json","../../../../../../node_modules/@smithy/querystring-parser/dist-cjs/index.js","../../../../../../node_modules/@smithy/querystring-parser/package.json","../../../../../../node_modules/@smithy/service-error-classification/dist-cjs/index.js","../../../../../../node_modules/@smithy/service-error-classification/package.json","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js","../../../../../../node_modules/@smithy/shared-ini-file-loader/package.json","../../../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js","../../../../../../node_modules/@smithy/signature-v4/package.json","../../../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js","../../../../../../node_modules/@smithy/smithy-client/package.json","../../../../../../node_modules/@smithy/types/dist-cjs/index.js","../../../../../../node_modules/@smithy/types/package.json","../../../../../../node_modules/@smithy/url-parser/dist-cjs/index.js","../../../../../../node_modules/@smithy/url-parser/package.json","../../../../../../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js","../../../../../../node_modules/@smithy/util-base64/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-base64/dist-cjs/toBase64.js","../../../../../../node_modules/@smithy/util-base64/package.json","../../../../../../node_modules/@smithy/util-body-length-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-body-length-node/package.json","../../../../../../node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-buffer-from/package.json","../../../../../../node_modules/@smithy/util-config-provider/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-config-provider/package.json","../../../../../../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-defaults-mode-node/package.json","../../../../../../node_modules/@smithy/util-endpoints/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-endpoints/package.json","../../../../../../node_modules/@smithy/util-hex-encoding/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-hex-encoding/package.json","../../../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-middleware/package.json","../../../../../../node_modules/@smithy/util-retry/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-retry/package.json","../../../../../../node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/headStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/splitStream.js","../../../../../../node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js","../../../../../../node_modules/@smithy/util-stream/package.json","../../../../../../node_modules/@smithy/util-uri-escape/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-uri-escape/package.json","../../../../../../node_modules/@smithy/util-utf8/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-utf8/package.json","../../../../../../node_modules/@smithy/util-waiter/dist-cjs/index.js","../../../../../../node_modules/@smithy/util-waiter/package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/strnum/package.json","../../../../../../node_modules/strnum/strnum.js","../../../../../../node_modules/tslib/package.json","../../../../../../node_modules/tslib/tslib.js","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/7099.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/nextcloud/init/route_client-reference-manifest.js b/.next/server/app/api/nextcloud/init/route_client-reference-manifest.js new file mode 100644 index 00000000..cfc22c0a --- /dev/null +++ b/.next/server/app/api/nextcloud/init/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/nextcloud/init/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/nextcloud/init/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/nextcloud/status/route.js b/.next/server/app/api/nextcloud/status/route.js new file mode 100644 index 00000000..77154af1 --- /dev/null +++ b/.next/server/app/api/nextcloud/status/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=4285,e.ids=[4285],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{"use strict";e.exports=require("querystring")},12269:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0})},12412:e=>{"use strict";e.exports=require("assert")},19854:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={};Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.default}});var o=t(12269);Object.keys(o).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===o[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return o[e]}}))});var n=function(e,r){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(r);if(t&&t.has(e))return t.get(e);var s={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&({}).hasOwnProperty.call(e,n)){var i=o?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(s,n,i):s[n]=e[n]}return s.default=e,t&&t.set(e,s),s}(t(35426));function a(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(a=function(e){return e?t:r})(e)}Object.keys(n).forEach(function(e){!("default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(s,e))&&(e in r&&r[e]===n[e]||Object.defineProperty(r,e,{enumerable:!0,get:function(){return n[e]}}))})},26690:(e,r,t)=>{"use strict";t.d(r,{N:()=>i});var s=t(1926),o=t(10591);function n(e){let r=process.env[e];if(!r)throw Error(`Missing required environment variable: ${e}`);return r}async function a(e){try{let r=await fetch(`${process.env.KEYCLOAK_ISSUER}/protocol/openid-connect/token`,{headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:process.env.KEYCLOAK_CLIENT_ID,client_secret:process.env.KEYCLOAK_CLIENT_SECRET,grant_type:"refresh_token",refresh_token:e.refreshToken||""}),method:"POST"}),t=await r.json();if(!r.ok){if("invalid_grant"===t.error||t.error_description?.includes("Session not active")||t.error_description?.includes("Token is not active"))return console.log("Keycloak session invalidated (likely logged out from iframe), marking token for removal"),{...e,error:"SessionNotActive"};throw t}return{...e,accessToken:t.access_token,refreshToken:t.refresh_token??e.refreshToken,idToken:e.idToken,accessTokenExpires:Date.now()+1e3*t.expires_in}}catch(r){if(console.error("Error refreshing access token:",r),r?.error==="invalid_grant"||r?.error_description?.includes("Session not active")||r?.error_description?.includes("Token is not active"))return{...e,error:"SessionNotActive"};return{...e,error:"RefreshAccessTokenError"}}}let i={providers:[(0,s.A)({clientId:n("KEYCLOAK_CLIENT_ID"),clientSecret:n("KEYCLOAK_CLIENT_SECRET"),issuer:n("KEYCLOAK_ISSUER"),authorization:{params:{scope:"openid profile email roles"}},profile(e){console.log("Keycloak profile callback:",{rawProfile:e,rawRoles:e.roles,realmAccess:e.realm_access,groups:e.groups});let r=e.realm_access?.roles||[];console.log("Profile callback raw roles:",r);let t=r.map(e=>e.replace(/^ROLE_/,"").toLowerCase());return console.log("Profile callback cleaned roles:",t),{id:e.sub,name:e.name??e.preferred_username,email:e.email,first_name:e.given_name??"",last_name:e.family_name??"",username:e.preferred_username??e.email?.split("@")[0]??"",role:t}}})],session:{strategy:"jwt",maxAge:2592e3},callbacks:{async jwt({token:e,account:r,profile:t}){if(r&&t){let s=(t.realm_access?.roles||[]).map(e=>e.replace(/^ROLE_/,"").toLowerCase());e.accessToken=r.access_token??"",e.refreshToken=r.refresh_token??"",e.idToken=r.id_token??"",e.accessTokenExpires=r.expires_at??0,e.sub=t.sub,e.role=s,e.username=t.preferred_username??"",e.first_name=t.given_name??"",e.last_name=t.family_name??""}else if(e.accessToken)try{let r=(0,o.s)(e.accessToken);r.realm_access?.roles&&(e.role=r.realm_access.roles.map(e=>e.replace(/^ROLE_/,"").toLowerCase()))}catch(e){console.error("Error decoding token:",e)}let s=e.accessTokenExpires;if(s&&Date.now(){"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},55591:e=>{"use strict";e.exports=require("https")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{"use strict";e.exports=require("zlib")},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},81630:e=>{"use strict";e.exports=require("http")},92797:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>m,routeModule:()=>d,serverHooks:()=>k,workAsyncStorage:()=>p,workUnitAsyncStorage:()=>f});var s={};t.r(s),t.d(s,{GET:()=>u});var o=t(96559),n=t(48088),a=t(37719),i=t(32190),c=t(19854),l=t(26690);async function u(e){try{let e=await (0,c.getServerSession)(l.N);if(!e?.user)return i.NextResponse.json({error:"Unauthorized"},{status:401});let r=["Notes","Diary","Health","Contacts"];return console.log("NextCloud status adapter returning standard folders:",r),i.NextResponse.json({status:"ready",folders:r})}catch(e){return console.error("Error in NextCloud status adapter:",e),i.NextResponse.json({error:"Internal server error"},{status:500})}}let d=new o.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/nextcloud/status/route",pathname:"/api/nextcloud/status",filename:"route",bundlePath:"app/api/nextcloud/status/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/nextcloud/status/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:p,workUnitAsyncStorage:f,serverHooks:k}=d;function m(){return(0,a.patchFetch)({workAsyncStorage:p,workUnitAsyncStorage:f})}},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580],()=>t(92797));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/nextcloud/status/route.js.nft.json b/.next/server/app/api/nextcloud/status/route.js.nft.json new file mode 100644 index 00000000..6583ffd3 --- /dev/null +++ b/.next/server/app/api/nextcloud/status/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/nextcloud/status/route_client-reference-manifest.js b/.next/server/app/api/nextcloud/status/route_client-reference-manifest.js new file mode 100644 index 00000000..971986fb --- /dev/null +++ b/.next/server/app/api/nextcloud/status/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/nextcloud/status/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/nextcloud/status/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/notifications/[id]/read/route.js b/.next/server/app/api/notifications/[id]/read/route.js new file mode 100644 index 00000000..8f6e5194 --- /dev/null +++ b/.next/server/app/api/notifications/[id]/read/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=4207,e.ids=[4207],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},14985:e=>{e.exports=require("dns")},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{e.exports=require("zlib")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")},96192:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>m,routeModule:()=>c,serverHooks:()=>f,workAsyncStorage:()=>l,workUnitAsyncStorage:()=>q});var s={};t.r(s),t.d(s,{POST:()=>x});var o=t(96559),i=t(48088),a=t(37719),n=t(32190),u=t(19854),p=t(26690),d=t(70014);async function x(e,r){try{let e=await (0,u.getServerSession)(p.N);if(!e||!e.user?.id)return n.NextResponse.json({error:"Not authenticated"},{status:401});let t=await r.params,s=t?.id;if(!s)return n.NextResponse.json({error:"Missing notification ID"},{status:400});let o=e.user.id,i=d.J.getInstance();if(!await i.markAsRead(o,s))return n.NextResponse.json({error:"Failed to mark notification as read"},{status:400});return n.NextResponse.json({success:!0})}catch(e){return console.error("Error marking notification as read:",e),n.NextResponse.json({error:"Internal server error",message:e.message},{status:500})}}let c=new o.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/notifications/[id]/read/route",pathname:"/api/notifications/[id]/read",filename:"route",bundlePath:"app/api/notifications/[id]/read/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/notifications/[id]/read/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:l,workUnitAsyncStorage:q,serverHooks:f}=c;function m(){return(0,a.patchFetch)({workAsyncStorage:l,workUnitAsyncStorage:q})}}};var r=require("../../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580,8794,1642,6781,1890],()=>t(96192));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/notifications/[id]/read/route.js.nft.json b/.next/server/app/api/notifications/[id]/read/route.js.nft.json new file mode 100644 index 00000000..066b1112 --- /dev/null +++ b/.next/server/app/api/notifications/[id]/read/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/package.json","../../../../../../../package.json","../../../../../../package.json","../../../../../chunks/1642.js","../../../../../chunks/1890.js","../../../../../chunks/4243.js","../../../../../chunks/5419.js","../../../../../chunks/580.js","../../../../../chunks/6781.js","../../../../../chunks/8794.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/notifications/[id]/read/route_client-reference-manifest.js b/.next/server/app/api/notifications/[id]/read/route_client-reference-manifest.js new file mode 100644 index 00000000..280be893 --- /dev/null +++ b/.next/server/app/api/notifications/[id]/read/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/notifications/[id]/read/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/notifications/route":[],"/Users/alma/Documents/NeahNew/app/api/notifications/[id]/read/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/notifications/count/route.js b/.next/server/app/api/notifications/count/route.js new file mode 100644 index 00000000..9972f643 --- /dev/null +++ b/.next/server/app/api/notifications/count/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=6598,e.ids=[6598],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},5257:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>v,routeModule:()=>d,serverHooks:()=>g,workAsyncStorage:()=>l,workUnitAsyncStorage:()=>q});var s={};t.r(s),t.d(s,{GET:()=>c});var o=t(96559),i=t(48088),n=t(37719),a=t(32190),u=t(19854),p=t(26690),x=t(70014);async function c(e){try{let e=await (0,u.getServerSession)(p.N);if(!e||!e.user?.id)return a.NextResponse.json({error:"Not authenticated"},{status:401});let r=e.user.id,t=x.J.getInstance(),s=await t.getNotificationCount(r),o=a.NextResponse.json(s);return o.headers.set("Cache-Control","private, max-age=10"),o}catch(e){return console.error("Error in notification count API:",e),a.NextResponse.json({error:"Internal server error",message:e.message},{status:500})}}let d=new o.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/notifications/count/route",pathname:"/api/notifications/count",filename:"route",bundlePath:"app/api/notifications/count/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/notifications/count/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:l,workUnitAsyncStorage:q,serverHooks:g}=d;function v(){return(0,n.patchFetch)({workAsyncStorage:l,workUnitAsyncStorage:q})}},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},14985:e=>{e.exports=require("dns")},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{e.exports=require("zlib")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580,8794,1642,6781,1890],()=>t(5257));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/notifications/count/route.js.nft.json b/.next/server/app/api/notifications/count/route.js.nft.json new file mode 100644 index 00000000..fd4928ee --- /dev/null +++ b/.next/server/app/api/notifications/count/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/1890.js","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6781.js","../../../../chunks/8794.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/notifications/count/route_client-reference-manifest.js b/.next/server/app/api/notifications/count/route_client-reference-manifest.js new file mode 100644 index 00000000..12e473cb --- /dev/null +++ b/.next/server/app/api/notifications/count/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/notifications/count/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/notifications/route":[],"/Users/alma/Documents/NeahNew/app/api/notifications/count/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/notifications/read-all/route.js b/.next/server/app/api/notifications/read-all/route.js new file mode 100644 index 00000000..6703e767 --- /dev/null +++ b/.next/server/app/api/notifications/read-all/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=2451,e.ids=[2451],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},14985:e=>{e.exports=require("dns")},21820:e=>{e.exports=require("os")},24627:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>f,routeModule:()=>x,serverHooks:()=>m,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>q});var s={};t.r(s),t.d(s,{POST:()=>l});var o=t(96559),a=t(48088),i=t(37719),n=t(32190),u=t(19854),p=t(26690),d=t(70014);async function l(e){try{let e=await (0,u.getServerSession)(p.N);if(!e||!e.user?.id)return n.NextResponse.json({error:"Not authenticated"},{status:401});let r=e.user.id,t=d.J.getInstance();if(!await t.markAllAsRead(r))return n.NextResponse.json({error:"Failed to mark all notifications as read"},{status:400});return n.NextResponse.json({success:!0})}catch(e){return console.error("Error marking all notifications as read:",e),n.NextResponse.json({error:"Internal server error",message:e.message},{status:500})}}let x=new o.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/notifications/read-all/route",pathname:"/api/notifications/read-all",filename:"route",bundlePath:"app/api/notifications/read-all/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/notifications/read-all/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:c,workUnitAsyncStorage:q,serverHooks:m}=x;function f(){return(0,i.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:q})}},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},74075:e=>{e.exports=require("zlib")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580,8794,1642,6781,1890],()=>t(24627));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/notifications/read-all/route.js.nft.json b/.next/server/app/api/notifications/read-all/route.js.nft.json new file mode 100644 index 00000000..fd4928ee --- /dev/null +++ b/.next/server/app/api/notifications/read-all/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1642.js","../../../../chunks/1890.js","../../../../chunks/4243.js","../../../../chunks/5419.js","../../../../chunks/580.js","../../../../chunks/6781.js","../../../../chunks/8794.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/notifications/read-all/route_client-reference-manifest.js b/.next/server/app/api/notifications/read-all/route_client-reference-manifest.js new file mode 100644 index 00000000..36498b58 --- /dev/null +++ b/.next/server/app/api/notifications/read-all/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/notifications/read-all/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/notifications/route":[],"/Users/alma/Documents/NeahNew/app/api/notifications/read-all/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/notifications/route.js b/.next/server/app/api/notifications/route.js new file mode 100644 index 00000000..869a9d53 --- /dev/null +++ b/.next/server/app/api/notifications/route.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=2170,e.ids=[2170],e.modules={3295:e=>{e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11723:e=>{e.exports=require("querystring")},12412:e=>{e.exports=require("assert")},14985:e=>{e.exports=require("dns")},21820:e=>{e.exports=require("os")},27910:e=>{e.exports=require("stream")},28354:e=>{e.exports=require("util")},29294:e=>{e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},34631:e=>{e.exports=require("tls")},41204:e=>{e.exports=require("string_decoder")},44870:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{e.exports=require("crypto")},55591:e=>{e.exports=require("https")},63033:e=>{e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64343:(e,r,t)=>{t.r(r),t.d(r,{patchFetch:()=>m,routeModule:()=>l,serverHooks:()=>g,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>q});var s={};t.r(s),t.d(s,{GET:()=>d});var o=t(96559),i=t(48088),n=t(37719),a=t(32190),p=t(19854),u=t(26690),x=t(70014);async function d(e){try{let r=await (0,p.getServerSession)(u.N);if(!r||!r.user?.id)return a.NextResponse.json({error:"Not authenticated"},{status:401});let t=r.user.id,{searchParams:s}=new URL(e.url),o=parseInt(s.get("page")||"1",10),i=parseInt(s.get("limit")||"20",10);if(isNaN(o)||o<1)return a.NextResponse.json({error:"Invalid page parameter"},{status:400});if(isNaN(i)||i<1||i>100)return a.NextResponse.json({error:"Invalid limit parameter, must be between 1 and 100"},{status:400});let n=x.J.getInstance(),d=await n.getNotifications(t,o,i),l=a.NextResponse.json({notifications:d,page:o,limit:i,total:d.length});return l.headers.set("Cache-Control","private, max-age=30"),l}catch(e){return console.error("Error in notifications API:",e),a.NextResponse.json({error:"Internal server error",message:e.message},{status:500})}}let l=new o.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/notifications/route",pathname:"/api/notifications",filename:"route",bundlePath:"app/api/notifications/route"},resolvedPagePath:"/Users/alma/Documents/NeahNew/app/api/notifications/route.ts",nextConfigOutput:"",userland:s}),{workAsyncStorage:c,workUnitAsyncStorage:q,serverHooks:g}=l;function m(){return(0,n.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:q})}},74075:e=>{e.exports=require("zlib")},79428:e=>{e.exports=require("buffer")},79551:e=>{e.exports=require("url")},81630:e=>{e.exports=require("http")},83997:e=>{e.exports=require("tty")},91645:e=>{e.exports=require("net")},94735:e=>{e.exports=require("events")}};var r=require("../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[4243,5419,580,8794,1642,6781,1890],()=>t(64343));module.exports=s})(); \ No newline at end of file diff --git a/.next/server/app/api/notifications/route.js.nft.json b/.next/server/app/api/notifications/route.js.nft.json new file mode 100644 index 00000000..f3a70fa4 --- /dev/null +++ b/.next/server/app/api/notifications/route.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot-instance.js","../../../../../node_modules/next/dist/server/app-render/clean-async-snapshot.external.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/1642.js","../../../chunks/1890.js","../../../chunks/4243.js","../../../chunks/5419.js","../../../chunks/580.js","../../../chunks/6781.js","../../../chunks/8794.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]} \ No newline at end of file diff --git a/.next/server/app/api/notifications/route_client-reference-manifest.js b/.next/server/app/api/notifications/route_client-reference-manifest.js new file mode 100644 index 00000000..9d4cf176 --- /dev/null +++ b/.next/server/app/api/notifications/route_client-reference-manifest.js @@ -0,0 +1 @@ +globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/notifications/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2864":{"*":{"id":"64486","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"19681","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"81996","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"72886","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"99169","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"31021","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"97677","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"35656","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"20787","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"34741","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"97173","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"80982","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"60340","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"83009","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"40099","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"84310","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"55505","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"72280","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"91341","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"62763","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"13128","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"23168","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"32851","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"50647","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"28827","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"85969","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"61083","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"95708","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"38243","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66324","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"86346","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"27924","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-page.js":{"id":90894,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/client-segment.js":{"id":94970,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":26614,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":46975,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/layout-router.js":{"id":87555,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/async-metadata.js":{"id":74911,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/metadata/metadata-boundary.js":{"id":59665,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":31295,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/globals.css":{"id":19324,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/layout/layout-wrapper.tsx":{"id":9513,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/components/providers.tsx":{"id":78743,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/node_modules/next/font/google/target.css?{\"path\":\"app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"]}],\"variableName\":\"inter\"}":{"id":65299,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","5685","static/chunks/5685-70e5cd40c9d9d2fe.js","8067","static/chunks/8067-50b1a9724ff35d36.js","6874","static/chunks/6874-42da063febda029b.js","1334","static/chunks/1334-fc3eb3cf833c9f31.js","5004","static/chunks/5004-e39bbd769c9889fd.js","4361","static/chunks/4361-818b59225cf41c42.js","7177","static/chunks/app/layout-17bf4ce9e9e8d02b.js"],"async":false},"/Users/alma/Documents/NeahNew/app/components/responsive-iframe.tsx":{"id":43902,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/ms/page.tsx":{"id":10950,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/observatory/observatory-view.tsx":{"id":50336,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/page.tsx":{"id":50727,"name":"*","chunks":["2108","static/chunks/2108-be43c8b39d1e0aae.js","4277","static/chunks/4277-8448fba076ff7080.js","6874","static/chunks/6874-42da063febda029b.js","6794","static/chunks/6794-a2e8ddbac34c56ab.js","8974","static/chunks/app/page-81a536be942c91de.js"],"async":false},"/Users/alma/Documents/NeahNew/components/auth/signout-handler.tsx":{"id":69861,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/timetracker/timetracker-frame.tsx":{"id":2864,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/announcement/announcements-page.tsx":{"id":60180,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/pages/page.tsx":{"id":85798,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/calendar/calendar-client.tsx":{"id":5470,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/groups/groups-table.tsx":{"id":67165,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/management/management-tabs.tsx":{"id":45393,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/components/users/users-table.tsx":{"id":58389,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/layout.tsx":{"id":29981,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/[missionId]/page.tsx":{"id":24956,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/layout.tsx":{"id":36130,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/page.tsx":{"id":16677,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/new/page.tsx":{"id":87498,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/page.tsx":{"id":30477,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/missions/[missionId]/edit/page.tsx":{"id":87886,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/courrier/page.tsx":{"id":26046,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/mission-tab/page.tsx":{"id":64934,"name":"*","chunks":[],"async":false},"/Users/alma/Documents/NeahNew/app/signin/page.tsx":{"id":58200,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/alma/Documents/NeahNew/":[],"/Users/alma/Documents/NeahNew/app/layout":[{"inlined":false,"path":"static/css/32f29dc16d5c6ea7.css"},{"inlined":false,"path":"static/css/7e7d96b1e6991756.css"}],"/Users/alma/Documents/NeahNew/app/page":[],"/Users/alma/Documents/NeahNew/app/api/notifications/route":[]},"rscModuleMapping":{"2864":{"*":{"id":"97676","name":"*","chunks":[],"async":false}},"5470":{"*":{"id":"65868","name":"*","chunks":[],"async":false}},"9513":{"*":{"id":"40320","name":"*","chunks":[],"async":false}},"10950":{"*":{"id":"69744","name":"*","chunks":[],"async":false}},"16677":{"*":{"id":"72995","name":"*","chunks":[],"async":false}},"19324":{"*":{"id":"82704","name":"*","chunks":[],"async":false}},"24956":{"*":{"id":"79310","name":"*","chunks":[],"async":false}},"26046":{"*":{"id":"99011","name":"*","chunks":[],"async":false}},"26614":{"*":{"id":"88170","name":"*","chunks":[],"async":false}},"29981":{"*":{"id":"90609","name":"*","chunks":[],"async":false}},"30477":{"*":{"id":"61407","name":"*","chunks":[],"async":false}},"31295":{"*":{"id":"31307","name":"*","chunks":[],"async":false}},"36130":{"*":{"id":"69560","name":"*","chunks":[],"async":false}},"43902":{"*":{"id":"15562","name":"*","chunks":[],"async":false}},"45393":{"*":{"id":"54275","name":"*","chunks":[],"async":false}},"46975":{"*":{"id":"49477","name":"*","chunks":[],"async":false}},"50336":{"*":{"id":"88384","name":"*","chunks":[],"async":false}},"50727":{"*":{"id":"90597","name":"*","chunks":[],"async":false}},"58200":{"*":{"id":"65654","name":"*","chunks":[],"async":false}},"58389":{"*":{"id":"88063","name":"*","chunks":[],"async":false}},"59665":{"*":{"id":"46577","name":"*","chunks":[],"async":false}},"60180":{"*":{"id":"36157","name":"*","chunks":[],"async":false}},"64934":{"*":{"id":"7094","name":"*","chunks":[],"async":false}},"67165":{"*":{"id":"28685","name":"*","chunks":[],"async":false}},"69861":{"*":{"id":"3564","name":"*","chunks":[],"async":false}},"74911":{"*":{"id":"12089","name":"*","chunks":[],"async":false}},"78743":{"*":{"id":"88639","name":"*","chunks":[],"async":false}},"85798":{"*":{"id":"48986","name":"*","chunks":[],"async":false}},"87498":{"*":{"id":"15150","name":"*","chunks":[],"async":false}},"87555":{"*":{"id":"29345","name":"*","chunks":[],"async":false}},"87886":{"*":{"id":"66806","name":"*","chunks":[],"async":false}},"90894":{"*":{"id":"16444","name":"*","chunks":[],"async":false}},"94970":{"*":{"id":"16042","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}} \ No newline at end of file diff --git a/.next/server/app/api/parse-email/route.js b/.next/server/app/api/parse-email/route.js new file mode 100644 index 00000000..e4cd6abf --- /dev/null +++ b/.next/server/app/api/parse-email/route.js @@ -0,0 +1 @@ +(()=>{var e={};e.id=3080,e.ids=[3080],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:e=>{"use strict";e.exports=require("node:buffer")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},27910:e=>{"use strict";e.exports=require("stream")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32325:e=>{"use strict";e.exports=require("jsdom")},33581:(e,t,r)=>{"use strict";r.r(t),r.d(t,{patchFetch:()=>E,routeModule:()=>h,serverHooks:()=>T,workAsyncStorage:()=>g,workUnitAsyncStorage:()=>y});var n={};r.r(n),r.d(n,{POST:()=>f});var o=r(96559),i=r(48088),a=r(37719),l=r(32190),s=r(44415),c=r.n(s);function u(e){if(!e)return"";try{return c().sanitize(e,{ADD_ATTR:["style","class","id","align","valign","colspan","rowspan","cellspacing","cellpadding","bgcolor"]}).replace(/. \ No newline at end of file diff --git a/.next/server/pages/_app.js b/.next/server/pages/_app.js new file mode 100644 index 00000000..c927aeb8 --- /dev/null +++ b/.next/server/pages/_app.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=636,e.ids=[636],e.modules={6370:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return g},MiddlewareNotFoundError:function(){return y},MissingStaticPage:function(){return P},NormalizeError:function(){return m},PageNotFoundError:function(){return E},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return a},getLocationOrigin:function(){return u},getURL:function(){return s},isAbsoluteUrl:function(){return i},isResSent:function(){return c},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return l},stringifyError:function(){return x}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),i=0;io.test(e);function u(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function s(){let{href:e}=window.location,t=u();return e.substring(t.length)}function a(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function c(e){return e.finished||e.headersSent}function l(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&c(r))return n;if(!n)throw Object.defineProperty(Error('"'+a(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class m extends Error{}class E extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class P extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class y extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},8732:e=>{e.exports=require("react/jsx-runtime")},19380:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(87020),o=r(8732),i=n._(r(82015)),u=r(6370);async function s(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,u.loadGetInitialProps)(t,r)}}class a extends i.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,o.jsx)(e,{...t})}}a.origGetInitialProps=s,a.getInitialProps=s,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82015:e=>{e.exports=require("react")},87020:(e,t)=>{t._=function(e){return e&&e.__esModule?e:{default:e}}}};var t=require("../webpack-runtime.js");t.C(e);var r=t(t.s=19380);module.exports=r})(); \ No newline at end of file diff --git a/.next/server/pages/_app.js.nft.json b/.next/server/pages/_app.js.nft.json new file mode 100644 index 00000000..f4a2132b --- /dev/null +++ b/.next/server/pages/_app.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../node_modules/next/dist/pages/_app.js","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.min.js","../../../node_modules/react/index.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react/package.json","../../../package.json","../../package.json","../webpack-runtime.js"]} \ No newline at end of file diff --git a/.next/server/pages/_document.js b/.next/server/pages/_document.js new file mode 100644 index 00000000..3cc94456 --- /dev/null +++ b/.next/server/pages/_document.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=3220,e.ids=[3220],e.modules={8732:e=>{e.exports=require("react/jsx-runtime")},33873:e=>{e.exports=require("path")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},82015:e=>{e.exports=require("react")}};var r=require("../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[8548],()=>s(58548));module.exports=t})(); \ No newline at end of file diff --git a/.next/server/pages/_document.js.nft.json b/.next/server/pages/_document.js.nft.json new file mode 100644 index 00000000..bdedd0a0 --- /dev/null +++ b/.next/server/pages/_document.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../node_modules/client-only/index.js","../../../node_modules/client-only/package.json","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/next-server/pages.runtime.prod.js","../../../node_modules/next/dist/lib/semver-noop.js","../../../node_modules/next/dist/pages/_document.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../node_modules/next/package.json","../../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js","../../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js","../../../node_modules/react-dom/cjs/react-dom-server.browser.development.js","../../../node_modules/react-dom/cjs/react-dom-server.browser.production.min.js","../../../node_modules/react-dom/package.json","../../../node_modules/react-dom/server.browser.js","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.min.js","../../../node_modules/react/index.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react/package.json","../../../node_modules/styled-jsx/dist/index/index.js","../../../node_modules/styled-jsx/index.js","../../../node_modules/styled-jsx/package.json","../../../package.json","../../package.json","../chunks/8548.js","../webpack-runtime.js"]} \ No newline at end of file diff --git a/.next/server/pages/_error.js b/.next/server/pages/_error.js new file mode 100644 index 00000000..6af22536 --- /dev/null +++ b/.next/server/pages/_error.js @@ -0,0 +1 @@ +"use strict";(()=>{var e={};e.id=2731,e.ids=[2731,3220],e.modules={1523:(e,t,r)=>{e.exports=r(63885).vendored.contexts.HeadManagerContext},3147:(e,t)=>{function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}t._=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}return o.default=e,n&&n.set(e,o),o}},8732:e=>{e.exports=require("react/jsx-runtime")},17341:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return g},defaultHead:function(){return c}});let n=r(87020),o=r(3147),a=r(8732),i=o._(r(82015)),l=n._(r(95996)),u=r(57043),s=r(1523),d=r(28725);function c(e){void 0===e&&(e=!1);let t=[(0,a.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===i.default.Fragment?e.concat(i.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(83901);let f=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(p,[]).reverse().concat(c(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return o=>{let a=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=f.length;e{let n=e.key||t;if(process.env.__NEXT_OPTIMIZE_FONTS&&!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,i.default.cloneElement(e,t)}return i.default.cloneElement(e,{key:n})})}let g=function(e){let{children:t}=e,r=(0,i.useContext)(u.AmpStateContext),n=(0,i.useContext)(s.HeadManagerContext);return(0,a.jsx)(l.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,d.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19380:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let n=r(87020),o=r(8732),a=n._(r(82015)),i=r(6370);async function l(e){let{Component:t,ctx:r}=e;return{pageProps:await (0,i.loadGetInitialProps)(t,r)}}class u extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,o.jsx)(e,{...t})}}u.origGetInitialProps=l,u.getInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28725:(e,t)=>{function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},33873:e=>{e.exports=require("path")},35124:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{NEXT_REQUEST_META:function(){return r},addRequestMeta:function(){return a},getRequestMeta:function(){return n},removeRequestMeta:function(){return i},setRequestMeta:function(){return o}});let r=Symbol.for("NextInternalRequestMeta");function n(e,t){let n=e[r]||{};return"string"==typeof t?n[t]:n}function o(e,t){return e[r]=t,t}function a(e,t,r){let a=n(e);return a[t]=r,o(e,a)}function i(e,t){let r=n(e);return delete r[t],o(e,r)}},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},57043:(e,t,r)=>{e.exports=r(63885).vendored.contexts.AmpContext},66631:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(87020),o=r(8732),a=n._(r(82015)),i=n._(r(17341)),l={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function u(e){let t,{req:n,res:o,err:a}=e,i=o&&o.statusCode?o.statusCode:a?a.statusCode:404;if(n){let{getRequestMeta:e}=r(35124),o=e(n,"initURL");o&&(t=new URL(o).hostname)}return{statusCode:i,hostname:t}}let s={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class d extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||l[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:s.error,children:[(0,o.jsx)(i.default,{children:(0,o.jsx)("title",{children:e?e+": "+r:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:s.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:s.h1,children:e}):null,(0,o.jsx)("div",{style:s.wrap,children:(0,o.jsxs)("h2",{style:s.h2,children:[this.props.title||e?r:(0,o.jsxs)(o.Fragment,{children:["Application error: a client-side exception has occurred"," ",!!this.props.hostname&&(0,o.jsxs)(o.Fragment,{children:["while loading ",this.props.hostname]})," ","(see the browser console for more information)"]}),"."]})})]})]})}}d.displayName="ErrorPage",d.getInitialProps=u,d.origGetInitialProps=u,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80237:(e,t)=>{Object.defineProperty(t,"A",{enumerable:!0,get:function(){return r}});var r=function(e){return e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE",e.IMAGE="IMAGE",e}({})},80413:(e,t,r)=>{r.r(t),r.d(t,{config:()=>g,default:()=>c,getServerSideProps:()=>h,getStaticPaths:()=>f,getStaticProps:()=>p,reportWebVitals:()=>y,routeModule:()=>x,unstable_getServerProps:()=>P,unstable_getServerSideProps:()=>v,unstable_getStaticParams:()=>_,unstable_getStaticPaths:()=>b,unstable_getStaticProps:()=>m});var n=r(63885),o=r(80237),a=r(81413),i=r(58548),l=r.n(i),u=r(19380),s=r.n(u),d=r(66631);let c=(0,a.M)(d,"default"),p=(0,a.M)(d,"getStaticProps"),f=(0,a.M)(d,"getStaticPaths"),h=(0,a.M)(d,"getServerSideProps"),g=(0,a.M)(d,"config"),y=(0,a.M)(d,"reportWebVitals"),m=(0,a.M)(d,"unstable_getStaticProps"),b=(0,a.M)(d,"unstable_getStaticPaths"),_=(0,a.M)(d,"unstable_getStaticParams"),P=(0,a.M)(d,"unstable_getServerProps"),v=(0,a.M)(d,"unstable_getServerSideProps"),x=new n.PagesRouteModule({definition:{kind:o.A.PAGES,page:"/_error",pathname:"/_error",bundlePath:"",filename:""},components:{App:s(),Document:l()},userland:d})},81413:(e,t)=>{Object.defineProperty(t,"M",{enumerable:!0,get:function(){return function e(t,r){return r in t?t[r]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,r)):"function"==typeof t&&"default"===r?t:void 0}}})},82015:e=>{e.exports=require("react")},83901:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},95996:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(82015),o=()=>{},a=()=>{};function i(e){var t;let{headManager:r,reduceComponentsToState:i}=e;function l(){if(r&&r.mountedInstances){let t=n.Children.toArray(Array.from(r.mountedInstances).filter(Boolean));r.updateHead(i(t,e))}}return null==r||null==(t=r.mountedInstances)||t.add(e.children),l(),o(()=>{var t;return null==r||null==(t=r.mountedInstances)||t.add(e.children),()=>{var t;null==r||null==(t=r.mountedInstances)||t.delete(e.children)}}),o(()=>(r&&(r._pendingUpdate=l),()=>{r&&(r._pendingUpdate=l)})),a(()=>(r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null),()=>{r&&r._pendingUpdate&&(r._pendingUpdate(),r._pendingUpdate=null)})),null}}};var t=require("../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[8548],()=>r(80413));module.exports=n})(); \ No newline at end of file diff --git a/.next/server/pages/_error.js.nft.json b/.next/server/pages/_error.js.nft.json new file mode 100644 index 00000000..5e2de012 --- /dev/null +++ b/.next/server/pages/_error.js.nft.json @@ -0,0 +1 @@ +{"version":1,"files":["../../../node_modules/client-only/index.js","../../../node_modules/client-only/package.json","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/next-server/pages.runtime.prod.js","../../../node_modules/next/dist/lib/semver-noop.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../node_modules/next/package.json","../../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js","../../../node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js","../../../node_modules/react-dom/cjs/react-dom-server.browser.development.js","../../../node_modules/react-dom/cjs/react-dom-server.browser.production.min.js","../../../node_modules/react-dom/package.json","../../../node_modules/react-dom/server.browser.js","../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../node_modules/react/cjs/react-jsx-runtime.production.min.js","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.min.js","../../../node_modules/react/index.js","../../../node_modules/react/jsx-runtime.js","../../../node_modules/react/package.json","../../../node_modules/styled-jsx/dist/index/index.js","../../../node_modules/styled-jsx/index.js","../../../node_modules/styled-jsx/package.json","../../package.json","../chunks/8548.js","../webpack-runtime.js"]} \ No newline at end of file diff --git a/.next/server/server-reference-manifest.js b/.next/server/server-reference-manifest.js new file mode 100644 index 00000000..42f26ac2 --- /dev/null +++ b/.next/server/server-reference-manifest.js @@ -0,0 +1 @@ +self.__RSC_SERVER_MANIFEST="{\"node\":{\"409083e64f5fe82bb580397645258675cdecd4aedb\":{\"workers\":{\"app/api/courrier/[id]/flag/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/mark-read/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/credentials/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/debug-account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/emails/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/delete/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/fix-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/api/courrier/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/recache/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/send/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/microsoft/callback/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/debug-email/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/session/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/unread-counts/route\":{\"moduleId\":\"14255\",\"async\":false}},\"layer\":{\"app/api/courrier/[id]/flag/route\":\"rsc\",\"app/api/courrier/[id]/mark-read/route\":\"rsc\",\"app/api/courrier/[id]/route\":\"rsc\",\"app/api/courrier/account-folders/route\":\"rsc\",\"app/api/courrier/credentials/route\":\"rsc\",\"app/api/courrier/debug-account/route\":\"rsc\",\"app/api/courrier/emails/route\":\"rsc\",\"app/api/courrier/delete/route\":\"rsc\",\"app/api/courrier/account/route\":\"rsc\",\"app/api/courrier/fix-folders/route\":\"rsc\",\"app/api/courrier/refresh/route\":\"rsc\",\"app/api/courrier/route\":\"rsc\",\"app/api/courrier/recache/route\":\"rsc\",\"app/api/courrier/send/route\":\"rsc\",\"app/api/courrier/microsoft/callback/route\":\"rsc\",\"app/api/debug-email/route\":\"rsc\",\"app/api/courrier/session/route\":\"rsc\",\"app/api/courrier/unread-counts/route\":\"rsc\"}},\"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea\":{\"workers\":{\"app/api/courrier/[id]/flag/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/mark-read/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/credentials/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/debug-account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/emails/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/delete/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/fix-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/api/courrier/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/recache/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/send/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/microsoft/callback/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/debug-email/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/session/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/unread-counts/route\":{\"moduleId\":\"14255\",\"async\":false}},\"layer\":{\"app/api/courrier/[id]/flag/route\":\"rsc\",\"app/api/courrier/[id]/mark-read/route\":\"rsc\",\"app/api/courrier/[id]/route\":\"rsc\",\"app/api/courrier/account-folders/route\":\"rsc\",\"app/api/courrier/credentials/route\":\"rsc\",\"app/api/courrier/debug-account/route\":\"rsc\",\"app/api/courrier/emails/route\":\"rsc\",\"app/api/courrier/delete/route\":\"rsc\",\"app/api/courrier/account/route\":\"rsc\",\"app/api/courrier/fix-folders/route\":\"rsc\",\"app/api/courrier/refresh/route\":\"rsc\",\"app/api/courrier/route\":\"rsc\",\"app/api/courrier/recache/route\":\"rsc\",\"app/api/courrier/send/route\":\"rsc\",\"app/api/courrier/microsoft/callback/route\":\"rsc\",\"app/api/debug-email/route\":\"rsc\",\"app/api/courrier/session/route\":\"rsc\",\"app/api/courrier/unread-counts/route\":\"rsc\"}},\"60301dd4c97b25a22f52a1b2ed0345927c7009f42a\":{\"workers\":{\"app/api/courrier/[id]/flag/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/mark-read/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/credentials/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/debug-account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/emails/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/delete/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/fix-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/api/courrier/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/recache/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/send/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/microsoft/callback/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/debug-email/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/session/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/unread-counts/route\":{\"moduleId\":\"14255\",\"async\":false}},\"layer\":{\"app/api/courrier/[id]/flag/route\":\"rsc\",\"app/api/courrier/[id]/mark-read/route\":\"rsc\",\"app/api/courrier/[id]/route\":\"rsc\",\"app/api/courrier/account-folders/route\":\"rsc\",\"app/api/courrier/credentials/route\":\"rsc\",\"app/api/courrier/debug-account/route\":\"rsc\",\"app/api/courrier/emails/route\":\"rsc\",\"app/api/courrier/delete/route\":\"rsc\",\"app/api/courrier/account/route\":\"rsc\",\"app/api/courrier/fix-folders/route\":\"rsc\",\"app/api/courrier/refresh/route\":\"rsc\",\"app/api/courrier/route\":\"rsc\",\"app/api/courrier/recache/route\":\"rsc\",\"app/api/courrier/send/route\":\"rsc\",\"app/api/courrier/microsoft/callback/route\":\"rsc\",\"app/api/debug-email/route\":\"rsc\",\"app/api/courrier/session/route\":\"rsc\",\"app/api/courrier/unread-counts/route\":\"rsc\"}},\"605c77ef308e7aab8c30ce77cbd91d7851d438cd06\":{\"workers\":{\"app/api/courrier/[id]/flag/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/mark-read/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/credentials/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/debug-account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/emails/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/delete/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/fix-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/api/courrier/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/recache/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/send/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/microsoft/callback/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/debug-email/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/session/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/unread-counts/route\":{\"moduleId\":\"14255\",\"async\":false}},\"layer\":{\"app/api/courrier/[id]/flag/route\":\"rsc\",\"app/api/courrier/[id]/mark-read/route\":\"rsc\",\"app/api/courrier/[id]/route\":\"rsc\",\"app/api/courrier/account-folders/route\":\"rsc\",\"app/api/courrier/credentials/route\":\"rsc\",\"app/api/courrier/debug-account/route\":\"rsc\",\"app/api/courrier/emails/route\":\"rsc\",\"app/api/courrier/delete/route\":\"rsc\",\"app/api/courrier/account/route\":\"rsc\",\"app/api/courrier/fix-folders/route\":\"rsc\",\"app/api/courrier/refresh/route\":\"rsc\",\"app/api/courrier/route\":\"rsc\",\"app/api/courrier/recache/route\":\"rsc\",\"app/api/courrier/send/route\":\"rsc\",\"app/api/courrier/microsoft/callback/route\":\"rsc\",\"app/api/debug-email/route\":\"rsc\",\"app/api/courrier/session/route\":\"rsc\",\"app/api/courrier/unread-counts/route\":\"rsc\"}},\"6092b43564b136264f47b6839f2d73d16b93f0c144\":{\"workers\":{\"app/api/courrier/[id]/flag/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/mark-read/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/credentials/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/debug-account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/emails/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/delete/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/fix-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/api/courrier/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/recache/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/send/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/microsoft/callback/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/debug-email/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/session/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/unread-counts/route\":{\"moduleId\":\"14255\",\"async\":false}},\"layer\":{\"app/api/courrier/[id]/flag/route\":\"rsc\",\"app/api/courrier/[id]/mark-read/route\":\"rsc\",\"app/api/courrier/[id]/route\":\"rsc\",\"app/api/courrier/account-folders/route\":\"rsc\",\"app/api/courrier/credentials/route\":\"rsc\",\"app/api/courrier/debug-account/route\":\"rsc\",\"app/api/courrier/emails/route\":\"rsc\",\"app/api/courrier/delete/route\":\"rsc\",\"app/api/courrier/account/route\":\"rsc\",\"app/api/courrier/fix-folders/route\":\"rsc\",\"app/api/courrier/refresh/route\":\"rsc\",\"app/api/courrier/route\":\"rsc\",\"app/api/courrier/recache/route\":\"rsc\",\"app/api/courrier/send/route\":\"rsc\",\"app/api/courrier/microsoft/callback/route\":\"rsc\",\"app/api/debug-email/route\":\"rsc\",\"app/api/courrier/session/route\":\"rsc\",\"app/api/courrier/unread-counts/route\":\"rsc\"}},\"60942df3263695c44a36c3b274f620e2859980e1c0\":{\"workers\":{\"app/api/courrier/[id]/flag/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/mark-read/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/credentials/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/debug-account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/emails/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/delete/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/fix-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/api/courrier/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/recache/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/send/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/microsoft/callback/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/debug-email/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/session/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/unread-counts/route\":{\"moduleId\":\"14255\",\"async\":false}},\"layer\":{\"app/api/courrier/[id]/flag/route\":\"rsc\",\"app/api/courrier/[id]/mark-read/route\":\"rsc\",\"app/api/courrier/[id]/route\":\"rsc\",\"app/api/courrier/account-folders/route\":\"rsc\",\"app/api/courrier/credentials/route\":\"rsc\",\"app/api/courrier/debug-account/route\":\"rsc\",\"app/api/courrier/emails/route\":\"rsc\",\"app/api/courrier/delete/route\":\"rsc\",\"app/api/courrier/account/route\":\"rsc\",\"app/api/courrier/fix-folders/route\":\"rsc\",\"app/api/courrier/refresh/route\":\"rsc\",\"app/api/courrier/route\":\"rsc\",\"app/api/courrier/recache/route\":\"rsc\",\"app/api/courrier/send/route\":\"rsc\",\"app/api/courrier/microsoft/callback/route\":\"rsc\",\"app/api/debug-email/route\":\"rsc\",\"app/api/courrier/session/route\":\"rsc\",\"app/api/courrier/unread-counts/route\":\"rsc\"}},\"70947927b21002dafca76b076ccfddf03253e7eb74\":{\"workers\":{\"app/api/courrier/[id]/flag/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/mark-read/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/credentials/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/debug-account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/emails/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/delete/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/fix-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/api/courrier/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/recache/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/send/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/microsoft/callback/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/debug-email/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/session/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/unread-counts/route\":{\"moduleId\":\"14255\",\"async\":false}},\"layer\":{\"app/api/courrier/[id]/flag/route\":\"rsc\",\"app/api/courrier/[id]/mark-read/route\":\"rsc\",\"app/api/courrier/[id]/route\":\"rsc\",\"app/api/courrier/account-folders/route\":\"rsc\",\"app/api/courrier/credentials/route\":\"rsc\",\"app/api/courrier/debug-account/route\":\"rsc\",\"app/api/courrier/emails/route\":\"rsc\",\"app/api/courrier/delete/route\":\"rsc\",\"app/api/courrier/account/route\":\"rsc\",\"app/api/courrier/fix-folders/route\":\"rsc\",\"app/api/courrier/refresh/route\":\"rsc\",\"app/api/courrier/route\":\"rsc\",\"app/api/courrier/recache/route\":\"rsc\",\"app/api/courrier/send/route\":\"rsc\",\"app/api/courrier/microsoft/callback/route\":\"rsc\",\"app/api/debug-email/route\":\"rsc\",\"app/api/courrier/session/route\":\"rsc\",\"app/api/courrier/unread-counts/route\":\"rsc\"}},\"78b69d87b0e79f11066ba9300fd1a70693d2c10285\":{\"workers\":{\"app/api/courrier/[id]/flag/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/mark-read/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/credentials/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/debug-account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/emails/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/delete/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/fix-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/api/courrier/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/recache/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/send/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/microsoft/callback/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/debug-email/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/session/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/unread-counts/route\":{\"moduleId\":\"14255\",\"async\":false}},\"layer\":{\"app/api/courrier/[id]/flag/route\":\"rsc\",\"app/api/courrier/[id]/mark-read/route\":\"rsc\",\"app/api/courrier/[id]/route\":\"rsc\",\"app/api/courrier/account-folders/route\":\"rsc\",\"app/api/courrier/credentials/route\":\"rsc\",\"app/api/courrier/debug-account/route\":\"rsc\",\"app/api/courrier/emails/route\":\"rsc\",\"app/api/courrier/delete/route\":\"rsc\",\"app/api/courrier/account/route\":\"rsc\",\"app/api/courrier/fix-folders/route\":\"rsc\",\"app/api/courrier/refresh/route\":\"rsc\",\"app/api/courrier/route\":\"rsc\",\"app/api/courrier/recache/route\":\"rsc\",\"app/api/courrier/send/route\":\"rsc\",\"app/api/courrier/microsoft/callback/route\":\"rsc\",\"app/api/debug-email/route\":\"rsc\",\"app/api/courrier/session/route\":\"rsc\",\"app/api/courrier/unread-counts/route\":\"rsc\"}},\"7c4795a4c07f98f5945bac30357610c05c6e402ec1\":{\"workers\":{\"app/api/courrier/[id]/flag/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/mark-read/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/credentials/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/debug-account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/emails/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/delete/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/fix-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/api/courrier/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/recache/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/send/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/microsoft/callback/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/debug-email/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/session/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/unread-counts/route\":{\"moduleId\":\"14255\",\"async\":false}},\"layer\":{\"app/api/courrier/[id]/flag/route\":\"rsc\",\"app/api/courrier/[id]/mark-read/route\":\"rsc\",\"app/api/courrier/[id]/route\":\"rsc\",\"app/api/courrier/account-folders/route\":\"rsc\",\"app/api/courrier/credentials/route\":\"rsc\",\"app/api/courrier/debug-account/route\":\"rsc\",\"app/api/courrier/emails/route\":\"rsc\",\"app/api/courrier/delete/route\":\"rsc\",\"app/api/courrier/account/route\":\"rsc\",\"app/api/courrier/fix-folders/route\":\"rsc\",\"app/api/courrier/refresh/route\":\"rsc\",\"app/api/courrier/route\":\"rsc\",\"app/api/courrier/recache/route\":\"rsc\",\"app/api/courrier/send/route\":\"rsc\",\"app/api/courrier/microsoft/callback/route\":\"rsc\",\"app/api/debug-email/route\":\"rsc\",\"app/api/courrier/session/route\":\"rsc\",\"app/api/courrier/unread-counts/route\":\"rsc\"}},\"7c77f9d2d4c8842439e682f54cfa5bc3173f505232\":{\"workers\":{\"app/api/courrier/[id]/flag/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/mark-read/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/credentials/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/debug-account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/emails/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/delete/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/fix-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/api/courrier/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/recache/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/send/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/microsoft/callback/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/debug-email/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/session/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/unread-counts/route\":{\"moduleId\":\"14255\",\"async\":false}},\"layer\":{\"app/api/courrier/[id]/flag/route\":\"rsc\",\"app/api/courrier/[id]/mark-read/route\":\"rsc\",\"app/api/courrier/[id]/route\":\"rsc\",\"app/api/courrier/account-folders/route\":\"rsc\",\"app/api/courrier/credentials/route\":\"rsc\",\"app/api/courrier/debug-account/route\":\"rsc\",\"app/api/courrier/emails/route\":\"rsc\",\"app/api/courrier/delete/route\":\"rsc\",\"app/api/courrier/account/route\":\"rsc\",\"app/api/courrier/fix-folders/route\":\"rsc\",\"app/api/courrier/refresh/route\":\"rsc\",\"app/api/courrier/route\":\"rsc\",\"app/api/courrier/recache/route\":\"rsc\",\"app/api/courrier/send/route\":\"rsc\",\"app/api/courrier/microsoft/callback/route\":\"rsc\",\"app/api/debug-email/route\":\"rsc\",\"app/api/courrier/session/route\":\"rsc\",\"app/api/courrier/unread-counts/route\":\"rsc\"}},\"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64\":{\"workers\":{\"app/api/courrier/[id]/flag/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/mark-read/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/[id]/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/credentials/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/debug-account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/emails/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/delete/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/account/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/fix-folders/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/api/courrier/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/recache/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/send/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/microsoft/callback/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/debug-email/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/session/route\":{\"moduleId\":\"14255\",\"async\":false},\"app/api/courrier/unread-counts/route\":{\"moduleId\":\"14255\",\"async\":false}},\"layer\":{\"app/api/courrier/[id]/flag/route\":\"rsc\",\"app/api/courrier/[id]/mark-read/route\":\"rsc\",\"app/api/courrier/[id]/route\":\"rsc\",\"app/api/courrier/account-folders/route\":\"rsc\",\"app/api/courrier/credentials/route\":\"rsc\",\"app/api/courrier/debug-account/route\":\"rsc\",\"app/api/courrier/emails/route\":\"rsc\",\"app/api/courrier/delete/route\":\"rsc\",\"app/api/courrier/account/route\":\"rsc\",\"app/api/courrier/fix-folders/route\":\"rsc\",\"app/api/courrier/refresh/route\":\"rsc\",\"app/api/courrier/route\":\"rsc\",\"app/api/courrier/recache/route\":\"rsc\",\"app/api/courrier/send/route\":\"rsc\",\"app/api/courrier/microsoft/callback/route\":\"rsc\",\"app/api/debug-email/route\":\"rsc\",\"app/api/courrier/session/route\":\"rsc\",\"app/api/courrier/unread-counts/route\":\"rsc\"}},\"40dcad7971f40c6329dddcfa7d8c6c9b691721a4cc\":{\"workers\":{\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/courrier/page\":{\"moduleId\":\"41820\",\"async\":false}},\"layer\":{\"app/api/courrier/refresh/route\":\"rsc\",\"app/courrier/page\":\"action-browser\"}},\"7c2bde298c5aa61fd993d78d91582c1ec246f10a86\":{\"workers\":{\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/courrier/page\":{\"moduleId\":\"41820\",\"async\":false}},\"layer\":{\"app/api/courrier/refresh/route\":\"rsc\",\"app/courrier/page\":\"action-browser\"}},\"7c33b498776be3756deb7c4fdfe13414f37b0d32ee\":{\"workers\":{\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/courrier/page\":{\"moduleId\":\"41820\",\"async\":false}},\"layer\":{\"app/api/courrier/refresh/route\":\"rsc\",\"app/courrier/page\":\"action-browser\"}},\"7eecc71c2a61fc19120068523c1216a8d16632978a\":{\"workers\":{\"app/api/courrier/refresh/route\":{\"moduleId\":\"34389\",\"async\":false},\"app/courrier/page\":{\"moduleId\":\"41820\",\"async\":false}},\"layer\":{\"app/api/courrier/refresh/route\":\"rsc\",\"app/courrier/page\":\"action-browser\"}}},\"edge\":{},\"encryptionKey\":\"process.env.NEXT_SERVER_ACTIONS_ENCRYPTION_KEY\"}" \ No newline at end of file diff --git a/.next/server/server-reference-manifest.json b/.next/server/server-reference-manifest.json new file mode 100644 index 00000000..242bb1ef --- /dev/null +++ b/.next/server/server-reference-manifest.json @@ -0,0 +1 @@ +{"node":{"409083e64f5fe82bb580397645258675cdecd4aedb":{"workers":{"app/api/courrier/[id]/flag/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/mark-read/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/route":{"moduleId":"14255","async":false},"app/api/courrier/account-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/credentials/route":{"moduleId":"14255","async":false},"app/api/courrier/debug-account/route":{"moduleId":"14255","async":false},"app/api/courrier/emails/route":{"moduleId":"14255","async":false},"app/api/courrier/delete/route":{"moduleId":"14255","async":false},"app/api/courrier/account/route":{"moduleId":"14255","async":false},"app/api/courrier/fix-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/api/courrier/route":{"moduleId":"14255","async":false},"app/api/courrier/recache/route":{"moduleId":"14255","async":false},"app/api/courrier/send/route":{"moduleId":"14255","async":false},"app/api/courrier/microsoft/callback/route":{"moduleId":"14255","async":false},"app/api/debug-email/route":{"moduleId":"14255","async":false},"app/api/courrier/session/route":{"moduleId":"14255","async":false},"app/api/courrier/unread-counts/route":{"moduleId":"14255","async":false}},"layer":{"app/api/courrier/[id]/flag/route":"rsc","app/api/courrier/[id]/mark-read/route":"rsc","app/api/courrier/[id]/route":"rsc","app/api/courrier/account-folders/route":"rsc","app/api/courrier/credentials/route":"rsc","app/api/courrier/debug-account/route":"rsc","app/api/courrier/emails/route":"rsc","app/api/courrier/delete/route":"rsc","app/api/courrier/account/route":"rsc","app/api/courrier/fix-folders/route":"rsc","app/api/courrier/refresh/route":"rsc","app/api/courrier/route":"rsc","app/api/courrier/recache/route":"rsc","app/api/courrier/send/route":"rsc","app/api/courrier/microsoft/callback/route":"rsc","app/api/debug-email/route":"rsc","app/api/courrier/session/route":"rsc","app/api/courrier/unread-counts/route":"rsc"}},"40aaa3ff37ac0b9242a82825b209b3f3998b2827ea":{"workers":{"app/api/courrier/[id]/flag/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/mark-read/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/route":{"moduleId":"14255","async":false},"app/api/courrier/account-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/credentials/route":{"moduleId":"14255","async":false},"app/api/courrier/debug-account/route":{"moduleId":"14255","async":false},"app/api/courrier/emails/route":{"moduleId":"14255","async":false},"app/api/courrier/delete/route":{"moduleId":"14255","async":false},"app/api/courrier/account/route":{"moduleId":"14255","async":false},"app/api/courrier/fix-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/api/courrier/route":{"moduleId":"14255","async":false},"app/api/courrier/recache/route":{"moduleId":"14255","async":false},"app/api/courrier/send/route":{"moduleId":"14255","async":false},"app/api/courrier/microsoft/callback/route":{"moduleId":"14255","async":false},"app/api/debug-email/route":{"moduleId":"14255","async":false},"app/api/courrier/session/route":{"moduleId":"14255","async":false},"app/api/courrier/unread-counts/route":{"moduleId":"14255","async":false}},"layer":{"app/api/courrier/[id]/flag/route":"rsc","app/api/courrier/[id]/mark-read/route":"rsc","app/api/courrier/[id]/route":"rsc","app/api/courrier/account-folders/route":"rsc","app/api/courrier/credentials/route":"rsc","app/api/courrier/debug-account/route":"rsc","app/api/courrier/emails/route":"rsc","app/api/courrier/delete/route":"rsc","app/api/courrier/account/route":"rsc","app/api/courrier/fix-folders/route":"rsc","app/api/courrier/refresh/route":"rsc","app/api/courrier/route":"rsc","app/api/courrier/recache/route":"rsc","app/api/courrier/send/route":"rsc","app/api/courrier/microsoft/callback/route":"rsc","app/api/debug-email/route":"rsc","app/api/courrier/session/route":"rsc","app/api/courrier/unread-counts/route":"rsc"}},"60301dd4c97b25a22f52a1b2ed0345927c7009f42a":{"workers":{"app/api/courrier/[id]/flag/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/mark-read/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/route":{"moduleId":"14255","async":false},"app/api/courrier/account-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/credentials/route":{"moduleId":"14255","async":false},"app/api/courrier/debug-account/route":{"moduleId":"14255","async":false},"app/api/courrier/emails/route":{"moduleId":"14255","async":false},"app/api/courrier/delete/route":{"moduleId":"14255","async":false},"app/api/courrier/account/route":{"moduleId":"14255","async":false},"app/api/courrier/fix-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/api/courrier/route":{"moduleId":"14255","async":false},"app/api/courrier/recache/route":{"moduleId":"14255","async":false},"app/api/courrier/send/route":{"moduleId":"14255","async":false},"app/api/courrier/microsoft/callback/route":{"moduleId":"14255","async":false},"app/api/debug-email/route":{"moduleId":"14255","async":false},"app/api/courrier/session/route":{"moduleId":"14255","async":false},"app/api/courrier/unread-counts/route":{"moduleId":"14255","async":false}},"layer":{"app/api/courrier/[id]/flag/route":"rsc","app/api/courrier/[id]/mark-read/route":"rsc","app/api/courrier/[id]/route":"rsc","app/api/courrier/account-folders/route":"rsc","app/api/courrier/credentials/route":"rsc","app/api/courrier/debug-account/route":"rsc","app/api/courrier/emails/route":"rsc","app/api/courrier/delete/route":"rsc","app/api/courrier/account/route":"rsc","app/api/courrier/fix-folders/route":"rsc","app/api/courrier/refresh/route":"rsc","app/api/courrier/route":"rsc","app/api/courrier/recache/route":"rsc","app/api/courrier/send/route":"rsc","app/api/courrier/microsoft/callback/route":"rsc","app/api/debug-email/route":"rsc","app/api/courrier/session/route":"rsc","app/api/courrier/unread-counts/route":"rsc"}},"605c77ef308e7aab8c30ce77cbd91d7851d438cd06":{"workers":{"app/api/courrier/[id]/flag/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/mark-read/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/route":{"moduleId":"14255","async":false},"app/api/courrier/account-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/credentials/route":{"moduleId":"14255","async":false},"app/api/courrier/debug-account/route":{"moduleId":"14255","async":false},"app/api/courrier/emails/route":{"moduleId":"14255","async":false},"app/api/courrier/delete/route":{"moduleId":"14255","async":false},"app/api/courrier/account/route":{"moduleId":"14255","async":false},"app/api/courrier/fix-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/api/courrier/route":{"moduleId":"14255","async":false},"app/api/courrier/recache/route":{"moduleId":"14255","async":false},"app/api/courrier/send/route":{"moduleId":"14255","async":false},"app/api/courrier/microsoft/callback/route":{"moduleId":"14255","async":false},"app/api/debug-email/route":{"moduleId":"14255","async":false},"app/api/courrier/session/route":{"moduleId":"14255","async":false},"app/api/courrier/unread-counts/route":{"moduleId":"14255","async":false}},"layer":{"app/api/courrier/[id]/flag/route":"rsc","app/api/courrier/[id]/mark-read/route":"rsc","app/api/courrier/[id]/route":"rsc","app/api/courrier/account-folders/route":"rsc","app/api/courrier/credentials/route":"rsc","app/api/courrier/debug-account/route":"rsc","app/api/courrier/emails/route":"rsc","app/api/courrier/delete/route":"rsc","app/api/courrier/account/route":"rsc","app/api/courrier/fix-folders/route":"rsc","app/api/courrier/refresh/route":"rsc","app/api/courrier/route":"rsc","app/api/courrier/recache/route":"rsc","app/api/courrier/send/route":"rsc","app/api/courrier/microsoft/callback/route":"rsc","app/api/debug-email/route":"rsc","app/api/courrier/session/route":"rsc","app/api/courrier/unread-counts/route":"rsc"}},"6092b43564b136264f47b6839f2d73d16b93f0c144":{"workers":{"app/api/courrier/[id]/flag/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/mark-read/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/route":{"moduleId":"14255","async":false},"app/api/courrier/account-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/credentials/route":{"moduleId":"14255","async":false},"app/api/courrier/debug-account/route":{"moduleId":"14255","async":false},"app/api/courrier/emails/route":{"moduleId":"14255","async":false},"app/api/courrier/delete/route":{"moduleId":"14255","async":false},"app/api/courrier/account/route":{"moduleId":"14255","async":false},"app/api/courrier/fix-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/api/courrier/route":{"moduleId":"14255","async":false},"app/api/courrier/recache/route":{"moduleId":"14255","async":false},"app/api/courrier/send/route":{"moduleId":"14255","async":false},"app/api/courrier/microsoft/callback/route":{"moduleId":"14255","async":false},"app/api/debug-email/route":{"moduleId":"14255","async":false},"app/api/courrier/session/route":{"moduleId":"14255","async":false},"app/api/courrier/unread-counts/route":{"moduleId":"14255","async":false}},"layer":{"app/api/courrier/[id]/flag/route":"rsc","app/api/courrier/[id]/mark-read/route":"rsc","app/api/courrier/[id]/route":"rsc","app/api/courrier/account-folders/route":"rsc","app/api/courrier/credentials/route":"rsc","app/api/courrier/debug-account/route":"rsc","app/api/courrier/emails/route":"rsc","app/api/courrier/delete/route":"rsc","app/api/courrier/account/route":"rsc","app/api/courrier/fix-folders/route":"rsc","app/api/courrier/refresh/route":"rsc","app/api/courrier/route":"rsc","app/api/courrier/recache/route":"rsc","app/api/courrier/send/route":"rsc","app/api/courrier/microsoft/callback/route":"rsc","app/api/debug-email/route":"rsc","app/api/courrier/session/route":"rsc","app/api/courrier/unread-counts/route":"rsc"}},"60942df3263695c44a36c3b274f620e2859980e1c0":{"workers":{"app/api/courrier/[id]/flag/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/mark-read/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/route":{"moduleId":"14255","async":false},"app/api/courrier/account-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/credentials/route":{"moduleId":"14255","async":false},"app/api/courrier/debug-account/route":{"moduleId":"14255","async":false},"app/api/courrier/emails/route":{"moduleId":"14255","async":false},"app/api/courrier/delete/route":{"moduleId":"14255","async":false},"app/api/courrier/account/route":{"moduleId":"14255","async":false},"app/api/courrier/fix-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/api/courrier/route":{"moduleId":"14255","async":false},"app/api/courrier/recache/route":{"moduleId":"14255","async":false},"app/api/courrier/send/route":{"moduleId":"14255","async":false},"app/api/courrier/microsoft/callback/route":{"moduleId":"14255","async":false},"app/api/debug-email/route":{"moduleId":"14255","async":false},"app/api/courrier/session/route":{"moduleId":"14255","async":false},"app/api/courrier/unread-counts/route":{"moduleId":"14255","async":false}},"layer":{"app/api/courrier/[id]/flag/route":"rsc","app/api/courrier/[id]/mark-read/route":"rsc","app/api/courrier/[id]/route":"rsc","app/api/courrier/account-folders/route":"rsc","app/api/courrier/credentials/route":"rsc","app/api/courrier/debug-account/route":"rsc","app/api/courrier/emails/route":"rsc","app/api/courrier/delete/route":"rsc","app/api/courrier/account/route":"rsc","app/api/courrier/fix-folders/route":"rsc","app/api/courrier/refresh/route":"rsc","app/api/courrier/route":"rsc","app/api/courrier/recache/route":"rsc","app/api/courrier/send/route":"rsc","app/api/courrier/microsoft/callback/route":"rsc","app/api/debug-email/route":"rsc","app/api/courrier/session/route":"rsc","app/api/courrier/unread-counts/route":"rsc"}},"70947927b21002dafca76b076ccfddf03253e7eb74":{"workers":{"app/api/courrier/[id]/flag/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/mark-read/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/route":{"moduleId":"14255","async":false},"app/api/courrier/account-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/credentials/route":{"moduleId":"14255","async":false},"app/api/courrier/debug-account/route":{"moduleId":"14255","async":false},"app/api/courrier/emails/route":{"moduleId":"14255","async":false},"app/api/courrier/delete/route":{"moduleId":"14255","async":false},"app/api/courrier/account/route":{"moduleId":"14255","async":false},"app/api/courrier/fix-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/api/courrier/route":{"moduleId":"14255","async":false},"app/api/courrier/recache/route":{"moduleId":"14255","async":false},"app/api/courrier/send/route":{"moduleId":"14255","async":false},"app/api/courrier/microsoft/callback/route":{"moduleId":"14255","async":false},"app/api/debug-email/route":{"moduleId":"14255","async":false},"app/api/courrier/session/route":{"moduleId":"14255","async":false},"app/api/courrier/unread-counts/route":{"moduleId":"14255","async":false}},"layer":{"app/api/courrier/[id]/flag/route":"rsc","app/api/courrier/[id]/mark-read/route":"rsc","app/api/courrier/[id]/route":"rsc","app/api/courrier/account-folders/route":"rsc","app/api/courrier/credentials/route":"rsc","app/api/courrier/debug-account/route":"rsc","app/api/courrier/emails/route":"rsc","app/api/courrier/delete/route":"rsc","app/api/courrier/account/route":"rsc","app/api/courrier/fix-folders/route":"rsc","app/api/courrier/refresh/route":"rsc","app/api/courrier/route":"rsc","app/api/courrier/recache/route":"rsc","app/api/courrier/send/route":"rsc","app/api/courrier/microsoft/callback/route":"rsc","app/api/debug-email/route":"rsc","app/api/courrier/session/route":"rsc","app/api/courrier/unread-counts/route":"rsc"}},"78b69d87b0e79f11066ba9300fd1a70693d2c10285":{"workers":{"app/api/courrier/[id]/flag/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/mark-read/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/route":{"moduleId":"14255","async":false},"app/api/courrier/account-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/credentials/route":{"moduleId":"14255","async":false},"app/api/courrier/debug-account/route":{"moduleId":"14255","async":false},"app/api/courrier/emails/route":{"moduleId":"14255","async":false},"app/api/courrier/delete/route":{"moduleId":"14255","async":false},"app/api/courrier/account/route":{"moduleId":"14255","async":false},"app/api/courrier/fix-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/api/courrier/route":{"moduleId":"14255","async":false},"app/api/courrier/recache/route":{"moduleId":"14255","async":false},"app/api/courrier/send/route":{"moduleId":"14255","async":false},"app/api/courrier/microsoft/callback/route":{"moduleId":"14255","async":false},"app/api/debug-email/route":{"moduleId":"14255","async":false},"app/api/courrier/session/route":{"moduleId":"14255","async":false},"app/api/courrier/unread-counts/route":{"moduleId":"14255","async":false}},"layer":{"app/api/courrier/[id]/flag/route":"rsc","app/api/courrier/[id]/mark-read/route":"rsc","app/api/courrier/[id]/route":"rsc","app/api/courrier/account-folders/route":"rsc","app/api/courrier/credentials/route":"rsc","app/api/courrier/debug-account/route":"rsc","app/api/courrier/emails/route":"rsc","app/api/courrier/delete/route":"rsc","app/api/courrier/account/route":"rsc","app/api/courrier/fix-folders/route":"rsc","app/api/courrier/refresh/route":"rsc","app/api/courrier/route":"rsc","app/api/courrier/recache/route":"rsc","app/api/courrier/send/route":"rsc","app/api/courrier/microsoft/callback/route":"rsc","app/api/debug-email/route":"rsc","app/api/courrier/session/route":"rsc","app/api/courrier/unread-counts/route":"rsc"}},"7c4795a4c07f98f5945bac30357610c05c6e402ec1":{"workers":{"app/api/courrier/[id]/flag/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/mark-read/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/route":{"moduleId":"14255","async":false},"app/api/courrier/account-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/credentials/route":{"moduleId":"14255","async":false},"app/api/courrier/debug-account/route":{"moduleId":"14255","async":false},"app/api/courrier/emails/route":{"moduleId":"14255","async":false},"app/api/courrier/delete/route":{"moduleId":"14255","async":false},"app/api/courrier/account/route":{"moduleId":"14255","async":false},"app/api/courrier/fix-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/api/courrier/route":{"moduleId":"14255","async":false},"app/api/courrier/recache/route":{"moduleId":"14255","async":false},"app/api/courrier/send/route":{"moduleId":"14255","async":false},"app/api/courrier/microsoft/callback/route":{"moduleId":"14255","async":false},"app/api/debug-email/route":{"moduleId":"14255","async":false},"app/api/courrier/session/route":{"moduleId":"14255","async":false},"app/api/courrier/unread-counts/route":{"moduleId":"14255","async":false}},"layer":{"app/api/courrier/[id]/flag/route":"rsc","app/api/courrier/[id]/mark-read/route":"rsc","app/api/courrier/[id]/route":"rsc","app/api/courrier/account-folders/route":"rsc","app/api/courrier/credentials/route":"rsc","app/api/courrier/debug-account/route":"rsc","app/api/courrier/emails/route":"rsc","app/api/courrier/delete/route":"rsc","app/api/courrier/account/route":"rsc","app/api/courrier/fix-folders/route":"rsc","app/api/courrier/refresh/route":"rsc","app/api/courrier/route":"rsc","app/api/courrier/recache/route":"rsc","app/api/courrier/send/route":"rsc","app/api/courrier/microsoft/callback/route":"rsc","app/api/debug-email/route":"rsc","app/api/courrier/session/route":"rsc","app/api/courrier/unread-counts/route":"rsc"}},"7c77f9d2d4c8842439e682f54cfa5bc3173f505232":{"workers":{"app/api/courrier/[id]/flag/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/mark-read/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/route":{"moduleId":"14255","async":false},"app/api/courrier/account-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/credentials/route":{"moduleId":"14255","async":false},"app/api/courrier/debug-account/route":{"moduleId":"14255","async":false},"app/api/courrier/emails/route":{"moduleId":"14255","async":false},"app/api/courrier/delete/route":{"moduleId":"14255","async":false},"app/api/courrier/account/route":{"moduleId":"14255","async":false},"app/api/courrier/fix-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/api/courrier/route":{"moduleId":"14255","async":false},"app/api/courrier/recache/route":{"moduleId":"14255","async":false},"app/api/courrier/send/route":{"moduleId":"14255","async":false},"app/api/courrier/microsoft/callback/route":{"moduleId":"14255","async":false},"app/api/debug-email/route":{"moduleId":"14255","async":false},"app/api/courrier/session/route":{"moduleId":"14255","async":false},"app/api/courrier/unread-counts/route":{"moduleId":"14255","async":false}},"layer":{"app/api/courrier/[id]/flag/route":"rsc","app/api/courrier/[id]/mark-read/route":"rsc","app/api/courrier/[id]/route":"rsc","app/api/courrier/account-folders/route":"rsc","app/api/courrier/credentials/route":"rsc","app/api/courrier/debug-account/route":"rsc","app/api/courrier/emails/route":"rsc","app/api/courrier/delete/route":"rsc","app/api/courrier/account/route":"rsc","app/api/courrier/fix-folders/route":"rsc","app/api/courrier/refresh/route":"rsc","app/api/courrier/route":"rsc","app/api/courrier/recache/route":"rsc","app/api/courrier/send/route":"rsc","app/api/courrier/microsoft/callback/route":"rsc","app/api/debug-email/route":"rsc","app/api/courrier/session/route":"rsc","app/api/courrier/unread-counts/route":"rsc"}},"7e6e570fb277cfaffa51dd4472fb1c179f100a8f64":{"workers":{"app/api/courrier/[id]/flag/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/mark-read/route":{"moduleId":"14255","async":false},"app/api/courrier/[id]/route":{"moduleId":"14255","async":false},"app/api/courrier/account-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/credentials/route":{"moduleId":"14255","async":false},"app/api/courrier/debug-account/route":{"moduleId":"14255","async":false},"app/api/courrier/emails/route":{"moduleId":"14255","async":false},"app/api/courrier/delete/route":{"moduleId":"14255","async":false},"app/api/courrier/account/route":{"moduleId":"14255","async":false},"app/api/courrier/fix-folders/route":{"moduleId":"14255","async":false},"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/api/courrier/route":{"moduleId":"14255","async":false},"app/api/courrier/recache/route":{"moduleId":"14255","async":false},"app/api/courrier/send/route":{"moduleId":"14255","async":false},"app/api/courrier/microsoft/callback/route":{"moduleId":"14255","async":false},"app/api/debug-email/route":{"moduleId":"14255","async":false},"app/api/courrier/session/route":{"moduleId":"14255","async":false},"app/api/courrier/unread-counts/route":{"moduleId":"14255","async":false}},"layer":{"app/api/courrier/[id]/flag/route":"rsc","app/api/courrier/[id]/mark-read/route":"rsc","app/api/courrier/[id]/route":"rsc","app/api/courrier/account-folders/route":"rsc","app/api/courrier/credentials/route":"rsc","app/api/courrier/debug-account/route":"rsc","app/api/courrier/emails/route":"rsc","app/api/courrier/delete/route":"rsc","app/api/courrier/account/route":"rsc","app/api/courrier/fix-folders/route":"rsc","app/api/courrier/refresh/route":"rsc","app/api/courrier/route":"rsc","app/api/courrier/recache/route":"rsc","app/api/courrier/send/route":"rsc","app/api/courrier/microsoft/callback/route":"rsc","app/api/debug-email/route":"rsc","app/api/courrier/session/route":"rsc","app/api/courrier/unread-counts/route":"rsc"}},"40dcad7971f40c6329dddcfa7d8c6c9b691721a4cc":{"workers":{"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/courrier/page":{"moduleId":"41820","async":false}},"layer":{"app/api/courrier/refresh/route":"rsc","app/courrier/page":"action-browser"}},"7c2bde298c5aa61fd993d78d91582c1ec246f10a86":{"workers":{"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/courrier/page":{"moduleId":"41820","async":false}},"layer":{"app/api/courrier/refresh/route":"rsc","app/courrier/page":"action-browser"}},"7c33b498776be3756deb7c4fdfe13414f37b0d32ee":{"workers":{"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/courrier/page":{"moduleId":"41820","async":false}},"layer":{"app/api/courrier/refresh/route":"rsc","app/courrier/page":"action-browser"}},"7eecc71c2a61fc19120068523c1216a8d16632978a":{"workers":{"app/api/courrier/refresh/route":{"moduleId":"34389","async":false},"app/courrier/page":{"moduleId":"41820","async":false}},"layer":{"app/api/courrier/refresh/route":"rsc","app/courrier/page":"action-browser"}}},"edge":{},"encryptionKey":"ulYNHxHQar9QN6GGYPupY+Ltm6G0SbWfIemLLr1+SxA="} \ No newline at end of file diff --git a/.next/server/webpack-runtime.js b/.next/server/webpack-runtime.js new file mode 100644 index 00000000..eeacd700 --- /dev/null +++ b/.next/server/webpack-runtime.js @@ -0,0 +1 @@ +(()=>{"use strict";var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={id:o,loaded:!1,exports:{}},d=!0;try{e[o].call(a.exports,a,a.exports,t),d=!1}finally{d&&delete r[o]}return a.loaded=!0,a.exports}t.m=e,t.amdO={},t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},(()=>{var e,r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;t.t=function(o,n){if(1&n&&(o=this(o)),8&n||"object"==typeof o&&o&&(4&n&&o.__esModule||16&n&&"function"==typeof o.then))return o;var a=Object.create(null);t.r(a);var d={};e=e||[null,r({}),r([]),r(r)];for(var l=2&n&&o;"object"==typeof l&&!~e.indexOf(l);l=r(l))Object.getOwnPropertyNames(l).forEach(e=>d[e]=()=>o[e]);return d.default=()=>o,t.d(a,d),a}})(),t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>""+e+".js",t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),t.X=(e,r,o)=>{var n=r;o||(r=e,o=()=>t(t.s=n)),r.map(t.e,t);var a=o();return void 0===a?e:a},t.nc=void 0,(()=>{var e={7311:1},r=r=>{var o=r.modules,n=r.ids,a=r.runtime;for(var d in o)t.o(o,d)&&(t.m[d]=o[d]);a&&a(t);for(var l=0;l{e[o]||(7311!=o?r(require("./chunks/"+t.u(o))):e[o]=1)},module.exports=t,t.C=r})()})(); \ No newline at end of file diff --git a/.next/static/chunks/1334-fc3eb3cf833c9f31.js b/.next/static/chunks/1334-fc3eb3cf833c9f31.js new file mode 100644 index 00000000..4d2390f6 --- /dev/null +++ b/.next/static/chunks/1334-fc3eb3cf833c9f31.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1334],{1306:(e,t,n)=>{n.d(t,{c:()=>l});let a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var r=n(67356);let i={date:(0,r.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var u=n(58698);let s={ordinalNumber:(e,t)=>{let n=Number(e),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,u.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,u.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,u.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,u.o)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,u.o)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};var d=n(44008);let l={code:"en-US",formatDistance:(e,t,n)=>{let r,i=a[e];if(r="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null==n?void 0:n.addSuffix)if(n.comparison&&n.comparison>0)return"in "+r;else return r+" ago";return r},formatLong:i,formatRelative:(e,t,n,a)=>o[e],localize:s,match:{ordinalNumber:(0,n(40972).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,d.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,d.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,d.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,d.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},2147:(e,t,n)=>{n.d(t,{p:()=>o});var a=n(92084),r=n(25645),i=n(35476);function o(e){let t=(0,i.a)(e),n=t.getFullYear(),o=(0,a.w)(e,0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);let u=(0,r.b)(o),s=(0,a.w)(e,0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);let d=(0,r.b)(s);return t.getTime()>=u.getTime()?n+1:t.getTime()>=d.getTime()?n:n-1}},10317:(e,t,n)=>{n.d(t,{m:()=>i});let a=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},i={p:r,P:(e,t)=>{let n,i=e.match(/(P+)(p+)?/)||[],o=i[1],u=i[2];if(!u)return a(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",a(o,t)).replace("{{time}}",r(u,t))}}},16946:(e,t,n)=>{n.d(t,{fr:()=>c});let a={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}};var r=n(67356);let i={date:(0,r.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} '\xe0' {{time}}",long:"{{date}} '\xe0' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"eeee 'dernier \xe0' p",yesterday:"'hier \xe0' p",today:"'aujourd’hui \xe0' p",tomorrow:"'demain \xe0' p'",nextWeek:"eeee 'prochain \xe0' p",other:"P"};var u=n(58698);let s=["MMM","MMMM"],d={preprocessor:(e,t)=>1!==e.getDate()&&t.some(e=>e.isToken&&s.includes(e.value))?t.map(e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e):t,ordinalNumber:(e,t)=>{let n,a=Number(e),r=null==t?void 0:t.unit;return 0===a?"0":(n=1===a?r&&["year","week","hour","minute","second"].includes(r)?"\xe8re":"er":"\xe8me",a+n)},era:(0,u.o)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]},defaultWidth:"wide"}),quarter:(0,u.o)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2\xe8me trim.","3\xe8me trim.","4\xe8me trim."],wide:["1er trimestre","2\xe8me trimestre","3\xe8me trimestre","4\xe8me trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,u.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],wide:["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]},defaultWidth:"wide"}),day:(0,u.o)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,u.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"apr\xe8s-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’apr\xe8s-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})};var l=n(44008);let c={code:"fr",formatDistance:(e,t,n)=>{let r,i=a[e];if(r="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),null==n?void 0:n.addSuffix)if(n.comparison&&n.comparison>0)return"dans "+r;else return"il y a "+r;return r},formatLong:i,formatRelative:(e,t,n,a)=>o[e],localize:d,match:{ordinalNumber:(0,n(40972).K)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,l.A)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,l.A)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,l.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,l.A)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,l.A)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},25645:(e,t,n)=>{n.d(t,{b:()=>r});var a=n(34548);function r(e){return(0,a.k)(e,{weekStartsOn:1})}},28883:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(19946).A)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},30347:(e,t,n)=>{n.d(t,{N:()=>d});var a=n(41876),r=n(34548),i=n(92084),o=n(41376),u=n(36199),s=n(35476);function d(e,t){let n=(0,s.a)(e);return Math.round(((0,r.k)(n,t)-function(e,t){var n,a,s,d,l,c,m,h;let f=(0,u.q)(),g=null!=(h=null!=(m=null!=(c=null!=(l=null==t?void 0:t.firstWeekContainsDate)?l:null==t||null==(a=t.locale)||null==(n=a.options)?void 0:n.firstWeekContainsDate)?c:f.firstWeekContainsDate)?m:null==(d=f.locale)||null==(s=d.options)?void 0:s.firstWeekContainsDate)?h:1,w=(0,o.h)(e,t),v=(0,i.w)(e,0);return v.setFullYear(w,0,g),v.setHours(0,0,0,0),(0,r.k)(v,t)}(n,t))/a.my)+1}},31858:(e,t,n)=>{n.d(t,{s:()=>s});var a=n(41876),r=n(25645),i=n(2147),o=n(92084),u=n(35476);function s(e){let t=(0,u.a)(e);return Math.round(((0,r.b)(t)-function(e){let t=(0,i.p)(e),n=(0,o.w)(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),(0,r.b)(n)}(t))/a.my)+1}},34254:(e,t,n)=>{n.d(t,{Ss:()=>s,ef:()=>o,xM:()=>u});let a=/^D+$/,r=/^Y+$/,i=["D","DD","YY","YYYY"];function o(e){return a.test(e)}function u(e){return r.test(e)}function s(e,t,n){let a=function(e,t,n){let a="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(a," to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(e,t,n);if(console.warn(a),i.includes(e))throw RangeError(a)}},34548:(e,t,n)=>{n.d(t,{k:()=>i});var a=n(35476),r=n(36199);function i(e,t){var n,i,o,u,s,d,l,c;let m=(0,r.q)(),h=null!=(c=null!=(l=null!=(d=null!=(s=null==t?void 0:t.weekStartsOn)?s:null==t||null==(i=t.locale)||null==(n=i.options)?void 0:n.weekStartsOn)?d:m.weekStartsOn)?l:null==(u=m.locale)||null==(o=u.options)?void 0:o.weekStartsOn)?c:0,f=(0,a.a)(e),g=f.getDay();return f.setDate(f.getDate()-(7*(g{function a(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}n.d(t,{a:()=>a})},35695:(e,t,n)=>{var a=n(18999);n.o(a,"redirect")&&n.d(t,{redirect:function(){return a.redirect}}),n.o(a,"useParams")&&n.d(t,{useParams:function(){return a.useParams}}),n.o(a,"usePathname")&&n.d(t,{usePathname:function(){return a.usePathname}}),n.o(a,"useRouter")&&n.d(t,{useRouter:function(){return a.useRouter}}),n.o(a,"useSearchParams")&&n.d(t,{useSearchParams:function(){return a.useSearchParams}})},36199:(e,t,n)=>{n.d(t,{q:()=>r});let a={};function r(){return a}},40972:(e,t,n)=>{n.d(t,{K:()=>a});function a(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.match(e.matchPattern);if(!a)return null;let r=a[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];return{value:o=n.valueCallback?n.valueCallback(o):o,rest:t.slice(r.length)}}}},41376:(e,t,n)=>{n.d(t,{h:()=>u});var a=n(92084),r=n(34548),i=n(35476),o=n(36199);function u(e,t){var n,u,s,d,l,c,m,h;let f=(0,i.a)(e),g=f.getFullYear(),w=(0,o.q)(),v=null!=(h=null!=(m=null!=(c=null!=(l=null==t?void 0:t.firstWeekContainsDate)?l:null==t||null==(u=t.locale)||null==(n=u.options)?void 0:n.firstWeekContainsDate)?c:w.firstWeekContainsDate)?m:null==(d=w.locale)||null==(s=d.options)?void 0:s.firstWeekContainsDate)?h:1,b=(0,a.w)(e,0);b.setFullYear(g+1,0,v),b.setHours(0,0,0,0);let y=(0,r.k)(b,t),p=(0,a.w)(e,0);p.setFullYear(g,0,v),p.setHours(0,0,0,0);let M=(0,r.k)(p,t);return f.getTime()>=y.getTime()?g+1:f.getTime()>=M.getTime()?g:g-1}},41876:(e,t,n)=>{n.d(t,{Cg:()=>i,F6:()=>d,Nw:()=>s,_m:()=>u,my:()=>a,s0:()=>o,w4:()=>r});let a=6048e5,r=864e5,i=6e4,o=36e5,u=1e3,s=43200,d=1440},43461:(e,t,n)=>{n.d(t,{G:()=>r});var a=n(35476);function r(e){let t=(0,a.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}},44008:(e,t,n)=>{function a(e){return function(t){let n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;let u=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(s)?function(e,t){for(let n=0;ne.test(u)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(s,e=>e.test(u));return n=e.valueCallback?e.valueCallback(d):d,{value:n=a.valueCallback?a.valueCallback(n):n,rest:t.slice(u.length)}}}n.d(t,{A:()=>a})},57434:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(19946).A)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},58698:(e,t,n)=>{n.d(t,{o:()=>a});function a(e){return(t,n)=>{let a;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):t;a=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;a=e.values[r]||e.values[t]}return a[e.argumentCallback?e.argumentCallback(t):t]}}},67356:(e,t,n)=>{n.d(t,{k:()=>a});function a(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}},69074:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(19946).A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},74783:(e,t,n)=>{n.d(t,{A:()=>a});let a=(0,n(19946).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},81189:(e,t,n)=>{n.d(t,{GP:()=>j});var a=n(1306),r=n(36199),i=n(41876),o=n(35476);function u(e){let t=(0,o.a)(e);return t.setHours(0,0,0,0),t}var s=n(43461),d=n(92084),l=n(31858),c=n(2147),m=n(30347),h=n(41376);function f(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let g={y(e,t){let n=e.getFullYear(),a=n>0?n:1-n;return f("yy"===t?a%100:a,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):f(n+1,2)},d:(e,t)=>f(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>f(e.getHours()%12||12,t.length),H:(e,t)=>f(e.getHours(),t.length),m:(e,t)=>f(e.getMinutes(),t.length),s:(e,t)=>f(e.getSeconds(),t.length),S(e,t){let n=t.length;return f(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},w={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},v={G:function(e,t,n){let a=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});default:return n.era(a,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return g.y(e,t)},Y:function(e,t,n,a){let r=(0,h.h)(e,a),i=r>0?r:1-r;return"YY"===t?f(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):f(i,t.length)},R:function(e,t){return f((0,c.p)(e),t.length)},u:function(e,t){return f(e.getFullYear(),t.length)},Q:function(e,t,n){let a=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return f(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,n){let a=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return f(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,n){let a=e.getMonth();switch(t){case"M":case"MM":return g.M(e,t);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,n){let a=e.getMonth();switch(t){case"L":return String(a+1);case"LL":return f(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,n,a){let r=(0,m.N)(e,a);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):f(r,t.length)},I:function(e,t,n){let a=(0,l.s)(e);return"Io"===t?n.ordinalNumber(a,{unit:"week"}):f(a,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):g.d(e,t)},D:function(e,t,n){let a=function(e){let t=(0,o.a)(e);return function(e,t){let n=u(e),a=u(t);return Math.round((n-(0,s.G)(n)-(a-(0,s.G)(a)))/i.w4)}(t,function(e){let t=(0,o.a)(e),n=(0,d.w)(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}(t))+1}(e);return"Do"===t?n.ordinalNumber(a,{unit:"dayOfYear"}):f(a,t.length)},E:function(e,t,n){let a=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,n,a){let r=e.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return f(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,a){let r=e.getDay(),i=(r-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return f(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){let a=e.getDay(),r=0===a?7:a;switch(t){case"i":return String(r);case"ii":return f(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,n){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,n){let a,r=e.getHours();switch(a=12===r?w.noon:0===r?w.midnight:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){let a,r=e.getHours();switch(a=r>=17?w.evening:r>=12?w.afternoon:r>=4?w.morning:w.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return g.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):g.H(e,t)},K:function(e,t,n){let a=e.getHours()%12;return"Ko"===t?n.ordinalNumber(a,{unit:"hour"}):f(a,t.length)},k:function(e,t,n){let a=e.getHours();return(0===a&&(a=24),"ko"===t)?n.ordinalNumber(a,{unit:"hour"}):f(a,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):g.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):g.s(e,t)},S:function(e,t){return g.S(e,t)},X:function(e,t,n){let a=e.getTimezoneOffset();if(0===a)return"Z";switch(t){case"X":return y(a);case"XXXX":case"XX":return p(a);default:return p(a,":")}},x:function(e,t,n){let a=e.getTimezoneOffset();switch(t){case"x":return y(a);case"xxxx":case"xx":return p(a);default:return p(a,":")}},O:function(e,t,n){let a=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+b(a,":");default:return"GMT"+p(a,":")}},z:function(e,t,n){let a=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+b(a,":");default:return"GMT"+p(a,":")}},t:function(e,t,n){return f(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return f(e.getTime(),t.length)}};function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),i=a%60;return 0===i?n+String(r):n+String(r)+t+f(i,2)}function y(e,t){return e%60==0?(e>0?"-":"+")+f(Math.abs(e)/60,2):p(e,t)}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Math.abs(e);return(e>0?"-":"+")+f(Math.trunc(n/60),2)+t+f(n%60,2)}var M=n(10317),k=n(34254);let P=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,x=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,W=/^'([^]*?)'?$/,S=/''/g,C=/[a-zA-Z]/;function j(e,t,n){var i,u,s,d,l,c,m,h,f,g,w,b,y,p,j,T,D,A;let q=(0,r.q)(),H=null!=(g=null!=(f=null==n?void 0:n.locale)?f:q.locale)?g:a.c,Y=null!=(p=null!=(y=null!=(b=null!=(w=null==n?void 0:n.firstWeekContainsDate)?w:null==n||null==(u=n.locale)||null==(i=u.options)?void 0:i.firstWeekContainsDate)?b:q.firstWeekContainsDate)?y:null==(d=q.locale)||null==(s=d.options)?void 0:s.firstWeekContainsDate)?p:1,N=null!=(A=null!=(D=null!=(T=null!=(j=null==n?void 0:n.weekStartsOn)?j:null==n||null==(c=n.locale)||null==(l=c.options)?void 0:l.weekStartsOn)?T:q.weekStartsOn)?D:null==(h=q.locale)||null==(m=h.options)?void 0:m.weekStartsOn)?A:0,O=(0,o.a)(e);if(!((O instanceof Date||"object"==typeof O&&"[object Date]"===Object.prototype.toString.call(O)||"number"==typeof O)&&!isNaN(Number((0,o.a)(O)))))throw RangeError("Invalid time value");let E=t.match(x).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,M.m[t])(e,H.formatLong):e}).join("").match(P).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(W);return t?t[1].replace(S,"'"):e}(e)};if(v[t])return{isToken:!0,value:e};if(t.match(C))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});H.localize.preprocessor&&(E=H.localize.preprocessor(O,E));let z={firstWeekContainsDate:Y,weekStartsOn:N,locale:H};return E.map(a=>{if(!a.isToken)return a.value;let r=a.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&(0,k.xM)(r)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&(0,k.ef)(r))&&(0,k.Ss)(r,t,String(e)),(0,v[r[0]])(O,r,H.localize,z)}).join("")}},92084:(e,t,n)=>{function a(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}n.d(t,{w:()=>a})}}]); \ No newline at end of file diff --git a/.next/static/chunks/13633bf0-86fba702540dbe9e.js b/.next/static/chunks/13633bf0-86fba702540dbe9e.js new file mode 100644 index 00000000..782c8b92 --- /dev/null +++ b/.next/static/chunks/13633bf0-86fba702540dbe9e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5579],{54239:(e,t,r)=>{r.d(t,{Ay:()=>tR,E:()=>eB});var n,a,o,i=r(52596),s=r(12115),l=r(98994),p=r(23327),c=r(6942),u=r(35460),d=r(14385),h=r(16246),f=r(95413),m=r(11059),v=r(63287),y=r(38575),D=r(1599),g=r(20735),k=r(40679),w=r(20466),S=r(26565),b=r(83564),C=r(68514),_=r(67096),M=r(89225),E=r(5222),P=r(27528),N=r(33314),x=r(46822),T=r(56464),O=r(78196),Y=r(98210),R=r(96871),I=r(79884),L=r(85763),F=r(16294),A=r(8079),H=r(76433),W=r(22775),K=r(77667),B=r(75935),Q=r(74251),U=r(17546),V=r(86577),q=r(5461),j=r(34240),$=r(14226),z=r(17518),Z=r(65637),J=r(52666),G=r(90032),X=r(54954),ee=r(33492),et=r(63998),er=r(80190),en=r(83644),ea=r(76344),eo=r(99518),ei=r(7954),es=r(31382),el=r(76151),ep=r(70331),ec=r(78089),eu=r(36909),ed=r(79003),eh=r(59003),ef=r(76492),em=r(84945),ev=r(47650),ey=function(e,t){return(ey=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function eD(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ey(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var eg=function(){return(eg=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?r[0]:r;return e&&eP(e,a,n)||""}function ex(e,t){var r=t.hour,n=t.minute,a=t.second;return(0,f.a)((0,m.g)((0,v.g)(e,void 0===a?0:a),void 0===n?0:n),void 0===r?0:r)}function eT(e){return(0,D.o)(e)}function eO(e,t,r){var n=t?eU(t):eU(eQ());return(0,g.k)(e,{locale:n,weekStartsOn:r})}function eY(e){return(0,k.w)(e)}function eR(e){return(0,w.D)(e)}!function(e){e.ArrowUp="ArrowUp",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.PageUp="PageUp",e.PageDown="PageDown",e.Home="Home",e.End="End",e.Enter="Enter",e.Space=" ",e.Tab="Tab",e.Escape="Escape",e.Backspace="Backspace",e.X="x"}(a||(a={}));function eI(){return(0,D.o)(e_())}function eL(e,t){return e&&t?(0,M.s)(e,t):!e&&!t}function eF(e,t){return e&&t?(0,E.t)(e,t):!e&&!t}function eA(e,t){return e&&t?(0,P.d)(e,t):!e&&!t}function eH(e,t){return e&&t?(0,N.r)(e,t):!e&&!t}function eW(e,t){return e&&t?(0,x.n)(e,t):!e&&!t}function eK(e,t,r){var n,a=(0,D.o)(t),o=(0,b.D)(r);try{n=(0,T.v)(e,{start:a,end:o})}catch(e){n=!1}return n}function eB(e,t){var r=eC();r.__localeData__||(r.__localeData__={}),r.__localeData__[e]=t}function eQ(){return eC().__localeId__}function eU(e){if("string"!=typeof e)return e;var t=eC();return t.__localeData__?t.__localeData__[e]:void 0}function eV(e,t){return eP((0,O.Z)(e_(),e),"LLLL",t)}function eq(e,t){return eP((0,O.Z)(e_(),e),"LLL",t)}function ej(e,t){var r=void 0===t?{}:t,n=r.minDate,a=r.maxDate,o=r.excludeDates,i=r.excludeDateIntervals,s=r.includeDates,l=r.includeDateIntervals,p=r.filterDate;return e1(e,{minDate:n,maxDate:a})||o&&o.some(function(t){return t instanceof Date?eH(e,t):eH(e,t.date)})||i&&i.some(function(t){var r=t.start,n=t.end;return(0,T.v)(e,{start:r,end:n})})||s&&!s.some(function(t){return eH(e,t)})||l&&!l.some(function(t){var r=t.start,n=t.end;return(0,T.v)(e,{start:r,end:n})})||p&&!p(e_(e))||!1}function e$(e,t){var r=void 0===t?{}:t,n=r.excludeDates,a=r.excludeDateIntervals;return a&&a.length>0?a.some(function(t){var r=t.start,n=t.end;return(0,T.v)(e,{start:r,end:n})}):n&&n.some(function(t){var r;return t instanceof Date?eH(e,t):eH(e,null!=(r=t.date)?r:new Date)})||!1}function ez(e,t){var r=void 0===t?{}:t,n=r.minDate,a=r.maxDate,o=r.excludeDates,i=r.includeDates,s=r.filterDate;return e1(e,{minDate:n?(0,k.w)(n):void 0,maxDate:a?(0,_.p)(a):void 0})||(null==o?void 0:o.some(function(t){return eF(e,t instanceof Date?t:t.date)}))||i&&!i.some(function(t){return eF(e,t)})||s&&!s(e_(e))||!1}function eZ(e,t,r,n){var a=(0,R.C)(e),o=(0,I.t)(e),i=(0,R.C)(t),s=(0,I.t)(t),l=(0,R.C)(n);return a===i&&a===l?o<=r&&r<=s:a=r||la)}function eJ(e,t){var r=void 0===t?{}:t,n=r.minDate,a=r.maxDate,o=r.excludeDates,i=r.includeDates,s=r.filterDate;return e1(e,{minDate:n,maxDate:a})||(null==o?void 0:o.some(function(t){return eA(e,t instanceof Date?t:t.date)}))||i&&!i.some(function(t){return eA(e,t)})||s&&!s(e_(e))||!1}function eG(e,t,r){if(!t||!r||!(0,u.f)(t)||!(0,u.f)(r))return!1;var n=(0,R.C)(t),a=(0,R.C)(r);return n<=e&&a>=e}function eX(e,t){var r=void 0===t?{}:t,n=r.minDate,a=r.maxDate,o=r.excludeDates,i=r.includeDates,s=r.filterDate,l=new Date(e,0,1);return e1(l,{minDate:n?(0,w.D)(n):void 0,maxDate:a?(0,L.Q)(a):void 0})||(null==o?void 0:o.some(function(e){return eL(l,e instanceof Date?e:e.date)}))||i&&!i.some(function(e){return eL(l,e)})||s&&!s(e_(l))||!1}function e0(e,t,r,n){var a=(0,R.C)(e),o=(0,F.F)(e),i=(0,R.C)(t),s=(0,F.F)(t),l=(0,R.C)(n);return a===i&&a===l?o<=r&&r<=s:a=r||la)}function e1(e,t){var r,n=void 0===t?{}:t,a=n.minDate,o=n.maxDate;return null!=(r=a&&0>(0,A.m)(e,a)||o&&(0,A.m)(e,o)>0)&&r}function e2(e,t){return t.some(function(t){return(0,H.q)(t)===(0,H.q)(e)&&(0,W.O)(t)===(0,W.O)(e)&&(0,K.S)(t)===(0,K.S)(e)})}function e4(e,t){var r=void 0===t?{}:t,n=r.excludeTimes,a=r.includeTimes,o=r.filterTime;return n&&e2(e,n)||a&&!e2(e,a)||o&&!o(e)||!1}function e3(e,t){var r,n=t.minTime,a=t.maxTime;if(!n||!a)throw Error("Both minTime and maxTime props required");var o=e_();o=(0,f.a)(o,(0,H.q)(e)),o=(0,m.g)(o,(0,W.O)(e)),o=(0,v.g)(o,(0,K.S)(e));var i=e_();i=(0,f.a)(i,(0,H.q)(n)),i=(0,m.g)(i,(0,W.O)(n)),i=(0,v.g)(i,(0,K.S)(n));var s=e_();s=(0,f.a)(s,(0,H.q)(a)),s=(0,m.g)(s,(0,W.O)(a)),s=(0,v.g)(s,(0,K.S)(a));try{r=!(0,T.v)(o,{start:i,end:s})}catch(e){r=!1}return r}function e6(e,t){var r=void 0===t?{}:t,n=r.minDate,a=r.includeDates,o=(0,B.a)(e,1);return n&&(0,Q.U)(n,o)>0||a&&a.every(function(e){return(0,Q.U)(e,o)>0})||!1}function e5(e,t){var r=void 0===t?{}:t,n=r.maxDate,a=r.includeDates,o=(0,U.P)(e,1);return n&&(0,Q.U)(o,n)>0||a&&a.every(function(e){return(0,Q.U)(o,e)>0})||!1}function e8(e,t){var r=void 0===t?{}:t,n=r.minDate,a=r.includeDates,o=(0,$.d)(e,1);return n&&(0,z.n)(n,o)>0||a&&a.every(function(e){return(0,z.n)(e,o)>0})||!1}function e9(e,t){var r=void 0===t?{}:t,n=r.maxDate,a=r.includeDates,o=(0,Z.e)(e,1);return n&&(0,z.n)(o,n)>0||a&&a.every(function(e){return(0,z.n)(o,e)>0})||!1}function e7(e){var t=e.minDate,r=e.includeDates;if(r&&t){var n=r.filter(function(e){return(0,A.m)(e,t)>=0});return(0,J.j)(n)}return r?(0,J.j)(r):t}function te(e){var t=e.maxDate,r=e.includeDates;if(r&&t){var n=r.filter(function(e){return 0>=(0,A.m)(e,t)});return(0,G.T)(n)}return r?(0,G.T)(r):t}function tt(e,t){void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--highlighted");for(var r,n=new Map,a=0,o=e.length;a=6,d=!a&&!t.isWeekInMonth(l);if(u||d)if(t.props.peekNextMonth)i=!0;else break}return n},t.onMonthClick=function(e,r){var n=t.isMonthDisabledForLabelDate(r),a=n.isDisabled,o=n.labelDate;a||t.handleDayClick(eY(o),e)},t.onMonthMouseEnter=function(e){var r=t.isMonthDisabledForLabelDate(e),n=r.isDisabled,a=r.labelDate;n||t.handleDayMouseEnter(eY(a))},t.handleMonthNavigation=function(e,r){var n,a,o,i;null==(a=(n=t.props).setPreSelection)||a.call(n,r),null==(i=null==(o=t.MONTH_REFS[e])?void 0:o.current)||i.focus()},t.handleKeyboardNavigation=function(e,r,n){var o,i=t.props,s=i.selected,l=i.preSelection,p=i.setPreSelection,c=i.minDate,u=i.maxDate,d=i.showFourColumnMonthYearPicker,h=i.showTwoColumnMonthYearPicker;if(l){var f=tf(d,h),m=t.getVerticalOffset(f),v=null==(o=th[f])?void 0:o.grid,y=function(e,t,r){var n,o,i=t,s=r;switch(e){case a.ArrowRight:i=(0,U.P)(t,1),s=11===r?0:r+1;break;case a.ArrowLeft:i=(0,B.a)(t,1),s=0===r?11:r-1;break;case a.ArrowUp:i=(0,B.a)(t,m),s=(null==(n=null==v?void 0:v[0])?void 0:n.includes(r))?r+12-m:r-m;break;case a.ArrowDown:i=(0,U.P)(t,m),s=(null==(o=null==v?void 0:v[v.length-1])?void 0:o.includes(r))?r-12+m:r+m}return{newCalculatedDate:i,newCalculatedMonth:s}};if(r===a.Enter){t.isMonthDisabled(n)||(t.onMonthClick(e,n),null==p||p(s));return}var D=function(e,r,n){for(var o=e,i=!1,s=0,l=y(o,r,n),p=l.newCalculatedDate,d=l.newCalculatedMonth;!i;){if(s>=40){p=r,d=n;break}if(c&&pu){var h=y(o=a.ArrowLeft,p,d);p=h.newCalculatedDate,d=h.newCalculatedMonth}if(function(e,t){var r=void 0===t?{}:t,n=r.minDate,a=r.maxDate,o=r.excludeDates,i=r.includeDates;return e1(e,{minDate:n,maxDate:a})||o&&o.some(function(t){return eF(t instanceof Date?t:t.date,e)})||i&&!i.some(function(t){return eF(t,e)})||!1}(p,t.props)){var h=y(o,p,d);p=h.newCalculatedDate,d=h.newCalculatedMonth}else i=!0;s++}return{newCalculatedDate:p,newCalculatedMonth:d}}(r,l,n),g=D.newCalculatedDate,k=D.newCalculatedMonth;switch(r){case a.ArrowRight:case a.ArrowLeft:case a.ArrowUp:case a.ArrowDown:t.handleMonthNavigation(k,g)}}},t.getVerticalOffset=function(e){var t,r;return null!=(r=null==(t=th[e])?void 0:t.verticalNavigationOffset)?r:0},t.onMonthKeyDown=function(e,r){var n=t.props,o=n.disabledKeyboardNavigation,i=n.handleOnMonthKeyDown,s=e.key;s!==a.Tab&&e.preventDefault(),o||t.handleKeyboardNavigation(e,s,r),i&&i(e)},t.onQuarterClick=function(e,r){var n=(0,Y.z)(t.props.day,r);eJ(n,t.props)||t.handleDayClick((0,S.a)(n),e)},t.onQuarterMouseEnter=function(e){var r=(0,Y.z)(t.props.day,e);eJ(r,t.props)||t.handleDayMouseEnter((0,S.a)(r))},t.handleQuarterNavigation=function(e,r){var n,a,o,i;t.isDisabled(r)||t.isExcluded(r)||(null==(a=(n=t.props).setPreSelection)||a.call(n,r),null==(i=null==(o=t.QUARTER_REFS[e-1])?void 0:o.current)||i.focus())},t.onQuarterKeyDown=function(e,r){var n,o,i=e.key;if(!t.props.disabledKeyboardNavigation)switch(i){case a.Enter:t.onQuarterClick(e,r),null==(o=(n=t.props).setPreSelection)||o.call(n,t.props.selected);break;case a.ArrowRight:if(!t.props.preSelection)break;t.handleQuarterNavigation(4===r?1:r+1,(0,j.z)(t.props.preSelection,1));break;case a.ArrowLeft:if(!t.props.preSelection)break;t.handleQuarterNavigation(1===r?4:r-1,(0,V.c)(t.props.preSelection,1))}},t.isMonthDisabledForLabelDate=function(e){var r,n=t.props,a=n.day,o=n.minDate,i=n.maxDate,s=n.excludeDates,l=n.includeDates,p=(0,O.Z)(a,e);return{isDisabled:null!=(r=(o||i||s||l)&&ez(p,t.props))&&r,labelDate:p}},t.isMonthDisabled=function(e){return t.isMonthDisabledForLabelDate(e).isDisabled},t.getMonthClassNames=function(e){var r=t.props,n=r.day,a=r.startDate,o=r.endDate,s=r.preSelection,l=r.monthClassName,p=l?l((0,O.Z)(n,e)):void 0,c=t.getSelection();return(0,i.$)("react-datepicker__month-text","react-datepicker__month-".concat(e),p,{"react-datepicker__month-text--disabled":t.isMonthDisabled(e),"react-datepicker__month-text--selected":c?t.isSelectMonthInList(n,e,c):void 0,"react-datepicker__month-text--keyboard-selected":!t.props.disabledKeyboardNavigation&&s&&t.isSelectedMonth(n,e,s)&&!t.isMonthDisabled(e),"react-datepicker__month-text--in-selecting-range":t.isInSelectingRangeMonth(e),"react-datepicker__month-text--in-range":a&&o?eZ(a,o,e,n):void 0,"react-datepicker__month-text--range-start":t.isRangeStartMonth(e),"react-datepicker__month-text--range-end":t.isRangeEndMonth(e),"react-datepicker__month-text--selecting-range-start":t.isSelectingMonthRangeStart(e),"react-datepicker__month-text--selecting-range-end":t.isSelectingMonthRangeEnd(e),"react-datepicker__month-text--today":t.isCurrentMonth(n,e)})},t.getTabIndex=function(e){if(null==t.props.preSelection)return"-1";var r=(0,I.t)(t.props.preSelection),n=t.isMonthDisabledForLabelDate(r).isDisabled;return e!==r||n||t.props.disabledKeyboardNavigation?"-1":"0"},t.getQuarterTabIndex=function(e){if(null==t.props.preSelection)return"-1";var r=(0,F.F)(t.props.preSelection),n=eJ(t.props.day,t.props);return e!==r||n||t.props.disabledKeyboardNavigation?"-1":"0"},t.getAriaLabel=function(e){var r=t.props,n=r.chooseDayAriaLabelPrefix,a=r.disabledDayAriaLabelPrefix,o=r.day,i=r.locale,s=(0,O.Z)(o,e),l=t.isDisabled(s)||t.isExcluded(s)?void 0===a?"Not available":a:void 0===n?"Choose":n;return"".concat(l," ").concat(eP(s,"MMMM yyyy",i))},t.getQuarterClassNames=function(e){var r=t.props,n=r.day,a=r.startDate,o=r.endDate,s=r.selected,l=r.minDate,p=r.maxDate,c=r.excludeDates,u=r.includeDates,d=r.filterDate,h=r.preSelection,f=r.disabledKeyboardNavigation,m=(l||p||c||u||d)&&eJ((0,Y.z)(n,e),t.props);return(0,i.$)("react-datepicker__quarter-text","react-datepicker__quarter-".concat(e),{"react-datepicker__quarter-text--disabled":m,"react-datepicker__quarter-text--selected":s?t.isSelectedQuarter(n,e,s):void 0,"react-datepicker__quarter-text--keyboard-selected":!f&&h&&t.isSelectedQuarter(n,e,h)&&!m,"react-datepicker__quarter-text--in-selecting-range":t.isInSelectingRangeQuarter(e),"react-datepicker__quarter-text--in-range":a&&o?e0(a,o,e,n):void 0,"react-datepicker__quarter-text--range-start":t.isRangeStartQuarter(e),"react-datepicker__quarter-text--range-end":t.isRangeEndQuarter(e),"react-datepicker__quarter-text--today":t.isCurrentQuarter(n,e)})},t.getMonthContent=function(e){var r=t.props,n=r.showFullMonthYearPicker,a=r.renderMonthContent,o=r.locale,i=r.day,s=eq(e,o),l=eV(e,o);return a?a(e,s,l,i):n?l:s},t.getQuarterContent=function(e){var r,n=t.props,a=n.renderQuarterContent,o=n.locale,i=eP((0,Y.z)(e_(),e),"QQQ",o);return null!=(r=null==a?void 0:a(e,i))?r:i},t.renderMonths=function(){var e,r=t.props,n=r.showTwoColumnMonthYearPicker,o=r.showFourColumnMonthYearPicker,i=r.day,l=r.selected,p=null==(e=th[tf(o,n)])?void 0:e.grid;return null==p?void 0:p.map(function(e,r){return s.createElement("div",{className:"react-datepicker__month-wrapper",key:r},e.map(function(e,r){return s.createElement("div",{ref:t.MONTH_REFS[e],key:r,onClick:function(r){t.onMonthClick(r,e)},onKeyDown:function(r){ts(r)&&(r.preventDefault(),r.key=a.Enter),t.onMonthKeyDown(r,e)},onMouseEnter:t.props.usePointerEvent?void 0:function(){return t.onMonthMouseEnter(e)},onPointerEnter:t.props.usePointerEvent?function(){return t.onMonthMouseEnter(e)}:void 0,tabIndex:Number(t.getTabIndex(e)),className:t.getMonthClassNames(e),"aria-disabled":t.isMonthDisabled(e),role:"option","aria-label":t.getAriaLabel(e),"aria-current":t.isCurrentMonth(i,e)?"date":void 0,"aria-selected":l?t.isSelectedMonth(i,e,l):void 0},t.getMonthContent(e))}))})},t.renderQuarters=function(){var e=t.props,r=e.day,n=e.selected;return s.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map(function(e,a){return s.createElement("div",{key:a,ref:t.QUARTER_REFS[a],role:"option",onClick:function(r){t.onQuarterClick(r,e)},onKeyDown:function(r){t.onQuarterKeyDown(r,e)},onMouseEnter:t.props.usePointerEvent?void 0:function(){return t.onQuarterMouseEnter(e)},onPointerEnter:t.props.usePointerEvent?function(){return t.onQuarterMouseEnter(e)}:void 0,className:t.getQuarterClassNames(e),"aria-selected":n?t.isSelectedQuarter(r,e,n):void 0,tabIndex:Number(t.getQuarterTabIndex(e)),"aria-current":t.isCurrentQuarter(r,e)?"date":void 0},t.getQuarterContent(e))}))},t.getClassNames=function(){var e=t.props,r=e.selectingDate,n=e.selectsStart,a=e.selectsEnd,o=e.showMonthYearPicker,s=e.showQuarterYearPicker,l=e.showWeekPicker;return(0,i.$)("react-datepicker__month",{"react-datepicker__month--selecting-range":r&&(n||a)},{"react-datepicker__monthPicker":o},{"react-datepicker__quarterPicker":s},{"react-datepicker__weekPicker":l})},t}return eD(t,e),t.prototype.getSelection=function(){var e=this.props,t=e.selected,r=e.selectedDates;return e.selectsMultiple?r:t?[t]:void 0},t.prototype.render=function(){var e=this.props,t=e.showMonthYearPicker,r=e.showQuarterYearPicker,n=e.day,a=e.ariaLabelPrefix,o=void 0===a?"Month ":a,i=o?o.trim()+" ":"";return s.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(i).concat(eP(n,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():r?this.renderQuarters():this.renderWeeks())},t}(s.Component),tv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSelectedMonth=function(e){return t.props.month===e},t.renderOptions=function(){return t.props.monthNames.map(function(e,r){return s.createElement("div",{className:t.isSelectedMonth(r)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:e,onClick:t.onChange.bind(t,r),"aria-selected":t.isSelectedMonth(r)?"true":void 0},t.isSelectedMonth(r)?s.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",e)})},t.onChange=function(e){return t.props.onChange(e)},t.handleClickOutside=function(){return t.props.onCancel()},t}return eD(t,e),t.prototype.render=function(){return s.createElement(eb,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},t}(s.Component),ty=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(e){return e.map(function(e,t){return s.createElement("option",{key:e,value:t},e)})},t.renderSelectMode=function(e){return s.createElement("select",{value:t.props.month,className:"react-datepicker__month-select",onChange:function(e){return t.onChange(parseInt(e.target.value))}},t.renderSelectOptions(e))},t.renderReadView=function(e,r){return s.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:t.toggleDropdown},s.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),s.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},r[t.props.month]))},t.renderDropdown=function(e){return s.createElement(tv,eg({key:"dropdown"},t.props,{monthNames:e,onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(e){var r=t.state.dropdownVisible,n=[t.renderReadView(!r,e)];return r&&n.unshift(t.renderDropdown(e)),n},t.onChange=function(e){t.toggleDropdown(),e!==t.props.month&&t.props.onChange(e)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return eD(t,e),t.prototype.render=function(){var e,t=this,r=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return eq(e,t.props.locale)}:function(e){return eV(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(r);break;case"select":e=this.renderSelectMode(r)}return s.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(s.Component),tD=function(e){function t(t){var r=e.call(this,t)||this;return r.renderOptions=function(){return r.state.monthYearsList.map(function(e){var t=(0,el.W)(e),n=eL(r.props.date,e)&&eF(r.props.date,e);return s.createElement("div",{className:n?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:t,onClick:r.onChange.bind(r,t),"aria-selected":n?"true":void 0},n?s.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",eP(e,r.props.dateFormat,r.props.locale))})},r.onChange=function(e){return r.props.onChange(e)},r.handleClickOutside=function(){r.props.onCancel()},r.state={monthYearsList:function(e,t){for(var r=[],n=eY(e),a=eY(t);!(0,en.d)(n,a);)r.push(e_(n)),n=(0,U.P)(n,1);return r}(r.props.minDate,r.props.maxDate)},r}return eD(t,e),t.prototype.render=function(){var e=(0,i.$)({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return s.createElement(eb,{className:e,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(s.Component),tg=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=eY(t.props.minDate),r=eY(t.props.maxDate),n=[];!(0,en.d)(e,r);){var a=(0,el.W)(e);n.push(s.createElement("option",{key:a,value:a},eP(e,t.props.dateFormat,t.props.locale))),e=(0,U.P)(e,1)}return n},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return s.createElement("select",{value:(0,el.W)(eY(t.props.date)),className:"react-datepicker__month-year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){var r=eP(t.props.date,t.props.dateFormat,t.props.locale);return s.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:t.toggleDropdown},s.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),s.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},r))},t.renderDropdown=function(){return s.createElement(tD,eg({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,r=[t.renderReadView(!e)];return e&&r.unshift(t.renderDropdown()),r},t.onChange=function(e){t.toggleDropdown();var r=e_(e);eL(t.props.date,r)&&eF(t.props.date,r)||t.props.onChange(r)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return eD(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return s.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(s.Component),tk=function(e){function t(){var r=null!==e&&e.apply(this,arguments)||this;return r.state={height:null},r.scrollToTheSelectedTime=function(){requestAnimationFrame(function(){var e,n,a;r.list&&(r.list.scrollTop=null!=(a=r.centerLi&&t.calcCenterPosition(r.props.monthRef?r.props.monthRef.clientHeight-(null!=(n=null==(e=r.header)?void 0:e.clientHeight)?n:0):r.list.clientHeight,r.centerLi))?a:0)})},r.handleClick=function(e){var t,n;(r.props.minTime||r.props.maxTime)&&e3(e,r.props)||(r.props.excludeTimes||r.props.includeTimes||r.props.filterTime)&&e4(e,r.props)||null==(n=(t=r.props).onChange)||n.call(t,e)},r.isSelectedTime=function(e){var t;return r.props.selected&&(t=r.props.selected,ta(t).getTime()===ta(e).getTime())},r.isDisabledTime=function(e){return(r.props.minTime||r.props.maxTime)&&e3(e,r.props)||(r.props.excludeTimes||r.props.includeTimes||r.props.filterTime)&&e4(e,r.props)},r.liClasses=function(e){var n,a=["react-datepicker__time-list-item",r.props.timeClassName?r.props.timeClassName(e):void 0];return r.isSelectedTime(e)&&a.push("react-datepicker__time-list-item--selected"),r.isDisabledTime(e)&&a.push("react-datepicker__time-list-item--disabled"),r.props.injectTimes&&(3600*(0,H.q)(e)+60*(0,W.O)(e)+(0,K.S)(e))%((null!=(n=r.props.intervals)?n:t.defaultProps.intervals)*60)!=0&&a.push("react-datepicker__time-list-item--injected"),a.join(" ")},r.handleOnKeyDown=function(e,t){var n,o;e.key===a.Space&&(e.preventDefault(),e.key=a.Enter),(e.key===a.ArrowUp||e.key===a.ArrowLeft)&&e.target instanceof HTMLElement&&e.target.previousSibling&&(e.preventDefault(),e.target.previousSibling instanceof HTMLElement&&e.target.previousSibling.focus()),(e.key===a.ArrowDown||e.key===a.ArrowRight)&&e.target instanceof HTMLElement&&e.target.nextSibling&&(e.preventDefault(),e.target.nextSibling instanceof HTMLElement&&e.target.nextSibling.focus()),e.key===a.Enter&&r.handleClick(t),null==(o=(n=r.props).handleOnKeyDown)||o.call(n,e)},r.renderTimes=function(){for(var e,n,a=[],o="string"==typeof r.props.format?r.props.format:"p",i=null!=(n=r.props.intervals)?n:t.defaultProps.intervals,l=r.props.selected||r.props.openToDate||e_(),p=eT(l),c=r.props.injectTimes&&r.props.injectTimes.sort(function(e,t){return e.getTime()-t.getTime()}),u=60*(e=new Date(l.getFullYear(),l.getMonth(),l.getDate()),Math.round((new Date(l.getFullYear(),l.getMonth(),l.getDate(),24)-e)/36e5))/i,h=0;h=p?r.updateFocusOnPaginate(Math.abs(p-(e-c))):null==(i=null==(o=r.YEAR_REFS[e-c])?void 0:o.current)||i.focus())}},r.isSameDay=function(e,t){return eH(e,t)},r.isCurrentYear=function(e){return e===(0,R.C)(e_())},r.isRangeStart=function(e){return r.props.startDate&&r.props.endDate&&eL((0,ep.i)(e_(),e),r.props.startDate)},r.isRangeEnd=function(e){return r.props.startDate&&r.props.endDate&&eL((0,ep.i)(e_(),e),r.props.endDate)},r.isInRange=function(e){return eG(e,r.props.startDate,r.props.endDate)},r.isInSelectingRange=function(e){var t=r.props,n=t.selectsStart,a=t.selectsEnd,o=t.selectsRange,i=t.startDate,s=t.endDate;return!!(n||a||o)&&!!r.selectingDate()&&(n&&s?eG(e,r.selectingDate(),s):(!!a&&!!i||!!o&&!!i&&!s)&&eG(e,i,r.selectingDate()))},r.isSelectingRangeStart=function(e){if(!r.isInSelectingRange(e))return!1;var t,n=r.props,a=n.startDate,o=n.selectsStart,i=(0,ep.i)(e_(),e);return o?eL(i,null!=(t=r.selectingDate())?t:null):eL(i,null!=a?a:null)},r.isSelectingRangeEnd=function(e){if(!r.isInSelectingRange(e))return!1;var t,n=r.props,a=n.endDate,o=n.selectsEnd,i=n.selectsRange,s=(0,ep.i)(e_(),e);return o||i?eL(s,null!=(t=r.selectingDate())?t:null):eL(s,null!=a?a:null)},r.isKeyboardSelected=function(e){if(void 0!==r.props.date&&null!=r.props.selected&&null!=r.props.preSelection){var t=r.props,n=t.minDate,a=t.maxDate,o=t.excludeDates,i=t.includeDates,s=t.filterDate,l=eR((0,ep.i)(r.props.date,e)),p=(n||a||o||i||s)&&eX(e,r.props);return!r.props.disabledKeyboardNavigation&&!r.props.inline&&!eH(l,eR(r.props.selected))&&eH(l,eR(r.props.preSelection))&&!p}},r.isSelectedYear=function(e){var t=r.props,n=t.selectsMultiple,a=t.selected,o=t.selectedDates;return n?null==o?void 0:o.some(function(t){return e===(0,R.C)(t)}):!a||e===(0,R.C)(a)},r.onYearClick=function(e,t){var n=r.props.date;void 0!==n&&r.handleYearClick(eR((0,ep.i)(n,t)),e)},r.onYearKeyDown=function(e,t){var n,o,i=e.key,s=r.props,l=s.date,p=s.yearItemNumber,c=s.handleOnKeyDown;if(i!==a.Tab&&e.preventDefault(),!r.props.disabledKeyboardNavigation)switch(i){case a.Enter:if(null==r.props.selected)break;r.onYearClick(e,t),null==(o=(n=r.props).setPreSelection)||o.call(n,r.props.selected);break;case a.ArrowRight:if(null==r.props.preSelection)break;r.handleYearNavigation(t+1,(0,Z.e)(r.props.preSelection,1));break;case a.ArrowLeft:if(null==r.props.preSelection)break;r.handleYearNavigation(t-1,(0,$.d)(r.props.preSelection,1));break;case a.ArrowUp:if(void 0===l||void 0===p||null==r.props.preSelection)break;var u=tn(l,p).startPeriod,d=3,h=t-3;if(h=u&&tm){var f=p%d;t<=m&&t>m-f?d=f:d+=f,h=t+d}r.handleYearNavigation(h,(0,Z.e)(r.props.preSelection,d))}c&&c(e)},r.getYearClassNames=function(e){var t=r.props,n=t.date,a=t.minDate,o=t.maxDate,s=t.excludeDates,l=t.includeDates,p=t.filterDate,c=t.yearClassName;return(0,i.$)("react-datepicker__year-text","react-datepicker__year-".concat(e),n?null==c?void 0:c((0,ep.i)(n,e)):void 0,{"react-datepicker__year-text--selected":r.isSelectedYear(e),"react-datepicker__year-text--disabled":(a||o||s||l||p)&&eX(e,r.props),"react-datepicker__year-text--keyboard-selected":r.isKeyboardSelected(e),"react-datepicker__year-text--range-start":r.isRangeStart(e),"react-datepicker__year-text--range-end":r.isRangeEnd(e),"react-datepicker__year-text--in-range":r.isInRange(e),"react-datepicker__year-text--in-selecting-range":r.isInSelectingRange(e),"react-datepicker__year-text--selecting-range-start":r.isSelectingRangeStart(e),"react-datepicker__year-text--selecting-range-end":r.isSelectingRangeEnd(e),"react-datepicker__year-text--today":r.isCurrentYear(e)})},r.getYearTabIndex=function(e){if(r.props.disabledKeyboardNavigation||null==r.props.preSelection)return"-1";var t=(0,R.C)(r.props.preSelection),n=eX(e,r.props);return e!==t||n?"-1":"0"},r.getYearContent=function(e){return r.props.renderYearContent?r.props.renderYearContent(e):e},r}return eD(t,e),t.prototype.render=function(){var e=this,t=[],r=this.props,n=r.date,o=r.yearItemNumber,i=r.onYearMouseEnter,l=r.onYearMouseLeave;if(void 0===n)return null;for(var p=tn(n,o),c=p.startPeriod,u=p.endPeriod,d=function(r){t.push(s.createElement("div",{ref:h.YEAR_REFS[r-c],onClick:function(t){e.onYearClick(t,r)},onKeyDown:function(t){ts(t)&&(t.preventDefault(),t.key=a.Enter),e.onYearKeyDown(t,r)},tabIndex:Number(h.getYearTabIndex(r)),className:h.getYearClassNames(r),onMouseEnter:h.props.usePointerEvent?void 0:function(e){return i(e,r)},onPointerEnter:h.props.usePointerEvent?function(e){return i(e,r)}:void 0,onMouseLeave:h.props.usePointerEvent?void 0:function(e){return l(e,r)},onPointerLeave:h.props.usePointerEvent?function(e){return l(e,r)}:void 0,key:r,"aria-current":h.isCurrentYear(r)?"date":void 0},h.getYearContent(r)))},h=this,f=c;f<=u;f++)d(f);return s.createElement("div",{className:"react-datepicker__year"},s.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))},t}(s.Component),tS=function(e){function t(t){var r=e.call(this,t)||this;r.renderOptions=function(){var e=r.props.year,t=r.state.yearsList.map(function(t){return s.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:r.onChange.bind(r,t),"aria-selected":e===t?"true":void 0},e===t?s.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)}),n=r.props.minDate?(0,R.C)(r.props.minDate):null,a=r.props.maxDate?(0,R.C)(r.props.maxDate):null;return a&&r.state.yearsList.find(function(e){return e===a})||t.unshift(s.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},s.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&r.state.yearsList.find(function(e){return e===n})||t.push(s.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},s.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t},r.onChange=function(e){r.props.onChange(e)},r.handleClickOutside=function(){r.props.onCancel()},r.shiftYears=function(e){var t=r.state.yearsList.map(function(t){return t+e});r.setState({yearsList:t})},r.incrementYears=function(){return r.shiftYears(1)},r.decrementYears=function(){return r.shiftYears(-1)};var n=t.yearDropdownItemNumber,a=t.scrollableYearDropdown;return r.state={yearsList:function(e,t,r,n){for(var a=[],o=0;o<2*t+1;o++){var i=e+t-o,s=!0;r&&(s=(0,R.C)(r)<=i),n&&s&&(s=(0,R.C)(n)>=i),s&&a.push(i)}return a}(r.props.year,n||(a?10:5),r.props.minDate,r.props.maxDate)},r.dropdownRef=(0,s.createRef)(),r}return eD(t,e),t.prototype.componentDidMount=function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,r=t?t.find(function(e){return e.ariaSelected}):null;e.scrollTop=r&&r instanceof HTMLElement?r.offsetTop+(r.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}},t.prototype.render=function(){var e=(0,i.$)({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return s.createElement(eb,{className:e,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},t}(s.Component),tb=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=t.props.minDate?(0,R.C)(t.props.minDate):1900,r=t.props.maxDate?(0,R.C)(t.props.maxDate):2100,n=[],a=e;a<=r;a++)n.push(s.createElement("option",{key:a,value:a},a));return n},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return s.createElement("select",{value:t.props.year,className:"react-datepicker__year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){return s.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(e){return t.toggleDropdown(e)}},s.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),s.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},t.props.year))},t.renderDropdown=function(){return s.createElement(tS,eg({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,r=[t.renderReadView(!e)];return e&&r.unshift(t.renderDropdown()),r},t.onChange=function(e){t.toggleDropdown(),e!==t.props.year&&t.props.onChange(e)},t.toggleDropdown=function(e){t.setState({dropdownVisible:!t.state.dropdownVisible},function(){t.props.adjustDateOnChange&&t.handleYearChange(t.props.date,e)})},t.handleYearChange=function(e,r){var n;null==(n=t.onSelect)||n.call(t,e,r),t.setOpen()},t.onSelect=function(e,r){var n,a;null==(a=(n=t.props).onSelect)||a.call(n,e,r)},t.setOpen=function(){var e,r;null==(r=(e=t.props).setOpen)||r.call(e,!0)},t}return eD(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return s.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(s.Component),tC=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],t_=function(e){var t=(e.className||"").split(/\s+/);return tC.some(function(e){return t.indexOf(e)>=0})},tM=function(e){function t(r){var n=e.call(this,r)||this;return n.monthContainer=void 0,n.handleClickOutside=function(e){n.props.onClickOutside(e)},n.setClickOutsideRef=function(){return n.containerRef.current},n.handleDropdownFocus=function(e){var t,r;t_(e.target)&&(null==(r=(t=n.props).onDropdownFocus)||r.call(t,e))},n.getDateInView=function(){var e=n.props,t=e.preSelection,r=e.selected,a=e.openToDate,o=e7(n.props),i=te(n.props),s=e_(),l=a||r||t;return l?l:o&&(0,d.Y)(s,o)?o:i&&(0,en.d)(s,i)?i:s},n.increaseMonth=function(){n.setState(function(e){var t=e.date;return{date:(0,U.P)(t,1)}},function(){return n.handleMonthChange(n.state.date)})},n.decreaseMonth=function(){n.setState(function(e){var t=e.date;return{date:(0,B.a)(t,1)}},function(){return n.handleMonthChange(n.state.date)})},n.handleDayClick=function(e,t,r){n.props.onSelect(e,t,r),n.props.setPreSelection&&n.props.setPreSelection(e)},n.handleDayMouseEnter=function(e){n.setState({selectingDate:e}),n.props.onDayMouseEnter&&n.props.onDayMouseEnter(e)},n.handleMonthMouseLeave=function(){n.setState({selectingDate:void 0}),n.props.onMonthMouseLeave&&n.props.onMonthMouseLeave()},n.handleYearMouseEnter=function(e,t){n.setState({selectingDate:(0,ep.i)(e_(),t)}),n.props.onYearMouseEnter&&n.props.onYearMouseEnter(e,t)},n.handleYearMouseLeave=function(e,t){n.props.onYearMouseLeave&&n.props.onYearMouseLeave(e,t)},n.handleYearChange=function(e){var t,r,a,o;null==(r=(t=n.props).onYearChange)||r.call(t,e),n.setState({isRenderAriaLiveMessage:!0}),n.props.adjustDateOnChange&&(n.props.onSelect(e),null==(o=(a=n.props).setOpen)||o.call(a,!0)),n.props.setPreSelection&&n.props.setPreSelection(e)},n.getEnabledPreSelectionDateForMonth=function(e){if(!ej(e,n.props))return e;for(var t=eY(e),r=(0,_.p)(e),a=(0,ec.c)(r,t),o=null,i=0;i<=a;i++){var s=(0,ei.f)(t,i);if(!ej(s,n.props)){o=s;break}}return o},n.handleMonthChange=function(e){var t,r,a,o=null!=(t=n.getEnabledPreSelectionDateForMonth(e))?t:e;n.handleCustomMonthChange(o),n.props.adjustDateOnChange&&(n.props.onSelect(o),null==(a=(r=n.props).setOpen)||a.call(r,!0)),n.props.setPreSelection&&n.props.setPreSelection(o)},n.handleCustomMonthChange=function(e){var t,r;null==(r=(t=n.props).onMonthChange)||r.call(t,e),n.setState({isRenderAriaLiveMessage:!0})},n.handleMonthYearChange=function(e){n.handleYearChange(e),n.handleMonthChange(e)},n.changeYear=function(e){n.setState(function(t){var r=t.date;return{date:(0,ep.i)(r,Number(e))}},function(){return n.handleYearChange(n.state.date)})},n.changeMonth=function(e){n.setState(function(t){var r=t.date;return{date:(0,O.Z)(r,Number(e))}},function(){return n.handleMonthChange(n.state.date)})},n.changeMonthYear=function(e){n.setState(function(t){var r=t.date;return{date:(0,ep.i)((0,O.Z)(r,(0,I.t)(e)),(0,R.C)(e))}},function(){return n.handleMonthYearChange(n.state.date)})},n.header=function(e){void 0===e&&(e=n.state.date);var t=eO(e,n.props.locale,n.props.calendarStartDay),r=[];return n.props.showWeekNumbers&&r.push(s.createElement("div",{key:"W",className:"react-datepicker__day-name"},n.props.weekLabel||"#")),r.concat([0,1,2,3,4,5,6].map(function(e){var r=(0,ei.f)(t,e),a=n.formatWeekday(r,n.props.locale),o=n.props.weekDayClassName?n.props.weekDayClassName(r):void 0;return s.createElement("div",{key:e,"aria-label":eP(r,"EEEE",n.props.locale),className:(0,i.$)("react-datepicker__day-name",o)},a)}))},n.formatWeekday=function(e,t){if(n.props.formatWeekDay)return(0,n.props.formatWeekDay)(eP(e,"EEEE",t));return n.props.useWeekdaysShort?eP(e,"EEE",t):eP(e,"EEEEEE",t)},n.decreaseYear=function(){n.setState(function(e){var r,a=e.date;return{date:(0,$.d)(a,n.props.showYearPicker?null!=(r=n.props.yearItemNumber)?r:t.defaultProps.yearItemNumber:1)}},function(){return n.handleYearChange(n.state.date)})},n.clearSelectingDate=function(){n.setState({selectingDate:void 0})},n.renderPreviousButton=function(){if(!n.props.renderCustomHeader){var e,r,a,o,i,l,p,c,u,d,h,f,m,v,y,D,g,k,S,b=null!=(D=n.props.monthsShown)?D:t.defaultProps.monthsShown,C=n.props.showPreviousMonths?b-1:0,_=null!=(g=n.props.monthSelectedIn)?g:C,M=(0,B.a)(n.state.date,_);switch(!0){case n.props.showMonthYearPicker:S=e8(n.state.date,n.props);break;case n.props.showYearPicker:e=n.state.date,o=(a=void 0===(r=n.props)?{}:r).minDate,l=void 0===(i=a.yearItemNumber)?12:i,p=tn(eR((0,$.d)(e,l)),l).endPeriod,S=(c=o&&(0,R.C)(o))&&c>p||!1;break;case n.props.showQuarterYearPicker:u=n.state.date,f=(h=void 0===(d=n.props)?{}:d).minDate,m=h.includeDates,v=(0,w.D)(u),y=(0,V.c)(v,1),S=f&&(0,q.w)(f,y)>0||m&&m.every(function(e){return(0,q.w)(e,y)>0})||!1;break;default:S=e6(M,n.props)}if(((null!=(k=n.props.forceShowMonthNavigation)?k:t.defaultProps.forceShowMonthNavigation)||n.props.showDisabledMonthNavigation||!S)&&!n.props.showTimeSelectOnly){var E=["react-datepicker__navigation","react-datepicker__navigation--previous"],P=n.decreaseMonth;(n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker)&&(P=n.decreaseYear),S&&n.props.showDisabledMonthNavigation&&(E.push("react-datepicker__navigation--previous--disabled"),P=void 0);var N=n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker,x=n.props,T=x.previousMonthButtonLabel,O=void 0===T?t.defaultProps.previousMonthButtonLabel:T,Y=x.previousYearButtonLabel,I=void 0===Y?t.defaultProps.previousYearButtonLabel:Y,L=n.props,F=L.previousMonthAriaLabel,A=void 0===F?"string"==typeof O?O:"Previous Month":F,H=L.previousYearAriaLabel,W=void 0===H?"string"==typeof I?I:"Previous Year":H;return s.createElement("button",{type:"button",className:E.join(" "),onClick:P,onKeyDown:n.props.handleOnKeyDown,"aria-label":N?W:A},s.createElement("span",{className:"react-datepicker__navigation-icon react-datepicker__navigation-icon--previous"},N?I:O))}}},n.increaseYear=function(){n.setState(function(e){var r,a=e.date;return{date:(0,Z.e)(a,n.props.showYearPicker?null!=(r=n.props.yearItemNumber)?r:t.defaultProps.yearItemNumber:1)}},function(){return n.handleYearChange(n.state.date)})},n.renderNextButton=function(){if(!n.props.renderCustomHeader){switch(!0){case n.props.showMonthYearPicker:g=e9(n.state.date,n.props);break;case n.props.showYearPicker:e=n.state.date,o=(a=void 0===(r=n.props)?{}:r).maxDate,l=void 0===(i=a.yearItemNumber)?12:i,p=tn((0,Z.e)(e,l),l).startPeriod,g=(c=o&&(0,R.C)(o))&&c0||m&&m.every(function(e){return(0,q.w)(y,e)>0})||!1;break;default:g=e5(n.state.date,n.props)}if(((null!=(D=n.props.forceShowMonthNavigation)?D:t.defaultProps.forceShowMonthNavigation)||n.props.showDisabledMonthNavigation||!g)&&!n.props.showTimeSelectOnly){var e,r,a,o,i,l,p,c,u,d,h,f,m,v,y,D,g,k=["react-datepicker__navigation","react-datepicker__navigation--next"];n.props.showTimeSelect&&k.push("react-datepicker__navigation--next--with-time"),n.props.todayButton&&k.push("react-datepicker__navigation--next--with-today-button");var w=n.increaseMonth;(n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker)&&(w=n.increaseYear),g&&n.props.showDisabledMonthNavigation&&(k.push("react-datepicker__navigation--next--disabled"),w=void 0);var S=n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker,b=n.props,C=b.nextMonthButtonLabel,_=void 0===C?t.defaultProps.nextMonthButtonLabel:C,M=b.nextYearButtonLabel,E=void 0===M?t.defaultProps.nextYearButtonLabel:M,P=n.props,N=P.nextMonthAriaLabel,x=void 0===N?"string"==typeof _?_:"Next Month":N,T=P.nextYearAriaLabel,O=void 0===T?"string"==typeof E?E:"Next Year":T;return s.createElement("button",{type:"button",className:k.join(" "),onClick:w,onKeyDown:n.props.handleOnKeyDown,"aria-label":S?O:x},s.createElement("span",{className:"react-datepicker__navigation-icon react-datepicker__navigation-icon--next"},S?E:_))}}},n.renderCurrentMonth=function(e){void 0===e&&(e=n.state.date);var t=["react-datepicker__current-month"];return n.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),n.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),n.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),s.createElement("h2",{className:t.join(" ")},eP(e,n.props.dateFormat,n.props.locale))},n.renderYearDropdown=function(e){if(void 0===e&&(e=!1),n.props.showYearDropdown&&!e)return s.createElement(tb,eg({},t.defaultProps,n.props,{date:n.state.date,onChange:n.changeYear,year:(0,R.C)(n.state.date)}))},n.renderMonthDropdown=function(e){if(void 0===e&&(e=!1),n.props.showMonthDropdown&&!e)return s.createElement(ty,eg({},t.defaultProps,n.props,{month:(0,I.t)(n.state.date),onChange:n.changeMonth}))},n.renderMonthYearDropdown=function(e){if(void 0===e&&(e=!1),n.props.showMonthYearDropdown&&!e)return s.createElement(tg,eg({},t.defaultProps,n.props,{date:n.state.date,onChange:n.changeMonthYear}))},n.handleTodayButtonClick=function(e){n.props.onSelect(eI(),e),n.props.setPreSelection&&n.props.setPreSelection(eI())},n.renderTodayButton=function(){if(n.props.todayButton&&!n.props.showTimeSelectOnly)return s.createElement("div",{className:"react-datepicker__today-button",onClick:n.handleTodayButtonClick},n.props.todayButton)},n.renderDefaultHeader=function(e){var t=e.monthDate,r=e.i;return s.createElement("div",{className:"react-datepicker__header ".concat(n.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},n.renderCurrentMonth(t),s.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(n.props.dropdownMode),onFocus:n.handleDropdownFocus},n.renderMonthDropdown(0!==r),n.renderMonthYearDropdown(0!==r),n.renderYearDropdown(0!==r)),s.createElement("div",{className:"react-datepicker__day-names"},n.header(t)))},n.renderCustomHeader=function(e){var t,r,a=e.monthDate,o=e.i;if(n.props.showTimeSelect&&!n.state.monthContainer||n.props.showTimeSelectOnly)return null;var i=e6(n.state.date,n.props),l=e5(n.state.date,n.props),p=e8(n.state.date,n.props),c=e9(n.state.date,n.props),u=!n.props.showMonthYearPicker&&!n.props.showQuarterYearPicker&&!n.props.showYearPicker;return s.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:n.props.onDropdownFocus},null==(r=(t=n.props).renderCustomHeader)?void 0:r.call(t,eg(eg({},n.state),{customHeaderCount:o,monthDate:a,changeMonth:n.changeMonth,changeYear:n.changeYear,decreaseMonth:n.decreaseMonth,increaseMonth:n.increaseMonth,decreaseYear:n.decreaseYear,increaseYear:n.increaseYear,prevMonthButtonDisabled:i,nextMonthButtonDisabled:l,prevYearButtonDisabled:p,nextYearButtonDisabled:c})),u&&s.createElement("div",{className:"react-datepicker__day-names"},n.header(a)))},n.renderYearHeader=function(e){var r=e.monthDate,a=n.props,o=a.showYearPicker,i=a.yearItemNumber,l=tn(r,void 0===i?t.defaultProps.yearItemNumber:i),p=l.startPeriod,c=l.endPeriod;return s.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},o?"".concat(p," - ").concat(c):(0,R.C)(r))},n.renderHeader=function(e){var t=e.monthDate,r=e.i,a={monthDate:t,i:void 0===r?0:r};switch(!0){case void 0!==n.props.renderCustomHeader:return n.renderCustomHeader(a);case n.props.showMonthYearPicker||n.props.showQuarterYearPicker||n.props.showYearPicker:return n.renderYearHeader(a);default:return n.renderDefaultHeader(a)}},n.renderMonths=function(){if(!n.props.showTimeSelectOnly&&!n.props.showYearPicker){for(var e,r,a=[],o=null!=(e=n.props.monthsShown)?e:t.defaultProps.monthsShown,i=n.props.showPreviousMonths?o-1:0,l=n.props.showMonthYearPicker||n.props.showQuarterYearPicker?(0,Z.e)(n.state.date,i):(0,B.a)(n.state.date,i),p=null!=(r=n.props.monthSelectedIn)?r:i,c=0;c0;a.push(s.createElement("div",{key:h,ref:function(e){n.monthContainer=null!=e?e:void 0},className:"react-datepicker__month-container"},n.renderHeader({monthDate:d,i:c}),s.createElement(tm,eg({},t.defaultProps,n.props,{containerRef:n.containerRef,ariaLabelPrefix:n.props.monthAriaLabelPrefix,day:d,onDayClick:n.handleDayClick,handleOnKeyDown:n.props.handleOnDayKeyDown,handleOnMonthKeyDown:n.props.handleOnKeyDown,onDayMouseEnter:n.handleDayMouseEnter,onMouseLeave:n.handleMonthMouseLeave,orderInDisplay:c,selectingDate:n.state.selectingDate,monthShowsDuplicateDaysEnd:f,monthShowsDuplicateDaysStart:m}))))}return a}},n.renderYears=function(){if(!n.props.showTimeSelectOnly&&n.props.showYearPicker)return s.createElement("div",{className:"react-datepicker__year--container"},n.renderHeader({monthDate:n.state.date}),s.createElement(tw,eg({},t.defaultProps,n.props,{selectingDate:n.state.selectingDate,date:n.state.date,onDayClick:n.handleDayClick,clearSelectingDate:n.clearSelectingDate,onYearMouseEnter:n.handleYearMouseEnter,onYearMouseLeave:n.handleYearMouseLeave})))},n.renderTimeSection=function(){if(n.props.showTimeSelect&&(n.state.monthContainer||n.props.showTimeSelectOnly))return s.createElement(tk,eg({},t.defaultProps,n.props,{onChange:n.props.onTimeChange,format:n.props.timeFormat,intervals:n.props.timeIntervals,monthRef:n.state.monthContainer}))},n.renderInputTimeSection=function(){var e=n.props.selected?new Date(n.props.selected):void 0,r=e&&eE(e)&&n.props.selected?"".concat(tr(e.getHours()),":").concat(tr(e.getMinutes())):"";if(n.props.showTimeInput)return s.createElement(tl,eg({},t.defaultProps,n.props,{date:e,timeString:r,onChange:n.props.onTimeChange}))},n.renderAriaLiveRegion=function(){var e,r,a=tn(n.state.date,null!=(e=n.props.yearItemNumber)?e:t.defaultProps.yearItemNumber),o=a.startPeriod,i=a.endPeriod;return r=n.props.showYearPicker?"".concat(o," - ").concat(i):n.props.showMonthYearPicker||n.props.showQuarterYearPicker?(0,R.C)(n.state.date):"".concat(eV((0,I.t)(n.state.date),n.props.locale)," ").concat((0,R.C)(n.state.date)),s.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},n.state.isRenderAriaLiveMessage&&r)},n.renderChildren=function(){if(n.props.children)return s.createElement("div",{className:"react-datepicker__children-container"},n.props.children)},n.containerRef=(0,s.createRef)(),n.state={date:n.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},n}return eD(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:12}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.props.showTimeSelect&&(this.assignMonthContainer=void this.setState({monthContainer:this.monthContainer}))},t.prototype.componentDidUpdate=function(e){var t=this;if(this.props.preSelection&&(!eH(this.props.preSelection,e.preSelection)||this.props.monthSelectedIn!==e.monthSelectedIn)){var r=!eF(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},function(){return r&&t.handleCustomMonthChange(t.state.date)})}else this.props.openToDate&&!eH(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate})},t.prototype.render=function(){var e=this.props.container||ew;return s.createElement(eb,{onClickOutside:this.handleClickOutside,style:{display:"contents"},ignoreClass:this.props.outsideClickIgnoreClass},s.createElement("div",{style:{display:"contents"},ref:this.containerRef},s.createElement(e,{className:(0,i.$)("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren())))},t}(s.Component),tE=function(e){var t=e.icon,r=e.className,n=void 0===r?"":r,a=e.onClick,o="react-datepicker__calendar-icon";return"string"==typeof t?s.createElement("i",{className:"".concat(o," ").concat(t," ").concat(n),"aria-hidden":"true",onClick:a}):s.isValidElement(t)?s.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(o," ").concat(n),onClick:function(e){"function"==typeof t.props.onClick&&t.props.onClick(e),"function"==typeof a&&a(e)}}):s.createElement("svg",{className:"".concat(o," ").concat(n),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:a},s.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},tP=function(e){function t(t){var r=e.call(this,t)||this;return r.portalRoot=null,r.el=document.createElement("div"),r}return eD(t,e),t.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},t.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},t.prototype.render=function(){return ev.createPortal(this.props.children,this.el)},t}(s.Component),tN=function(e){return e instanceof HTMLAnchorElement?-1!==e.tabIndex:!e.disabled&&-1!==e.tabIndex},tx=function(e){function t(t){var r=e.call(this,t)||this;return r.getTabChildren=function(){var e;return Array.prototype.slice.call(null==(e=r.tabLoopRef.current)?void 0:e.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(tN)},r.handleFocusStart=function(){var e=r.getTabChildren();e&&e.length>1&&e[e.length-1].focus()},r.handleFocusEnd=function(){var e=r.getTabChildren();e&&e.length>1&&e[0].focus()},r.tabLoopRef=(0,s.createRef)(),r}return eD(t,e),t.prototype.render=function(){var e;return(null!=(e=this.props.enableTabLoop)?e:t.defaultProps.enableTabLoop)?s.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},s.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,s.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},t.defaultProps={enableTabLoop:!0},t}(s.Component),tT=(n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return eD(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{hidePopper:!0}},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this.props,r=e.className,n=e.wrapperClassName,a=e.hidePopper,o=void 0===a?t.defaultProps.hidePopper:a,l=e.popperComponent,p=e.targetComponent,c=e.enableTabLoop,u=e.popperOnKeyDown,d=e.portalId,h=e.portalHost,f=e.popperProps,m=e.showArrow,v=void 0;if(!o){var y=(0,i.$)("react-datepicker-popper",r);v=s.createElement(tx,{enableTabLoop:c},s.createElement("div",{ref:f.refs.setFloating,style:f.floatingStyles,className:y,"data-placement":f.placement,onKeyDown:u},l,m&&s.createElement(eh.ie,{ref:f.arrowRef,context:f.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(v=(0,s.createElement)(this.props.popperContainer,{},v)),d&&!o&&(v=s.createElement(tP,{portalId:d,portalHost:h},v));var D=(0,i.$)("react-datepicker-wrapper",n);return s.createElement(s.Fragment,null,s.createElement("div",{ref:f.refs.setReference,className:D},p),v)},t}(s.Component),function(e){var t,r="boolean"!=typeof e.hidePopper||e.hidePopper,a=(0,s.useRef)(null),o=(0,eh.we)(eg({open:!r,whileElementsMounted:ef.ll,placement:e.popperPlacement,middleware:ek([(0,em.UU)({padding:15}),(0,em.cY)(10),(0,em.UE)({element:a})],null!=(t=e.popperModifiers)?t:[],!0)},e.popperProps)),i=eg(eg({},e),{hidePopper:r,popperProps:eg(eg({},o),{arrowRef:a})});return s.createElement(n,eg({},i))}),tO="react-datepicker-ignore-onclickoutside",tY="Date input not valid.",tR=function(e){function t(r){var n=e.call(this,r)||this;return n.calendar=null,n.input=null,n.getPreSelection=function(){return n.props.openToDate?n.props.openToDate:n.props.selectsEnd&&n.props.startDate?n.props.startDate:n.props.selectsStart&&n.props.endDate?n.props.endDate:e_()},n.modifyHolidays=function(){var e;return null==(e=n.props.holidays)?void 0:e.reduce(function(e,t){var r=new Date(t.date);return eE(r)?ek(ek([],e,!0),[eg(eg({},t),{date:r})],!1):e},[])},n.calcInitialState=function(){var e,t=n.getPreSelection(),r=e7(n.props),a=te(n.props),o=r&&(0,d.Y)(t,eT(r))?r:a&&(0,en.d)(t,(0,b.D)(a))?a:t;return{open:n.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:null!=(e=n.props.selectsRange?n.props.startDate:n.props.selected)?e:o,highlightDates:tt(n.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},n.resetHiddenStatus=function(){n.setState(eg(eg({},n.state),{wasHidden:!1}))},n.setHiddenStatus=function(){n.setState(eg(eg({},n.state),{wasHidden:!0}))},n.setHiddenStateOnVisibilityHidden=function(){"hidden"===document.visibilityState&&n.setHiddenStatus()},n.clearPreventFocusTimeout=function(){n.preventFocusTimeout&&clearTimeout(n.preventFocusTimeout)},n.setFocus=function(){var e,t;null==(t=null==(e=n.input)?void 0:e.focus)||t.call(e,{preventScroll:!0})},n.setBlur=function(){var e,t;null==(t=null==(e=n.input)?void 0:e.blur)||t.call(e),n.cancelFocusInput()},n.deferBlur=function(){requestAnimationFrame(function(){n.setBlur()})},n.setOpen=function(e,t){void 0===t&&(t=!1),n.setState({open:e,preSelection:e&&n.state.open?n.state.preSelection:n.calcInitialState().preSelection,lastPreSelectChange:tL},function(){e||n.setState(function(e){return{focused:!!t&&e.focused}},function(){t||n.deferBlur(),n.setState({inputValue:null})})})},n.inputOk=function(){return(0,X.$)(n.state.preSelection)},n.isCalendarOpen=function(){return void 0===n.props.open?n.state.open&&!n.props.disabled&&!n.props.readOnly:n.props.open},n.handleFocus=function(e){var t,r,a=n.state.wasHidden,o=!a||n.state.open;a&&n.resetHiddenStatus(),!n.state.preventFocus&&(null==(r=(t=n.props).onFocus)||r.call(t,e),!o||n.props.preventOpenOnFocus||n.props.readOnly||n.setOpen(!0)),n.setState({focused:!0})},n.sendFocusBackToInput=function(){n.preventFocusTimeout&&n.clearPreventFocusTimeout(),n.setState({preventFocus:!0},function(){n.preventFocusTimeout=setTimeout(function(){n.setFocus(),n.setState({preventFocus:!1})})})},n.cancelFocusInput=function(){clearTimeout(n.inputFocusTimeout),n.inputFocusTimeout=void 0},n.deferFocusInput=function(){n.cancelFocusInput(),n.inputFocusTimeout=setTimeout(function(){return n.setFocus()},1)},n.handleDropdownFocus=function(){n.cancelFocusInput()},n.handleBlur=function(e){var t,r;(!n.state.open||n.props.withPortal||n.props.showTimeInput)&&(null==(r=(t=n.props).onBlur)||r.call(t,e)),n.state.open&&!1===n.props.open&&n.setOpen(!1),n.setState({focused:!1})},n.handleCalendarClickOutside=function(e){var t,r;n.props.inline||n.setOpen(!1),null==(r=(t=n.props).onClickOutside)||r.call(t,e),n.props.withPortal&&e.preventDefault()},n.handleChange=function(){for(var e,r,a,o,i,s=[],l=0;l=40){s=t;break}c&&su&&(r=a.ArrowLeft,s=ej(u,n.props)?S(r,s):u),ej(s,n.props)?((r===a.PageUp||r===a.Home)&&(r=a.ArrowRight),(r===a.PageDown||r===a.End)&&(r=a.ArrowLeft),s=S(r,s)):o=!0,i++}return s}(g,w)}if(!b){null==(l=(s=n.props).onInputError)||l.call(s,{code:1,msg:tY});return}if(e.preventDefault(),n.setState({lastPreSelectChange:tL}),y&&n.setSelected(b),n.setPreSelection(b),D){var _=(0,I.t)(w),M=(0,I.t)(b),E=(0,R.C)(w),P=(0,R.C)(b);_!==M||E!==P?n.setState({shouldFocusDayInline:!0}):n.setState({shouldFocusDayInline:!1})}}},n.onPopperKeyDown=function(e){e.key===a.Escape&&(e.preventDefault(),n.sendFocusBackToInput())},n.onClearClick=function(e){e&&e.preventDefault&&e.preventDefault(),n.sendFocusBackToInput();var t=n.props,r=t.selectsRange,a=t.onChange;r?null==a||a([null,null],e):null==a||a(null,e),n.setState({inputValue:null})},n.clear=function(){n.onClearClick()},n.onScroll=function(e){"boolean"==typeof n.props.closeOnScroll&&n.props.closeOnScroll?(e.target===document||e.target===document.documentElement||e.target===document.body)&&n.setOpen(!1):"function"==typeof n.props.closeOnScroll&&n.props.closeOnScroll(e)&&n.setOpen(!1)},n.renderCalendar=function(){var e,r,a,o,i;return n.props.inline||n.isCalendarOpen()?s.createElement(tM,eg({showMonthYearDropdown:void 0,ref:function(e){n.calendar=e}},n.props,n.state,{setOpen:n.setOpen,dateFormat:null!=(e=n.props.dateFormatCalendar)?e:t.defaultProps.dateFormatCalendar,onSelect:n.handleSelect,onClickOutside:n.handleCalendarClickOutside,holidays:(void 0===(a=n.modifyHolidays())&&(a=[]),void 0===o&&(o="react-datepicker__day--holidays"),i=new Map,a.forEach(function(e){var t,r,n=e.date,a=e.holidayName;if((0,X.$)(n)){var s=eP(n,"MM.dd.yyyy"),l=i.get(s)||{className:"",holidayNames:[]};if(!("className"in l&&l.className===o&&(t=l.holidayNames,r=[a],t.length===r.length&&t.every(function(e,t){return e===r[t]})))){l.className=o;var p=l.holidayNames;l.holidayNames=p?ek(ek([],p,!0),[a],!1):[a],i.set(s,l)}}}),i),outsideClickIgnoreClass:tO,onDropdownFocus:n.handleDropdownFocus,onTimeChange:n.handleTimeChange,className:n.props.calendarClassName,container:n.props.calendarContainer,handleOnKeyDown:n.props.onKeyDown,handleOnDayKeyDown:n.onDayKeyDown,setPreSelection:n.setPreSelection,dropdownMode:null!=(r=n.props.dropdownMode)?r:t.defaultProps.dropdownMode}),n.props.children):null},n.renderAriaLiveRegion=function(){var e,r=n.props,a=r.dateFormat,o=void 0===a?t.defaultProps.dateFormat:a,i=r.locale,l=n.props.showTimeInput||n.props.showTimeSelect?"PPPPp":"PPPP";return e=n.props.selectsRange?"Selected start date: ".concat(eN(n.props.startDate,{dateFormat:l,locale:i}),". ").concat(n.props.endDate?"End date: "+eN(n.props.endDate,{dateFormat:l,locale:i}):""):n.props.showTimeSelectOnly?"Selected time: ".concat(eN(n.props.selected,{dateFormat:o,locale:i})):n.props.showYearPicker?"Selected year: ".concat(eN(n.props.selected,{dateFormat:"yyyy",locale:i})):n.props.showMonthYearPicker?"Selected month: ".concat(eN(n.props.selected,{dateFormat:"MMMM yyyy",locale:i})):n.props.showQuarterYearPicker?"Selected quarter: ".concat(eN(n.props.selected,{dateFormat:"yyyy, QQQ",locale:i})):"Selected date: ".concat(eN(n.props.selected,{dateFormat:l,locale:i})),s.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},e)},n.renderDateInput=function(){var e,r,a,o=(0,i.$)(n.props.className,((e={})[tO]=n.state.open,e)),l=n.props.customInput||s.createElement("input",{type:"text"}),p=n.props.customInputRef||"ref",c=n.props,u=c.dateFormat,d=void 0===u?t.defaultProps.dateFormat:u,h=c.locale,f="string"==typeof n.props.value?n.props.value:"string"==typeof n.state.inputValue?n.state.inputValue:n.props.selectsRange?function(e,t,r){if(!e)return"";var n=eN(e,r),a=t?eN(t,r):"";return"".concat(n," - ").concat(a)}(n.props.startDate,n.props.endDate,{dateFormat:d,locale:h}):n.props.selectsMultiple?function(e,t){if(!(null==e?void 0:e.length))return"";var r=e[0]?eN(e[0],t):"";if(1===e.length)return r;if(2===e.length&&e[1]){var n=eN(e[1],t);return"".concat(r,", ").concat(n)}var a=e.length-1;return"".concat(r," (+").concat(a,")")}(null!=(a=n.props.selectedDates)?a:[],{dateFormat:d,locale:h}):eN(n.props.selected,{dateFormat:d,locale:h});return(0,s.cloneElement)(l,((r={})[p]=function(e){n.input=e},r.value=f,r.onBlur=n.handleBlur,r.onChange=n.handleChange,r.onClick=n.onInputClick,r.onFocus=n.handleFocus,r.onKeyDown=n.onInputKeyDown,r.id=n.props.id,r.name=n.props.name,r.form=n.props.form,r.autoFocus=n.props.autoFocus,r.placeholder=n.props.placeholderText,r.disabled=n.props.disabled,r.autoComplete=n.props.autoComplete,r.className=(0,i.$)(l.props.className,o),r.title=n.props.title,r.readOnly=n.props.readOnly,r.required=n.props.required,r.tabIndex=n.props.tabIndex,r["aria-describedby"]=n.props.ariaDescribedBy,r["aria-invalid"]=n.props.ariaInvalid,r["aria-labelledby"]=n.props.ariaLabelledBy,r["aria-required"]=n.props.ariaRequired,r))},n.renderClearButton=function(){var e=n.props,t=e.isClearable,r=e.disabled,a=e.selected,o=e.startDate,l=e.endDate,p=e.clearButtonTitle,c=e.clearButtonClassName,u=e.ariaLabelClose,d=e.selectedDates;return t&&(null!=a||null!=o||null!=l||(null==d?void 0:d.length))?s.createElement("button",{type:"button",className:(0,i.$)("react-datepicker__close-icon",void 0===c?"":c,{"react-datepicker__close-icon--disabled":r}),disabled:r,"aria-label":void 0===u?"Close":u,onClick:n.onClearClick,title:p,tabIndex:-1}):null},n.state=n.calcInitialState(),n.preventFocusTimeout=void 0,n}return eD(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:12,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.componentDidUpdate=function(e,t){var r,n,a,o,i,s;e.inline&&(i=e.selected,s=this.props.selected,i&&s?(0,I.t)(i)!==(0,I.t)(s)||(0,R.C)(i)!==(0,R.C)(s):i!==s)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:tt(this.props.highlightDates)}),t.focused||eW(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&(null==(n=(r=this.props).onCalendarOpen)||n.call(r)),!0===t.open&&!1===this.state.open&&(null==(o=(a=this.props).onCalendarClose)||o.call(a)))},t.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},t.prototype.renderInputContainer=function(){var e=this.props,t=e.showIcon,r=e.icon,n=e.calendarIconClassname,a=e.calendarIconClassName,o=e.toggleCalendarOnIconClick,l=this.state.open;return n&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),s.createElement("div",{className:"react-datepicker__input-container".concat(t?" react-datepicker__view-calendar-icon":"")},t&&s.createElement(tE,eg({icon:r,className:(0,i.$)(a,!a&&n,l&&"react-datepicker-ignore-onclickoutside")},o?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},t.prototype.render=function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?s.createElement(tx,{enableTabLoop:this.props.enableTabLoop},s.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=s.createElement(tP,eg({portalId:this.props.portalId},this.props),t)),s.createElement("div",null,this.renderInputContainer(),t)}return s.createElement(tT,eg({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:e,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},t}(s.Component),tI="input",tL="navigate"}}]); \ No newline at end of file diff --git a/.next/static/chunks/1680-4938d96f733b6634.js b/.next/static/chunks/1680-4938d96f733b6634.js new file mode 100644 index 00000000..36cfa8a8 --- /dev/null +++ b/.next/static/chunks/1680-4938d96f733b6634.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1680],{4229:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},4516:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},13052:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},17580:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},19420:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])},19946:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(12115);let a=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var t=arguments.length,e=Array(t),r=0;r!!t&&""!==t.trim()&&r.indexOf(t)===e).join(" ").trim()};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,n.forwardRef)((t,e)=>{let{color:r="currentColor",size:a=24,strokeWidth:o=2,absoluteStrokeWidth:u,className:c="",children:d,iconNode:l,...h}=t;return(0,n.createElement)("svg",{ref:e,...s,width:a,height:a,stroke:r,strokeWidth:u?24*Number(o)/Number(a):o,className:i("lucide",c),...h},[...l.map(t=>{let[e,r]=t;return(0,n.createElement)(e,r)}),...Array.isArray(d)?d:[d]])}),u=(t,e)=>{let r=(0,n.forwardRef)((r,s)=>{let{className:u,...c}=r;return(0,n.createElement)(o,{ref:s,iconNode:e,className:i("lucide-".concat(a(t)),u),...c})});return r.displayName="".concat(t),r}},33960:t=>{var e="BEGIN:VCARD",r="END:VCARD",n=/[^\\];|^;/,a=/[^\\],|^,/;function i(t,e){var r=new RegExp(e),n=RegExp("\\\\"+e,"g");return t=(t=t.replace(n,"ΩΩΩ")).match(r)?(t=t.split(e)).map(function(t){return t.replace(/ΩΩΩ/g,e)}):t.replace(/ΩΩΩ/g,e)}var s=function(){function t(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return function(){return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}}(),o=["nickname","related","categories","pid"],u=["fn"];t.exports={parse:function(t){for(var s,o,u,c,d,l={},h=t.split(/\r\n|\r|\n/),w=h.length,p=0;p0)if("TYPE"===e.toUpperCase())i+=";"+c(e.toUpperCase())+"="+(void 0===t?"":t.replace(/\n/g,"\\n").replace(/;/g,"\\;"));else i+=";"+c(e.toUpperCase())+"="+c(t)})}),i+=":","string"==typeof t.value)i+=c(t.value);else{var s=-1!==o.indexOf(e)?",":";";i+=t.value.map(function(t){return c(t)}).join(s)}if(i.length>75){var d=i.substr(0,75),l=i.substr(75).match(/.{1,74}/g);a.push(d),l.forEach(function(t){a.push(" "+t)})}else a.push(i)}})}),a.push(r),a.join("\r\n")}}},47924:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},48136:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]])},51976:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]])},54416:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},56287:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("Pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]])},61982:(t,e,r)=>{"use strict";r.d(e,{qg:()=>tx});var n=r(92084),a=r(36199),i=r(1306),s=r(35476),o=r(10317),u=r(34254);class c{validate(t,e){return!0}constructor(){this.subPriority=0}}class d extends c{validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,r){return this.setValue(t,e,this.value,r)}constructor(t,e,r,n,a){super(),this.value=t,this.validateValue=e,this.setValue=r,this.priority=n,a&&(this.subPriority=a)}}class l extends c{set(t,e){return e.timestampIsSet?t:(0,n.w)(t,function(t,e){let r=e instanceof Date?(0,n.w)(e,0):new e(0);return r.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),r.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),r}(t,Date))}constructor(...t){super(...t),this.priority=10,this.subPriority=-1}}class h{run(t,e,r,n){let a=this.parse(t,e,r,n);return a?{setter:new d(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(t,e,r){return!0}}class w extends h{parse(t,e,r){switch(e){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}set(t,e,r){return e.era=r,t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=140,this.incompatibleTokens=["R","u","t","T"]}}var p=r(41876);let f={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},m={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function g(t,e){return t?{value:e(t.value),rest:t.rest}:t}function y(t,e){let r=e.match(t);return r?{value:parseInt(r[0],10),rest:e.slice(r[0].length)}:null}function x(t,e){let r=e.match(t);if(!r)return null;if("Z"===r[0])return{value:0,rest:e.slice(1)};let n="+"===r[1]?1:-1,a=r[2]?parseInt(r[2],10):0,i=r[3]?parseInt(r[3],10):0,s=r[5]?parseInt(r[5],10):0;return{value:n*(a*p.s0+i*p.Cg+s*p._m),rest:e.slice(r[0].length)}}function b(t){return y(f.anyDigitsSigned,t)}function v(t,e){switch(t){case 1:return y(f.singleDigit,e);case 2:return y(f.twoDigits,e);case 3:return y(f.threeDigits,e);case 4:return y(f.fourDigits,e);default:return y(RegExp("^\\d{1,"+t+"}"),e)}}function k(t,e){switch(t){case 1:return y(f.singleDigitSigned,e);case 2:return y(f.twoDigitsSigned,e);case 3:return y(f.threeDigitsSigned,e);case 4:return y(f.fourDigitsSigned,e);default:return y(RegExp("^-?\\d{1,"+t+"}"),e)}}function T(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function M(t,e){let r,n=e>0,a=n?e:1-e;if(a<=50)r=t||100;else{let e=a+50;r=t+100*Math.trunc(e/100)-100*(t>=e%100)}return n?r:1-r}function D(t){return t%400==0||t%4==0&&t%100!=0}class q extends h{parse(t,e,r){let n=t=>({year:t,isTwoDigitYear:"yy"===e});switch(e){case"y":return g(v(4,t),n);case"yo":return g(r.ordinalNumber(t,{unit:"year"}),n);default:return g(v(e.length,t),n)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,r){let n=t.getFullYear();if(r.isTwoDigitYear){let e=M(r.year,n);return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t}let a="era"in e&&1!==e.era?1-r.year:r.year;return t.setFullYear(a,0,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=130,this.incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"]}}var N=r(41376),E=r(34548);class H extends h{parse(t,e,r){let n=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return g(v(4,t),n);case"Yo":return g(r.ordinalNumber(t,{unit:"year"}),n);default:return g(v(e.length,t),n)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,r,n){let a=(0,N.h)(t,n);if(r.isTwoDigitYear){let e=M(r.year,a);return t.setFullYear(e,0,n.firstWeekContainsDate),t.setHours(0,0,0,0),(0,E.k)(t,n)}let i="era"in e&&1!==e.era?1-r.year:r.year;return t.setFullYear(i,0,n.firstWeekContainsDate),t.setHours(0,0,0,0),(0,E.k)(t,n)}constructor(...t){super(...t),this.priority=130,this.incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}}var A=r(25645);class S extends h{parse(t,e){return"R"===e?k(4,t):k(e.length,t)}set(t,e,r){let a=(0,n.w)(t,0);return a.setFullYear(r,0,4),a.setHours(0,0,0,0),(0,A.b)(a)}constructor(...t){super(...t),this.priority=130,this.incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}}class Y extends h{parse(t,e){return"u"===e?k(4,t):k(e.length,t)}set(t,e,r){return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=130,this.incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}}class O extends h{parse(t,e,r){switch(e){case"Q":case"QQ":return v(e.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=120,this.incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}}class L extends h{parse(t,e,r){switch(e){case"q":case"qq":return v(e.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=120,this.incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}}class P extends h{parse(t,e,r){let n=t=>t-1;switch(e){case"M":return g(y(f.month,t),n);case"MM":return g(v(2,t),n);case"Mo":return g(r.ordinalNumber(t,{unit:"month"}),n);case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"],this.priority=110}}class R extends h{parse(t,e,r){let n=t=>t-1;switch(e){case"L":return g(y(f.month,t),n);case"LL":return g(v(2,t),n);case"Lo":return g(r.ordinalNumber(t,{unit:"month"}),n);case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=110,this.incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}}var I=r(30347);class Q extends h{parse(t,e,r){switch(e){case"w":return y(f.week,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return v(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,r,n){return(0,E.k)(function(t,e,r){let n=(0,s.a)(t),a=(0,I.N)(n,r)-e;return n.setDate(n.getDate()-7*a),n}(t,r,n),n)}constructor(...t){super(...t),this.priority=100,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}}var C=r(31858);class B extends h{parse(t,e,r){switch(e){case"I":return y(f.week,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return v(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,r){return(0,A.b)(function(t,e){let r=(0,s.a)(t),n=(0,C.s)(r)-e;return r.setDate(r.getDate()-7*n),r}(t,r))}constructor(...t){super(...t),this.priority=100,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}}let G=[31,28,31,30,31,30,31,31,30,31,30,31],X=[31,29,31,30,31,30,31,31,30,31,30,31];class j extends h{parse(t,e,r){switch(e){case"d":return y(f.date,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return v(e.length,t)}}validate(t,e){let r=D(t.getFullYear()),n=t.getMonth();return r?e>=1&&e<=X[n]:e>=1&&e<=G[n]}set(t,e,r){return t.setDate(r),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=90,this.subPriority=1,this.incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}}class F extends h{parse(t,e,r){switch(e){case"D":case"DD":return y(f.dayOfYear,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return v(e.length,t)}}validate(t,e){return D(t.getFullYear())?e>=1&&e<=366:e>=1&&e<=365}set(t,e,r){return t.setMonth(0,r),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=90,this.subpriority=1,this.incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}}function W(t,e){let r=(0,s.a)(t);return isNaN(e)?(0,n.w)(t,NaN):(e&&r.setDate(r.getDate()+e),r)}function Z(t,e,r){var n,i,o,u,c,d,l,h;let w=(0,a.q)(),p=null!=(h=null!=(l=null!=(d=null!=(c=null==r?void 0:r.weekStartsOn)?c:null==r||null==(i=r.locale)||null==(n=i.options)?void 0:n.weekStartsOn)?d:w.weekStartsOn)?l:null==(u=w.locale)||null==(o=u.options)?void 0:o.weekStartsOn)?h:0,f=(0,s.a)(t),m=f.getDay(),g=7-p;return W(f,e<0||e>6?e-(m+g)%7:((e%7+7)%7+g)%7-(m+g)%7)}class z extends h{parse(t,e,r){switch(e){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,r,n){return(t=Z(t,r,n)).setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=90,this.incompatibleTokens=["D","i","e","c","t","T"]}}class U extends h{parse(t,e,r,n){let a=t=>{let e=7*Math.floor((t-1)/7);return(t+n.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return g(v(e.length,t),a);case"eo":return g(r.ordinalNumber(t,{unit:"day"}),a);case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,r,n){return(t=Z(t,r,n)).setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}}class V extends h{parse(t,e,r,n){let a=t=>{let e=7*Math.floor((t-1)/7);return(t+n.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return g(v(e.length,t),a);case"co":return g(r.ordinalNumber(t,{unit:"day"}),a);case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,r,n){return(t=Z(t,r,n)).setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}}class K extends h{parse(t,e,r){let n=t=>0===t?7:t;switch(e){case"i":case"ii":return v(e.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return g(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),n);case"iiiii":return g(r.day(t,{width:"narrow",context:"formatting"}),n);case"iiiiii":return g(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),n);default:return g(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),n)}}validate(t,e){return e>=1&&e<=7}set(t,e,r){return(t=function(t,e){let r,n=(0,s.a)(t),a=(0===(r=(0,s.a)(n).getDay())&&(r=7),r);return W(n,e-a)}(t,r)).setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=90,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}}class $ extends h{parse(t,e,r){switch(e){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,r){return t.setHours(T(r),0,0,0),t}constructor(...t){super(...t),this.priority=80,this.incompatibleTokens=["b","B","H","k","t","T"]}}class _ extends h{parse(t,e,r){switch(e){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,r){return t.setHours(T(r),0,0,0),t}constructor(...t){super(...t),this.priority=80,this.incompatibleTokens=["a","B","H","k","t","T"]}}class J extends h{parse(t,e,r){switch(e){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,r){return t.setHours(T(r),0,0,0),t}constructor(...t){super(...t),this.priority=80,this.incompatibleTokens=["a","b","t","T"]}}class tt extends h{parse(t,e,r){switch(e){case"h":return y(f.hour12h,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return v(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,r){let n=t.getHours()>=12;return n&&r<12?t.setHours(r+12,0,0,0):n||12!==r?t.setHours(r,0,0,0):t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=70,this.incompatibleTokens=["H","K","k","t","T"]}}class te extends h{parse(t,e,r){switch(e){case"H":return y(f.hour23h,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return v(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,r){return t.setHours(r,0,0,0),t}constructor(...t){super(...t),this.priority=70,this.incompatibleTokens=["a","b","h","K","k","t","T"]}}class tr extends h{parse(t,e,r){switch(e){case"K":return y(f.hour11h,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return v(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,r){return t.getHours()>=12&&r<12?t.setHours(r+12,0,0,0):t.setHours(r,0,0,0),t}constructor(...t){super(...t),this.priority=70,this.incompatibleTokens=["h","H","k","t","T"]}}class tn extends h{parse(t,e,r){switch(e){case"k":return y(f.hour24h,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return v(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,r){return t.setHours(r<=24?r%24:r,0,0,0),t}constructor(...t){super(...t),this.priority=70,this.incompatibleTokens=["a","b","h","H","K","t","T"]}}class ta extends h{parse(t,e,r){switch(e){case"m":return y(f.minute,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return v(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,r){return t.setMinutes(r,0,0),t}constructor(...t){super(...t),this.priority=60,this.incompatibleTokens=["t","T"]}}class ti extends h{parse(t,e,r){switch(e){case"s":return y(f.second,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return v(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,r){return t.setSeconds(r,0),t}constructor(...t){super(...t),this.priority=50,this.incompatibleTokens=["t","T"]}}class ts extends h{parse(t,e){return g(v(e.length,t),t=>Math.trunc(t*Math.pow(10,-e.length+3)))}set(t,e,r){return t.setMilliseconds(r),t}constructor(...t){super(...t),this.priority=30,this.incompatibleTokens=["t","T"]}}var to=r(43461);class tu extends h{parse(t,e){switch(e){case"X":return x(m.basicOptionalMinutes,t);case"XX":return x(m.basic,t);case"XXXX":return x(m.basicOptionalSeconds,t);case"XXXXX":return x(m.extendedOptionalSeconds,t);default:return x(m.extended,t)}}set(t,e,r){return e.timestampIsSet?t:(0,n.w)(t,t.getTime()-(0,to.G)(t)-r)}constructor(...t){super(...t),this.priority=10,this.incompatibleTokens=["t","T","x"]}}class tc extends h{parse(t,e){switch(e){case"x":return x(m.basicOptionalMinutes,t);case"xx":return x(m.basic,t);case"xxxx":return x(m.basicOptionalSeconds,t);case"xxxxx":return x(m.extendedOptionalSeconds,t);default:return x(m.extended,t)}}set(t,e,r){return e.timestampIsSet?t:(0,n.w)(t,t.getTime()-(0,to.G)(t)-r)}constructor(...t){super(...t),this.priority=10,this.incompatibleTokens=["t","T","X"]}}class td extends h{parse(t){return b(t)}set(t,e,r){return[(0,n.w)(t,1e3*r),{timestampIsSet:!0}]}constructor(...t){super(...t),this.priority=40,this.incompatibleTokens="*"}}class tl extends h{parse(t){return b(t)}set(t,e,r){return[(0,n.w)(t,r),{timestampIsSet:!0}]}constructor(...t){super(...t),this.priority=20,this.incompatibleTokens="*"}}let th={G:new w,y:new q,Y:new H,R:new S,u:new Y,Q:new O,q:new L,M:new P,L:new R,w:new Q,I:new B,d:new j,D:new F,E:new z,e:new U,c:new V,i:new K,a:new $,b:new _,B:new J,h:new tt,H:new te,K:new tr,k:new tn,m:new ta,s:new ti,S:new ts,X:new tu,x:new tc,t:new td,T:new tl},tw=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,tp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,tf=/^'([^]*?)'?$/,tm=/''/g,tg=/\S/,ty=/[a-zA-Z]/;function tx(t,e,r,c){var d,h,w,p,f,m,g,y,x,b,v,k,T,M,D,q,N,E;let H=Object.assign({},(0,a.q)()),A=null!=(b=null!=(x=null==c?void 0:c.locale)?x:H.locale)?b:i.c,S=null!=(M=null!=(T=null!=(k=null!=(v=null==c?void 0:c.firstWeekContainsDate)?v:null==c||null==(h=c.locale)||null==(d=h.options)?void 0:d.firstWeekContainsDate)?k:H.firstWeekContainsDate)?T:null==(p=H.locale)||null==(w=p.options)?void 0:w.firstWeekContainsDate)?M:1,Y=null!=(E=null!=(N=null!=(q=null!=(D=null==c?void 0:c.weekStartsOn)?D:null==c||null==(m=c.locale)||null==(f=m.options)?void 0:f.weekStartsOn)?q:H.weekStartsOn)?N:null==(y=H.locale)||null==(g=y.options)?void 0:g.weekStartsOn)?E:0;if(""===e)if(""===t)return(0,s.a)(r);else return(0,n.w)(r,NaN);let O={firstWeekContainsDate:S,weekStartsOn:Y,locale:A},L=[new l],P=e.match(tp).map(t=>{let e=t[0];return e in o.m?(0,o.m[e])(t,A.formatLong):t}).join("").match(tw),R=[];for(let a of P){!(null==c?void 0:c.useAdditionalWeekYearTokens)&&(0,u.xM)(a)&&(0,u.Ss)(a,e,t),!(null==c?void 0:c.useAdditionalDayOfYearTokens)&&(0,u.ef)(a)&&(0,u.Ss)(a,e,t);let i=a[0],s=th[i];if(s){let{incompatibleTokens:e}=s;if(Array.isArray(e)){let t=R.find(t=>e.includes(t.token)||t.token===i);if(t)throw RangeError("The format string mustn't contain `".concat(t.fullToken,"` and `").concat(a,"` at the same time"))}else if("*"===s.incompatibleTokens&&R.length>0)throw RangeError("The format string mustn't contain `".concat(a,"` and any other token at the same time"));R.push({token:i,fullToken:a});let o=s.run(t,a,A.match,O);if(!o)return(0,n.w)(r,NaN);L.push(o.setter),t=o.rest}else{if(i.match(ty))throw RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");if("''"===a?a="'":"'"===i&&(a=a.match(tf)[1].replace(tm,"'")),0!==t.indexOf(a))return(0,n.w)(r,NaN);t=t.slice(a.length)}}if(t.length>0&&tg.test(t))return(0,n.w)(r,NaN);let I=L.map(t=>t.priority).sort((t,e)=>e-t).filter((t,e,r)=>r.indexOf(t)===e).map(t=>L.filter(e=>e.priority===t).sort((t,e)=>e.subPriority-t.subPriority)).map(t=>t[0]),Q=(0,s.a)(r);if(isNaN(Q.getTime()))return(0,n.w)(r,NaN);let C={};for(let t of I){if(!t.validate(Q,O))return(0,n.w)(r,NaN);let e=t.set(Q,C,O);Array.isArray(e)?(Q=e[0],Object.assign(C,e[1])):Q=e}return(0,n.w)(r,Q)}},71007:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},84616:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(19946).A)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])}}]); \ No newline at end of file diff --git a/.next/static/chunks/1684-5468497086ba1f2c.js b/.next/static/chunks/1684-5468497086ba1f2c.js new file mode 100644 index 00000000..c17f71f4 --- /dev/null +++ b/.next/static/chunks/1684-5468497086ba1f2c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1684],{214:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return u}});let n=r(66361),o=r(70427),u=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:u}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+u};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},886:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{PathParamsContext:function(){return l},PathnameContext:function(){return u},SearchParamsContext:function(){return o}});let n=r(12115),o=(0,n.createContext)(null),u=(0,n.createContext)(null),l=(0,n.createContext)(null)},3269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_HEADER:function(){return n},FLIGHT_HEADERS:function(){return f},NEXT_DID_POSTPONE_HEADER:function(){return h},NEXT_HMR_REFRESH_HASH_COOKIE:function(){return i},NEXT_HMR_REFRESH_HEADER:function(){return a},NEXT_IS_PRERENDER_HEADER:function(){return b},NEXT_REWRITTEN_PATH_HEADER:function(){return y},NEXT_REWRITTEN_QUERY_HEADER:function(){return _},NEXT_ROUTER_PREFETCH_HEADER:function(){return u},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return l},NEXT_ROUTER_STALE_TIME_HEADER:function(){return p},NEXT_ROUTER_STATE_TREE_HEADER:function(){return o},NEXT_RSC_UNION_QUERY:function(){return d},NEXT_URL:function(){return c},RSC_CONTENT_TYPE_HEADER:function(){return s},RSC_HEADER:function(){return r}});let r="RSC",n="Next-Action",o="Next-Router-State-Tree",u="Next-Router-Prefetch",l="Next-Router-Segment-Prefetch",a="Next-HMR-Refresh",i="__next_hmr_refresh_hash__",c="Next-Url",s="text/x-component",f=[r,o,u,a,l],d="_rsc",p="x-nextjs-stale-time",h="x-nextjs-postponed",y="x-nextjs-rewritten-path",_="x-nextjs-rewritten-query",b="x-nextjs-prerender";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleMutable",{enumerable:!0,get:function(){return u}});let n=r(68946);function o(e){return void 0!==e}function u(e,t){var r,u;let l=null==(r=t.shouldScroll)||r,a=e.nextUrl;if(o(t.patchedTree)){let r=(0,n.computeChangedPath)(e.tree,t.patchedTree);r?a=r:a||(a=e.canonicalUrl)}return{canonicalUrl:o(t.canonicalUrl)?t.canonicalUrl===e.canonicalUrl?e.canonicalUrl:t.canonicalUrl:e.canonicalUrl,pushRef:{pendingPush:o(t.pendingPush)?t.pendingPush:e.pushRef.pendingPush,mpaNavigation:o(t.mpaNavigation)?t.mpaNavigation:e.pushRef.mpaNavigation,preserveCustomHistoryState:o(t.preserveCustomHistoryState)?t.preserveCustomHistoryState:e.pushRef.preserveCustomHistoryState},focusAndScrollRef:{apply:!!l&&(!!o(null==t?void 0:t.scrollableSegments)||e.focusAndScrollRef.apply),onlyHashChange:t.onlyHashChange||!1,hashFragment:l?t.hashFragment&&""!==t.hashFragment?decodeURIComponent(t.hashFragment.slice(1)):e.focusAndScrollRef.hashFragment:null,segmentPaths:l?null!=(u=null==t?void 0:t.scrollableSegments)?u:e.focusAndScrollRef.segmentPaths:[]},cache:t.cache?t.cache:e.cache,prefetchCache:t.prefetchCache?t.prefetchCache:e.prefetchCache,tree:o(t.patchedTree)?t.patchedTree:e.tree,nextUrl:a}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4108:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasInterceptionRouteInCurrentTree",{enumerable:!0,get:function(){return function e(t){let[r,o]=t;if(Array.isArray(r)&&("di"===r[2]||"ci"===r[2])||"string"==typeof r&&(0,n.isInterceptionRouteAppPath)(r))return!0;if(o){for(let t in o)if(e(o[t]))return!0}return!1}}});let n=r(47755);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheBelowFlightSegmentPath",{enumerable:!0,get:function(){return function e(t,r,u){let l=u.length<=2,[a,i]=u,c=(0,n.createRouterCacheKey)(i),s=r.parallelRoutes.get(a);if(!s)return;let f=t.parallelRoutes.get(a);if(f&&f!==s||(f=new Map(s),t.parallelRoutes.set(a,f)),l)return void f.delete(c);let d=s.get(c),p=f.get(c);p&&d&&(p===d&&(p={lazyData:p.lazyData,rsc:p.rsc,prefetchRsc:p.prefetchRsc,head:p.head,prefetchHead:p.prefetchHead,parallelRoutes:new Map(p.parallelRoutes)},f.set(c,p)),e(p,d,(0,o.getNextFlightSegmentPath)(u)))}}});let n=r(85637),o=r(22561);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5072:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return r}});let r=/Mediapartners-Google|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti/i},5209:(e,t)=>{"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},5449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(13668);let n=r(20589);{let e=r.u;r.u=function(){for(var t=arguments.length,r=Array(t),o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(0,r(66905).patchConsoleError)(),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createMutableActionQueue:function(){return y},dispatchNavigateAction:function(){return g},dispatchTraverseAction:function(){return v},getCurrentAppRouterState:function(){return _},publicAppRouterInstance:function(){return m}});let n=r(69818),o=r(29726),u=r(12115),l=r(95122);r(86005);let a=r(81027),i=r(85929),c=r(56158),s=r(89154),f=r(24930);function d(e,t){null!==e.pending&&(e.pending=e.pending.next,null!==e.pending?p({actionQueue:e,action:e.pending,setState:t}):e.needsRefresh&&(e.needsRefresh=!1,e.dispatch({type:n.ACTION_REFRESH,origin:window.location.origin},t)))}async function p(e){let{actionQueue:t,action:r,setState:n}=e,o=t.state;t.pending=r;let u=r.payload,a=t.action(o,u);function i(e){r.discarded||(t.state=e,d(t,n),r.resolve(e))}(0,l.isThenable)(a)?a.then(i,e=>{d(t,n),r.reject(e)}):i(a)}let h=null;function y(e,t){let r={state:e,dispatch:(e,t)=>(function(e,t,r){let o={resolve:r,reject:()=>{}};if(t.type!==n.ACTION_RESTORE){let e=new Promise((e,t)=>{o={resolve:e,reject:t}});(0,u.startTransition)(()=>{r(e)})}let l={payload:t,next:null,resolve:o.resolve,reject:o.reject};null===e.pending?(e.last=l,p({actionQueue:e,action:l,setState:r})):t.type===n.ACTION_NAVIGATE||t.type===n.ACTION_RESTORE?(e.pending.discarded=!0,l.next=e.pending.next,e.pending.payload.type===n.ACTION_SERVER_ACTION&&(e.needsRefresh=!0),p({actionQueue:e,action:l,setState:r})):(null!==e.last&&(e.last.next=l),e.last=l)})(r,e,t),action:async(e,t)=>(0,o.reducer)(e,t),pending:null,last:null,onRouterTransitionStart:null!==t&&"function"==typeof t.onRouterTransitionStart?t.onRouterTransitionStart:null};if(null!==h)throw Object.defineProperty(Error("Internal Next.js Error: createMutableActionQueue was called more than once"),"__NEXT_ERROR_CODE",{value:"E624",enumerable:!1,configurable:!0});return h=r,r}function _(){return null!==h?h.state:null}function b(){return null!==h?h.onRouterTransitionStart:null}function g(e,t,r,o){let u=new URL((0,i.addBasePath)(e),location.href);(0,f.setLinkForCurrentNavigation)(o);let l=b();null!==l&&l(e,t),(0,a.dispatchAppRouterAction)({type:n.ACTION_NAVIGATE,url:u,isExternalUrl:(0,c.isExternalURL)(u),locationSearch:location.search,shouldScroll:r,navigateType:t,allowAliasing:!0})}function v(e,t){let r=b();null!==r&&r(e,"traverse"),(0,a.dispatchAppRouterAction)({type:n.ACTION_RESTORE,url:new URL(e),tree:t})}let m={back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:(e,t)=>{let r=function(){if(null===h)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});return h}(),o=(0,c.createPrefetchURL)(e);if(null!==o){var u;(0,s.prefetchReducer)(r.state,{type:n.ACTION_PREFETCH,url:o,kind:null!=(u=null==t?void 0:t.kind)?u:n.PrefetchKind.FULL})}},replace:(e,t)=>{(0,u.startTransition)(()=>{var r;g(e,"replace",null==(r=null==t?void 0:t.scroll)||r,null)})},push:(e,t)=>{(0,u.startTransition)(()=>{var r;g(e,"push",null==(r=null==t?void 0:t.scroll)||r,null)})},refresh:()=>{(0,u.startTransition)(()=>{(0,a.dispatchAppRouterAction)({type:n.ACTION_REFRESH,origin:window.location.origin})})},hmrRefresh:()=>{throw Object.defineProperty(Error("hmrRefresh can only be used in development mode. Please use refresh instead."),"__NEXT_ERROR_CODE",{value:"E485",enumerable:!1,configurable:!0})}};window.next&&(window.next.router=m),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6698:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"onRecoverableError",{enumerable:!0,get:function(){return i}});let n=r(88229),o=r(45262),u=r(21646),l=r(95128),a=n._(r(15807)),i=(e,t)=>{let r=(0,a.default)(e)&&"cause"in e?e.cause:e,n=(0,l.getReactStitchedError)(r);(0,o.isBailoutToCSRError)(r)||(0,u.reportGlobalError)(n)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6966:(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function o(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var a=u?Object.getOwnPropertyDescriptor(e,l):null;a&&(a.get||a.set)?Object.defineProperty(o,l,a):o[l]=e[l]}return o.default=e,r&&r.set(e,o),o}r.r(t),r.d(t,{_:()=>o})},7541:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{describeHasCheckingStringProperty:function(){return o},describeStringPropertyAccess:function(){return n},wellKnownProperties:function(){return u}});let r=/^[A-Za-z_$][A-Za-z0-9_$]*$/;function n(e,t){return r.test(t)?"`"+e+"."+t+"`":"`"+e+"["+JSON.stringify(t)+"]`"}function o(e,t){let r=JSON.stringify(t);return"`Reflect.has("+e+", "+r+")`, `"+r+" in "+e+"`, or similar"}let u=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toString","valueOf","toLocaleString","then","catch","finally","status","displayName","toJSON","$$typeof","__esModule"])},8291:(e,t)=>{"use strict";function r(e){return"("===e[0]&&e.endsWith(")")}function n(e){return e.startsWith("@")&&"@children"!==e}function o(e,t){if(e.includes(u)){let e=JSON.stringify(t);return"{}"!==e?u+"?"+e:u}return e}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DEFAULT_SEGMENT_KEY:function(){return l},PAGE_SEGMENT_KEY:function(){return u},addSearchParamsIfPageSegment:function(){return o},isGroupSegment:function(){return r},isParallelRouteSegment:function(){return n}});let u="__PAGE__",l="__DEFAULT__"},10774:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{HTML_LIMITED_BOT_UA_RE:function(){return n.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return u},getBotType:function(){return i},isBot:function(){return a}});let n=r(5072),o=/Googlebot|Google-PageRenderer|AdsBot-Google|googleweblight|Storebot-Google/i,u=n.HTML_LIMITED_BOT_UA_RE.source;function l(e){return n.HTML_LIMITED_BOT_UA_RE.test(e)}function a(e){return o.test(e)||l(e)}function i(e){return o.test(e)?"dom":l(e)?"html":void 0}},11139:(e,t)=>{"use strict";function r(e,t){return void 0===t&&(t=!0),e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12115:(e,t,r)=>{"use strict";e.exports=r(61426)},12669:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(59248)},12816:(e,t)=>{"use strict";function r(e){let t=parseInt(e.slice(0,2),16),r=t>>1&63,n=Array(6);for(let e=0;e<6;e++){let t=r>>5-e&1;n[e]=1===t}return{type:1==(t>>7&1)?"use-cache":"server-action",usedArgs:n,hasRestArgs:1==(1&t)}}function n(e,t){let r=Array(e.length);for(let n=0;n=6&&t.hasRestArgs)&&(r[n]=e[n]);return r}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{extractInfoFromServerReferenceId:function(){return r},omitUnusedArgs:function(){return n}})},13668:(e,t)=>{"use strict";function r(){return""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return r}})},13942:(e,t)=>{"use strict";function r(e){let t=5381;for(let r=0;r>>0}function n(e){return r(e).toString(36).slice(0,5)}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{djb2Hash:function(){return r},hexHash:function(){return n}})},13950:(e,t)=>{"use strict";function r(e,t){let r=e[e.length-1];r&&r.stack===t.stack||e.push(t)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"enqueueConsecutiveDedupedError",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15807:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getProperError:function(){return u}});let n=r(5209);function o(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function u(e){return o(e)?e:Object.defineProperty(Error((0,n.isPlainObject)(e)?function(e){let t=new WeakSet;return JSON.stringify(e,(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r})}(e):e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}},16420:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_:()=>o});var n=0;function o(e){return"__private_"+n+++"_"+e}},18999:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return i.ReadonlyURLSearchParams},RedirectType:function(){return i.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},forbidden:function(){return i.forbidden},notFound:function(){return i.notFound},permanentRedirect:function(){return i.permanentRedirect},redirect:function(){return i.redirect},unauthorized:function(){return i.unauthorized},unstable_rethrow:function(){return i.unstable_rethrow},useParams:function(){return h},usePathname:function(){return d},useRouter:function(){return p},useSearchParams:function(){return f},useSelectedLayoutSegment:function(){return _},useSelectedLayoutSegments:function(){return y},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let n=r(12115),o=r(95227),u=r(886),l=r(80708),a=r(8291),i=r(95618),c=r(87568),s=void 0;function f(){let e=(0,n.useContext)(u.SearchParamsContext);return(0,n.useMemo)(()=>e?new i.ReadonlyURLSearchParams(e):null,[e])}function d(){return null==s||s("usePathname()"),(0,n.useContext)(u.PathnameContext)}function p(){let e=(0,n.useContext)(o.AppRouterContext);if(null===e)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return e}function h(){return null==s||s("useParams()"),(0,n.useContext)(u.PathParamsContext)}function y(e){void 0===e&&(e="children"),null==s||s("useSelectedLayoutSegments()");let t=(0,n.useContext)(o.LayoutRouterContext);return t?function e(t,r,n,o){let u;if(void 0===n&&(n=!0),void 0===o&&(o=[]),n)u=t[1][r];else{var i;let e=t[1];u=null!=(i=e.children)?i:Object.values(e)[0]}if(!u)return o;let c=u[0],s=(0,l.getSegmentValue)(c);return!s||s.startsWith(a.PAGE_SEGMENT_KEY)?o:(o.push(s),e(u,r,!1,o))}(t.parentTree,e):null}function _(e){void 0===e&&(e="children"),null==s||s("useSelectedLayoutSegment()");let t=y(e);if(!t||0===t.length)return null;let r="children"===e?t[0]:t[t.length-1];return r===a.DEFAULT_SEGMENT_KEY?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19133:(e,t)=>{"use strict";function r(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},19880:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clearCacheNodeDataForSegmentPath",{enumerable:!0,get:function(){return function e(t,r,u){let l=u.length<=2,[a,i]=u,c=(0,o.createRouterCacheKey)(i),s=r.parallelRoutes.get(a),f=t.parallelRoutes.get(a);f&&f!==s||(f=new Map(s),t.parallelRoutes.set(a,f));let d=null==s?void 0:s.get(c),p=f.get(c);if(l){p&&p.lazyData&&p!==d||f.set(c,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null,navigatedAt:-1});return}if(!p||!d){p||f.set(c,{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null,navigatedAt:-1});return}return p===d&&(p={lazyData:p.lazyData,rsc:p.rsc,prefetchRsc:p.prefetchRsc,head:p.head,prefetchHead:p.prefetchHead,parallelRoutes:new Map(p.parallelRoutes),loading:p.loading},f.set(c,p)),e(p,d,(0,n.getNextFlightSegmentPath)(u))}}});let n=r(22561),o=r(85637);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},19921:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useUntrackedPathname",{enumerable:!0,get:function(){return u}});let n=r(12115),o=r(886);function u(){return(0,n.useContext)(o.PathnameContext)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},20589:(e,t)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return r}})},20686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RedirectBoundary:function(){return f},RedirectErrorBoundary:function(){return s}});let n=r(6966),o=r(95155),u=n._(r(12115)),l=r(18999),a=r(36825),i=r(62210);function c(e){let{redirect:t,reset:r,redirectType:n}=e,o=(0,l.useRouter)();return(0,u.useEffect)(()=>{u.default.startTransition(()=>{n===i.RedirectType.push?o.push(t,{}):o.replace(t,{}),r()})},[t,n,r,o]),null}class s extends u.default.Component{static getDerivedStateFromError(e){if((0,i.isRedirectError)(e))return{redirect:(0,a.getURLFromRedirectError)(e),redirectType:(0,a.getRedirectTypeFromError)(e)};throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,o.jsx)(c,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}constructor(e){super(e),this.state={redirect:null,redirectType:null}}}function f(e){let{children:t}=e,r=(0,l.useRouter)();return(0,o.jsx)(s,{router:r,children:t})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},21315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"assignLocation",{enumerable:!0,get:function(){return o}});let n=r(85929);function o(e,t){if(e.startsWith(".")){let r=t.origin+t.pathname;return new URL((r.endsWith("/")?r:r+"/")+e)}return new URL((0,n.addBasePath)(e),t.href)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},21646:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reportGlobalError",{enumerable:!0,get:function(){return r}});let r="function"==typeof reportError?reportError:e=>{globalThis.console.error(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},22561:(e,t)=>{"use strict";function r(e){var t;let[r,n,o,u]=e.slice(-4),l=e.slice(0,-4);return{pathToSegment:l.slice(0,-1),segmentPath:l,segment:null!=(t=l[l.length-1])?t:"",tree:r,seedData:n,head:o,isHeadPartial:u,isRootRender:4===e.length}}function n(e){return e.slice(2)}function o(e){return"string"==typeof e?e:e.map(r)}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getFlightDataPartsFromPath:function(){return r},getNextFlightSegmentPath:function(){return n},normalizeFlightData:function(){return o}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},22858:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return u}});let n=r(36494),o=r(62210);function u(e){return(0,o.isRedirectError)(e)||(0,n.isHTTPAccessFallbackError)(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},24189:(e,t)=>{"use strict";function r(e,t){if(void 0===t&&(t={}),t.onlyHashChange)return void e();let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},24420:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return r}});var r=function(e){return e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e}({});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},24930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{IDLE_LINK_STATUS:function(){return c},PENDING_LINK_STATUS:function(){return i},mountFormInstance:function(){return g},mountLinkInstance:function(){return b},onLinkVisibilityChanged:function(){return m},onNavigationIntent:function(){return E},pingVisibleLinks:function(){return R},setLinkForCurrentNavigation:function(){return s},unmountLinkForCurrentNavigation:function(){return f},unmountPrefetchableInstance:function(){return v}}),r(6634);let n=r(56158),o=r(69818),u=r(86005),l=r(12115),a=null,i={pending:!0},c={pending:!1};function s(e){(0,l.startTransition)(()=>{null==a||a.setOptimisticLinkStatus(c),null==e||e.setOptimisticLinkStatus(i),a=e})}function f(e){a===e&&(a=null)}let d="function"==typeof WeakMap?new WeakMap:new Map,p=new Set,h="function"==typeof IntersectionObserver?new IntersectionObserver(function(e){for(let t of e){let e=t.intersectionRatio>0;m(t.target,e)}},{rootMargin:"200px"}):null;function y(e,t){void 0!==d.get(e)&&v(e),d.set(e,t),null!==h&&h.observe(e)}function _(e){try{return(0,n.createPrefetchURL)(e)}catch(t){return("function"==typeof reportError?reportError:console.error)("Cannot prefetch '"+e+"' because it cannot be converted to a URL."),null}}function b(e,t,r,n,o,u){if(o){let o=_(t);if(null!==o){let t={router:r,kind:n,isVisible:!1,wasHoveredOrTouched:!1,prefetchTask:null,cacheVersion:-1,prefetchHref:o.href,setOptimisticLinkStatus:u};return y(e,t),t}}return{router:r,kind:n,isVisible:!1,wasHoveredOrTouched:!1,prefetchTask:null,cacheVersion:-1,prefetchHref:null,setOptimisticLinkStatus:u}}function g(e,t,r,n){let o=_(t);null!==o&&y(e,{router:r,kind:n,isVisible:!1,wasHoveredOrTouched:!1,prefetchTask:null,cacheVersion:-1,prefetchHref:o.href,setOptimisticLinkStatus:null})}function v(e){let t=d.get(e);if(void 0!==t){d.delete(e),p.delete(t);let r=t.prefetchTask;null!==r&&(0,u.cancelPrefetchTask)(r)}null!==h&&h.unobserve(e)}function m(e,t){let r=d.get(e);void 0!==r&&(r.isVisible=t,t?p.add(r):p.delete(r),O(r))}function E(e,t){let r=d.get(e);void 0!==r&&void 0!==r&&(r.wasHoveredOrTouched=!0,O(r))}function O(e){var t;let r=e.prefetchTask;if(!e.isVisible){null!==r&&(0,u.cancelPrefetchTask)(r);return}t=e,(async()=>t.router.prefetch(t.prefetchHref,{kind:t.kind}))().catch(e=>{})}function R(e,t){let r=(0,u.getCurrentCacheVersion)();for(let n of p){let l=n.prefetchTask;if(null!==l&&n.cacheVersion===r&&l.key.nextUrl===e&&l.treeAtTimeOfPrefetch===t)continue;null!==l&&(0,u.cancelPrefetchTask)(l);let a=(0,u.createCacheKey)(n.prefetchHref,e),i=n.wasHoveredOrTouched?u.PrefetchPriority.Intent:u.PrefetchPriority.Default;n.prefetchTask=(0,u.schedulePrefetchTask)(a,t,n.kind===o.PrefetchKind.FULL,i),n.cacheVersion=(0,u.getCurrentCacheVersion)()}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},26043:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createConsoleError:function(){return o},getConsoleErrorType:function(){return l},isConsoleError:function(){return u}});let r=Symbol.for("next.console.error.digest"),n=Symbol.for("next.console.error.type");function o(e,t){let o="string"==typeof e?Object.defineProperty(Error(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}):e;return o[r]="NEXT_CONSOLE_ERROR",o[n]="string"==typeof e?"string":"error",t&&!o.environmentName&&(o.environmentName=t),o}let u=e=>e&&"NEXT_CONSOLE_ERROR"===e[r],l=e=>e[n];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},26465:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{NEXTJS_HYDRATION_ERROR_LINK:function(){return i},REACT_HYDRATION_ERROR_LINK:function(){return a},getDefaultHydrationErrorMessage:function(){return c},getHydrationErrorStackInfo:function(){return h},isHydrationError:function(){return s},isReactHydrationErrorMessage:function(){return f},testReactHydrationWarning:function(){return p}});let n=r(88229)._(r(15807)),o=/hydration failed|while hydrating|content does not match|did not match|HTML didn't match|text didn't match/i,u="Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:",l=[u,"Hydration failed because the server rendered text didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:","A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:"],a="https://react.dev/link/hydration-mismatch",i="https://nextjs.org/docs/messages/react-hydration-error",c=()=>u;function s(e){return(0,n.default)(e)&&o.test(e.message)}function f(e){return l.some(t=>e.startsWith(t))}let d=[/^In HTML, (.+?) cannot be a child of <(.+?)>\.(.*)\nThis will cause a hydration error\.(.*)/,/^In HTML, (.+?) cannot be a descendant of <(.+?)>\.\nThis will cause a hydration error\.(.*)/,/^In HTML, text nodes cannot be a child of <(.+?)>\.\nThis will cause a hydration error\./,/^In HTML, whitespace text nodes cannot be a child of <(.+?)>\. Make sure you don't have any extra whitespace between tags on each line of your source code\.\nThis will cause a hydration error\./,/^Expected server HTML to contain a matching <(.+?)> in <(.+?)>\.(.*)/,/^Did not expect server HTML to contain a <(.+?)> in <(.+?)>\.(.*)/,/^Expected server HTML to contain a matching text node for "(.+?)" in <(.+?)>\.(.*)/,/^Did not expect server HTML to contain the text node "(.+?)" in <(.+?)>\.(.*)/,/^Text content did not match\. Server: "(.+?)" Client: "(.+?)"(.*)/];function p(e){return"string"==typeof e&&!!e&&(e.startsWith("Warning: ")&&(e=e.slice(9)),d.some(t=>t.test(e)))}function h(e){let t=p(e=(e=e.replace(/^Error: /,"")).replace("Warning: ",""));if(!f(e)&&!t)return{message:null,stack:e,diff:""};if(t){let[t,r]=e.split("\n\n");return{message:t.trim(),stack:"",diff:(r||"").trim()}}let r=e.indexOf("\n"),[n,o]=(e=e.slice(r+1).trim()).split(""+a),u=n.trim();if(!o||!(o.length>1))return{message:u,stack:o};{let e=[],t=[];return o.split("\n").forEach(r=>{""!==r.trim()&&(r.trim().startsWith("at ")?e.push(r):t.push(r))}),{message:u,diff:t.join("\n"),stack:e.join("\n")}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},26614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ErrorBoundary:function(){return h},ErrorBoundaryHandler:function(){return f},GlobalError:function(){return d},default:function(){return p}});let n=r(88229),o=r(95155),u=n._(r(12115)),l=r(19921),a=r(22858);r(38836);let i=void 0,c={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},text:{fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"}};function s(e){let{error:t}=e;if(i){let e=i.getStore();if((null==e?void 0:e.isRevalidate)||(null==e?void 0:e.isStaticGeneration))throw console.error(t),t}return null}class f extends u.default.Component{static getDerivedStateFromError(e){if((0,a.isNextRouterError)(e))throw e;return{error:e}}static getDerivedStateFromProps(e,t){let{error:r}=t;return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){return this.state.error?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s,{error:this.state.error}),this.props.errorStyles,this.props.errorScripts,(0,o.jsx)(this.props.errorComponent,{error:this.state.error,reset:this.reset})]}):this.props.children}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.state={error:null,previousPathname:this.props.pathname}}}function d(e){let{error:t}=e,r=null==t?void 0:t.digest;return(0,o.jsxs)("html",{id:"__next_error__",children:[(0,o.jsx)("head",{}),(0,o.jsxs)("body",{children:[(0,o.jsx)(s,{error:t}),(0,o.jsx)("div",{style:c.error,children:(0,o.jsxs)("div",{children:[(0,o.jsxs)("h2",{style:c.text,children:["Application error: a ",r?"server":"client","-side exception has occurred while loading ",window.location.hostname," (see the"," ",r?"server logs":"browser console"," for more information)."]}),r?(0,o.jsx)("p",{style:c.text,children:"Digest: "+r}):null]})})]})]})}let p=d;function h(e){let{errorComponent:t,errorStyles:r,errorScripts:n,children:u}=e,a=(0,l.useUntrackedPathname)();return t?(0,o.jsx)(f,{pathname:a,errorComponent:t,errorStyles:r,errorScripts:n,children:u}):(0,o.jsx)(o.Fragment,{children:u})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27829:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"makeUntrackedExoticParams",{enumerable:!0,get:function(){return u}});let n=r(7541),o=new WeakMap;function u(e){let t=o.get(e);if(t)return t;let r=Promise.resolve(e);return o.set(e,r),Object.keys(e).forEach(t=>{n.wellKnownProperties.has(t)||(r[t]=e[t])}),r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{copyNextErrorCode:function(){return n},createDigestWithErrorCode:function(){return r},extractNextErrorCode:function(){return o}});let r=(e,t)=>"object"==typeof e&&null!==e&&"__NEXT_ERROR_CODE"in e?`${t}@${e.__NEXT_ERROR_CODE}`:t,n=(e,t)=>{let r=o(e);r&&"object"==typeof t&&null!==t&&Object.defineProperty(t,"__NEXT_ERROR_CODE",{value:r,enumerable:!1,configurable:!0})},o=e=>"object"==typeof e&&null!==e&&"__NEXT_ERROR_CODE"in e&&"string"==typeof e.__NEXT_ERROR_CODE?e.__NEXT_ERROR_CODE:"object"==typeof e&&null!==e&&"digest"in e&&"string"==typeof e.digest?e.digest.split("@").find(e=>e.startsWith("E")):void 0},29726:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return f}});let n=r(69818),o=r(43894),u=r(67801),l=r(64819),a=r(55542),i=r(89154),c=r(73612),s=r(48709),f=function(e,t){switch(t.type){case n.ACTION_NAVIGATE:return(0,o.navigateReducer)(e,t);case n.ACTION_SERVER_PATCH:return(0,u.serverPatchReducer)(e,t);case n.ACTION_RESTORE:return(0,l.restoreReducer)(e,t);case n.ACTION_REFRESH:return(0,a.refreshReducer)(e,t);case n.ACTION_HMR_REFRESH:return(0,c.hmrRefreshReducer)(e,t);case n.ACTION_PREFETCH:return(0,i.prefetchReducer)(e,t);case n.ACTION_SERVER_ACTION:return(0,s.serverActionReducer)(e,t);default:throw Object.defineProperty(Error("Unknown action"),"__NEXT_ERROR_CODE",{value:"E295",enumerable:!1,configurable:!0})}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"matchSegment",{enumerable:!0,get:function(){return r}});let r=(e,t)=>"string"==typeof e?"string"==typeof t&&e===t:"string"!=typeof t&&e[0]===t[0]&&e[1]===t[1];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31295:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(6966),o=r(95155),u=n._(r(12115)),l=r(95227);function a(){let e=(0,u.useContext)(l.TemplateContext);return(0,o.jsx)(o.Fragment,{children:e})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31518:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DYNAMIC_STALETIME_MS:function(){return d},STATIC_STALETIME_MS:function(){return p},createSeededPrefetchCacheEntry:function(){return c},getOrCreatePrefetchCacheEntry:function(){return i},prunePrefetchCache:function(){return f}});let n=r(88586),o=r(69818),u=r(89154);function l(e,t,r){let n=e.pathname;return(t&&(n+=e.search),r)?""+r+"%"+n:n}function a(e,t,r){return l(e,t===o.PrefetchKind.FULL,r)}function i(e){let{url:t,nextUrl:r,tree:n,prefetchCache:u,kind:a,allowAliasing:i=!0}=e,c=function(e,t,r,n,u){for(let a of(void 0===t&&(t=o.PrefetchKind.TEMPORARY),[r,null])){let r=l(e,!0,a),i=l(e,!1,a),c=e.search?r:i,s=n.get(c);if(s&&u){if(s.url.pathname===e.pathname&&s.url.search!==e.search)return{...s,aliased:!0};return s}let f=n.get(i);if(u&&e.search&&t!==o.PrefetchKind.FULL&&f&&!f.key.includes("%"))return{...f,aliased:!0}}if(t!==o.PrefetchKind.FULL&&u){for(let t of n.values())if(t.url.pathname===e.pathname&&!t.key.includes("%"))return{...t,aliased:!0}}}(t,a,r,u,i);return c?(c.status=h(c),c.kind!==o.PrefetchKind.FULL&&a===o.PrefetchKind.FULL&&c.data.then(e=>{if(!(Array.isArray(e.flightData)&&e.flightData.some(e=>e.isRootRender&&null!==e.seedData)))return s({tree:n,url:t,nextUrl:r,prefetchCache:u,kind:null!=a?a:o.PrefetchKind.TEMPORARY})}),a&&c.kind===o.PrefetchKind.TEMPORARY&&(c.kind=a),c):s({tree:n,url:t,nextUrl:r,prefetchCache:u,kind:a||o.PrefetchKind.TEMPORARY})}function c(e){let{nextUrl:t,tree:r,prefetchCache:n,url:u,data:l,kind:i}=e,c=l.couldBeIntercepted?a(u,i,t):a(u,i),s={treeAtTimeOfPrefetch:r,data:Promise.resolve(l),kind:i,prefetchTime:Date.now(),lastUsedTime:Date.now(),staleTime:-1,key:c,status:o.PrefetchCacheEntryStatus.fresh,url:u};return n.set(c,s),s}function s(e){let{url:t,kind:r,tree:l,nextUrl:i,prefetchCache:c}=e,s=a(t,r),f=u.prefetchQueue.enqueue(()=>(0,n.fetchServerResponse)(t,{flightRouterState:l,nextUrl:i,prefetchKind:r}).then(e=>{let r;if(e.couldBeIntercepted&&(r=function(e){let{url:t,nextUrl:r,prefetchCache:n,existingCacheKey:o}=e,u=n.get(o);if(!u)return;let l=a(t,u.kind,r);return n.set(l,{...u,key:l}),n.delete(o),l}({url:t,existingCacheKey:s,nextUrl:i,prefetchCache:c})),e.prerendered){let t=c.get(null!=r?r:s);t&&(t.kind=o.PrefetchKind.FULL,-1!==e.staleTime&&(t.staleTime=e.staleTime))}return e})),d={treeAtTimeOfPrefetch:l,data:f,kind:r,prefetchTime:Date.now(),lastUsedTime:null,staleTime:-1,key:s,status:o.PrefetchCacheEntryStatus.fresh,url:t};return c.set(s,d),d}function f(e){for(let[t,r]of e)h(r)===o.PrefetchCacheEntryStatus.expired&&e.delete(t)}let d=1e3*Number("0"),p=1e3*Number("300");function h(e){let{kind:t,prefetchTime:r,lastUsedTime:n,staleTime:u}=e;return -1!==u?Date.now(){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findSourceMapURL",{enumerable:!0,get:function(){return r}});let r=void 0;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},33558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRenderParamsFromClient",{enumerable:!0,get:function(){return n}});let n=r(27829).makeUntrackedExoticParams;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34758:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fillLazyItemsTillLeafWithHead",{enumerable:!0,get:function(){return function e(t,r,u,l,a,i,c){if(0===Object.keys(l[1]).length){r.head=i;return}for(let s in l[1]){let f,d=l[1][s],p=d[0],h=(0,n.createRouterCacheKey)(p),y=null!==a&&void 0!==a[2][s]?a[2][s]:null;if(u){let n=u.parallelRoutes.get(s);if(n){let u,l=(null==c?void 0:c.kind)==="auto"&&c.status===o.PrefetchCacheEntryStatus.reusable,a=new Map(n),f=a.get(h);u=null!==y?{lazyData:null,rsc:y[1],prefetchRsc:null,head:null,prefetchHead:null,loading:y[3],parallelRoutes:new Map(null==f?void 0:f.parallelRoutes),navigatedAt:t}:l&&f?{lazyData:f.lazyData,rsc:f.rsc,prefetchRsc:f.prefetchRsc,head:f.head,prefetchHead:f.prefetchHead,parallelRoutes:new Map(f.parallelRoutes),loading:f.loading}:{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map(null==f?void 0:f.parallelRoutes),loading:null,navigatedAt:t},a.set(h,u),e(t,u,f,d,y||null,i,c),r.parallelRoutes.set(s,a);continue}}if(null!==y){let e=y[1],r=y[3];f={lazyData:null,rsc:e,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:r,navigatedAt:t}}else f={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null,navigatedAt:t};let _=r.parallelRoutes.get(s);_?_.set(h,f):r.parallelRoutes.set(s,new Map([[h,f]])),e(t,f,void 0,d,y,i,c)}}}});let n=r(85637),o=r(69818);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34979:(e,t,r)=>{"use strict";e.exports=r(77197)},35415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(5449);let n=r(36188),o=r(51408);(0,n.appBootstrap)(()=>{let{hydrate:e}=r(64486);r(56158),r(87555),e(o)}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35567:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldHardNavigate",{enumerable:!0,get:function(){return function e(t,r){let[u,l]=r,[a,i]=t;return(0,o.matchSegment)(a,u)?!(t.length<=2)&&e((0,n.getNextFlightSegmentPath)(t),l[i]):!!Array.isArray(a)}}});let n=r(22561),o=r(31127);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35952:(e,t,r)=>{"use strict";function n(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw TypeError("attempted to use private field on non-instance");return e}r.r(t),r.d(t,{_:()=>n})},36188:(e,t)=>{"use strict";function r(e){var t,r;t=self.__next_s,r=()=>{e()},t&&t.length?t.reduce((e,t)=>{let[r,n]=t;return e.then(()=>new Promise((e,t)=>{let o=document.createElement("script");if(n)for(let e in n)"children"!==e&&o.setAttribute(e,n[e]);r?(o.src=r,o.onload=()=>e(),o.onerror=t):n&&(o.innerHTML=n.children,setTimeout(e)),document.head.appendChild(o)}))},Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{r()}):r()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"appBootstrap",{enumerable:!0,get:function(){return r}}),window.next={version:"15.3.1",appDir:!0},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},36494:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{HTTPAccessErrorStatus:function(){return r},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return o},getAccessFallbackErrorTypeByStatus:function(){return a},getAccessFallbackHTTPStatus:function(){return l},isHTTPAccessFallbackError:function(){return u}});let r={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},n=new Set(Object.values(r)),o="NEXT_HTTP_ERROR_FALLBACK";function u(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r]=e.digest.split(";");return t===o&&n.has(Number(r))}function l(e){return Number(e.digest.split(";")[1])}function a(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},36825:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return f},getRedirectTypeFromError:function(){return s},getURLFromRedirectError:function(){return c},permanentRedirect:function(){return i},redirect:function(){return a}});let n=r(24420),o=r(62210),u=void 0;function l(e,t,r){void 0===r&&(r=n.RedirectStatusCode.TemporaryRedirect);let u=Object.defineProperty(Error(o.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return u.digest=o.REDIRECT_ERROR_CODE+";"+t+";"+e+";"+r+";",u}function a(e,t){var r;throw null!=t||(t=(null==u||null==(r=u.getStore())?void 0:r.isAction)?o.RedirectType.push:o.RedirectType.replace),l(e,t,n.RedirectStatusCode.TemporaryRedirect)}function i(e,t){throw void 0===t&&(t=o.RedirectType.replace),l(e,t,n.RedirectStatusCode.PermanentRedirect)}function c(e){return(0,o.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function s(e){if(!(0,o.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return e.digest.split(";",2)[1]}function f(e){if(!(0,o.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(e.digest.split(";").at(-2))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38287:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{METADATA_BOUNDARY_NAME:function(){return r},OUTLET_BOUNDARY_NAME:function(){return o},VIEWPORT_BOUNDARY_NAME:function(){return n}});let r="__next_metadata_boundary__",n="__next_viewport_boundary__",o="__next_outlet_boundary__"},38527:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return o}});let n=""+r(36494).HTTP_ERROR_FALLBACK_ERROR_CODE+";404";function o(){let e=Object.defineProperty(Error(n),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});throw e.digest=n,e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38836:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleHardNavError:function(){return o},useNavFailureHandler:function(){return u}}),r(12115);let n=r(11139);function o(e){return!!e&&!!window.next.__pendingUrl&&(0,n.createHrefFromUrl)(new URL(window.location.href))!==(0,n.createHrefFromUrl)(window.next.__pendingUrl)&&(console.error("Error occurred during navigation, falling back to hard navigation",e),window.location.href=window.next.__pendingUrl.toString(),!0)}function u(){}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39234:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function e(t,r){let n=t[0],o=r[0];if(Array.isArray(n)&&Array.isArray(o)){if(n[0]!==o[0]||n[2]!==o[2])return!0}else if(n!==o)return!0;if(t[4])return!r[4];if(r[4])return!0;let u=Object.values(t[1])[0],l=Object.values(r[1])[0];return!u||!l||e(u,l)}}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},39837:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InvariantError",{enumerable:!0,get:function(){return r}});class r extends Error{constructor(e,t){super("Invariant: "+(e.endsWith(".")?e:e+".")+" This is a bug in Next.js.",t),this.name="InvariantError"}}},42004:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"invalidateCacheByRouterState",{enumerable:!0,get:function(){return o}});let n=r(85637);function o(e,t,r){for(let o in r[1]){let u=r[1][o][0],l=(0,n.createRouterCacheKey)(u),a=t.parallelRoutes.get(o);if(a){let t=new Map(a);t.delete(l),e.parallelRoutes.set(o,t)}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42223:(e,t)=>{"use strict";function r(e,t){var r=e.length;for(e.push(t);0>>1,o=e[n];if(0>>1;nu(i,r))cu(s,i)?(e[n]=s,e[c]=r,n=c):(e[n]=i,e[a]=r,n=a);else if(cu(s,r))e[n]=s,e[c]=r,n=c;else break}}return t}function u(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var l,a=performance;t.unstable_now=function(){return a.now()}}else{var i=Date,c=i.now();t.unstable_now=function(){return i.now()-c}}var s=[],f=[],d=1,p=null,h=3,y=!1,_=!1,b=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,m="function"==typeof clearTimeout?clearTimeout:null,E="undefined"!=typeof setImmediate?setImmediate:null;function O(e){for(var t=n(f);null!==t;){if(null===t.callback)o(f);else if(t.startTime<=e)o(f),t.sortIndex=t.expirationTime,r(s,t);else break;t=n(f)}}function R(e){if(b=!1,O(e),!_)if(null!==n(s))_=!0,P||(P=!0,l());else{var t=n(f);null!==t&&A(R,t.startTime-e)}}var P=!1,j=-1,T=5,S=-1;function M(){return!!g||!(t.unstable_now()-Se&&M());){var a=p.callback;if("function"==typeof a){p.callback=null,h=p.priorityLevel;var i=a(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof i){p.callback=i,O(e),r=!0;break t}p===n(s)&&o(s),O(e)}else o(s);p=n(s)}if(null!==p)r=!0;else{var c=n(f);null!==c&&A(R,c.startTime-e),r=!1}}break e}finally{p=null,h=u,y=!1}}}finally{r?l():P=!1}}}if("function"==typeof E)l=function(){E(w)};else if("undefined"!=typeof MessageChannel){var C=new MessageChannel,x=C.port2;C.port1.onmessage=w,l=function(){x.postMessage(null)}}else l=function(){v(w,0)};function A(e,r){j=v(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125a?(e.sortIndex=u,r(f,e),null===n(s)&&e===n(f)&&(b?(m(j),j=-1):b=!0,A(R,u-a))):(e.sortIndex=i,r(s,e),_||y||(_=!0,P||(P=!0,l()))),e},t.unstable_shouldYield=M,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},43230:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},43894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleExternalUrl:function(){return v},navigateReducer:function(){return function e(t,r){let{url:E,isExternalUrl:O,navigateType:R,shouldScroll:P,allowAliasing:j}=r,T={},{hash:S}=E,M=(0,o.createHrefFromUrl)(E),w="push"===R;if((0,_.prunePrefetchCache)(t.prefetchCache),T.preserveCustomHistoryState=!1,T.pendingPush=w,O)return v(t,T,E.toString(),w);if(document.getElementById("__next-page-redirect"))return v(t,T,M,w);let C=(0,_.getOrCreatePrefetchCacheEntry)({url:E,nextUrl:t.nextUrl,tree:t.tree,prefetchCache:t.prefetchCache,allowAliasing:j}),{treeAtTimeOfPrefetch:x,data:A}=C;return d.prefetchQueue.bump(A),A.then(d=>{let{flightData:_,canonicalUrl:O,postponed:R}=d,j=Date.now(),A=!1;if(C.lastUsedTime||(C.lastUsedTime=j,A=!0),C.aliased){let n=(0,g.handleAliasedPrefetchEntry)(j,t,_,E,T);return!1===n?e(t,{...r,allowAliasing:!1}):n}if("string"==typeof _)return v(t,T,_,w);let N=O?(0,o.createHrefFromUrl)(O):M;if(S&&t.canonicalUrl.split("#",1)[0]===N.split("#",1)[0])return T.onlyHashChange=!0,T.canonicalUrl=N,T.shouldScroll=P,T.hashFragment=S,T.scrollableSegments=[],(0,s.handleMutable)(t,T);let D=t.tree,U=t.cache,L=[];for(let e of _){let{pathToSegment:r,seedData:o,head:s,isHeadPartial:d,isRootRender:_}=e,g=e.tree,O=["",...r],P=(0,l.applyRouterStatePatchToTree)(O,D,g,M);if(null===P&&(P=(0,l.applyRouterStatePatchToTree)(O,x,g,M)),null!==P){if(o&&_&&R){let e=(0,y.startPPRNavigation)(j,U,D,g,o,s,d,!1,L);if(null!==e){if(null===e.route)return v(t,T,M,w);P=e.route;let r=e.node;null!==r&&(T.cache=r);let o=e.dynamicRequestTree;if(null!==o){let r=(0,n.fetchServerResponse)(E,{flightRouterState:o,nextUrl:t.nextUrl});(0,y.listenForDynamicRequest)(e,r)}}else P=g}else{if((0,i.isNavigatingToNewRootLayout)(D,P))return v(t,T,M,w);let n=(0,p.createEmptyCacheNode)(),o=!1;for(let t of(C.status!==c.PrefetchCacheEntryStatus.stale||A?o=(0,f.applyFlightData)(j,U,n,e,C):(o=function(e,t,r,n){let o=!1;for(let u of(e.rsc=t.rsc,e.prefetchRsc=t.prefetchRsc,e.loading=t.loading,e.parallelRoutes=new Map(t.parallelRoutes),m(n).map(e=>[...r,...e])))(0,b.clearCacheNodeDataForSegmentPath)(e,t,u),o=!0;return o}(n,U,r,g),C.lastUsedTime=j),(0,a.shouldHardNavigate)(O,D)?(n.rsc=U.rsc,n.prefetchRsc=U.prefetchRsc,(0,u.invalidateCacheBelowFlightSegmentPath)(n,U,r),T.cache=n):o&&(T.cache=n,U=n),m(g))){let e=[...r,...t];e[e.length-1]!==h.DEFAULT_SEGMENT_KEY&&L.push(e)}}D=P}}return T.patchedTree=D,T.canonicalUrl=N,T.scrollableSegments=L,T.hashFragment=S,T.shouldScroll=P,(0,s.handleMutable)(t,T)},()=>t)}}});let n=r(88586),o=r(11139),u=r(4466),l=r(57442),a=r(35567),i=r(39234),c=r(69818),s=r(3507),f=r(70878),d=r(89154),p=r(56158),h=r(8291),y=r(54150),_=r(31518),b=r(19880),g=r(95563);function v(e,t,r,n){return t.mpaNavigation=!0,t.canonicalUrl=r,t.pendingPush=n,t.scrollableSegments=void 0,(0,s.handleMutable)(e,t)}function m(e){let t=[],[r,n]=e;if(0===Object.keys(n).length)return[[r]];for(let[e,o]of Object.entries(n))for(let n of m(o))""===r?t.push([e,...n]):t.push([r,e,...n]);return t}r(86005),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43954:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),(0,r(65444).handleGlobalErrors)(),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},44882:(e,t,r)=>{"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(87102),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},44908:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addRefreshMarkerToActiveParallelSegments:function(){return function e(t,r){let[n,o,,l]=t;for(let a in n.includes(u.PAGE_SEGMENT_KEY)&&"refresh"!==l&&(t[2]=r,t[3]="refresh"),o)e(o[a],r)}},refreshInactiveParallelSegments:function(){return l}});let n=r(70878),o=r(88586),u=r(8291);async function l(e){let t=new Set;await a({...e,rootTree:e.updatedTree,fetchedSegments:t})}async function a(e){let{navigatedAt:t,state:r,updatedTree:u,updatedCache:l,includeNextUrl:i,fetchedSegments:c,rootTree:s=u,canonicalUrl:f}=e,[,d,p,h]=u,y=[];if(p&&p!==f&&"refresh"===h&&!c.has(p)){c.add(p);let e=(0,o.fetchServerResponse)(new URL(p,location.origin),{flightRouterState:[s[0],s[1],s[2],"refetch"],nextUrl:i?r.nextUrl:null}).then(e=>{let{flightData:r}=e;if("string"!=typeof r)for(let e of r)(0,n.applyFlightData)(t,l,l,e)});y.push(e)}for(let e in d){let n=a({navigatedAt:t,state:r,updatedTree:d[e],updatedCache:l,includeNextUrl:i,fetchedSegments:c,rootTree:s,canonicalUrl:f});y.push(n)}await Promise.all(y)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},45262:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{BailoutToCSRError:function(){return n},isBailoutToCSRError:function(){return o}});let r="BAILOUT_TO_CLIENT_SIDE_RENDERING";class n extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=r}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===r}},46975:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessFallbackBoundary",{enumerable:!0,get:function(){return s}});let n=r(6966),o=r(95155),u=n._(r(12115)),l=r(19921),a=r(36494);r(43230);let i=r(95227);class c extends u.default.Component{componentDidCatch(){}static getDerivedStateFromError(e){if((0,a.isHTTPAccessFallbackError)(e))return{triggeredStatus:(0,a.getAccessFallbackHTTPStatus)(e)};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.triggeredStatus?{triggeredStatus:void 0,previousPathname:e.pathname}:{triggeredStatus:t.triggeredStatus,previousPathname:e.pathname}}render(){let{notFound:e,forbidden:t,unauthorized:r,children:n}=this.props,{triggeredStatus:u}=this.state,l={[a.HTTPAccessErrorStatus.NOT_FOUND]:e,[a.HTTPAccessErrorStatus.FORBIDDEN]:t,[a.HTTPAccessErrorStatus.UNAUTHORIZED]:r};if(u){let i=u===a.HTTPAccessErrorStatus.NOT_FOUND&&e,c=u===a.HTTPAccessErrorStatus.FORBIDDEN&&t,s=u===a.HTTPAccessErrorStatus.UNAUTHORIZED&&r;return i||c||s?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{name:"robots",content:"noindex"}),!1,l[u]]}):n}return n}constructor(e){super(e),this.state={triggeredStatus:void 0,previousPathname:e.pathname}}}function s(e){let{notFound:t,forbidden:r,unauthorized:n,children:a}=e,s=(0,l.useUntrackedPathname)(),f=(0,u.useContext)(i.MissingSlotContext);return t||r||n?(0,o.jsx)(c,{pathname:s,notFound:t,forbidden:r,unauthorized:n,missingSlots:f,children:a}):(0,o.jsx)(o.Fragment,{children:a})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},47650:(e,t,r)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(58730)},47755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return o},extractInterceptionRouteInformation:function(){return l},isInterceptionRouteAppPath:function(){return u}});let n=r(57276),o=["(..)(..)","(.)","(..)","(...)"];function u(e){return void 0!==e.split("/").find(e=>o.find(t=>e.startsWith(t)))}function l(e){let t,r,u;for(let n of e.split("/"))if(r=o.find(e=>n.startsWith(e))){[t,u]=e.split(r,2);break}if(!t||!r||!u)throw Object.defineProperty(Error("Invalid interception route: "+e+". Must be in the format //(..|...|..)(..)/"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(t=(0,n.normalizeAppPath)(t),r){case"(.)":u="/"===t?"/"+u:t+"/"+u;break;case"(..)":if("/"===t)throw Object.defineProperty(Error("Invalid interception route: "+e+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});u=t.split("/").slice(0,-1).concat(u).join("/");break;case"(...)":u="/"+u;break;case"(..)(..)":let l=t.split("/");if(l.length<=2)throw Object.defineProperty(Error("Invalid interception route: "+e+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});u=l.slice(0,-2).concat(u).join("/");break;default:throw Object.defineProperty(Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:t,interceptedRoute:u}}},48709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return w}});let n=r(53806),o=r(31818),u=r(3269),l=r(69818),a=r(21315),i=r(11139),c=r(43894),s=r(57442),f=r(39234),d=r(3507),p=r(34758),h=r(56158),y=r(4108),_=r(96375),b=r(44908),g=r(22561),v=r(36825),m=r(62210),E=r(31518),O=r(44882),R=r(87102),P=r(12816);r(86005);let{createFromFetch:j,createTemporaryReferenceSet:T,encodeReply:S}=r(34979);async function M(e,t,r){let l,i,{actionId:c,actionArgs:s}=r,f=T(),d=(0,P.extractInfoFromServerReferenceId)(c),p="use-cache"===d.type?(0,P.omitUnusedArgs)(s,d):s,h=await S(p,{temporaryReferences:f}),y=await fetch("",{method:"POST",headers:{Accept:u.RSC_CONTENT_TYPE_HEADER,[u.ACTION_HEADER]:c,[u.NEXT_ROUTER_STATE_TREE_HEADER]:encodeURIComponent(JSON.stringify(e.tree)),...{},...t?{[u.NEXT_URL]:t}:{}},body:h}),_=y.headers.get("x-action-redirect"),[b,v]=(null==_?void 0:_.split(";"))||[];switch(v){case"push":l=m.RedirectType.push;break;case"replace":l=m.RedirectType.replace;break;default:l=void 0}let E=!!y.headers.get(u.NEXT_IS_PRERENDER_HEADER);try{let e=JSON.parse(y.headers.get("x-action-revalidated")||"[[],0,0]");i={paths:e[0]||[],tag:!!e[1],cookie:e[2]}}catch(e){i={paths:[],tag:!1,cookie:!1}}let O=b?(0,a.assignLocation)(b,new URL(e.canonicalUrl,window.location.href)):void 0,R=y.headers.get("content-type");if(null==R?void 0:R.startsWith(u.RSC_CONTENT_TYPE_HEADER)){let e=await j(Promise.resolve(y),{callServer:n.callServer,findSourceMapURL:o.findSourceMapURL,temporaryReferences:f});return b?{actionFlightData:(0,g.normalizeFlightData)(e.f),redirectLocation:O,redirectType:l,revalidatedParts:i,isPrerender:E}:{actionResult:e.a,actionFlightData:(0,g.normalizeFlightData)(e.f),redirectLocation:O,redirectType:l,revalidatedParts:i,isPrerender:E}}if(y.status>=400)throw Object.defineProperty(Error("text/plain"===R?await y.text():"An unexpected response was received from the server."),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return{redirectLocation:O,redirectType:l,revalidatedParts:i,isPrerender:E}}function w(e,t){let{resolve:r,reject:n}=t,o={},u=e.tree;o.preserveCustomHistoryState=!1;let a=e.nextUrl&&(0,y.hasInterceptionRouteInCurrentTree)(e.tree)?e.nextUrl:null,g=Date.now();return M(e,a,t).then(async y=>{let P,{actionResult:j,actionFlightData:T,redirectLocation:S,redirectType:M,isPrerender:w,revalidatedParts:C}=y;if(S&&(M===m.RedirectType.replace?(e.pushRef.pendingPush=!1,o.pendingPush=!1):(e.pushRef.pendingPush=!0,o.pendingPush=!0),o.canonicalUrl=P=(0,i.createHrefFromUrl)(S,!1)),!T)return(r(j),S)?(0,c.handleExternalUrl)(e,o,S.href,e.pushRef.pendingPush):e;if("string"==typeof T)return r(j),(0,c.handleExternalUrl)(e,o,T,e.pushRef.pendingPush);let x=C.paths.length>0||C.tag||C.cookie;for(let n of T){let{tree:l,seedData:i,head:d,isRootRender:y}=n;if(!y)return console.log("SERVER ACTION APPLY FAILED"),r(j),e;let v=(0,s.applyRouterStatePatchToTree)([""],u,l,P||e.canonicalUrl);if(null===v)return r(j),(0,_.handleSegmentMismatch)(e,t,l);if((0,f.isNavigatingToNewRootLayout)(u,v))return r(j),(0,c.handleExternalUrl)(e,o,P||e.canonicalUrl,e.pushRef.pendingPush);if(null!==i){let t=i[1],r=(0,h.createEmptyCacheNode)();r.rsc=t,r.prefetchRsc=null,r.loading=i[3],(0,p.fillLazyItemsTillLeafWithHead)(g,r,void 0,l,i,d,void 0),o.cache=r,o.prefetchCache=new Map,x&&await (0,b.refreshInactiveParallelSegments)({navigatedAt:g,state:e,updatedTree:v,updatedCache:r,includeNextUrl:!!a,canonicalUrl:o.canonicalUrl||e.canonicalUrl})}o.patchedTree=v,u=v}return S&&P?(x||((0,E.createSeededPrefetchCacheEntry)({url:S,data:{flightData:T,canonicalUrl:void 0,couldBeIntercepted:!1,prerendered:!1,postponed:!1,staleTime:-1},tree:e.tree,prefetchCache:e.prefetchCache,nextUrl:e.nextUrl,kind:w?l.PrefetchKind.FULL:l.PrefetchKind.AUTO}),o.prefetchCache=e.prefetchCache),n((0,v.getRedirectError)((0,R.hasBasePath)(P)?(0,O.removeBasePath)(P):P,M||m.RedirectType.push))):r(j),(0,d.handleMutable)(e,o)},t=>(n(t),e))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49509:(e,t,r)=>{"use strict";var n,o;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(o=r.g.process)?void 0:o.env)?r.g.process:r(80666)},51408:(e,t,r)=>{"use strict";e.exports=r(19393)},53506:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"attachHydrationErrorState",{enumerable:!0,get:function(){return u}});let n=r(26465),o=r(89771);function u(e){let t={},r=(0,n.testReactHydrationWarning)(e.message),u=(0,n.isHydrationError)(e);if(!(u||r))return;let l=(0,o.getReactHydrationDiffSegments)(e.message);if(l){let a=l[1];t={...e.details,...o.hydrationErrorState,warning:(a&&!r?null:o.hydrationErrorState.warning)||[(0,n.getDefaultHydrationErrorMessage)(),"",""],notes:r?"":l[0],reactOutputComponentDiff:a},!o.hydrationErrorState.reactOutputComponentDiff&&a&&(o.hydrationErrorState.reactOutputComponentDiff=a),!a&&u&&o.hydrationErrorState.reactOutputComponentDiff&&(t.reactOutputComponentDiff=o.hydrationErrorState.reactOutputComponentDiff)}else o.hydrationErrorState.warning&&(t={...e.details,...o.hydrationErrorState}),o.hydrationErrorState.reactOutputComponentDiff&&(t.reactOutputComponentDiff=o.hydrationErrorState.reactOutputComponentDiff);e.details=t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53806:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callServer",{enumerable:!0,get:function(){return l}});let n=r(12115),o=r(69818),u=r(81027);async function l(e,t){return new Promise((r,l)=>{(0,n.startTransition)(()=>{(0,u.dispatchAppRouterAction)({type:o.ACTION_SERVER_ACTION,actionId:e,actionArgs:t,resolve:r,reject:l})})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54150:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{abortTask:function(){return h},listenForDynamicRequest:function(){return p},startPPRNavigation:function(){return c},updateCacheNodeOnPopstateRestoration:function(){return function e(t,r){let n=r[1],o=t.parallelRoutes,l=new Map(o);for(let t in n){let r=n[t],a=r[0],i=(0,u.createRouterCacheKey)(a),c=o.get(t);if(void 0!==c){let n=c.get(i);if(void 0!==n){let o=e(n,r),u=new Map(c);u.set(i,o),l.set(t,u)}}}let a=t.rsc,i=b(a)&&"pending"===a.status;return{lazyData:null,rsc:a,head:t.head,prefetchHead:i?t.prefetchHead:[null,null],prefetchRsc:i?t.prefetchRsc:null,loading:t.loading,parallelRoutes:l,navigatedAt:t.navigatedAt}}}});let n=r(8291),o=r(31127),u=r(85637),l=r(39234),a=r(31518),i={route:null,node:null,dynamicRequestTree:null,children:null};function c(e,t,r,l,a,c,d,p,h){return function e(t,r,l,a,c,d,p,h,y,_,b){let g=l[1],v=a[1],m=null!==d?d[2]:null;c||!0===a[4]&&(c=!0);let E=r.parallelRoutes,O=new Map(E),R={},P=null,j=!1,T={};for(let r in v){let l,a=v[r],f=g[r],d=E.get(r),S=null!==m?m[r]:null,M=a[0],w=_.concat([r,M]),C=(0,u.createRouterCacheKey)(M),x=void 0!==f?f[0]:void 0,A=void 0!==d?d.get(C):void 0;if(null!==(l=M===n.DEFAULT_SEGMENT_KEY?void 0!==f?{route:f,node:null,dynamicRequestTree:null,children:null}:s(t,f,a,A,c,void 0!==S?S:null,p,h,w,b):y&&0===Object.keys(a[1]).length?s(t,f,a,A,c,void 0!==S?S:null,p,h,w,b):void 0!==f&&void 0!==x&&(0,o.matchSegment)(M,x)&&void 0!==A&&void 0!==f?e(t,A,f,a,c,S,p,h,y,w,b):s(t,f,a,A,c,void 0!==S?S:null,p,h,w,b))){if(null===l.route)return i;null===P&&(P=new Map),P.set(r,l);let e=l.node;if(null!==e){let t=new Map(d);t.set(C,e),O.set(r,t)}let t=l.route;R[r]=t;let n=l.dynamicRequestTree;null!==n?(j=!0,T[r]=n):T[r]=t}else R[r]=a,T[r]=a}if(null===P)return null;let S={lazyData:null,rsc:r.rsc,prefetchRsc:r.prefetchRsc,head:r.head,prefetchHead:r.prefetchHead,loading:r.loading,parallelRoutes:O,navigatedAt:t};return{route:f(a,R),node:S,dynamicRequestTree:j?f(a,T):null,children:P}}(e,t,r,l,!1,a,c,d,p,[],h)}function s(e,t,r,n,o,c,s,p,h,y){return!o&&(void 0===t||(0,l.isNavigatingToNewRootLayout)(t,r))?i:function e(t,r,n,o,l,i,c,s){let p,h,y,_,b=r[1],g=0===Object.keys(b).length;if(void 0!==n&&n.navigatedAt+a.DYNAMIC_STALETIME_MS>t)p=n.rsc,h=n.loading,y=n.head,_=n.navigatedAt;else if(null===o)return d(t,r,null,l,i,c,s);else if(p=o[1],h=o[3],y=g?l:null,_=t,o[4]||i&&g)return d(t,r,o,l,i,c,s);let v=null!==o?o[2]:null,m=new Map,E=void 0!==n?n.parallelRoutes:null,O=new Map(E),R={},P=!1;if(g)s.push(c);else for(let r in b){let n=b[r],o=null!==v?v[r]:null,a=null!==E?E.get(r):void 0,f=n[0],d=c.concat([r,f]),p=(0,u.createRouterCacheKey)(f),h=e(t,n,void 0!==a?a.get(p):void 0,o,l,i,d,s);m.set(r,h);let y=h.dynamicRequestTree;null!==y?(P=!0,R[r]=y):R[r]=n;let _=h.node;if(null!==_){let e=new Map;e.set(p,_),O.set(r,e)}}return{route:r,node:{lazyData:null,rsc:p,prefetchRsc:null,head:y,prefetchHead:null,loading:h,parallelRoutes:O,navigatedAt:_},dynamicRequestTree:P?f(r,R):null,children:m}}(e,r,n,c,s,p,h,y)}function f(e,t){let r=[e[0],t];return 2 in e&&(r[2]=e[2]),3 in e&&(r[3]=e[3]),4 in e&&(r[4]=e[4]),r}function d(e,t,r,n,o,l,a){let i=f(t,t[1]);return i[3]="refetch",{route:t,node:function e(t,r,n,o,l,a,i){let c=r[1],s=null!==n?n[2]:null,f=new Map;for(let r in c){let n=c[r],d=null!==s?s[r]:null,p=n[0],h=a.concat([r,p]),y=(0,u.createRouterCacheKey)(p),_=e(t,n,void 0===d?null:d,o,l,h,i),b=new Map;b.set(y,_),f.set(r,b)}let d=0===f.size;d&&i.push(a);let p=null!==n?n[1]:null,h=null!==n?n[3]:null;return{lazyData:null,parallelRoutes:f,prefetchRsc:void 0!==p?p:null,prefetchHead:d?o:[null,null],loading:void 0!==h?h:null,rsc:g(),head:d?g():null,navigatedAt:t}}(e,t,r,n,o,l,a),dynamicRequestTree:i,children:null}}function p(e,t){t.then(t=>{let{flightData:r}=t;if("string"!=typeof r){for(let t of r){let{segmentPath:r,tree:n,seedData:l,head:a}=t;l&&function(e,t,r,n,l){let a=e;for(let e=0;e{h(e,t)})}function h(e,t){let r=e.node;if(null===r)return;let n=e.children;if(null===n)y(e.route,r,t);else for(let e of n.values())h(e,t);e.dynamicRequestTree=null}function y(e,t,r){let n=e[1],o=t.parallelRoutes;for(let e in n){let t=n[e],l=o.get(e);if(void 0===l)continue;let a=t[0],i=(0,u.createRouterCacheKey)(a),c=l.get(i);void 0!==c&&y(t,c,r)}let l=t.rsc;b(l)&&(null===r?l.resolve(null):l.reject(r));let a=t.head;b(a)&&a.resolve(null)}let _=Symbol();function b(e){return e&&e.tag===_}function g(){let e,t,r=new Promise((r,n)=>{e=r,t=n});return r.status="pending",r.resolve=t=>{"pending"===r.status&&(r.status="fulfilled",r.value=t,e(t))},r.reject=e=>{"pending"===r.status&&(r.status="rejected",r.reason=e,t(e))},r.tag=_,r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55542:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"refreshReducer",{enumerable:!0,get:function(){return h}});let n=r(88586),o=r(11139),u=r(57442),l=r(39234),a=r(43894),i=r(3507),c=r(34758),s=r(56158),f=r(96375),d=r(4108),p=r(44908);function h(e,t){let{origin:r}=t,h={},y=e.canonicalUrl,_=e.tree;h.preserveCustomHistoryState=!1;let b=(0,s.createEmptyCacheNode)(),g=(0,d.hasInterceptionRouteInCurrentTree)(e.tree);b.lazyData=(0,n.fetchServerResponse)(new URL(y,r),{flightRouterState:[_[0],_[1],_[2],"refetch"],nextUrl:g?e.nextUrl:null});let v=Date.now();return b.lazyData.then(async r=>{let{flightData:n,canonicalUrl:s}=r;if("string"==typeof n)return(0,a.handleExternalUrl)(e,h,n,e.pushRef.pendingPush);for(let r of(b.lazyData=null,n)){let{tree:n,seedData:i,head:d,isRootRender:m}=r;if(!m)return console.log("REFRESH FAILED"),e;let E=(0,u.applyRouterStatePatchToTree)([""],_,n,e.canonicalUrl);if(null===E)return(0,f.handleSegmentMismatch)(e,t,n);if((0,l.isNavigatingToNewRootLayout)(_,E))return(0,a.handleExternalUrl)(e,h,y,e.pushRef.pendingPush);let O=s?(0,o.createHrefFromUrl)(s):void 0;if(s&&(h.canonicalUrl=O),null!==i){let e=i[1],t=i[3];b.rsc=e,b.prefetchRsc=null,b.loading=t,(0,c.fillLazyItemsTillLeafWithHead)(v,b,void 0,n,i,d,void 0),h.prefetchCache=new Map}await (0,p.refreshInactiveParallelSegments)({navigatedAt:v,state:e,updatedTree:E,updatedCache:b,includeNextUrl:g,canonicalUrl:h.canonicalUrl||e.canonicalUrl}),h.cache=b,h.patchedTree=E,_=E}return(0,i.handleMutable)(e,h)},()=>e)}r(86005),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createEmptyCacheNode:function(){return w},createPrefetchURL:function(){return S},default:function(){return N},isExternalURL:function(){return T}});let n=r(6966),o=r(95155),u=n._(r(12115)),l=r(95227),a=r(69818),i=r(11139),c=r(886),s=r(81027),f=n._(r(26614)),d=r(10774),p=r(85929),h=r(67760),y=r(20686),_=r(72691),b=r(71822),g=r(44882),v=r(87102),m=r(68946),E=r(38836),O=r(6634),R=r(36825),P=r(62210);r(24930);let j={};function T(e){return e.origin!==window.location.origin}function S(e){let t;if((0,d.isBot)(window.navigator.userAgent))return null;try{t=new URL((0,p.addBasePath)(e),window.location.href)}catch(t){throw Object.defineProperty(Error("Cannot prefetch '"+e+"' because it cannot be converted to a URL."),"__NEXT_ERROR_CODE",{value:"E234",enumerable:!1,configurable:!0})}return T(t)?null:t}function M(e){let{appRouterState:t}=e;return(0,u.useInsertionEffect)(()=>{let{tree:e,pushRef:r,canonicalUrl:n}=t,o={...r.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:e};r.pendingPush&&(0,i.createHrefFromUrl)(new URL(window.location.href))!==n?(r.pendingPush=!1,window.history.pushState(o,"",n)):window.history.replaceState(o,"",n)},[t]),(0,u.useEffect)(()=>{},[t.nextUrl,t.tree]),null}function w(){return{lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null,navigatedAt:-1}}function C(e){null==e&&(e={});let t=window.history.state,r=null==t?void 0:t.__NA;r&&(e.__NA=r);let n=null==t?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;return n&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=n),e}function x(e){let{headCacheNode:t}=e,r=null!==t?t.head:null,n=null!==t?t.prefetchHead:null,o=null!==n?n:r;return(0,u.useDeferredValue)(r,o)}function A(e){let t,{actionQueue:r,assetPrefix:n,globalError:i}=e,d=(0,s.useActionQueue)(r),{canonicalUrl:p}=d,{searchParams:E,pathname:T}=(0,u.useMemo)(()=>{let e=new URL(p,window.location.href);return{searchParams:e.searchParams,pathname:(0,v.hasBasePath)(e.pathname)?(0,g.removeBasePath)(e.pathname):e.pathname}},[p]);(0,u.useEffect)(()=>{function e(e){var t;e.persisted&&(null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE)&&(j.pendingMpaPath=void 0,(0,s.dispatchAppRouterAction)({type:a.ACTION_RESTORE,url:new URL(window.location.href),tree:window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE}))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[]),(0,u.useEffect)(()=>{function e(e){let t="reason"in e?e.reason:e.error;if((0,P.isRedirectError)(t)){e.preventDefault();let r=(0,R.getURLFromRedirectError)(t);(0,R.getRedirectTypeFromError)(t)===P.RedirectType.push?O.publicAppRouterInstance.push(r,{}):O.publicAppRouterInstance.replace(r,{})}}return window.addEventListener("error",e),window.addEventListener("unhandledrejection",e),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",e)}},[]);let{pushRef:S}=d;if(S.mpaNavigation){if(j.pendingMpaPath!==p){let e=window.location;S.pendingPush?e.assign(p):e.replace(p),j.pendingMpaPath=p}(0,u.use)(b.unresolvedThenable)}(0,u.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),r=e=>{var t;let r=window.location.href,n=null==(t=window.history.state)?void 0:t.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,u.startTransition)(()=>{(0,s.dispatchAppRouterAction)({type:a.ACTION_RESTORE,url:new URL(null!=e?e:r,r),tree:n})})};window.history.pushState=function(t,n,o){return(null==t?void 0:t.__NA)||(null==t?void 0:t._N)||(t=C(t),o&&r(o)),e(t,n,o)},window.history.replaceState=function(e,n,o){return(null==e?void 0:e.__NA)||(null==e?void 0:e._N)||(e=C(e),o&&r(o)),t(e,n,o)};let n=e=>{if(e.state){if(!e.state.__NA)return void window.location.reload();(0,u.startTransition)(()=>{(0,O.dispatchTraverseAction)(window.location.href,e.state.__PRIVATE_NEXTJS_INTERNALS_TREE)})}};return window.addEventListener("popstate",n),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",n)}},[]);let{cache:w,tree:A,nextUrl:N,focusAndScrollRef:D}=d,U=(0,u.useMemo)(()=>(0,_.findHeadInCache)(w,A[1]),[w,A]),k=(0,u.useMemo)(()=>(0,m.getSelectedParams)(A),[A]),I=(0,u.useMemo)(()=>({parentTree:A,parentCacheNode:w,parentSegmentPath:null,url:p}),[A,w,p]),H=(0,u.useMemo)(()=>({tree:A,focusAndScrollRef:D,nextUrl:N}),[A,D,N]);if(null!==U){let[e,r]=U;t=(0,o.jsx)(x,{headCacheNode:e},r)}else t=null;let F=(0,o.jsxs)(y.RedirectBoundary,{children:[t,w.rsc,(0,o.jsx)(h.AppRouterAnnouncer,{tree:A})]});return F=(0,o.jsx)(f.ErrorBoundary,{errorComponent:i[0],errorStyles:i[1],children:F}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(M,{appRouterState:d}),(0,o.jsx)(L,{}),(0,o.jsx)(c.PathParamsContext.Provider,{value:k,children:(0,o.jsx)(c.PathnameContext.Provider,{value:T,children:(0,o.jsx)(c.SearchParamsContext.Provider,{value:E,children:(0,o.jsx)(l.GlobalLayoutRouterContext.Provider,{value:H,children:(0,o.jsx)(l.AppRouterContext.Provider,{value:O.publicAppRouterInstance,children:(0,o.jsx)(l.LayoutRouterContext.Provider,{value:I,children:F})})})})})})]})}function N(e){let{actionQueue:t,globalErrorComponentAndStyles:[r,n],assetPrefix:u}=e;return(0,E.useNavFailureHandler)(),(0,o.jsx)(f.ErrorBoundary,{errorComponent:f.default,children:(0,o.jsx)(A,{actionQueue:t,assetPrefix:u,globalError:[r,n]})})}let D=new Set,U=new Set;function L(){let[,e]=u.default.useState(0),t=D.size;return(0,u.useEffect)(()=>{let r=()=>e(e=>e+1);return U.add(r),t!==D.size&&r(),()=>{U.delete(r)}},[t,e]),[...D].map((e,t)=>(0,o.jsx)("link",{rel:"stylesheet",href:""+e,precedence:"next"},t))}globalThis._N_E_STYLE_LOAD=function(e){let t=D.size;return D.add(e),D.size!==t&&U.forEach(e=>e()),Promise.resolve()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57276:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{normalizeAppPath:function(){return u},normalizeRscURL:function(){return l}});let n=r(19133),o=r(8291);function u(e){return(0,n.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,o.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:e+"/"+t,""))}function l(e){return e.replace(/\.rsc($|\?)/,"$1")}},57442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyRouterStatePatchToTree",{enumerable:!0,get:function(){return function e(t,r,n,i){let c,[s,f,d,p,h]=r;if(1===t.length){let e=a(r,n);return(0,l.addRefreshMarkerToActiveParallelSegments)(e,i),e}let[y,_]=t;if(!(0,u.matchSegment)(y,s))return null;if(2===t.length)c=a(f[_],n);else if(null===(c=e((0,o.getNextFlightSegmentPath)(t),f[_],n,i)))return null;let b=[t[0],{...f,[_]:c},d,p];return h&&(b[4]=!0),(0,l.addRefreshMarkerToActiveParallelSegments)(b,i),b}}});let n=r(8291),o=r(22561),u=r(31127),l=r(44908);function a(e,t){let[r,o]=e,[l,i]=t;if(l===n.DEFAULT_SEGMENT_KEY&&r!==n.DEFAULT_SEGMENT_KEY)return e;if((0,u.matchSegment)(r,l)){let t={};for(let e in o)void 0!==i[e]?t[e]=a(o[e],i[e]):t[e]=o[e];for(let e in i)t[e]||(t[e]=i[e]);let n=[r,t];return e[2]&&(n[2]=e[2]),e[3]&&(n[3]=e[3]),e[4]&&(n[4]=e[4]),n}return t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58730:(e,t,r)=>{"use strict";var n=r(12115);function o(e){var t="https://react.dev/errors/"+e;if(1{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setCacheBustingSearchParam",{enumerable:!0,get:function(){return u}});let n=r(13942),o=r(3269),u=(e,t)=>{let r=(0,n.hexHash)([t[o.NEXT_ROUTER_PREFETCH_HEADER]||"0",t[o.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER]||"0",t[o.NEXT_ROUTER_STATE_TREE_HEADER],t[o.NEXT_URL]].join(",")),u=e.search,l=(u.startsWith("?")?u.slice(1):u).split("&").filter(Boolean);l.push(o.NEXT_RSC_UNION_QUERY+"="+r),e.search=l.length?"?"+l.join("&"):""};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},59665:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{MetadataBoundary:function(){return u},OutletBoundary:function(){return a},ViewportBoundary:function(){return l}});let n=r(38287),o={[n.METADATA_BOUNDARY_NAME]:function(e){let{children:t}=e;return t},[n.VIEWPORT_BOUNDARY_NAME]:function(e){let{children:t}=e;return t},[n.OUTLET_BOUNDARY_NAME]:function(e){let{children:t}=e;return t}},u=o[n.METADATA_BOUNDARY_NAME.slice(0)],l=o[n.VIEWPORT_BOUNDARY_NAME.slice(0)],a=o[n.OUTLET_BOUNDARY_NAME.slice(0)];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},61426:(e,t,r)=>{"use strict";var n=r(49509),o=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),s=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.iterator,_={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,g={};function v(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||_}function m(){}function E(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||_}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},m.prototype=v.prototype;var O=E.prototype=new m;O.constructor=E,b(O,v.prototype),O.isPureReactComponent=!0;var R=Array.isArray,P={H:null,A:null,T:null,S:null},j=Object.prototype.hasOwnProperty;function T(e,t,r,n,u,l){return{$$typeof:o,type:e,key:t,ref:void 0!==(r=l.ref)?r:null,props:l}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var M=/\/+/g;function w(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function C(){}function x(e,t,r){if(null==e)return e;var n=[],l=0;return!function e(t,r,n,l,a){var i,c,s,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case o:case u:d=!0;break;case h:return e((d=t._init)(t._payload),r,n,l,a)}}if(d)return a=a(t),d=""===l?"."+w(t,0):l,R(a)?(n="",null!=d&&(n=d.replace(M,"$&/")+"/"),e(a,r,n,"",function(e){return e})):null!=a&&(S(a)&&(i=a,c=n+(null==a.key||t&&t.key===a.key?"":(""+a.key).replace(M,"$&/")+"/")+d,a=T(i.type,c,void 0,void 0,void 0,i.props)),r.push(a)),1;d=0;var p=""===l?".":l+":";if(R(t))for(var _=0;_{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{REDIRECT_ERROR_CODE:function(){return o},RedirectType:function(){return u},isRedirectError:function(){return l}});let n=r(24420),o="NEXT_REDIRECT";var u=function(e){return e.push="push",e.replace="replace",e}({});function l(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,u]=t,l=t.slice(2,-2).join(";"),a=Number(t.at(-2));return r===o&&("replace"===u||"push"===u)&&"string"==typeof l&&!isNaN(a)&&a in n.RedirectStatusCode}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63678:(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"forbidden",{enumerable:!0,get:function(){return n}}),r(36494).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64486:(e,t,r)=>{"use strict";let n,o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return D}});let u=r(88229),l=r(6966),a=r(95155);r(66446),r(6002),r(43954);let i=u._(r(12669)),c=l._(r(12115)),s=r(34979),f=r(82830),d=r(6698),p=r(69155),h=r(53806),y=r(31818),_=r(6634),b=u._(r(56158)),g=r(93567);r(95227);let v=r(85624),m=document,E=new TextEncoder,O=!1,R=!1,P=null;function j(e){if(0===e[0])n=[];else if(1===e[0]){if(!n)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});o?o.enqueue(E.encode(e[1])):n.push(e[1])}else if(2===e[0])P=e[1];else if(3===e[0]){if(!n)throw Object.defineProperty(Error("Unexpected server data: missing bootstrap script."),"__NEXT_ERROR_CODE",{value:"E18",enumerable:!1,configurable:!0});let r=atob(e[1]),u=new Uint8Array(r.length);for(var t=0;t{e.enqueue("string"==typeof t?E.encode(t):t)}),O&&!R)&&(null===e.desiredSize||e.desiredSize<0?e.error(Object.defineProperty(Error("The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection."),"__NEXT_ERROR_CODE",{value:"E117",enumerable:!1,configurable:!0})):e.close(),R=!0,n=void 0),o=e}}),w=(0,s.createFromReadableStream)(M,{callServer:h.callServer,findSourceMapURL:y.findSourceMapURL});function C(e){let{pendingActionQueue:t}=e,r=(0,c.use)(w),n=(0,c.use)(t);return(0,a.jsx)(b.default,{actionQueue:n,globalErrorComponentAndStyles:r.G,assetPrefix:r.p})}let x=c.default.StrictMode;function A(e){let{children:t}=e;return t}let N={onRecoverableError:d.onRecoverableError,onCaughtError:p.onCaughtError,onUncaughtError:p.onUncaughtError};function D(e){let t=new Promise((t,r)=>{w.then(r=>{(0,v.setAppBuildId)(r.b);let n=Date.now();t((0,_.createMutableActionQueue)((0,g.createInitialRouterState)({navigatedAt:n,initialFlightData:r.f,initialCanonicalUrlParts:r.c,initialParallelRoutes:new Map,location:window.location,couldBeIntercepted:r.i,postponed:r.s,prerendered:r.S}),e))},e=>r(e))}),r=(0,a.jsx)(x,{children:(0,a.jsx)(f.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,a.jsx)(A,{children:(0,a.jsx)(C,{pendingActionQueue:t})})})});"__next_error__"===document.documentElement.id?i.default.createRoot(m,N).render(r):c.default.startTransition(()=>{i.default.hydrateRoot(m,r,{...N,formState:P})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return u}});let n=r(11139),o=r(68946);function u(e,t){var r;let{url:u,tree:l}=t,a=(0,n.createHrefFromUrl)(u),i=l||e.tree,c=e.cache;return{canonicalUrl:a,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:e.focusAndScrollRef,cache:c,prefetchCache:e.prefetchCache,tree:i,nextUrl:null!=(r=(0,o.extractPathFromFlightRouterState)(i))?r:u.pathname}}r(54150),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65444:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleClientError:function(){return v},handleConsoleError:function(){return g},handleGlobalErrors:function(){return R},useErrorHandler:function(){return m}});let n=r(88229),o=r(12115),u=r(53506),l=r(22858),a=r(89771),i=r(85169),c=n._(r(15807)),s=r(26043),f=r(13950),d=r(95128),p=globalThis.queueMicrotask||(e=>Promise.resolve().then(e)),h=[],y=[],_=[],b=[];function g(e,t){let r,{environmentName:n}=(0,i.parseConsoleArgs)(t);for(let o of(r=(0,c.default)(e)?(0,s.createConsoleError)(e,n):(0,s.createConsoleError)((0,i.formatConsoleArgs)(t),n),r=(0,d.getReactStitchedError)(r),(0,a.storeHydrationErrorStateFromConsoleArgs)(...t),(0,u.attachHydrationErrorState)(r),(0,f.enqueueConsecutiveDedupedError)(h,r),y))p(()=>{o(r)})}function v(e){let t;for(let r of(t=(0,c.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),t=(0,d.getReactStitchedError)(t),(0,u.attachHydrationErrorState)(t),(0,f.enqueueConsecutiveDedupedError)(h,t),y))p(()=>{r(t)})}function m(e,t){(0,o.useEffect)(()=>(h.forEach(e),_.forEach(t),y.push(e),b.push(t),()=>{y.splice(y.indexOf(e),1),b.splice(b.indexOf(t),1),h.splice(0,h.length),_.splice(0,_.length)}),[e,t])}function E(e){if((0,l.isNextRouterError)(e.error))return e.preventDefault(),!1;e.error&&v(e.error)}function O(e){let t=null==e?void 0:e.reason;if((0,l.isNextRouterError)(t))return void e.preventDefault();let r=t;for(let e of(r&&!(0,c.default)(r)&&(r=Object.defineProperty(Error(r+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})),_.push(r),b))e(r)}function R(){try{Error.stackTraceLimit=50}catch(e){}window.addEventListener("error",E),window.addEventListener("unhandledrejection",O)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66206:(e,t,r)=>{"use strict";e.exports=r(42223)},66361:(e,t)=>{"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},66446:()=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},66905:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{originConsoleError:function(){return o},patchConsoleError:function(){return u}}),r(88229),r(15807);let n=r(22858);r(65444),r(85169);let o=globalThis.console.error;function u(){window.console.error=function(){let e;for(var t=arguments.length,r=Array(t),u=0;u{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return n}});let n=r(88324).makeUntrackedExoticSearchParams;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67599:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return n}});let n=r(77865).unstable_rethrow;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67760:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AppRouterAnnouncer",{enumerable:!0,get:function(){return l}});let n=r(12115),o=r(47650),u="next-route-announcer";function l(e){let{tree:t}=e,[r,l]=(0,n.useState)(null);(0,n.useEffect)(()=>(l(function(){var e;let t=document.getElementsByName(u)[0];if(null==t||null==(e=t.shadowRoot)?void 0:e.childNodes[0])return t.shadowRoot.childNodes[0];{let e=document.createElement(u);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(u)[0];(null==e?void 0:e.isConnected)&&document.body.removeChild(e)}),[]);let[a,i]=(0,n.useState)(""),c=(0,n.useRef)(void 0);return(0,n.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==c.current&&c.current!==e&&i(e),c.current=e},[t]),r?(0,o.createPortal)(a,r):null}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverPatchReducer",{enumerable:!0,get:function(){return s}});let n=r(11139),o=r(57442),u=r(39234),l=r(43894),a=r(70878),i=r(3507),c=r(56158);function s(e,t){let{serverResponse:{flightData:r,canonicalUrl:s},navigatedAt:f}=t,d={};if(d.preserveCustomHistoryState=!1,"string"==typeof r)return(0,l.handleExternalUrl)(e,d,r,e.pushRef.pendingPush);let p=e.tree,h=e.cache;for(let t of r){let{segmentPath:r,tree:i}=t,y=(0,o.applyRouterStatePatchToTree)(["",...r],p,i,e.canonicalUrl);if(null===y)return e;if((0,u.isNavigatingToNewRootLayout)(p,y))return(0,l.handleExternalUrl)(e,d,e.canonicalUrl,e.pushRef.pendingPush);let _=s?(0,n.createHrefFromUrl)(s):void 0;_&&(d.canonicalUrl=_);let b=(0,c.createEmptyCacheNode)();(0,a.applyFlightData)(f,h,b,t),d.patchedTree=y,d.cache=b,h=b,p=y}return(0,i.handleMutable)(e,d)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},68946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{computeChangedPath:function(){return s},extractPathFromFlightRouterState:function(){return c},getSelectedParams:function(){return function e(t,r){for(let n of(void 0===r&&(r={}),Object.values(t[1]))){let t=n[0],u=Array.isArray(t),l=u?t[1]:t;!l||l.startsWith(o.PAGE_SEGMENT_KEY)||(u&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):u&&(r[t[0]]=t[1]),r=e(n,r))}return r}}});let n=r(47755),o=r(8291),u=r(31127),l=e=>"/"===e[0]?e.slice(1):e,a=e=>"string"==typeof e?"children"===e?"":e:e[1];function i(e){return e.reduce((e,t)=>""===(t=l(t))||(0,o.isGroupSegment)(t)?e:e+"/"+t,"")||"/"}function c(e){var t;let r=Array.isArray(e[0])?e[0][1]:e[0];if(r===o.DEFAULT_SEGMENT_KEY||n.INTERCEPTION_ROUTE_MARKERS.some(e=>r.startsWith(e)))return;if(r.startsWith(o.PAGE_SEGMENT_KEY))return"";let u=[a(r)],l=null!=(t=e[1])?t:{},s=l.children?c(l.children):void 0;if(void 0!==s)u.push(s);else for(let[e,t]of Object.entries(l)){if("children"===e)continue;let r=c(t);void 0!==r&&u.push(r)}return i(u)}function s(e,t){let r=function e(t,r){let[o,l]=t,[i,s]=r,f=a(o),d=a(i);if(n.INTERCEPTION_ROUTE_MARKERS.some(e=>f.startsWith(e)||d.startsWith(e)))return"";if(!(0,u.matchSegment)(o,i)){var p;return null!=(p=c(r))?p:""}for(let t in l)if(s[t]){let r=e(l[t],s[t]);if(null!==r)return a(i)+"/"+r}return null}(e,t);return null==r||"/"===r?r:i(r.split("/"))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69155:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{onCaughtError:function(){return i},onUncaughtError:function(){return c}}),r(95128),r(65444);let n=r(22858),o=r(45262),u=r(21646),l=r(66905),a=r(26614);function i(e,t){var r;let u,i=null==(r=t.errorBoundary)?void 0:r.constructor;if(u=u||i===a.ErrorBoundaryHandler&&t.errorBoundary.props.errorComponent===a.GlobalError)return c(e,t);(0,o.isBailoutToCSRError)(e)||(0,n.isNextRouterError)(e)||(0,l.originConsoleError)(e)}function c(e,t){(0,o.isBailoutToCSRError)(e)||(0,n.isNextRouterError)(e)||(0,u.reportGlobalError)(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69818:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_HMR_REFRESH:function(){return a},ACTION_NAVIGATE:function(){return n},ACTION_PREFETCH:function(){return l},ACTION_REFRESH:function(){return r},ACTION_RESTORE:function(){return o},ACTION_SERVER_ACTION:function(){return i},ACTION_SERVER_PATCH:function(){return u},PrefetchCacheEntryStatus:function(){return s},PrefetchKind:function(){return c}});let r="refresh",n="navigate",o="restore",u="server-patch",l="prefetch",a="hmr-refresh",i="server-action";var c=function(e){return e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary",e}({}),s=function(e){return e.fresh="fresh",e.reusable="reusable",e.expired="expired",e.stale="stale",e}({});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70427:(e,t)=>{"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},70878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"applyFlightData",{enumerable:!0,get:function(){return u}});let n=r(34758),o=r(73118);function u(e,t,r,u,l){let{tree:a,seedData:i,head:c,isRootRender:s}=u;if(null===i)return!1;if(s){let o=i[1];r.loading=i[3],r.rsc=o,r.prefetchRsc=null,(0,n.fillLazyItemsTillLeafWithHead)(e,r,t,a,i,c,l)}else r.rsc=t.rsc,r.prefetchRsc=t.prefetchRsc,r.parallelRoutes=new Map(t.parallelRoutes),r.loading=t.loading,(0,o.fillCacheWithNewSubTreeData)(e,r,t,u,l);return!0}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},71536:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BrowserResolvedMetadata",{enumerable:!0,get:function(){return o}});let n=r(12115);function o(e){let{promise:t}=e,{metadata:r,error:o}=(0,n.use)(t);return o?null:r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},71822:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unresolvedThenable",{enumerable:!0,get:function(){return r}});let r={then:()=>{}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},72691:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findHeadInCache",{enumerable:!0,get:function(){return o}});let n=r(85637);function o(e,t){return function e(t,r,o){if(0===Object.keys(r).length)return[t,o];if(r.children){let[u,l]=r.children,a=t.parallelRoutes.get("children");if(a){let t=(0,n.createRouterCacheKey)(u),r=a.get(t);if(r){let n=e(r,l,o+"/"+t);if(n)return n}}}for(let u in r){if("children"===u)continue;let[l,a]=r[u],i=t.parallelRoutes.get(u);if(!i)continue;let c=(0,n.createRouterCacheKey)(l),s=i.get(c);if(!s)continue;let f=e(s,a,o+"/"+c);if(f)return f}return null}(e,t,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},73118:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{fillCacheWithNewSubTreeData:function(){return i},fillCacheWithNewSubTreeDataButOnlyLoading:function(){return c}});let n=r(42004),o=r(34758),u=r(85637),l=r(8291);function a(e,t,r,a,i,c){let{segmentPath:s,seedData:f,tree:d,head:p}=a,h=t,y=r;for(let t=0;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hmrRefreshReducer",{enumerable:!0,get:function(){return n}}),r(88586),r(11139),r(57442),r(39234),r(43894),r(3507),r(70878),r(56158),r(96375),r(4108);let n=function(e,t){return e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},74911:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AsyncMetadata:function(){return u},AsyncMetadataOutlet:function(){return a}});let n=r(95155),o=r(12115),u=r(71536).BrowserResolvedMetadata;function l(e){let{promise:t}=e,{error:r,digest:n}=(0,o.use)(t);if(r)throw n&&(r.digest=n),r;return null}function a(e){let{promise:t}=e;return(0,n.jsx)(o.Suspense,{fallback:null,children:(0,n.jsx)(l,{promise:t})})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},77197:(e,t,r)=>{"use strict";e.exports=r(99062)},77865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,o.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=r(45262),o=r(22858);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79187:(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unauthorized",{enumerable:!0,get:function(){return n}}),r(36494).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80666:e=>{!function(){var t={229:function(e){var t,r,n,o=e.exports={};function u(){throw Error("setTimeout has not been defined")}function l(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:u}catch(e){t=u}try{r="function"==typeof clearTimeout?clearTimeout:l}catch(e){r=l}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===u||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var i=[],c=!1,s=-1;function f(){c&&n&&(c=!1,n.length?i=n.concat(i):s=-1,i.length&&d())}function d(){if(!c){var e=a(f);c=!0;for(var t=i.length;t;){for(n=i,i=[];++s1)for(var r=1;r{"use strict";function r(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return r}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{dispatchAppRouterAction:function(){return l},useActionQueue:function(){return a}});let n=r(6966)._(r(12115)),o=r(95122),u=null;function l(e){if(null===u)throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0});u(e)}function a(e){let[t,r]=n.default.useState(e.state);return u=t=>e.dispatch(t,r),(0,o.isThenable)(t)?(0,n.use)(t):t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82312:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseQueue",{enumerable:!0,get:function(){return c}});let n=r(35952),o=r(16420);var u=o._("_maxConcurrency"),l=o._("_runningCount"),a=o._("_queue"),i=o._("_processNext");class c{enqueue(e){let t,r,o=new Promise((e,n)=>{t=e,r=n}),u=async()=>{try{n._(this,l)[l]++;let r=await e();t(r)}catch(e){r(e)}finally{n._(this,l)[l]--,n._(this,i)[i]()}};return n._(this,a)[a].push({promiseFn:o,task:u}),n._(this,i)[i](),o}bump(e){let t=n._(this,a)[a].findIndex(t=>t.promiseFn===e);if(t>-1){let e=n._(this,a)[a].splice(t,1)[0];n._(this,a)[a].unshift(e),n._(this,i)[i](!0)}}constructor(e=5){Object.defineProperty(this,i,{value:s}),Object.defineProperty(this,u,{writable:!0,value:void 0}),Object.defineProperty(this,l,{writable:!0,value:void 0}),Object.defineProperty(this,a,{writable:!0,value:void 0}),n._(this,u)[u]=e,n._(this,l)[l]=0,n._(this,a)[a]=[]}}function s(e){if(void 0===e&&(e=!1),(n._(this,l)[l]0){var t;null==(t=n._(this,a)[a].shift())||t.task()}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=r(88229)._(r(12115)).default.createContext({})},84074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return o}});let n=r(70427);function o(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:o,hash:u}=(0,n.parsePath)(e);return""+t+r+o+u}},85169:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatConsoleArgs:function(){return u},parseConsoleArgs:function(){return l}});let n=r(88229)._(r(15807));function o(e,t){switch(typeof e){case"object":if(null===e)return"null";if(Array.isArray(e)){let r="[";if(t<1)for(let n=0;n0?"...":"";return r+"]"}{if(e instanceof Error)return e+"";let r=Object.keys(e),n="{";if(t<1)for(let u=0;u0?"...":"";return n+"}"}case"string":return JSON.stringify(e);default:return String(e)}}function u(e){let t,r;"string"==typeof e[0]?(t=e[0],r=1):(t="",r=0);let n="",u=!1;for(let l=0;l=e.length){n+=a;continue}let i=t[++l];switch(i){case"c":n=u?""+n+"]":"["+n,u=!u,r++;break;case"O":case"o":n+=o(e[r++],0);break;case"d":case"i":n+=parseInt(e[r++],10);break;case"f":n+=parseFloat(e[r++]);break;case"s":n+=String(e[r++]);break;default:n+="%"+i}}for(;r0?" ":"")+o(e[r],0);return n}function l(e){if(e.length>3&&"string"==typeof e[0]&&e[0].startsWith("%c%s%c ")&&"string"==typeof e[1]&&"string"==typeof e[2]&&"string"==typeof e[3]){let t=e[2],r=e[4];return{environmentName:t.trim(),error:(0,n.default)(r)?r:null}}return{environmentName:null,error:null}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85624:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getAppBuildId:function(){return o},setAppBuildId:function(){return n}});let r="";function n(e){r=e}function o(){return r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85637:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRouterCacheKey",{enumerable:!0,get:function(){return o}});let n=r(8291);function o(e,t){return(void 0===t&&(t=!1),Array.isArray(e))?e[0]+"|"+e[1]+"|"+e[2]:t&&e.startsWith(n.PAGE_SEGMENT_KEY)?n.PAGE_SEGMENT_KEY:e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return u}});let n=r(84074),o=r(214);function u(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86005:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{NavigationResultTag:function(){return f},PrefetchPriority:function(){return d},cancelPrefetchTask:function(){return i},createCacheKey:function(){return s},getCurrentCacheVersion:function(){return l},navigate:function(){return o},prefetch:function(){return n},reschedulePrefetchTask:function(){return c},revalidateEntireCache:function(){return u},schedulePrefetchTask:function(){return a}});let r=()=>{throw Object.defineProperty(Error("Segment Cache experiment is not enabled. This is a bug in Next.js."),"__NEXT_ERROR_CODE",{value:"E654",enumerable:!1,configurable:!0})},n=r,o=r,u=r,l=r,a=r,i=r,c=r,s=r;var f=function(e){return e[e.MPA=0]="MPA",e[e.Success=1]="Success",e[e.NoOp=2]="NoOp",e[e.Async=3]="Async",e}({}),d=function(e){return e[e.Intent=2]="Intent",e[e.Default=1]="Default",e[e.Background=0]="Background",e}({});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86897:(e,t)=>{"use strict";var r=Symbol.for("react.transitional.element");function n(e,t,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==t.key&&(o=""+t.key),"key"in t)for(var u in n={},t)"key"!==u&&(n[u]=t[u]);else n=t;return{$$typeof:r,type:e,key:o,ref:void 0!==(t=n.ref)?t:null,props:n}}t.Fragment=Symbol.for("react.fragment"),t.jsx=n,t.jsxs=n},87102:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let n=r(91747);function o(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87555:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});let n=r(88229),o=r(6966),u=r(95155),l=r(69818),a=o._(r(12115)),i=n._(r(47650)),c=r(95227),s=r(88586),f=r(71822),d=r(26614),p=r(31127),h=r(24189),y=r(20686),_=r(46975),b=r(85637),g=r(4108),v=r(81027),m=i.default.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,E=["bottom","height","left","right","top","width","x","y"];function O(e,t){let r=e.getBoundingClientRect();return r.top>=0&&r.top<=t}class R extends a.default.Component{componentDidMount(){this.handlePotentialScroll()}componentDidUpdate(){this.props.focusAndScrollRef.apply&&this.handlePotentialScroll()}render(){return this.props.children}constructor(...e){super(...e),this.handlePotentialScroll=()=>{let{focusAndScrollRef:e,segmentPath:t}=this.props;if(e.apply){if(0!==e.segmentPaths.length&&!e.segmentPaths.some(e=>t.every((t,r)=>(0,p.matchSegment)(t,e[r]))))return;let r=null,n=e.hashFragment;if(n&&(r=function(e){var t;return"top"===e?document.body:null!=(t=document.getElementById(e))?t:document.getElementsByName(e)[0]}(n)),r||(r=(0,m.findDOMNode)(this)),!(r instanceof Element))return;for(;!(r instanceof HTMLElement)||function(e){if(["sticky","fixed"].includes(getComputedStyle(e).position))return!0;let t=e.getBoundingClientRect();return E.every(e=>0===t[e])}(r);){if(null===r.nextElementSibling)return;r=r.nextElementSibling}e.apply=!1,e.hashFragment=null,e.segmentPaths=[],(0,h.handleSmoothScroll)(()=>{if(n)return void r.scrollIntoView();let e=document.documentElement,t=e.clientHeight;!O(r,t)&&(e.scrollTop=0,O(r,t)||r.scrollIntoView())},{dontForceLayout:!0,onlyHashChange:e.onlyHashChange}),e.onlyHashChange=!1,r.focus()}}}}function P(e){let{segmentPath:t,children:r}=e,n=(0,a.useContext)(c.GlobalLayoutRouterContext);if(!n)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});return(0,u.jsx)(R,{segmentPath:t,focusAndScrollRef:n.focusAndScrollRef,children:r})}function j(e){let{tree:t,segmentPath:r,cacheNode:n,url:o}=e,i=(0,a.useContext)(c.GlobalLayoutRouterContext);if(!i)throw Object.defineProperty(Error("invariant global layout router not mounted"),"__NEXT_ERROR_CODE",{value:"E473",enumerable:!1,configurable:!0});let{tree:d}=i,h=null!==n.prefetchRsc?n.prefetchRsc:n.rsc,y=(0,a.useDeferredValue)(n.rsc,h),_="object"==typeof y&&null!==y&&"function"==typeof y.then?(0,a.use)(y):y;if(!_){let e=n.lazyData;if(null===e){let t=function e(t,r){if(t){let[n,o]=t,u=2===t.length;if((0,p.matchSegment)(r[0],n)&&r[1].hasOwnProperty(o)){if(u){let t=e(void 0,r[1][o]);return[r[0],{...r[1],[o]:[t[0],t[1],t[2],"refetch"]}]}return[r[0],{...r[1],[o]:e(t.slice(2),r[1][o])}]}}return r}(["",...r],d),u=(0,g.hasInterceptionRouteInCurrentTree)(d),c=Date.now();n.lazyData=e=(0,s.fetchServerResponse)(new URL(o,location.origin),{flightRouterState:t,nextUrl:u?i.nextUrl:null}).then(e=>((0,a.startTransition)(()=>{(0,v.dispatchAppRouterAction)({type:l.ACTION_SERVER_PATCH,previousTree:d,serverResponse:e,navigatedAt:c})}),e)),(0,a.use)(e)}(0,a.use)(f.unresolvedThenable)}return(0,u.jsx)(c.LayoutRouterContext.Provider,{value:{parentTree:t,parentCacheNode:n,parentSegmentPath:r,url:o},children:_})}function T(e){let t,{loading:r,children:n}=e;if(t="object"==typeof r&&null!==r&&"function"==typeof r.then?(0,a.use)(r):r){let e=t[0],r=t[1],o=t[2];return(0,u.jsx)(a.Suspense,{fallback:(0,u.jsxs)(u.Fragment,{children:[r,o,e]}),children:n})}return(0,u.jsx)(u.Fragment,{children:n})}function S(e){let{parallelRouterKey:t,error:r,errorStyles:n,errorScripts:o,templateStyles:l,templateScripts:i,template:s,notFound:f,forbidden:p,unauthorized:h}=e,g=(0,a.useContext)(c.LayoutRouterContext);if(!g)throw Object.defineProperty(Error("invariant expected layout router to be mounted"),"__NEXT_ERROR_CODE",{value:"E56",enumerable:!1,configurable:!0});let{parentTree:v,parentCacheNode:m,parentSegmentPath:E,url:O}=g,R=m.parallelRoutes,S=R.get(t);S||(S=new Map,R.set(t,S));let M=v[0],w=v[1][t],C=w[0],x=null===E?[t]:E.concat([M,t]),A=(0,b.createRouterCacheKey)(C),N=(0,b.createRouterCacheKey)(C,!0),D=S.get(A);if(void 0===D){let e={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null,navigatedAt:-1};D=e,S.set(A,e)}let U=m.loading;return(0,u.jsxs)(c.TemplateContext.Provider,{value:(0,u.jsx)(P,{segmentPath:x,children:(0,u.jsx)(d.ErrorBoundary,{errorComponent:r,errorStyles:n,errorScripts:o,children:(0,u.jsx)(T,{loading:U,children:(0,u.jsx)(_.HTTPAccessFallbackBoundary,{notFound:f,forbidden:p,unauthorized:h,children:(0,u.jsx)(y.RedirectBoundary,{children:(0,u.jsx)(j,{url:O,tree:w,cacheNode:D,segmentPath:x})})})})})}),children:[l,i,s]},N)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return u}});let n=r(6966)._(r(12115)),o=n.default.createContext(null);function u(e){let t=(0,n.useContext)(o);t&&t(e)}},88229:(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:()=>n})},88324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"makeUntrackedExoticSearchParams",{enumerable:!0,get:function(){return u}});let n=r(7541),o=new WeakMap;function u(e){let t=o.get(e);if(t)return t;let r=Promise.resolve(e);return o.set(e,r),Object.keys(e).forEach(t=>{n.wellKnownProperties.has(t)||(r[t]=e[t])}),r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},88586:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createFetch:function(){return y},createFromNextReadableStream:function(){return _},fetchServerResponse:function(){return h},urlToUrlWithoutFlightMarker:function(){return f}});let n=r(3269),o=r(53806),u=r(31818),l=r(69818),a=r(22561),i=r(85624),c=r(58969),{createFromReadableStream:s}=r(34979);function f(e){let t=new URL(e,location.origin);return t.searchParams.delete(n.NEXT_RSC_UNION_QUERY),t}function d(e){return{flightData:f(e).toString(),canonicalUrl:void 0,couldBeIntercepted:!1,prerendered:!1,postponed:!1,staleTime:-1}}let p=new AbortController;async function h(e,t){let{flightRouterState:r,nextUrl:o,prefetchKind:u}=t,c={[n.RSC_HEADER]:"1",[n.NEXT_ROUTER_STATE_TREE_HEADER]:encodeURIComponent(JSON.stringify(r))};u===l.PrefetchKind.AUTO&&(c[n.NEXT_ROUTER_PREFETCH_HEADER]="1"),o&&(c[n.NEXT_URL]=o);try{var s;let t=u?u===l.PrefetchKind.TEMPORARY?"high":"low":"auto",r=await y(e,c,t,p.signal),o=f(r.url),h=r.redirected?o:void 0,b=r.headers.get("content-type")||"",g=!!(null==(s=r.headers.get("vary"))?void 0:s.includes(n.NEXT_URL)),v=!!r.headers.get(n.NEXT_DID_POSTPONE_HEADER),m=r.headers.get(n.NEXT_ROUTER_STALE_TIME_HEADER),E=null!==m?parseInt(m,10):-1;if(!b.startsWith(n.RSC_CONTENT_TYPE_HEADER)||!r.ok||!r.body)return e.hash&&(o.hash=e.hash),d(o.toString());let O=v?function(e){let t=e.getReader();return new ReadableStream({async pull(e){for(;;){let{done:r,value:n}=await t.read();if(!r){e.enqueue(n);continue}return}}})}(r.body):r.body,R=await _(O);if((0,i.getAppBuildId)()!==R.b)return d(r.url);return{flightData:(0,a.normalizeFlightData)(R.f),canonicalUrl:h,couldBeIntercepted:g,prerendered:R.S,postponed:v,staleTime:E}}catch(t){return p.signal.aborted||console.error("Failed to fetch RSC payload for "+e+". Falling back to browser navigation.",t),{flightData:e.toString(),canonicalUrl:void 0,couldBeIntercepted:!1,prerendered:!1,postponed:!1,staleTime:-1}}}function y(e,t,r,n){let o=new URL(e);return(0,c.setCacheBustingSearchParam)(o,t),fetch(o,{credentials:"same-origin",headers:t,priority:r||void 0,signal:n})}function _(e){return s(e,{callServer:o.callServer,findSourceMapURL:u.findSourceMapURL})}window.addEventListener("pagehide",()=>{p.abort()}),window.addEventListener("pageshow",()=>{p=new AbortController}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},89154:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{prefetchQueue:function(){return u},prefetchReducer:function(){return l}});let n=r(82312),o=r(31518),u=new n.PromiseQueue(5),l=function(e,t){(0,o.prunePrefetchCache)(e.prefetchCache);let{url:r}=t;return(0,o.getOrCreatePrefetchCacheEntry)({url:r,nextUrl:e.nextUrl,prefetchCache:e.prefetchCache,kind:t.kind,tree:e.tree,allowAliasing:!0}),e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},89771:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getHydrationWarningType:function(){return a},getReactHydrationDiffSegments:function(){return s},hydrationErrorState:function(){return o},storeHydrationErrorStateFromConsoleArgs:function(){return f}});let n=r(26465),o={},u=new Set(["Warning: In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s","Warning: In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s","Warning: In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.","Warning: In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.","Warning: Expected server HTML to contain a matching <%s> in <%s>.%s","Warning: Did not expect server HTML to contain a <%s> in <%s>.%s"]),l=new Set(['Warning: Expected server HTML to contain a matching text node for "%s" in <%s>.%s','Warning: Did not expect server HTML to contain the text node "%s" in <%s>.%s']),a=e=>{if("string"!=typeof e)return"text";let t=e.startsWith("Warning: ")?e:"Warning: "+e;return i(t)?"tag":c(t)?"text-in-tag":"text"},i=e=>u.has(e),c=e=>l.has(e),s=e=>{if(e){let{message:t,diff:r}=(0,n.getHydrationErrorStackInfo)(e);if(t)return[t,r]}};function f(){for(var e=arguments.length,t=Array(e),r=0;r{e=e.trim();let[,l,a]=/at (\w+)( \((.*)\))?/.exec(e)||[];return a||(l===t&&-1===o?o=n:l===r&&-1===u&&(u=n)),a?"":l}).filter(Boolean).reverse(),c="";for(let e=0;e "+" ".repeat(Math.max(2*e-2,0)+2)+"<"+t+">\n":c+=" ".repeat(2*e+2)+"<"+t+">\n"}if("text"===l){let e=" ".repeat(2*i.length);c+="+ "+e+'"'+t+'"\n'+("- "+e+'"'+r)+'"\n'}else if("text-in-tag"===l){let e=" ".repeat(2*i.length);c+="> "+e+"<"+r+">\n"+("> "+e+'"'+t)+'"\n'}return c}(u,l,i,n):o.reactOutputComponentDiff=n,o.warning=r,o.serverContent=l,o.clientContent=i}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},90894:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ClientPageRoot",{enumerable:!0,get:function(){return o}});let n=r(95155);function o(e){let{Component:t,searchParams:o,params:u,promises:l}=e;{let{createRenderSearchParamsFromClient:e}=r(67205),l=e(o),{createRenderParamsFromClient:a}=r(33558),i=a(u);return(0,n.jsx)(t,{params:i,searchParams:l})}}r(39837),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return o}});let n=r(70427);function o(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},93567:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return s}});let n=r(11139),o=r(34758),u=r(68946),l=r(31518),a=r(69818),i=r(44908),c=r(22561);function s(e){var t,r;let{navigatedAt:s,initialFlightData:f,initialCanonicalUrlParts:d,initialParallelRoutes:p,location:h,couldBeIntercepted:y,postponed:_,prerendered:b}=e,g=d.join("/"),v=(0,c.getFlightDataPartsFromPath)(f[0]),{tree:m,seedData:E,head:O}=v,R={lazyData:null,rsc:null==E?void 0:E[1],prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:p,loading:null!=(t=null==E?void 0:E[3])?t:null,navigatedAt:s},P=h?(0,n.createHrefFromUrl)(h):g;(0,i.addRefreshMarkerToActiveParallelSegments)(m,P);let j=new Map;(null===p||0===p.size)&&(0,o.fillLazyItemsTillLeafWithHead)(s,R,void 0,m,E,O,void 0);let T={tree:m,cache:R,prefetchCache:j,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},focusAndScrollRef:{apply:!1,onlyHashChange:!1,hashFragment:null,segmentPaths:[]},canonicalUrl:P,nextUrl:null!=(r=(0,u.extractPathFromFlightRouterState)(m)||(null==h?void 0:h.pathname))?r:null};if(h){let e=new URL(""+h.pathname+h.search,h.origin);(0,l.createSeededPrefetchCacheEntry)({url:e,data:{flightData:[v],canonicalUrl:void 0,couldBeIntercepted:!!y,prerendered:b,postponed:_,staleTime:-1},tree:T.tree,prefetchCache:T.prefetchCache,nextUrl:T.nextUrl,kind:b?a.PrefetchKind.FULL:a.PrefetchKind.AUTO})}return T}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94970:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ClientSegmentRoot",{enumerable:!0,get:function(){return o}});let n=r(95155);function o(e){let{Component:t,slots:o,params:u,promise:l}=e;{let{createRenderParamsFromClient:e}=r(33558),l=e(u);return(0,n.jsx)(t,{...o,params:l})}}r(39837),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95122:(e,t)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isThenable",{enumerable:!0,get:function(){return r}})},95128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getReactStitchedError",{enumerable:!0,get:function(){return c}});let n=r(88229),o=n._(r(12115)),u=n._(r(15807)),l=r(29148),a="react-stack-bottom-frame",i=RegExp("(at "+a+" )|("+a+"\\@)");function c(e){let t=(0,u.default)(e),r=t&&e.stack||"",n=t?e.message:"",a=r.split("\n"),c=a.findIndex(e=>i.test(e)),s=c>=0?a.slice(0,c).join("\n"):r,f=Object.defineProperty(Error(n),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return Object.assign(f,e),(0,l.copyNextErrorCode)(e,f),f.stack=s,function(e){if(!o.default.captureOwnerStack)return;let t=e.stack||"",r=o.default.captureOwnerStack();r&&!1===t.endsWith(r)&&(e.stack=t+=r)}(f),f}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95155:(e,t,r)=>{"use strict";e.exports=r(86897)},95227:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{AppRouterContext:function(){return o},GlobalLayoutRouterContext:function(){return l},LayoutRouterContext:function(){return u},MissingSlotContext:function(){return i},TemplateContext:function(){return a}});let n=r(88229)._(r(12115)),o=n.default.createContext(null),u=n.default.createContext(null),l=n.default.createContext(null),a=n.default.createContext(null),i=n.default.createContext(new Set)},95563:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{addSearchParamsToPageSegments:function(){return f},handleAliasedPrefetchEntry:function(){return s}});let n=r(8291),o=r(56158),u=r(57442),l=r(11139),a=r(85637),i=r(73118),c=r(3507);function s(e,t,r,s,d){let p,h=t.tree,y=t.cache,_=(0,l.createHrefFromUrl)(s);if("string"==typeof r)return!1;for(let t of r){if(!function e(t){if(!t)return!1;let r=t[2];if(t[3])return!0;for(let t in r)if(e(r[t]))return!0;return!1}(t.seedData))continue;let r=t.tree;r=f(r,Object.fromEntries(s.searchParams));let{seedData:l,isRootRender:c,pathToSegment:d}=t,b=["",...d];r=f(r,Object.fromEntries(s.searchParams));let g=(0,u.applyRouterStatePatchToTree)(b,h,r,_),v=(0,o.createEmptyCacheNode)();if(c&&l){let t=l[1];v.loading=l[3],v.rsc=t,function e(t,r,o,u,l){if(0!==Object.keys(u[1]).length)for(let i in u[1]){let c,s=u[1][i],f=s[0],d=(0,a.createRouterCacheKey)(f),p=null!==l&&void 0!==l[2][i]?l[2][i]:null;if(null!==p){let e=p[1],r=p[3];c={lazyData:null,rsc:f.includes(n.PAGE_SEGMENT_KEY)?null:e,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:r,navigatedAt:t}}else c={lazyData:null,rsc:null,prefetchRsc:null,head:null,prefetchHead:null,parallelRoutes:new Map,loading:null,navigatedAt:-1};let h=r.parallelRoutes.get(i);h?h.set(d,c):r.parallelRoutes.set(i,new Map([[d,c]])),e(t,c,o,s,p)}}(e,v,y,r,l)}else v.rsc=y.rsc,v.prefetchRsc=y.prefetchRsc,v.loading=y.loading,v.parallelRoutes=new Map(y.parallelRoutes),(0,i.fillCacheWithNewSubTreeDataButOnlyLoading)(e,v,y,t);g&&(h=g,y=v,p=!0)}return!!p&&(d.patchedTree=h,d.cache=y,d.canonicalUrl=_,d.hashFragment=s.hash,(0,c.handleMutable)(t,d))}function f(e,t){let[r,o,...u]=e;if(r.includes(n.PAGE_SEGMENT_KEY))return[(0,n.addSearchParamsIfPageSegment)(r,t),o,...u];let l={};for(let[e,r]of Object.entries(o))l[e]=f(r,t);return[r,l,...u]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95618:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ReadonlyURLSearchParams:function(){return s},RedirectType:function(){return o.RedirectType},forbidden:function(){return l.forbidden},notFound:function(){return u.notFound},permanentRedirect:function(){return n.permanentRedirect},redirect:function(){return n.redirect},unauthorized:function(){return a.unauthorized},unstable_rethrow:function(){return i.unstable_rethrow}});let n=r(36825),o=r(62210),u=r(38527),l=r(63678),a=r(79187),i=r(67599);class c extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class s extends URLSearchParams{append(){throw new c}delete(){throw new c}set(){throw new c}sort(){throw new c}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSegmentMismatch",{enumerable:!0,get:function(){return o}});let n=r(43894);function o(e,t,r){return(0,n.handleExternalUrl)(e,{},e.canonicalUrl,!0)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99062:(e,t,r)=>{"use strict";var n=r(47650),o={stream:!0},u=new Map;function l(e){var t=r(e);return"function"!=typeof t.then||"fulfilled"===t.status?null:(t.then(function(e){t.status="fulfilled",t.value=e},function(e){t.status="rejected",t.reason=e}),t)}function a(){}function i(e){for(var t=e[1],n=[],o=0;oc||35===c||114===c||120===c?(s=c,c=3,a++):(s=0,c=3);continue;case 2:44===(y=l[a++])?c=4:f=f<<4|(96l.length&&(y=-1)}var _=l.byteOffset+a;if(-1{"use strict";r.d(t,{b:()=>l,s:()=>s});var n=r(12115),i=r(63540),o=r(95155),s=n.forwardRef((e,t)=>(0,o.jsx)(i.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));s.displayName="VisuallyHidden";var l=s},11518:(e,t,r)=>{"use strict";e.exports=r(82269).style},15630:(e,t,r)=>{"use strict";r.d(t,{C1:()=>j,bL:()=>R});var n=r(12115),i=r(6101),o=r(46081),s=r(85185),l=r(5845),a=r(45503),u=r(11275),d=r(28905);r(47650);var c=r(99708),p=r(95155),h=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=n.forwardRef((e,r)=>{let{asChild:n,...i}=e,o=n?c.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,p.jsx)(o,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),f="Checkbox",[m,v]=(0,o.A)(f),[y,g]=m(f),x=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:o,checked:a,defaultChecked:u,required:d,disabled:c,value:f="on",onCheckedChange:m,form:v,...g}=e,[x,w]=n.useState(null),_=(0,i.s)(t,e=>w(e)),R=n.useRef(!1),j=!x||v||!!x.closest("form"),[E=!1,k]=(0,l.i)({prop:a,defaultProp:u,onChange:m}),T=n.useRef(E);return n.useEffect(()=>{let e=null==x?void 0:x.form;if(e){let t=()=>k(T.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[x,k]),(0,p.jsxs)(y,{scope:r,state:E,disabled:c,children:[(0,p.jsx)(h.button,{type:"button",role:"checkbox","aria-checked":S(E)?"mixed":E,"aria-required":d,"data-state":C(E),"data-disabled":c?"":void 0,disabled:c,value:f,...g,ref:_,onKeyDown:(0,s.m)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,s.m)(e.onClick,e=>{k(e=>!!S(e)||!e),j&&(R.current=e.isPropagationStopped(),R.current||e.stopPropagation())})}),j&&(0,p.jsx)(b,{control:x,bubbles:!R.current,name:o,value:f,checked:E,required:d,disabled:c,form:v,style:{transform:"translateX(-100%)"},defaultChecked:!S(u)&&u})]})});x.displayName=f;var w="CheckboxIndicator",_=n.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:n,...i}=e,o=g(w,r);return(0,p.jsx)(d.C,{present:n||S(o.state)||!0===o.state,children:(0,p.jsx)(h.span,{"data-state":C(o.state),"data-disabled":o.disabled?"":void 0,...i,ref:t,style:{pointerEvents:"none",...e.style}})})});_.displayName=w;var b=e=>{let{control:t,checked:r,bubbles:i=!0,defaultChecked:o,...s}=e,l=n.useRef(null),d=(0,a.Z)(r),c=(0,u.X)(t);n.useEffect(()=>{let e=l.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(d!==r&&t){let n=new Event("click",{bubbles:i});e.indeterminate=S(r),t.call(e,!S(r)&&r),e.dispatchEvent(n)}},[d,r,i]);let h=n.useRef(!S(r)&&r);return(0,p.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=o?o:h.current,...s,tabIndex:-1,ref:l,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function S(e){return"indeterminate"===e}function C(e){return S(e)?"indeterminate":e?"checked":"unchecked"}var R=x,j=_},51154:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},63753:(e,t,r)=>{"use strict";r.d(t,{Mz:()=>z,i3:()=>N,UC:()=>O,bL:()=>P,Bk:()=>v});var n=r(12115),i=r(84945),o=r(76492),s=r(63540),l=r(95155),a=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:i=5,...o}=e;return(0,l.jsx)(s.sG.svg,{...o,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,l.jsx)("polygon",{points:"0,0 30,0 15,10"})})});a.displayName="Arrow";var u=r(6101),d=r(46081),c=r(39033),p=r(52712),h=r(11275),f="Popper",[m,v]=(0,d.A)(f),[y,g]=m(f),x=e=>{let{__scopePopper:t,children:r}=e,[i,o]=n.useState(null);return(0,l.jsx)(y,{scope:t,anchor:i,onAnchorChange:o,children:r})};x.displayName=f;var w="PopperAnchor",_=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:i,...o}=e,a=g(w,r),d=n.useRef(null),c=(0,u.s)(t,d);return n.useEffect(()=>{a.onAnchorChange((null==i?void 0:i.current)||d.current)}),i?null:(0,l.jsx)(s.sG.div,{...o,ref:c})});_.displayName=w;var b="PopperContent",[S,C]=m(b),R=n.forwardRef((e,t)=>{var r,a,d,f,m,v,y,x;let{__scopePopper:w,side:_="bottom",sideOffset:C=0,align:R="center",alignOffset:j=0,arrowPadding:E=0,avoidCollisions:k=!0,collisionBoundary:P=[],collisionPadding:z=0,sticky:O="partial",hideWhenDetached:N=!1,updatePositionStrategy:L="optimized",onPlaced:I,...D}=e,M=g(b,w),[B,H]=n.useState(null),X=(0,u.s)(t,e=>H(e)),[W,q]=n.useState(null),Y=(0,h.X)(W),U=null!=(y=null==Y?void 0:Y.width)?y:0,G=null!=(x=null==Y?void 0:Y.height)?x:0,V="number"==typeof z?z:{top:0,right:0,bottom:0,left:0,...z},K=Array.isArray(P)?P:[P],Z=K.length>0,$={padding:V,boundary:K.filter(T),altBoundary:Z},{refs:J,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:er}=(0,i.we)({strategy:"fixed",placement:_+("center"!==R?"-"+R:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r{let{elements:t,rects:r,availableWidth:n,availableHeight:i}=e,{width:o,height:s}=r.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(n,"px")),l.setProperty("--radix-popper-available-height","".concat(i,"px")),l.setProperty("--radix-popper-anchor-width","".concat(o,"px")),l.setProperty("--radix-popper-anchor-height","".concat(s,"px"))}}),W&&(0,i.UE)({element:W,padding:E}),A({arrowWidth:U,arrowHeight:G}),N&&(0,i.jD)({strategy:"referenceHidden",...$})]}),[en,ei]=F(ee),eo=(0,c.c)(I);(0,p.N)(()=>{et&&(null==eo||eo())},[et,eo]);let es=null==(r=er.arrow)?void 0:r.x,el=null==(a=er.arrow)?void 0:a.y,ea=(null==(d=er.arrow)?void 0:d.centerOffset)!==0,[eu,ed]=n.useState();return(0,p.N)(()=>{B&&ed(window.getComputedStyle(B).zIndex)},[B]),(0,l.jsx)("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eu,"--radix-popper-transform-origin":[null==(f=er.transformOrigin)?void 0:f.x,null==(m=er.transformOrigin)?void 0:m.y].join(" "),...(null==(v=er.hide)?void 0:v.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,l.jsx)(S,{scope:w,placedSide:en,onArrowChange:q,arrowX:es,arrowY:el,shouldHideArrow:ea,children:(0,l.jsx)(s.sG.div,{"data-side":en,"data-align":ei,...D,ref:X,style:{...D.style,animation:et?void 0:"none"}})})})});R.displayName=b;var j="PopperArrow",E={top:"bottom",right:"left",bottom:"top",left:"right"},k=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,i=C(j,r),o=E[i.placedSide];return(0,l.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,l.jsx)(a,{...n,ref:t,style:{...n.style,display:"block"}})})});function T(e){return null!==e}k.displayName=j;var A=e=>({name:"transformOrigin",options:e,fn(t){var r,n,i,o,s;let{placement:l,rects:a,middlewareData:u}=t,d=(null==(r=u.arrow)?void 0:r.centerOffset)!==0,c=d?0:e.arrowWidth,p=d?0:e.arrowHeight,[h,f]=F(l),m={start:"0%",center:"50%",end:"100%"}[f],v=(null!=(o=null==(n=u.arrow)?void 0:n.x)?o:0)+c/2,y=(null!=(s=null==(i=u.arrow)?void 0:i.y)?s:0)+p/2,g="",x="";return"bottom"===h?(g=d?m:"".concat(v,"px"),x="".concat(-p,"px")):"top"===h?(g=d?m:"".concat(v,"px"),x="".concat(a.floating.height+p,"px")):"right"===h?(g="".concat(-p,"px"),x=d?m:"".concat(y,"px")):"left"===h&&(g="".concat(a.floating.width+p,"px"),x=d?m:"".concat(y,"px")),{data:{x:g,y:x}}}});function F(e){let[t,r="center"]=e.split("-");return[t,r]}var P=x,z=_,O=R,N=k},68375:()=>{},72797:(e,t,r)=>{"use strict";r.d(t,{b:()=>a});var n=r(12115);r(47650);var i=r(99708),o=r(95155),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=n.forwardRef((e,r)=>{let{asChild:n,...s}=e,l=n?i.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(l,{...s,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),l=n.forwardRef((e,t)=>(0,o.jsx)(s.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null==(r=e.onMouseDown)||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));l.displayName="Label";var a=l},78082:(e,t,r)=>{"use strict";r.d(t,{UC:()=>q,Kq:()=>H,bL:()=>X,l9:()=>W});var n=r(12115),i=r(85185),o=r(6101),s=r(46081),l=r(58434),a=r(61285),u=r(63753),d=(r(34378),r(28905)),c=r(63540),p=r(95155);n.forwardRef((e,t)=>{let{children:r,...i}=e,o=n.Children.toArray(r),s=o.find(m);if(s){let e=s.props.children,r=o.map(t=>t!==s?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,p.jsx)(h,{...i,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,p.jsx)(h,{...i,ref:t,children:r})}).displayName="Slot";var h=n.forwardRef((e,t)=>{let{children:r,...i}=e;if(n.isValidElement(r)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(r);return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{o(...e),i(...e)}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props),ref:t?(0,o.t)(t,e):e})}return n.Children.count(r)>1?n.Children.only(null):null});h.displayName="SlotClone";var f=({children:e})=>(0,p.jsx)(p.Fragment,{children:e});function m(e){return n.isValidElement(e)&&e.type===f}var v=r(5845),y=r(2564),[g,x]=(0,s.A)("Tooltip",[u.Bk]),w=(0,u.Bk)(),_="TooltipProvider",b="tooltip.open",[S,C]=g(_),R=e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:s}=e,[l,a]=n.useState(!0),u=n.useRef(!1),d=n.useRef(0);return n.useEffect(()=>{let e=d.current;return()=>window.clearTimeout(e)},[]),(0,p.jsx)(S,{scope:t,isOpenDelayed:l,delayDuration:r,onOpen:n.useCallback(()=>{window.clearTimeout(d.current),a(!1)},[]),onClose:n.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>a(!0),i)},[i]),isPointerInTransitRef:u,onPointerInTransitChange:n.useCallback(e=>{u.current=e},[]),disableHoverableContent:o,children:s})};R.displayName=_;var j="Tooltip",[E,k]=g(j),T=e=>{let{__scopeTooltip:t,children:r,open:i,defaultOpen:o=!1,onOpenChange:s,disableHoverableContent:l,delayDuration:d}=e,c=C(j,e.__scopeTooltip),h=w(t),[f,m]=n.useState(null),y=(0,a.B)(),g=n.useRef(0),x=null!=l?l:c.disableHoverableContent,_=null!=d?d:c.delayDuration,S=n.useRef(!1),[R=!1,k]=(0,v.i)({prop:i,defaultProp:o,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(b))):c.onClose(),null==s||s(e)}}),T=n.useMemo(()=>R?S.current?"delayed-open":"instant-open":"closed",[R]),A=n.useCallback(()=>{window.clearTimeout(g.current),g.current=0,S.current=!1,k(!0)},[k]),F=n.useCallback(()=>{window.clearTimeout(g.current),g.current=0,k(!1)},[k]),P=n.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{S.current=!0,k(!0),g.current=0},_)},[_,k]);return n.useEffect(()=>()=>{g.current&&(window.clearTimeout(g.current),g.current=0)},[]),(0,p.jsx)(u.bL,{...h,children:(0,p.jsx)(E,{scope:t,contentId:y,open:R,stateAttribute:T,trigger:f,onTriggerChange:m,onTriggerEnter:n.useCallback(()=>{c.isOpenDelayed?P():A()},[c.isOpenDelayed,P,A]),onTriggerLeave:n.useCallback(()=>{x?F():(window.clearTimeout(g.current),g.current=0)},[F,x]),onOpen:A,onClose:F,disableHoverableContent:x,children:r})})};T.displayName=j;var A="TooltipTrigger",F=n.forwardRef((e,t)=>{let{__scopeTooltip:r,...s}=e,l=k(A,r),a=C(A,r),d=w(r),h=n.useRef(null),f=(0,o.s)(t,h,l.onTriggerChange),m=n.useRef(!1),v=n.useRef(!1),y=n.useCallback(()=>m.current=!1,[]);return n.useEffect(()=>()=>document.removeEventListener("pointerup",y),[y]),(0,p.jsx)(u.Mz,{asChild:!0,...d,children:(0,p.jsx)(c.sG.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...s,ref:f,onPointerMove:(0,i.m)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(v.current||a.isPointerInTransitRef.current||(l.onTriggerEnter(),v.current=!0))}),onPointerLeave:(0,i.m)(e.onPointerLeave,()=>{l.onTriggerLeave(),v.current=!1}),onPointerDown:(0,i.m)(e.onPointerDown,()=>{m.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:(0,i.m)(e.onFocus,()=>{m.current||l.onOpen()}),onBlur:(0,i.m)(e.onBlur,l.onClose),onClick:(0,i.m)(e.onClick,l.onClose)})})});F.displayName=A;var[P,z]=g("TooltipPortal",{forceMount:void 0}),O="TooltipContent",N=n.forwardRef((e,t)=>{let r=z(O,e.__scopeTooltip),{forceMount:n=r.forceMount,side:i="top",...o}=e,s=k(O,e.__scopeTooltip);return(0,p.jsx)(d.C,{present:n||s.open,children:s.disableHoverableContent?(0,p.jsx)(M,{side:i,...o,ref:t}):(0,p.jsx)(L,{side:i,...o,ref:t})})}),L=n.forwardRef((e,t)=>{let r=k(O,e.__scopeTooltip),i=C(O,e.__scopeTooltip),s=n.useRef(null),l=(0,o.s)(t,s),[a,u]=n.useState(null),{trigger:d,onClose:c}=r,h=s.current,{onPointerInTransitChange:f}=i,m=n.useCallback(()=>{u(null),f(!1)},[f]),v=n.useCallback((e,t)=>{let r=e.currentTarget,n={x:e.clientX,y:e.clientY},i=function(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,i,o)){case o:return"left";case i:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}(n,r.getBoundingClientRect());u(function(e){let t=e.slice();return t.sort((e,t)=>e.xt.x?1:e.yt.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}(t)}([...function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}(n,i),...function(e){let{top:t,right:r,bottom:n,left:i}=e;return[{x:i,y:t},{x:r,y:t},{x:r,y:n},{x:i,y:n}]}(t.getBoundingClientRect())])),f(!0)},[f]);return n.useEffect(()=>()=>m(),[m]),n.useEffect(()=>{if(d&&h){let e=e=>v(e,h),t=e=>v(e,d);return d.addEventListener("pointerleave",e),h.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),h.removeEventListener("pointerleave",t)}}},[d,h,v,m]),n.useEffect(()=>{if(a){let e=e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=(null==d?void 0:d.contains(t))||(null==h?void 0:h.contains(t)),i=!function(e,t){let{x:r,y:n}=e,i=!1;for(let e=0,o=t.length-1;en!=u>n&&r<(a-s)*(n-l)/(u-l)+s&&(i=!i)}return i}(r,a);n?m():i&&(m(),c())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[d,h,a,c,m]),(0,p.jsx)(M,{...e,ref:l})}),[I,D]=g(j,{isInside:!1}),M=n.forwardRef((e,t)=>{let{__scopeTooltip:r,children:i,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:a,...d}=e,c=k(O,r),h=w(r),{onClose:m}=c;return n.useEffect(()=>(document.addEventListener(b,m),()=>document.removeEventListener(b,m)),[m]),n.useEffect(()=>{if(c.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(c.trigger))&&m()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,m]),(0,p.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:m,children:(0,p.jsxs)(u.UC,{"data-state":c.stateAttribute,...h,...d,ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,p.jsx)(f,{children:i}),(0,p.jsx)(I,{scope:r,isInside:!0,children:(0,p.jsx)(y.b,{id:c.contentId,role:"tooltip",children:o||i})})]})})});N.displayName=O;var B="TooltipArrow";n.forwardRef((e,t)=>{let{__scopeTooltip:r,...n}=e,i=w(r);return D(B,r).isInside?null:(0,p.jsx)(u.i3,{...i,...n,ref:t})}).displayName=B;var H=R,X=T,W=F,q=N},82269:(e,t,r)=>{"use strict";var n=r(49509);r(68375);var i=r(12115),o=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(i),s=void 0!==n&&n.env&&!0,l=function(e){return"[object String]"===Object.prototype.toString.call(e)},a=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,i=t.optimizeForSpeed,o=void 0===i?s:i;u(l(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",u("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(s||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t>>0},c={};function p(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return c[n]||(c[n]="jsx-"+d(e+"-"+r)),c[n]}function h(e,t){"undefined"==typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;return c[r]||(c[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),c[r]}var f=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,i=t.optimizeForSpeed,o=void 0!==i&&i;this._sheet=n||new a({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),n&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,i=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var o=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=o,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],n=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var i=p(n,r);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return h(i,e)}):[h(i,t)]}}return{styleId:p(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var v=o.default.useInsertionEffect||o.default.useLayoutEffect,y="undefined"!=typeof window?new f:void 0;function g(e){var t=y||i.useContext(m);return t&&("undefined"==typeof window?t.add(e):v(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}g.dynamic=function(e){return e.map(function(e){return p(e[0],e[1])}).join(" ")},t.style=g},84616:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])}}]); \ No newline at end of file diff --git a/.next/static/chunks/1895-764d095e5a25bafd.js b/.next/static/chunks/1895-764d095e5a25bafd.js new file mode 100644 index 00000000..d83e194b --- /dev/null +++ b/.next/static/chunks/1895-764d095e5a25bafd.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1895],{14503:(e,t,a)=>{a.d(t,{dj:()=>u,oR:()=>f});var s=a(12115);let r=0,o=new Map,n=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,t)},d=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?n(a):e.toasts.forEach(e=>{n(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},i=[],l={toasts:[]};function c(e){l=d(l,e),i.forEach(e=>{e(l)})}function f(e){let{...t}=e,a=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||s()}}}),{id:a,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function u(){let[e,t]=s.useState(l);return s.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:f,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},16559:(e,t,a)=>{a.d(t,{$v:()=>g,EO:()=>f,Lt:()=>i,Rx:()=>x,Zr:()=>b,ck:()=>m,r7:()=>p,wd:()=>u});var s=a(95155),r=a(12115),o=a(62278),n=a(53999),d=a(97168);let i=o.bL;o.l9;let l=o.ZL,c=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r,ref:t})});c.displayName=o.hJ.displayName;let f=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsxs)(l,{children:[(0,s.jsx)(c,{}),(0,s.jsx)(o.UC,{ref:t,className:(0,n.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...r})]})});f.displayName=o.UC.displayName;let u=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",t),...a})};u.displayName="AlertDialogHeader";let m=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};m.displayName="AlertDialogFooter";let p=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.hE,{ref:t,className:(0,n.cn)("text-lg font-semibold",a),...r})});p.displayName=o.hE.displayName;let g=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.VY,{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",a),...r})});g.displayName=o.VY.displayName;let x=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.rc,{ref:t,className:(0,n.cn)((0,d.r)(),a),...r})});x.displayName=o.rc.displayName;let b=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.ZD,{ref:t,className:(0,n.cn)((0,d.r)({variant:"outline"}),"mt-2 sm:mt-0",a),...r})});b.displayName=o.ZD.displayName},34964:(e,t,a)=>{a.d(t,{Xi:()=>l,av:()=>c,j7:()=>i,tU:()=>d});var s=a(95155),r=a(12115),o=a(30064),n=a(53999);let d=o.bL,i=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.B8,{ref:t,className:(0,n.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",a),...r})});i.displayName=o.B8.displayName;let l=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.l9,{ref:t,className:(0,n.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",a),...r})});l.displayName=o.l9.displayName;let c=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.UC,{ref:t,className:(0,n.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...r})});c.displayName=o.UC.displayName},53999:(e,t,a)=>{a.d(t,{cn:()=>o});var s=a(52596),r=a(39688);function o(){for(var e=arguments.length,t=Array(e),a=0;a{a.d(t,{SQ:()=>u,_2:()=>m,lp:()=>p,mB:()=>g,rI:()=>c,ty:()=>f});var s=a(95155),r=a(12115),o=a(73447),n=a(13052),d=a(5196),i=a(9428),l=a(53999);let c=o.bL,f=o.l9;o.YJ,o.ZL,o.Pb,o.z6,r.forwardRef((e,t)=>{let{className:a,inset:r,children:d,...i}=e;return(0,s.jsxs)(o.ZP,{ref:t,className:(0,l.cn)("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",a),...i,children:[d,(0,s.jsx)(n.A,{className:"ml-auto"})]})}).displayName=o.ZP.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.G5,{ref:t,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...r})}).displayName=o.G5.displayName;let u=r.forwardRef((e,t)=>{let{className:a,sideOffset:r=4,...n}=e;return(0,s.jsx)(o.ZL,{children:(0,s.jsx)(o.UC,{ref:t,sideOffset:r,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...n})})});u.displayName=o.UC.displayName;let m=r.forwardRef((e,t)=>{let{className:a,inset:r,...n}=e;return(0,s.jsx)(o.q7,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",a),...n})});m.displayName=o.q7.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,checked:n,...i}=e;return(0,s.jsxs)(o.H_,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),checked:n,...i,children:[(0,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(o.VF,{children:(0,s.jsx)(d.A,{className:"h-4 w-4"})})}),r]})}).displayName=o.H_.displayName,r.forwardRef((e,t)=>{let{className:a,children:r,...n}=e;return(0,s.jsxs)(o.hN,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...n,children:[(0,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(o.VF,{children:(0,s.jsx)(i.A,{className:"h-2 w-2 fill-current"})})}),r]})}).displayName=o.hN.displayName;let p=r.forwardRef((e,t)=>{let{className:a,inset:r,...n}=e;return(0,s.jsx)(o.JU,{ref:t,className:(0,l.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",a),...n})});p.displayName=o.JU.displayName;let g=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.wv,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-muted",a),...r})});g.displayName=o.wv.displayName},89852:(e,t,a)=>{a.d(t,{p:()=>n});var s=a(95155),r=a(12115),o=a(53999);let n=r.forwardRef((e,t)=>{let{className:a,type:r,...n}=e;return(0,s.jsx)("input",{type:r,className:(0,o.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:t,...n})});n.displayName="Input"},95139:(e,t,a)=>{a.d(t,{S:()=>i});var s=a(95155),r=a(12115),o=a(15630),n=a(5196),d=a(53999);let i=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(o.bL,{ref:t,className:(0,d.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",a),...r,children:(0,s.jsx)(o.C1,{className:(0,d.cn)("flex items-center justify-center text-current"),children:(0,s.jsx)(n.A,{className:"h-4 w-4"})})})});i.displayName=o.bL.displayName},97168:(e,t,a)=>{a.d(t,{$:()=>l,r:()=>i});var s=a(95155),r=a(12115),o=a(99708),n=a(74466),d=a(53999);let i=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),l=r.forwardRef((e,t)=>{let{className:a,variant:r,size:n,asChild:l=!1,...c}=e,f=l?o.DX:"button";return(0,s.jsx)(f,{className:(0,d.cn)(i({variant:r,size:n,className:a})),ref:t,...c})});l.displayName="Button"}}]); \ No newline at end of file diff --git a/.next/static/chunks/2108-be43c8b39d1e0aae.js b/.next/static/chunks/2108-be43c8b39d1e0aae.js new file mode 100644 index 00000000..8f5ca3e0 --- /dev/null +++ b/.next/static/chunks/2108-be43c8b39d1e0aae.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2108],{2419:t=>{t.exports=function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},2630:(t,e,r)=>{"use strict";var n=r(56620);Object.defineProperty(e,"__esModule",{value:!0}),e.BroadcastChannel=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"nextauth.message";return{receive:function(e){var r=function(r){if(r.key===t){var n,o=JSON.parse(null!=(n=r.newValue)?n:"{}");(null==o?void 0:o.event)==="session"&&null!=o&&o.data&&e(o)}};return window.addEventListener("storage",r),function(){return window.removeEventListener("storage",r)}},post:function(e){if("undefined"!=typeof window)try{localStorage.setItem(t,JSON.stringify(s(s({},e),{},{timestamp:f()})))}catch(t){}}}},e.apiBaseUrl=l,e.fetchData=function(t,e,r){return c.apply(this,arguments)},e.now=f;var o=n(r(81390)),a=n(r(13901)),u=n(r(49165));function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function s(t){for(var e=1;e3&&void 0!==y[3]?y[3]:{}).ctx,c=void 0===(i=a.req)?null==u?void 0:u.req:i,f="".concat(l(r),"/").concat(e),t.prev=2,d={headers:s({"Content-Type":"application/json"},null!=c&&null!=(p=c.headers)&&p.cookie?{cookie:c.headers.cookie}:{})},null!=c&&c.body&&(d.body=JSON.stringify(c.body),d.method="POST"),t.next=7,fetch(f,d);case 7:return h=t.sent,t.next=10,h.json();case 10:if(v=t.sent,h.ok){t.next=13;break}throw v;case 13:return t.abrupt("return",Object.keys(v).length>0?v:null);case 16:return t.prev=16,t.t0=t.catch(2),n.error("CLIENT_FETCH_ERROR",{error:t.t0,url:f}),t.abrupt("return",null);case 20:case"end":return t.stop()}},t,null,[[2,16]])}))).apply(this,arguments)}function l(t){return"undefined"==typeof window?"".concat(t.baseUrlServer).concat(t.basePathServer):t.basePath}function f(){return Math.floor(Date.now()/1e3)}},12108:(t,e,r)=>{"use strict";var n,o,a,u,i,s=r(49509),c=r(56620),l=r(87382);Object.defineProperty(e,"__esModule",{value:!0});var f={SessionContext:!0,useSession:!0,getSession:!0,getCsrfToken:!0,getProviders:!0,signIn:!0,signOut:!0,SessionProvider:!0};e.SessionContext=void 0,e.SessionProvider=function(t){if(!L)throw Error("React Context is unavailable in Server Components");var e,r,n,o,a,u,i=t.children,s=t.basePath,c=t.refetchInterval,l=t.refetchWhenOffline;s&&(j.basePath=s);var f=void 0!==t.session;j._lastSync=f?(0,x.now)():0;var d=y.useState(function(){return f&&(j._session=t.session),t.session}),g=(0,v.default)(d,2),b=g[0],_=g[1],m=y.useState(!f),O=(0,v.default)(m,2),E=O[0],S=O[1];y.useEffect(function(){return j._getSession=(0,h.default)(p.default.mark(function t(){var e,r,n=arguments;return p.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(n.length>0&&void 0!==n[0]?n[0]:{}).event,t.prev=1,!((r="storage"===e)||void 0===j._session)){t.next=10;break}return j._lastSync=(0,x.now)(),t.next=7,R({broadcast:!r});case 7:return j._session=t.sent,_(j._session),t.abrupt("return");case 10:if(!(!e||null===j._session||(0,x.now)(){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},13131:(t,e,r)=>{var n=r(87824),o=r(39828),a=r(35440),u=r(96268);function i(e){var r="function"==typeof Map?new Map:void 0;return t.exports=i=function(t){if(null===t||!a(t))return t;if("function"!=typeof t)throw TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,e)}function e(){return u(t,arguments,n(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),o(e,t)},t.exports.__esModule=!0,t.exports.default=t.exports,i(e)}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},13901:(t,e,r)=>{var n=r(96346);t.exports=function(t,e,r){return(e=n(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t},t.exports.__esModule=!0,t.exports.default=t.exports},22977:(t,e,r)=>{var n=r(87382).default;function o(){"use strict";t.exports=o=function(){return r},t.exports.__esModule=!0,t.exports.default=t.exports;var e,r={},a=Object.prototype,u=a.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",f=s.toStringTag||"@@toStringTag";function p(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(t){p=function(t,e,r){return t[e]=r}}function d(t,r,n,o){var a,u,s,c,l=Object.create((r&&r.prototype instanceof x?r:x).prototype);return i(l,"_invoke",{value:(a=t,u=n,s=new R(o||[]),c=v,function(t,r){if(c===y)throw Error("Generator is already running");if(c===g){if("throw"===t)throw r;return{value:e,done:!0}}for(s.method=t,s.arg=r;;){var n=s.delegate;if(n){var o=function t(r,n){var o=n.method,a=r.iterator[o];if(a===e)return n.delegate=null,"throw"===o&&r.iterator.return&&(n.method="return",n.arg=e,t(r,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),b;var u=h(a,r.iterator,n.arg);if("throw"===u.type)return n.method="throw",n.arg=u.arg,n.delegate=null,b;var i=u.arg;return i?i.done?(n[r.resultName]=i.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,b):i:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,b)}(n,s);if(o){if(o===b)continue;return o}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(c===v)throw c=g,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);c=y;var i=h(a,u,s);if("normal"===i.type){if(c=s.done?g:"suspendedYield",i.arg===b)continue;return{value:i.arg,done:s.done}}"throw"===i.type&&(c=g,s.method="throw",s.arg=i.arg)}})}),l}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=d;var v="suspendedStart",y="executing",g="completed",b={};function x(){}function w(){}function _(){}var m={};p(m,c,function(){return this});var O=Object.getPrototypeOf,E=O&&O(O(M([])));E&&E!==a&&u.call(E,c)&&(m=E);var S=_.prototype=x.prototype=Object.create(m);function j(t){["next","throw","return"].forEach(function(e){p(t,e,function(t){return this._invoke(e,t)})})}function k(t,e){var r;i(this,"_invoke",{value:function(o,a){function i(){return new e(function(r,i){!function r(o,a,i,s){var c=h(t[o],t,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&u.call(f,"__await")?e.resolve(f.__await).then(function(t){r("next",t,i,s)},function(t){r("throw",t,i,s)}):e.resolve(f).then(function(t){l.value=t,i(l)},function(t){return r("throw",t,i,s)})}s(c.arg)}(o,a,r,i)})}return r=r?r.then(i,i):i()}})}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function R(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function M(t){if(t||""===t){var r=t[c];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=u.call(a,"catchLoc"),c=u.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:M(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),b}},r}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},23294:t=>{function e(){try{var r=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(t.exports=e=function(){return!!r},t.exports.__esModule=!0,t.exports.default=t.exports)()}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},34108:t=>{t.exports=function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,u,i=[],s=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(i.push(n.value),i.length!==e);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw o}}return i}},t.exports.__esModule=!0,t.exports.default=t.exports},34514:(t,e,r)=>{var n=r(83539);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=({}).toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},35146:(t,e,r)=>{"use strict";var n=r(56620);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.proxyLogger=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,e=arguments.length>1?arguments[1]:void 0;try{if("undefined"==typeof window)return t;var r={},n=function(t){var n;r[t]=(n=(0,u.default)(o.default.mark(function r(n,u){var i,f;return o.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(l[t](n,u),"error"===t&&(u=c(u)),u.client=!0,i="".concat(e,"/_log"),f=new URLSearchParams(function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;e||(l.debug=function(){}),t.error&&(l.error=t.error),t.warn&&(l.warn=t.warn),t.debug&&(l.debug=t.debug)};var o=n(r(81390)),a=n(r(13901)),u=n(r(49165)),i=r(71883);function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function c(t){var e,r;if(t instanceof Error&&!(t instanceof i.UnknownError))return{message:t.message,stack:t.stack,name:t.name};if(null!=(e=t)&&e.error){t.error=c(t.error),t.message=null!=(r=t.message)?r:t.error.message}return t}var l={error:function(t,e){e=c(e),console.error("[next-auth][error][".concat(t,"]"),"\nhttps://next-auth.js.org/errors#".concat(t.toLowerCase()),e.message,e)},warn:function(t){console.warn("[next-auth][warn][".concat(t,"]"),"\nhttps://next-auth.js.org/warnings#".concat(t.toLowerCase()))},debug:function(t,e){console.log("[next-auth][debug][".concat(t,"]"),e)}};e.default=l},35440:t=>{t.exports=function(t){try{return -1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}},t.exports.__esModule=!0,t.exports.default=t.exports},38919:(t,e,r)=>{var n=r(87382).default;t.exports=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},39828:t=>{function e(r,n){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r,n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},46045:(t,e,r)=>{var n=r(96346);function o(t,e){for(var r=0;r{var n=r(39828);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&n(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},49165:t=>{function e(t,e,r,n,o,a,u){try{var i=t[a](u),s=i.value}catch(t){return void r(t)}i.done?e(s):Promise.resolve(s).then(n,o)}t.exports=function(t){return function(){var r=this,n=arguments;return new Promise(function(o,a){var u=t.apply(r,n);function i(t){e(u,o,a,i,s,"next",t)}function s(t){e(u,o,a,i,s,"throw",t)}i(void 0)})}},t.exports.__esModule=!0,t.exports.default=t.exports},50837:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e;let r=new URL("http://localhost:3000/api/auth");t&&!t.startsWith("http")&&(t=`https://${t}`);let n=new URL(null!=(e=t)?e:r),o=("/"===n.pathname?r.pathname:n.pathname).replace(/\/$/,""),a=`${n.origin}${o}`;return{origin:n.origin,host:n.host,path:o,base:a,toString:()=>a}}},54170:(t,e,r)=>{var n=r(87382).default,o=r(88109);t.exports=function(t,e){if(e&&("object"==n(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return o(t)},t.exports.__esModule=!0,t.exports.default=t.exports},54947:t=>{t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},56620:t=>{t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},65593:(t,e,r)=>{var n=r(54947),o=r(34108),a=r(34514),u=r(87034);t.exports=function(t,e){return n(t)||o(t,e)||a(t,e)||u()},t.exports.__esModule=!0,t.exports.default=t.exports},71883:(t,e,r)=>{"use strict";var n=r(56620);Object.defineProperty(e,"__esModule",{value:!0}),e.UnsupportedStrategy=e.UnknownError=e.OAuthCallbackError=e.MissingSecret=e.MissingAuthorize=e.MissingAdapterMethods=e.MissingAdapter=e.MissingAPIRoute=e.InvalidCallbackUrl=e.AccountNotLinkedError=void 0,e.adapterErrorHandler=function(t,e){if(t)return Object.keys(t).reduce(function(r,n){return r[n]=(0,a.default)(o.default.mark(function r(){var a,u,i,s,c,l=arguments;return o.default.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:for(r.prev=0,u=Array(a=l.length),i=0;i{var n=r(22977)();t.exports=n;try{regeneratorRuntime=n}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},83539:t=>{t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r{t.exports=function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},87382:t=>{function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},87824:t=>{function e(r){return t.exports=e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},88109:t=>{t.exports=function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},96268:(t,e,r)=>{var n=r(23294),o=r(39828);t.exports=function(t,e,r){if(n())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,e);var u=new(t.bind.apply(t,a));return r&&o(u,r.prototype),u},t.exports.__esModule=!0,t.exports.default=t.exports},96346:(t,e,r)=>{var n=r(87382).default,o=r(38919);t.exports=function(t){var e=o(t,"string");return"symbol"==n(e)?e:e+""},t.exports.__esModule=!0,t.exports.default=t.exports}}]); \ No newline at end of file diff --git a/.next/static/chunks/2468-9a31b87cf6ea2b03.js b/.next/static/chunks/2468-9a31b87cf6ea2b03.js new file mode 100644 index 00000000..09901b9d --- /dev/null +++ b/.next/static/chunks/2468-9a31b87cf6ea2b03.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2468],{1243:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},55594:(e,t,r)=>{var a,s,i,n,l,d;let u;r.d(t,{Ik:()=>eI,YO:()=>eD,Yj:()=>eN}),function(e){e.assertEqual=e=>e,e.assertIs=function(e){},e.assertNever=function(e){throw Error()},e.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},e.getValidEnumValues=t=>{let r=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),a={};for(let e of r)a[e]=t[e];return e.objectValues(a)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},e.find=(e,t)=>{for(let r of e)if(t(r))return r},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(a||(a={})),(s||(s={})).mergeShapes=(e,t)=>({...e,...t});let o=a.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),c=e=>{switch(typeof e){case"undefined":return o.undefined;case"string":return o.string;case"number":return isNaN(e)?o.nan:o.number;case"boolean":return o.boolean;case"function":return o.function;case"bigint":return o.bigint;case"symbol":return o.symbol;case"object":if(Array.isArray(e))return o.array;if(null===e)return o.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return o.promise;if("undefined"!=typeof Map&&e instanceof Map)return o.map;if("undefined"!=typeof Set&&e instanceof Set)return o.set;if("undefined"!=typeof Date&&e instanceof Date)return o.date;return o.object;default:return o.unknown}},h=a.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class f extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},r={_errors:[]},a=e=>{for(let s of e.issues)if("invalid_union"===s.code)s.unionErrors.map(a);else if("invalid_return_type"===s.code)a(s.returnTypeError);else if("invalid_arguments"===s.code)a(s.argumentsError);else if(0===s.path.length)r._errors.push(t(s));else{let e=r,a=0;for(;ae.message){let t={},r=[];for(let a of this.issues)a.path.length>0?(t[a.path[0]]=t[a.path[0]]||[],t[a.path[0]].push(e(a))):r.push(e(a));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}f.create=e=>new f(e);let p=(e,t)=>{let r;switch(e.code){case h.invalid_type:r=e.received===o.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case h.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,a.jsonStringifyReplacer)}`;break;case h.unrecognized_keys:r=`Unrecognized key(s) in object: ${a.joinValues(e.keys,", ")}`;break;case h.invalid_union:r="Invalid input";break;case h.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${a.joinValues(e.options)}`;break;case h.invalid_enum_value:r=`Invalid enum value. Expected ${a.joinValues(e.options)}, received '${e.received}'`;break;case h.invalid_arguments:r="Invalid function arguments";break;case h.invalid_return_type:r="Invalid function return type";break;case h.invalid_date:r="Invalid date";break;case h.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:a.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case h.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case h.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case h.custom:r="Invalid input";break;case h.invalid_intersection_types:r="Intersection results could not be merged";break;case h.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case h.not_finite:r="Number must be finite";break;default:r=t.defaultError,a.assertNever(e)}return{message:r}};function m(){return p}let y=e=>{let{data:t,path:r,errorMaps:a,issueData:s}=e,i=[...r,...s.path||[]],n={...s,path:i};if(void 0!==s.message)return{...s,path:i,message:s.message};let l="";for(let e of a.filter(e=>!!e).slice().reverse())l=e(n,{data:t,defaultError:l}).message;return{...s,path:i,message:l}};function v(e,t){let r=y({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,p,p==p?void 0:p].filter(e=>!!e)});e.common.issues.push(r)}class _{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let a of t){if("aborted"===a.status)return g;"dirty"===a.status&&e.dirty(),r.push(a.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t){let t=await e.key,a=await e.value;r.push({key:t,value:a})}return _.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let a of t){let{key:t,value:s}=a;if("aborted"===t.status||"aborted"===s.status)return g;"dirty"===t.status&&e.dirty(),"dirty"===s.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==s.value||a.alwaysSet)&&(r[t.value]=s.value)}return{status:e.value,value:r}}}let g=Object.freeze({status:"aborted"}),b=e=>({status:"dirty",value:e}),k=e=>({status:"valid",value:e}),x=e=>"aborted"===e.status,w=e=>"dirty"===e.status,A=e=>"valid"===e.status,S=e=>"undefined"!=typeof Promise&&e instanceof Promise;function T(e,t,r,a){if("a"===r&&!a)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!a:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?a:"a"===r?a.call(e):a?a.value:t.get(e)}function O(e,t,r,a,s){if("m"===a)throw TypeError("Private method is not writable");if("a"===a&&!s)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!s:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===a?s.call(e,r):s?s.value=r:t.set(e,r),r}"function"==typeof SuppressedError&&SuppressedError,function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(i||(i={}));class C{constructor(e,t,r,a){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=a}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let Z=(e,t)=>{if(A(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new f(e.common.issues);return this._error=t,this._error}}};function V(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:a,description:s}=e;if(t&&(r||a))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:s}:{errorMap:(t,s)=>{var i,n;let{message:l}=e;return"invalid_enum_value"===t.code?{message:null!=l?l:s.defaultError}:void 0===s.data?{message:null!=(i=null!=l?l:a)?i:s.defaultError}:"invalid_type"!==t.code?{message:s.defaultError}:{message:null!=(n=null!=l?l:r)?n:s.defaultError}},description:s}}class j{get description(){return this._def.description}_getType(e){return c(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:c(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new _,ctx:{common:e.parent.common,data:e.data,parsedType:c(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(S(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){var r;let a={common:{issues:[],async:null!=(r=null==t?void 0:t.async)&&r,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:c(e)},s=this._parseSync({data:e,path:a.path,parent:a});return Z(a,s)}"~validate"(e){var t,r;let a={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:c(e)};if(!this["~standard"].async)try{let t=this._parseSync({data:e,path:[],parent:a});return A(t)?{value:t.value}:{issues:a.common.issues}}catch(e){(null==(r=null==(t=null==e?void 0:e.message)?void 0:t.toLowerCase())?void 0:r.includes("encountered"))&&(this["~standard"].async=!0),a.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:a}).then(e=>A(e)?{value:e.value}:{issues:a.common.issues})}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:c(e)},a=this._parse({data:e,path:r.path,parent:r});return Z(r,await (S(a)?a:Promise.resolve(a)))}refine(e,t){let r=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,a)=>{let s=e(t),i=()=>a.addIssue({code:h.custom,...r(t)});return"undefined"!=typeof Promise&&s instanceof Promise?s.then(e=>!!e||(i(),!1)):!!s||(i(),!1)})}refinement(e,t){return this._refinement((r,a)=>!!e(r)||(a.addIssue("function"==typeof t?t(r,a):t),!1))}_refinement(e){return new eA({schema:this,typeName:d.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return eS.create(this,this._def)}nullable(){return eT.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return el.create(this)}promise(){return ew.create(this,this._def)}or(e){return eu.create([this,e],this._def)}and(e){return eh.create(this,e,this._def)}transform(e){return new eA({...V(this._def),schema:this,typeName:d.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new eO({...V(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:d.ZodDefault})}brand(){return new eV({typeName:d.ZodBranded,type:this,...V(this._def)})}catch(e){return new eC({...V(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:d.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return ej.create(this,e)}readonly(){return eE.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let E=/^c[^\s-]{8,}$/i,F=/^[0-9a-z]+$/,N=/^[0-9A-HJKMNP-TV-Z]{26}$/i,D=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,I=/^[a-z0-9_-]{21}$/i,R=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,P=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,$=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,M=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,L=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,U=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,z=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,B=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,W=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,K="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",q=RegExp(`^${K}$`);function H(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}class J extends j{_parse(e){var t,r,s,i;let n;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==o.string){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:o.string,received:t.parsedType}),g}let l=new _;for(let d of this._def.checks)if("min"===d.kind)e.data.lengthd.value&&(v(n=this._getOrReturnCtx(e,n),{code:h.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),l.dirty());else if("length"===d.kind){let t=e.data.length>d.value,r=e.data.lengthe.test(t),{validation:t,code:h.invalid_string,...i.errToObj(r)})}_addCheck(e){return new J({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...i.errToObj(e)})}url(e){return this._addCheck({kind:"url",...i.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...i.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...i.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...i.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...i.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...i.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...i.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...i.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...i.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...i.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...i.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...i.errToObj(e)})}datetime(e){var t,r;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!=(t=null==e?void 0:e.offset)&&t,local:null!=(r=null==e?void 0:e.local)&&r,...i.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...i.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...i.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...i.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...i.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...i.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...i.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...i.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...i.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...i.errToObj(t)})}nonempty(e){return this.min(1,i.errToObj(e))}trim(){return new J({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new J({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new J({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new J({checks:[],typeName:d.ZodString,coerce:null!=(t=null==e?void 0:e.coerce)&&t,...V(e)})};class G extends j{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==o.number){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:o.number,received:t.parsedType}),g}let r=new _;for(let s of this._def.checks)"int"===s.kind?a.isInteger(e.data)||(v(t=this._getOrReturnCtx(e,t),{code:h.invalid_type,expected:"integer",received:"float",message:s.message}),r.dirty()):"min"===s.kind?(s.inclusive?e.datas.value:e.data>=s.value)&&(v(t=this._getOrReturnCtx(e,t),{code:h.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),r.dirty()):"multipleOf"===s.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,a=(t.toString().split(".")[1]||"").length,s=r>a?r:a;return parseInt(e.toFixed(s).replace(".",""))%parseInt(t.toFixed(s).replace(".",""))/Math.pow(10,s)}(e.data,s.value)&&(v(t=this._getOrReturnCtx(e,t),{code:h.not_multiple_of,multipleOf:s.value,message:s.message}),r.dirty()):"finite"===s.kind?Number.isFinite(e.data)||(v(t=this._getOrReturnCtx(e,t),{code:h.not_finite,message:s.message}),r.dirty()):a.assertNever(s);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,i.toString(t))}gt(e,t){return this.setLimit("min",e,!1,i.toString(t))}lte(e,t){return this.setLimit("max",e,!0,i.toString(t))}lt(e,t){return this.setLimit("max",e,!1,i.toString(t))}setLimit(e,t,r,a){return new G({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:i.toString(a)}]})}_addCheck(e){return new G({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:i.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:i.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:i.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:i.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:i.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:i.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:i.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:i.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:i.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value"int"===e.kind||"multipleOf"===e.kind&&a.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks)if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;else"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.valuenew G({checks:[],typeName:d.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...V(e)});class Y extends j{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce)try{e.data=BigInt(e.data)}catch(t){return this._getInvalidInput(e)}if(this._getType(e)!==o.bigint)return this._getInvalidInput(e);let r=new _;for(let s of this._def.checks)"min"===s.kind?(s.inclusive?e.datas.value:e.data>=s.value)&&(v(t=this._getOrReturnCtx(e,t),{code:h.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),r.dirty()):"multipleOf"===s.kind?e.data%s.value!==BigInt(0)&&(v(t=this._getOrReturnCtx(e,t),{code:h.not_multiple_of,multipleOf:s.value,message:s.message}),r.dirty()):a.assertNever(s);return{status:r.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:o.bigint,received:t.parsedType}),g}gte(e,t){return this.setLimit("min",e,!0,i.toString(t))}gt(e,t){return this.setLimit("min",e,!1,i.toString(t))}lte(e,t){return this.setLimit("max",e,!0,i.toString(t))}lt(e,t){return this.setLimit("max",e,!1,i.toString(t))}setLimit(e,t,r,a){return new Y({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:i.toString(a)}]})}_addCheck(e){return new Y({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:i.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:i.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:i.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:i.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:i.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new Y({checks:[],typeName:d.ZodBigInt,coerce:null!=(t=null==e?void 0:e.coerce)&&t,...V(e)})};class X extends j{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==o.boolean){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:o.boolean,received:t.parsedType}),g}return k(e.data)}}X.create=e=>new X({typeName:d.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...V(e)});class Q extends j{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==o.date){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:o.date,received:t.parsedType}),g}if(isNaN(e.data.getTime()))return v(this._getOrReturnCtx(e),{code:h.invalid_date}),g;let r=new _;for(let s of this._def.checks)"min"===s.kind?e.data.getTime()s.value&&(v(t=this._getOrReturnCtx(e,t),{code:h.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),r.dirty()):a.assertNever(s);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Q({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:i.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:i.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew Q({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:d.ZodDate,...V(e)});class ee extends j{_parse(e){if(this._getType(e)!==o.symbol){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:o.symbol,received:t.parsedType}),g}return k(e.data)}}ee.create=e=>new ee({typeName:d.ZodSymbol,...V(e)});class et extends j{_parse(e){if(this._getType(e)!==o.undefined){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:o.undefined,received:t.parsedType}),g}return k(e.data)}}et.create=e=>new et({typeName:d.ZodUndefined,...V(e)});class er extends j{_parse(e){if(this._getType(e)!==o.null){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:o.null,received:t.parsedType}),g}return k(e.data)}}er.create=e=>new er({typeName:d.ZodNull,...V(e)});class ea extends j{constructor(){super(...arguments),this._any=!0}_parse(e){return k(e.data)}}ea.create=e=>new ea({typeName:d.ZodAny,...V(e)});class es extends j{constructor(){super(...arguments),this._unknown=!0}_parse(e){return k(e.data)}}es.create=e=>new es({typeName:d.ZodUnknown,...V(e)});class ei extends j{_parse(e){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:o.never,received:t.parsedType}),g}}ei.create=e=>new ei({typeName:d.ZodNever,...V(e)});class en extends j{_parse(e){if(this._getType(e)!==o.undefined){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:o.void,received:t.parsedType}),g}return k(e.data)}}en.create=e=>new en({typeName:d.ZodVoid,...V(e)});class el extends j{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),a=this._def;if(t.parsedType!==o.array)return v(t,{code:h.invalid_type,expected:o.array,received:t.parsedType}),g;if(null!==a.exactLength){let e=t.data.length>a.exactLength.value,s=t.data.lengtha.maxLength.value&&(v(t,{code:h.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>a.type._parseAsync(new C(t,e,t.path,r)))).then(e=>_.mergeArray(r,e));let s=[...t.data].map((e,r)=>a.type._parseSync(new C(t,e,t.path,r)));return _.mergeArray(r,s)}get element(){return this._def.type}min(e,t){return new el({...this._def,minLength:{value:e,message:i.toString(t)}})}max(e,t){return new el({...this._def,maxLength:{value:e,message:i.toString(t)}})}length(e,t){return new el({...this._def,exactLength:{value:e,message:i.toString(t)}})}nonempty(e){return this.min(1,e)}}el.create=(e,t)=>new el({type:e,minLength:null,maxLength:null,exactLength:null,typeName:d.ZodArray,...V(t)});class ed extends j{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=a.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==o.object){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:o.object,received:t.parsedType}),g}let{status:t,ctx:r}=this._processInputParams(e),{shape:a,keys:s}=this._getCached(),i=[];if(!(this._def.catchall instanceof ei&&"strip"===this._def.unknownKeys))for(let e in r.data)s.includes(e)||i.push(e);let n=[];for(let e of s){let t=a[e],s=r.data[e];n.push({key:{status:"valid",value:e},value:t._parse(new C(r,s,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof ei){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of i)n.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)i.length>0&&(v(r,{code:h.unrecognized_keys,keys:i}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of i){let a=r.data[t];n.push({key:{status:"valid",value:t},value:e._parse(new C(r,a,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of n){let r=await t.key,a=await t.value;e.push({key:r,value:a,alwaysSet:t.alwaysSet})}return e}).then(e=>_.mergeObjectSync(t,e)):_.mergeObjectSync(t,n)}get shape(){return this._def.shape()}strict(e){return i.errToObj,new ed({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{var a,s,n,l;let d=null!=(n=null==(s=(a=this._def).errorMap)?void 0:s.call(a,t,r).message)?n:r.defaultError;return"unrecognized_keys"===t.code?{message:null!=(l=i.errToObj(e).message)?l:d}:{message:d}}}:{}})}strip(){return new ed({...this._def,unknownKeys:"strip"})}passthrough(){return new ed({...this._def,unknownKeys:"passthrough"})}extend(e){return new ed({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new ed({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:d.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ed({...this._def,catchall:e})}pick(e){let t={};return a.objectKeys(e).forEach(r=>{e[r]&&this.shape[r]&&(t[r]=this.shape[r])}),new ed({...this._def,shape:()=>t})}omit(e){let t={};return a.objectKeys(this.shape).forEach(r=>{e[r]||(t[r]=this.shape[r])}),new ed({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof ed){let r={};for(let a in t.shape){let s=t.shape[a];r[a]=eS.create(e(s))}return new ed({...t._def,shape:()=>r})}if(t instanceof el)return new el({...t._def,type:e(t.element)});if(t instanceof eS)return eS.create(e(t.unwrap()));if(t instanceof eT)return eT.create(e(t.unwrap()));if(t instanceof ef)return ef.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};return a.objectKeys(this.shape).forEach(r=>{let a=this.shape[r];e&&!e[r]?t[r]=a:t[r]=a.optional()}),new ed({...this._def,shape:()=>t})}required(e){let t={};return a.objectKeys(this.shape).forEach(r=>{if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r];for(;e instanceof eS;)e=e._def.innerType;t[r]=e}}),new ed({...this._def,shape:()=>t})}keyof(){return eb(a.objectKeys(this.shape))}}ed.create=(e,t)=>new ed({shape:()=>e,unknownKeys:"strip",catchall:ei.create(),typeName:d.ZodObject,...V(t)}),ed.strictCreate=(e,t)=>new ed({shape:()=>e,unknownKeys:"strict",catchall:ei.create(),typeName:d.ZodObject,...V(t)}),ed.lazycreate=(e,t)=>new ed({shape:e,unknownKeys:"strip",catchall:ei.create(),typeName:d.ZodObject,...V(t)});class eu extends j{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new f(e.ctx.common.issues));return v(t,{code:h.invalid_union,unionErrors:r}),g});{let e,a=[];for(let s of r){let r={...t,common:{...t.common,issues:[]},parent:null},i=s._parseSync({data:t.data,path:t.path,parent:r});if("valid"===i.status)return i;"dirty"!==i.status||e||(e={result:i,ctx:r}),r.common.issues.length&&a.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let s=a.map(e=>new f(e));return v(t,{code:h.invalid_union,unionErrors:s}),g}}get options(){return this._def.options}}eu.create=(e,t)=>new eu({options:e,typeName:d.ZodUnion,...V(t)});let eo=e=>{if(e instanceof e_)return eo(e.schema);if(e instanceof eA)return eo(e.innerType());if(e instanceof eg)return[e.value];if(e instanceof ek)return e.options;if(e instanceof ex)return a.objectValues(e.enum);else if(e instanceof eO)return eo(e._def.innerType);else if(e instanceof et)return[void 0];else if(e instanceof er)return[null];else if(e instanceof eS)return[void 0,...eo(e.unwrap())];else if(e instanceof eT)return[null,...eo(e.unwrap())];else if(e instanceof eV)return eo(e.unwrap());else if(e instanceof eE)return eo(e.unwrap());else if(e instanceof eC)return eo(e._def.innerType);else return[]};class ec extends j{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==o.object)return v(t,{code:h.invalid_type,expected:o.object,received:t.parsedType}),g;let r=this.discriminator,a=t.data[r],s=this.optionsMap.get(a);return s?t.common.async?s._parseAsync({data:t.data,path:t.path,parent:t}):s._parseSync({data:t.data,path:t.path,parent:t}):(v(t,{code:h.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),g)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let a=new Map;for(let r of t){let t=eo(r.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let s of t){if(a.has(s))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(s)}`);a.set(s,r)}}return new ec({typeName:d.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:a,...V(r)})}}class eh extends j{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),s=(e,s)=>{if(x(e)||x(s))return g;let i=function e(t,r){let s=c(t),i=c(r);if(t===r)return{valid:!0,data:t};if(s===o.object&&i===o.object){let s=a.objectKeys(r),i=a.objectKeys(t).filter(e=>-1!==s.indexOf(e)),n={...t,...r};for(let a of i){let s=e(t[a],r[a]);if(!s.valid)return{valid:!1};n[a]=s.data}return{valid:!0,data:n}}if(s===o.array&&i===o.array){if(t.length!==r.length)return{valid:!1};let a=[];for(let s=0;ss(e,t)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}eh.create=(e,t,r)=>new eh({left:e,right:t,typeName:d.ZodIntersection,...V(r)});class ef extends j{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==o.array)return v(r,{code:h.invalid_type,expected:o.array,received:r.parsedType}),g;if(r.data.lengththis._def.items.length&&(v(r,{code:h.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let a=[...r.data].map((e,t)=>{let a=this._def.items[t]||this._def.rest;return a?a._parse(new C(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(a).then(e=>_.mergeArray(t,e)):_.mergeArray(t,a)}get items(){return this._def.items}rest(e){return new ef({...this._def,rest:e})}}ef.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new ef({items:e,typeName:d.ZodTuple,rest:null,...V(t)})};class ep extends j{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==o.object)return v(r,{code:h.invalid_type,expected:o.object,received:r.parsedType}),g;let a=[],s=this._def.keyType,i=this._def.valueType;for(let e in r.data)a.push({key:s._parse(new C(r,e,r.path,e)),value:i._parse(new C(r,r.data[e],r.path,e)),alwaysSet:e in r.data});return r.common.async?_.mergeObjectAsync(t,a):_.mergeObjectSync(t,a)}get element(){return this._def.valueType}static create(e,t,r){return new ep(t instanceof j?{keyType:e,valueType:t,typeName:d.ZodRecord,...V(r)}:{keyType:J.create(),valueType:e,typeName:d.ZodRecord,...V(t)})}}class em extends j{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==o.map)return v(r,{code:h.invalid_type,expected:o.map,received:r.parsedType}),g;let a=this._def.keyType,s=this._def.valueType,i=[...r.data.entries()].map(([e,t],i)=>({key:a._parse(new C(r,e,r.path,[i,"key"])),value:s._parse(new C(r,t,r.path,[i,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of i){let a=await r.key,s=await r.value;if("aborted"===a.status||"aborted"===s.status)return g;("dirty"===a.status||"dirty"===s.status)&&t.dirty(),e.set(a.value,s.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of i){let a=r.key,s=r.value;if("aborted"===a.status||"aborted"===s.status)return g;("dirty"===a.status||"dirty"===s.status)&&t.dirty(),e.set(a.value,s.value)}return{status:t.value,value:e}}}}em.create=(e,t,r)=>new em({valueType:t,keyType:e,typeName:d.ZodMap,...V(r)});class ey extends j{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==o.set)return v(r,{code:h.invalid_type,expected:o.set,received:r.parsedType}),g;let a=this._def;null!==a.minSize&&r.data.sizea.maxSize.value&&(v(r,{code:h.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),t.dirty());let s=this._def.valueType;function i(e){let r=new Set;for(let a of e){if("aborted"===a.status)return g;"dirty"===a.status&&t.dirty(),r.add(a.value)}return{status:t.value,value:r}}let n=[...r.data.values()].map((e,t)=>s._parse(new C(r,e,r.path,t)));return r.common.async?Promise.all(n).then(e=>i(e)):i(n)}min(e,t){return new ey({...this._def,minSize:{value:e,message:i.toString(t)}})}max(e,t){return new ey({...this._def,maxSize:{value:e,message:i.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ey.create=(e,t)=>new ey({valueType:e,minSize:null,maxSize:null,typeName:d.ZodSet,...V(t)});class ev extends j{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==o.function)return v(t,{code:h.invalid_type,expected:o.function,received:t.parsedType}),g;function r(e,r){return y({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,p,p].filter(e=>!!e),issueData:{code:h.invalid_arguments,argumentsError:r}})}function a(e,r){return y({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,p,p].filter(e=>!!e),issueData:{code:h.invalid_return_type,returnTypeError:r}})}let s={errorMap:t.common.contextualErrorMap},i=t.data;if(this._def.returns instanceof ew){let e=this;return k(async function(...t){let n=new f([]),l=await e._def.args.parseAsync(t,s).catch(e=>{throw n.addIssue(r(t,e)),n}),d=await Reflect.apply(i,this,l);return await e._def.returns._def.type.parseAsync(d,s).catch(e=>{throw n.addIssue(a(d,e)),n})})}{let e=this;return k(function(...t){let n=e._def.args.safeParse(t,s);if(!n.success)throw new f([r(t,n.error)]);let l=Reflect.apply(i,this,n.data),d=e._def.returns.safeParse(l,s);if(!d.success)throw new f([a(l,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ev({...this._def,args:ef.create(e).rest(es.create())})}returns(e){return new ev({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new ev({args:e||ef.create([]).rest(es.create()),returns:t||es.create(),typeName:d.ZodFunction,...V(r)})}}class e_ extends j{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}e_.create=(e,t)=>new e_({getter:e,typeName:d.ZodLazy,...V(t)});class eg extends j{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return v(t,{received:t.data,code:h.invalid_literal,expected:this._def.value}),g}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eb(e,t){return new ek({values:e,typeName:d.ZodEnum,...V(t)})}eg.create=(e,t)=>new eg({value:e,typeName:d.ZodLiteral,...V(t)});class ek extends j{constructor(){super(...arguments),n.set(this,void 0)}_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return v(t,{expected:a.joinValues(r),received:t.parsedType,code:h.invalid_type}),g}if(T(this,n,"f")||O(this,n,new Set(this._def.values),"f"),!T(this,n,"f").has(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return v(t,{received:t.data,code:h.invalid_enum_value,options:r}),g}return k(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return ek.create(e,{...this._def,...t})}exclude(e,t=this._def){return ek.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}n=new WeakMap,ek.create=eb;class ex extends j{constructor(){super(...arguments),l.set(this,void 0)}_parse(e){let t=a.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==o.string&&r.parsedType!==o.number){let e=a.objectValues(t);return v(r,{expected:a.joinValues(e),received:r.parsedType,code:h.invalid_type}),g}if(T(this,l,"f")||O(this,l,new Set(a.getValidEnumValues(this._def.values)),"f"),!T(this,l,"f").has(e.data)){let e=a.objectValues(t);return v(r,{received:r.data,code:h.invalid_enum_value,options:e}),g}return k(e.data)}get enum(){return this._def.values}}l=new WeakMap,ex.create=(e,t)=>new ex({values:e,typeName:d.ZodNativeEnum,...V(t)});class ew extends j{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==o.promise&&!1===t.common.async?(v(t,{code:h.invalid_type,expected:o.promise,received:t.parsedType}),g):k((t.parsedType===o.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}ew.create=(e,t)=>new ew({type:e,typeName:d.ZodPromise,...V(t)});class eA extends j{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===d.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),s=this._def.effect||null,i={addIssue:e=>{v(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===s.type){let e=s.transform(r.data,i);if(r.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return g;let a=await this._def.schema._parseAsync({data:e,path:r.path,parent:r});return"aborted"===a.status?g:"dirty"===a.status||"dirty"===t.value?b(a.value):a});{if("aborted"===t.value)return g;let a=this._def.schema._parseSync({data:e,path:r.path,parent:r});return"aborted"===a.status?g:"dirty"===a.status||"dirty"===t.value?b(a.value):a}}if("refinement"===s.type){let e=e=>{let t=s.refinement(e,i);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?g:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===a.status?g:("dirty"===a.status&&t.dirty(),e(a.value),{status:t.value,value:a.value})}}if("transform"===s.type)if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>A(e)?Promise.resolve(s.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);else{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!A(e))return e;let a=s.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}a.assertNever(s)}}eA.create=(e,t,r)=>new eA({schema:e,typeName:d.ZodEffects,effect:t,...V(r)}),eA.createWithPreprocess=(e,t,r)=>new eA({schema:t,effect:{type:"preprocess",transform:e},typeName:d.ZodEffects,...V(r)});class eS extends j{_parse(e){return this._getType(e)===o.undefined?k(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eS.create=(e,t)=>new eS({innerType:e,typeName:d.ZodOptional,...V(t)});class eT extends j{_parse(e){return this._getType(e)===o.null?k(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eT.create=(e,t)=>new eT({innerType:e,typeName:d.ZodNullable,...V(t)});class eO extends j{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===o.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eO.create=(e,t)=>new eO({innerType:e,typeName:d.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...V(t)});class eC extends j{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return S(a)?a.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new f(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===a.status?a.value:this._def.catchValue({get error(){return new f(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}eC.create=(e,t)=>new eC({innerType:e,typeName:d.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...V(t)});class eZ extends j{_parse(e){if(this._getType(e)!==o.nan){let t=this._getOrReturnCtx(e);return v(t,{code:h.invalid_type,expected:o.nan,received:t.parsedType}),g}return{status:"valid",value:e.data}}}eZ.create=e=>new eZ({typeName:d.ZodNaN,...V(e)}),Symbol("zod_brand");class eV extends j{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class ej extends j{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),b(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})})();{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?g:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new ej({in:e,out:t,typeName:d.ZodPipeline})}}class eE extends j{_parse(e){let t=this._def.innerType._parse(e),r=e=>(A(e)&&(e.value=Object.freeze(e.value)),e);return S(t)?t.then(e=>r(e)):r(t)}unwrap(){return this._def.innerType}}function eF(e,t){let r="function"==typeof e?e(t):"string"==typeof e?{message:e}:e;return"string"==typeof r?{message:r}:r}eE.create=(e,t)=>new eE({innerType:e,typeName:d.ZodReadonly,...V(t)}),ed.lazycreate,!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(d||(d={}));let eN=J.create,eD=(G.create,eZ.create,Y.create,X.create,Q.create,ee.create,et.create,er.create,ea.create,es.create,ei.create,en.create,el.create),eI=ed.create;ed.strictCreate,eu.create,ec.create,eh.create,ef.create,ep.create,em.create,ey.create,ev.create,e_.create,eg.create,ek.create,ex.create,ew.create,eA.create,eS.create,eT.create,eA.createWithPreprocess,ej.create},62177:(e,t,r)=>{r.d(t,{Gb:()=>R,Jt:()=>v,Op:()=>O,hZ:()=>k,mN:()=>ew,xI:()=>I,xW:()=>T});var a=r(12115),s=e=>"checkbox"===e.type,i=e=>e instanceof Date,n=e=>null==e;let l=e=>"object"==typeof e;var d=e=>!n(e)&&!Array.isArray(e)&&l(e)&&!i(e),u=e=>d(e)&&e.target?s(e.target)?e.target.checked:e.target.value:e,o=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,c=(e,t)=>e.has(o(t)),h=e=>{let t=e.constructor&&e.constructor.prototype;return d(t)&&t.hasOwnProperty("isPrototypeOf")},f="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function p(e){let t,r=Array.isArray(e),a="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(f&&(e instanceof Blob||a))&&(r||d(e))))return e;else if(t=r?[]:{},r||h(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=p(e[r]));else t=e;return t}var m=e=>Array.isArray(e)?e.filter(Boolean):[],y=e=>void 0===e,v=(e,t,r)=>{if(!t||!d(e))return r;let a=m(t.split(/[,[\].]+?/)).reduce((e,t)=>n(e)?e:e[t],e);return y(a)||a===e?y(e[t])?r:e[t]:a},_=e=>"boolean"==typeof e,g=e=>/^\w*$/.test(e),b=e=>m(e.replace(/["|']|\]/g,"").split(/\.|\[/)),k=(e,t,r)=>{let a=-1,s=g(t)?[t]:b(t),i=s.length,n=i-1;for(;++aa.useContext(S),O=e=>{let{children:t,...r}=e;return a.createElement(S.Provider,{value:r},t)};var C=(e,t,r,a=!0)=>{let s={defaultValues:t._defaultValues};for(let i in e)Object.defineProperty(s,i,{get:()=>(t._proxyFormState[i]!==w.all&&(t._proxyFormState[i]=!a||w.all),r&&(r[i]=!0),e[i])});return s},Z=e=>d(e)&&!Object.keys(e).length,V=(e,t,r,a)=>{r(e);let{name:s,...i}=e;return Z(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!a||w.all))},j=e=>Array.isArray(e)?e:[e],E=(e,t,r)=>!e||!t||e===t||j(e).some(e=>e&&(r?e===t:e.startsWith(t)||t.startsWith(e)));function F(e){let t=a.useRef(e);t.current=e,a.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}var N=e=>"string"==typeof e,D=(e,t,r,a,s)=>N(e)?(a&&t.watch.add(e),v(r,e,s)):Array.isArray(e)?e.map(e=>(a&&t.watch.add(e),v(r,e))):(a&&(t.watchAll=!0),r);let I=e=>e.render(function(e){let t=T(),{name:r,disabled:s,control:i=t.control,shouldUnregister:n}=e,l=c(i._names.array,r),d=function(e){let t=T(),{control:r=t.control,name:s,defaultValue:i,disabled:n,exact:l}=e||{},d=a.useRef(s);d.current=s,F({disabled:n,subject:r._subjects.values,next:e=>{E(d.current,e.name,l)&&o(p(D(d.current,r._names,e.values||r._formValues,!1,i)))}});let[u,o]=a.useState(r._getWatch(s,i));return a.useEffect(()=>r._removeUnmounted()),u}({control:i,name:r,defaultValue:v(i._formValues,r,v(i._defaultValues,r,e.defaultValue)),exact:!0}),o=function(e){let t=T(),{control:r=t.control,disabled:s,name:i,exact:n}=e||{},[l,d]=a.useState(r._formState),u=a.useRef(!0),o=a.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),c=a.useRef(i);return c.current=i,F({disabled:s,next:e=>u.current&&E(c.current,e.name,n)&&V(e,o.current,r._updateFormState)&&d({...r._formState,...e}),subject:r._subjects.state}),a.useEffect(()=>(u.current=!0,o.current.isValid&&r._updateValid(!0),()=>{u.current=!1}),[r]),a.useMemo(()=>C(l,r,o.current,!1),[l,r])}({control:i,name:r,exact:!0}),h=a.useRef(i.register(r,{...e.rules,value:d,..._(e.disabled)?{disabled:e.disabled}:{}})),f=a.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!v(o.errors,r)},isDirty:{enumerable:!0,get:()=>!!v(o.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!v(o.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!v(o.validatingFields,r)},error:{enumerable:!0,get:()=>v(o.errors,r)}}),[o,r]),m=a.useMemo(()=>({name:r,value:d,..._(s)||o.disabled?{disabled:o.disabled||s}:{},onChange:e=>h.current.onChange({target:{value:u(e),name:r},type:x.CHANGE}),onBlur:()=>h.current.onBlur({target:{value:v(i._formValues,r),name:r},type:x.BLUR}),ref:e=>{let t=v(i._fields,r);t&&e&&(t._f.ref={focus:()=>e.focus(),select:()=>e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})}}),[r,i._formValues,s,o.disabled,d,i._fields]);return a.useEffect(()=>{let e=i._options.shouldUnregister||n,t=(e,t)=>{let r=v(i._fields,e);r&&r._f&&(r._f.mount=t)};if(t(r,!0),e){let e=p(v(i._options.defaultValues,r));k(i._defaultValues,r,e),y(v(i._formValues,r))&&k(i._formValues,r,e)}return l||i.register(r),()=>{(l?e&&!i._state.action:e)?i.unregister(r):t(r,!1)}},[r,i,l,n]),a.useEffect(()=>{i._updateDisabledField({disabled:s,fields:i._fields,name:r})},[s,r,i]),a.useMemo(()=>({field:m,formState:o,fieldState:f}),[m,o,f])}(e));var R=(e,t,r,a,s)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[a]:s||!0}}:{},P=e=>({isOnSubmit:!e||e===w.onSubmit,isOnBlur:e===w.onBlur,isOnChange:e===w.onChange,isOnAll:e===w.all,isOnTouch:e===w.onTouched}),$=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let M=(e,t,r,a)=>{for(let s of r||Object.keys(e)){let r=v(e,s);if(r){let{_f:e,...i}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],s)&&!a)return!0;else if(e.ref&&t(e.ref,e.name)&&!a)return!0;else if(M(i,t))break}else if(d(i)&&M(i,t))break}}};var L=(e,t,r)=>{let a=j(v(e,r));return k(a,"root",t[r]),k(e,r,a),e},U=e=>"file"===e.type,z=e=>"function"==typeof e,B=e=>{if(!f)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},W=e=>N(e),K=e=>"radio"===e.type,q=e=>e instanceof RegExp;let H={value:!1,isValid:!1},J={value:!0,isValid:!0};var G=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!y(e[0].attributes.value)?y(e[0].value)||""===e[0].value?J:{value:e[0].value,isValid:!0}:J:H}return H};let Y={isValid:!1,value:null};var X=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Y):Y;function Q(e,t,r="validate"){if(W(e)||Array.isArray(e)&&e.every(W)||_(e)&&!e)return{type:r,message:W(e)?e:"",ref:t}}var ee=e=>d(e)&&!q(e)?e:{value:e,message:""},et=async(e,t,r,a,i,l)=>{let{ref:u,refs:o,required:c,maxLength:h,minLength:f,min:p,max:m,pattern:g,validate:b,name:k,valueAsNumber:x,mount:w}=e._f,S=v(r,k);if(!w||t.has(k))return{};let T=o?o[0]:u,O=e=>{i&&T.reportValidity&&(T.setCustomValidity(_(e)?"":e||""),T.reportValidity())},C={},V=K(u),j=s(u),E=(x||U(u))&&y(u.value)&&y(S)||B(u)&&""===u.value||""===S||Array.isArray(S)&&!S.length,F=R.bind(null,k,a,C),D=(e,t,r,a=A.maxLength,s=A.minLength)=>{let i=e?t:r;C[k]={type:e?a:s,message:i,ref:u,...F(e?a:s,i)}};if(l?!Array.isArray(S)||!S.length:c&&(!(V||j)&&(E||n(S))||_(S)&&!S||j&&!G(o).isValid||V&&!X(o).isValid)){let{value:e,message:t}=W(c)?{value:!!c,message:c}:ee(c);if(e&&(C[k]={type:A.required,message:t,ref:T,...F(A.required,t)},!a))return O(t),C}if(!E&&(!n(p)||!n(m))){let e,t,r=ee(m),s=ee(p);if(n(S)||isNaN(S)){let a=u.valueAsDate||new Date(S),i=e=>new Date(new Date().toDateString()+" "+e),n="time"==u.type,l="week"==u.type;N(r.value)&&S&&(e=n?i(S)>i(r.value):l?S>r.value:a>new Date(r.value)),N(s.value)&&S&&(t=n?i(S)r.value),n(s.value)||(t=a+e.value,s=!n(t.value)&&S.length<+t.value;if((r||s)&&(D(r,e.message,t.message),!a))return O(C[k].message),C}if(g&&!E&&N(S)){let{value:e,message:t}=ee(g);if(q(e)&&!S.match(e)&&(C[k]={type:A.pattern,message:t,ref:u,...F(A.pattern,t)},!a))return O(t),C}if(b){if(z(b)){let e=Q(await b(S,r),T);if(e&&(C[k]={...e,...F(A.validate,e.message)},!a))return O(e.message),C}else if(d(b)){let e={};for(let t in b){if(!Z(e)&&!a)break;let s=Q(await b[t](S,r),T,t);s&&(e={...s,...F(t,s.message)},O(s.message),a&&(C[k]=e))}if(!Z(e)&&(C[k]={ref:T,...e},!a))return C}}return O(!0),C};function er(e,t){let r=Array.isArray(t)?t:g(t)?[t]:b(t),a=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,a=0;for(;a{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},es=e=>n(e)||!l(e);function ei(e,t){if(es(e)||es(t))return e===t;if(i(e)&&i(t))return e.getTime()===t.getTime();let r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(let s of r){let r=e[s];if(!a.includes(s))return!1;if("ref"!==s){let e=t[s];if(i(r)&&i(e)||d(r)&&d(e)||Array.isArray(r)&&Array.isArray(e)?!ei(r,e):r!==e)return!1}}return!0}var en=e=>"select-multiple"===e.type,el=e=>K(e)||s(e),ed=e=>B(e)&&e.isConnected,eu=e=>{for(let t in e)if(z(e[t]))return!0;return!1};function eo(e,t={}){let r=Array.isArray(e);if(d(e)||r)for(let r in e)Array.isArray(e[r])||d(e[r])&&!eu(e[r])?(t[r]=Array.isArray(e[r])?[]:{},eo(e[r],t[r])):n(e[r])||(t[r]=!0);return t}var ec=(e,t)=>(function e(t,r,a){let s=Array.isArray(t);if(d(t)||s)for(let s in t)Array.isArray(t[s])||d(t[s])&&!eu(t[s])?y(r)||es(a[s])?a[s]=Array.isArray(t[s])?eo(t[s],[]):{...eo(t[s])}:e(t[s],n(r)?{}:r[s],a[s]):a[s]=!ei(t[s],r[s]);return a})(e,t,eo(t)),eh=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:a})=>y(e)?e:t?""===e?NaN:e?+e:e:r&&N(e)?new Date(e):a?a(e):e;function ef(e){let t=e.ref;return U(t)?t.files:K(t)?X(e.refs).value:en(t)?[...t.selectedOptions].map(({value:e})=>e):s(t)?G(e.refs).value:eh(y(t.value)?e.ref.value:t.value,e)}var ep=(e,t,r,a)=>{let s={};for(let r of e){let e=v(t,r);e&&k(s,r,e._f)}return{criteriaMode:r,names:[...e],fields:s,shouldUseNativeValidation:a}},em=e=>y(e)?e:q(e)?e.source:d(e)?q(e.value)?e.value.source:e.value:e;let ey="AsyncFunction";var ev=e=>!!e&&!!e.validate&&!!(z(e.validate)&&e.validate.constructor.name===ey||d(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===ey)),e_=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function eg(e,t,r){let a=v(e,r);if(a||g(r))return{error:a,name:r};let s=r.split(".");for(;s.length;){let a=s.join("."),i=v(t,a),n=v(e,a);if(i&&!Array.isArray(i)&&r!==a)break;if(n&&n.type)return{name:a,error:n};s.pop()}return{name:r}}var eb=(e,t,r,a,s)=>!s.isOnAll&&(!r&&s.isOnTouch?!(t||e):(r?a.isOnBlur:s.isOnBlur)?!e:(r?!a.isOnChange:!s.isOnChange)||e),ek=(e,t)=>!m(v(e,t)).length&&er(e,t);let ex={mode:w.onSubmit,reValidateMode:w.onChange,shouldFocusError:!0};function ew(e={}){let t=a.useRef(void 0),r=a.useRef(void 0),[l,o]=a.useState({isDirty:!1,isValidating:!1,isLoading:z(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:z(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={}){let t,r={...ex,...e},a={submitCount:0,isDirty:!1,isLoading:z(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1},l={},o=(d(r.defaultValues)||d(r.values))&&p(r.defaultValues||r.values)||{},h=r.shouldUnregister?{}:p(o),g={action:!1,mount:!1,watch:!1},b={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},A=0,S={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},T={values:ea(),array:ea(),state:ea()},O=P(r.mode),C=P(r.reValidateMode),V=r.criteriaMode===w.all,E=e=>t=>{clearTimeout(A),A=setTimeout(e,t)},F=async e=>{if(!r.disabled&&(S.isValid||e)){let e=r.resolver?Z((await H()).errors):await G(l,!0);e!==a.isValid&&T.state.next({isValid:e})}},I=(e,t)=>{!r.disabled&&(S.isValidating||S.validatingFields)&&((e||Array.from(b.mount)).forEach(e=>{e&&(t?k(a.validatingFields,e,t):er(a.validatingFields,e))}),T.state.next({validatingFields:a.validatingFields,isValidating:!Z(a.validatingFields)}))},R=(e,t)=>{k(a.errors,e,t),T.state.next({errors:a.errors})},W=(e,t,r,a)=>{let s=v(l,e);if(s){let i=v(h,e,y(r)?v(o,e):r);y(i)||a&&a.defaultChecked||t?k(h,e,t?i:ef(s._f)):Q(e,i),g.mount&&F()}},K=(e,t,s,i,n)=>{let d=!1,u=!1,c={name:e};if(!r.disabled){let r=!!(v(l,e)&&v(l,e)._f&&v(l,e)._f.disabled);if(!s||i){S.isDirty&&(u=a.isDirty,a.isDirty=c.isDirty=Y(),d=u!==c.isDirty);let s=r||ei(v(o,e),t);u=!!(!r&&v(a.dirtyFields,e)),s||r?er(a.dirtyFields,e):k(a.dirtyFields,e,!0),c.dirtyFields=a.dirtyFields,d=d||S.dirtyFields&&!s!==u}if(s){let t=v(a.touchedFields,e);t||(k(a.touchedFields,e,s),c.touchedFields=a.touchedFields,d=d||S.touchedFields&&t!==s)}d&&n&&T.state.next(c)}return d?c:{}},q=(e,s,i,n)=>{let l=v(a.errors,e),d=S.isValid&&_(s)&&a.isValid!==s;if(r.delayError&&i?(t=E(()=>R(e,i)))(r.delayError):(clearTimeout(A),t=null,i?k(a.errors,e,i):er(a.errors,e)),(i?!ei(l,i):l)||!Z(n)||d){let t={...n,...d&&_(s)?{isValid:s}:{},errors:a.errors,name:e};a={...a,...t},T.state.next(t)}},H=async e=>{I(e,!0);let t=await r.resolver(h,r.context,ep(e||b.mount,l,r.criteriaMode,r.shouldUseNativeValidation));return I(e),t},J=async e=>{let{errors:t}=await H(e);if(e)for(let r of e){let e=v(t,r);e?k(a.errors,r,e):er(a.errors,r)}else a.errors=t;return t},G=async(e,t,s={valid:!0})=>{for(let i in e){let n=e[i];if(n){let{_f:e,...l}=n;if(e){let l=b.array.has(e.name),d=n._f&&ev(n._f);d&&S.validatingFields&&I([i],!0);let u=await et(n,b.disabled,h,V,r.shouldUseNativeValidation&&!t,l);if(d&&S.validatingFields&&I([i]),u[e.name]&&(s.valid=!1,t))break;t||(v(u,e.name)?l?L(a.errors,u,e.name):k(a.errors,e.name,u[e.name]):er(a.errors,e.name))}Z(l)||await G(l,t,s)}}return s.valid},Y=(e,t)=>!r.disabled&&(e&&t&&k(h,e,t),!ei(ew(),o)),X=(e,t,r)=>D(e,b,{...g.mount?h:y(t)?o:N(e)?{[e]:t}:t},r,t),Q=(e,t,r={})=>{let a=v(l,e),i=t;if(a){let r=a._f;r&&(r.disabled||k(h,e,eh(t,r)),i=B(r.ref)&&n(t)?"":t,en(r.ref)?[...r.ref.options].forEach(e=>e.selected=i.includes(e.value)):r.refs?s(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find(t=>t===e.value):i===e.value)):r.refs[0]&&(r.refs[0].checked=!!i):r.refs.forEach(e=>e.checked=e.value===i):U(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||T.values.next({name:e,values:{...h}})))}(r.shouldDirty||r.shouldTouch)&&K(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&ey(e)},ee=(e,t,r)=>{for(let a in t){let s=t[a],n=`${e}.${a}`,u=v(l,n);(b.array.has(e)||d(s)||u&&!u._f)&&!i(s)?ee(n,s,r):Q(n,s,r)}},es=(e,t,r={})=>{let s=v(l,e),i=b.array.has(e),d=p(t);k(h,e,d),i?(T.array.next({name:e,values:{...h}}),(S.isDirty||S.dirtyFields)&&r.shouldDirty&&T.state.next({name:e,dirtyFields:ec(o,h),isDirty:Y(e,d)})):!s||s._f||n(d)?Q(e,d,r):ee(e,d,r),$(e,b)&&T.state.next({...a}),T.values.next({name:g.mount?e:void 0,values:{...h}})},eu=async e=>{g.mount=!0;let s=e.target,n=s.name,d=!0,o=v(l,n),c=e=>{d=Number.isNaN(e)||i(e)&&isNaN(e.getTime())||ei(e,v(h,n,e))};if(o){let i,f,p=s.type?ef(o._f):u(e),m=e.type===x.BLUR||e.type===x.FOCUS_OUT,y=!e_(o._f)&&!r.resolver&&!v(a.errors,n)&&!o._f.deps||eb(m,v(a.touchedFields,n),a.isSubmitted,C,O),_=$(n,b,m);k(h,n,p),m?(o._f.onBlur&&o._f.onBlur(e),t&&t(0)):o._f.onChange&&o._f.onChange(e);let g=K(n,p,m,!1),w=!Z(g)||_;if(m||T.values.next({name:n,type:e.type,values:{...h}}),y)return S.isValid&&("onBlur"===r.mode&&m?F():m||F()),w&&T.state.next({name:n,..._?{}:g});if(!m&&_&&T.state.next({...a}),r.resolver){let{errors:e}=await H([n]);if(c(p),d){let t=eg(a.errors,l,n),r=eg(e,l,t.name||n);i=r.error,n=r.name,f=Z(e)}}else I([n],!0),i=(await et(o,b.disabled,h,V,r.shouldUseNativeValidation))[n],I([n]),c(p),d&&(i?f=!1:S.isValid&&(f=await G(l,!0)));d&&(o._f.deps&&ey(o._f.deps),q(n,f,i,g))}},eo=(e,t)=>{if(v(a.errors,t)&&e.focus)return e.focus(),1},ey=async(e,t={})=>{let s,i,n=j(e);if(r.resolver){let t=await J(y(e)?e:n);s=Z(t),i=e?!n.some(e=>v(t,e)):s}else e?((i=(await Promise.all(n.map(async e=>{let t=v(l,e);return await G(t&&t._f?{[e]:t}:t)}))).every(Boolean))||a.isValid)&&F():i=s=await G(l);return T.state.next({...!N(e)||S.isValid&&s!==a.isValid?{}:{name:e},...r.resolver||!e?{isValid:s}:{},errors:a.errors}),t.shouldFocus&&!i&&M(l,eo,e?n:b.mount),i},ew=e=>{let t={...g.mount?h:o};return y(e)?t:N(e)?v(t,e):e.map(e=>v(t,e))},eA=(e,t)=>({invalid:!!v((t||a).errors,e),isDirty:!!v((t||a).dirtyFields,e),error:v((t||a).errors,e),isValidating:!!v(a.validatingFields,e),isTouched:!!v((t||a).touchedFields,e)}),eS=(e,t,r)=>{let s=(v(l,e,{_f:{}})._f||{}).ref,{ref:i,message:n,type:d,...u}=v(a.errors,e)||{};k(a.errors,e,{...u,...t,ref:s}),T.state.next({name:e,errors:a.errors,isValid:!1}),r&&r.shouldFocus&&s&&s.focus&&s.focus()},eT=(e,t={})=>{for(let s of e?j(e):b.mount)b.mount.delete(s),b.array.delete(s),t.keepValue||(er(l,s),er(h,s)),t.keepError||er(a.errors,s),t.keepDirty||er(a.dirtyFields,s),t.keepTouched||er(a.touchedFields,s),t.keepIsValidating||er(a.validatingFields,s),r.shouldUnregister||t.keepDefaultValue||er(o,s);T.values.next({values:{...h}}),T.state.next({...a,...!t.keepDirty?{}:{isDirty:Y()}}),t.keepIsValid||F()},eO=({disabled:e,name:t,field:r,fields:a})=>{(_(e)&&g.mount||e||b.disabled.has(t))&&(e?b.disabled.add(t):b.disabled.delete(t),K(t,ef(r?r._f:v(a,t)._f),!1,!1,!0))},eC=(e,t={})=>{let a=v(l,e),s=_(t.disabled)||_(r.disabled);return k(l,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...t}}),b.mount.add(e),a?eO({field:a,disabled:_(t.disabled)?t.disabled:r.disabled,name:e}):W(e,!0,t.value),{...s?{disabled:t.disabled||r.disabled}:{},...r.progressive?{required:!!t.required,min:em(t.min),max:em(t.max),minLength:em(t.minLength),maxLength:em(t.maxLength),pattern:em(t.pattern)}:{},name:e,onChange:eu,onBlur:eu,ref:s=>{if(s){eC(e,t),a=v(l,e);let r=y(s.value)&&s.querySelectorAll&&s.querySelectorAll("input,select,textarea")[0]||s,i=el(r),n=a._f.refs||[];(i?n.find(e=>e===r):r===a._f.ref)||(k(l,e,{_f:{...a._f,...i?{refs:[...n.filter(ed),r,...Array.isArray(v(o,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),W(e,!1,void 0,r))}else(a=v(l,e,{}))._f&&(a._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(c(b.array,e)&&g.action)&&b.unMount.add(e)}}},eZ=()=>r.shouldFocusError&&M(l,eo,b.mount),eV=(e,t)=>async s=>{let i;s&&(s.preventDefault&&s.preventDefault(),s.persist&&s.persist());let n=p(h);if(b.disabled.size)for(let e of b.disabled)k(n,e,void 0);if(T.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await H();a.errors=e,n=t}else await G(l);if(er(a.errors,"root"),Z(a.errors)){T.state.next({errors:{}});try{await e(n,s)}catch(e){i=e}}else t&&await t({...a.errors},s),eZ(),setTimeout(eZ);if(T.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Z(a.errors)&&!i,submitCount:a.submitCount+1,errors:a.errors}),i)throw i},ej=(e,t={})=>{let s=e?p(e):o,i=p(s),n=Z(e),d=n?o:i;if(t.keepDefaultValues||(o=s),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...b.mount,...Object.keys(ec(o,h))])))v(a.dirtyFields,e)?k(d,e,v(h,e)):es(e,v(d,e));else{if(f&&y(e))for(let e of b.mount){let t=v(l,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(B(e)){let t=e.closest("form");if(t){t.reset();break}}}}l={}}h=r.shouldUnregister?t.keepDefaultValues?p(o):{}:p(d),T.array.next({values:{...d}}),T.values.next({values:{...d}})}b={mount:t.keepDirtyValues?b.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},g.mount=!S.isValid||!!t.keepIsValid||!!t.keepDirtyValues,g.watch=!!r.shouldUnregister,T.state.next({submitCount:t.keepSubmitCount?a.submitCount:0,isDirty:!n&&(t.keepDirty?a.isDirty:!!(t.keepDefaultValues&&!ei(e,o))),isSubmitted:!!t.keepIsSubmitted&&a.isSubmitted,dirtyFields:n?{}:t.keepDirtyValues?t.keepDefaultValues&&h?ec(o,h):a.dirtyFields:t.keepDefaultValues&&e?ec(o,e):t.keepDirty?a.dirtyFields:{},touchedFields:t.keepTouched?a.touchedFields:{},errors:t.keepErrors?a.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&a.isSubmitSuccessful,isSubmitting:!1})},eE=(e,t)=>ej(z(e)?e(h):e,t);return{control:{register:eC,unregister:eT,getFieldState:eA,handleSubmit:eV,setError:eS,_executeSchema:H,_getWatch:X,_getDirty:Y,_updateValid:F,_removeUnmounted:()=>{for(let e of b.unMount){let t=v(l,e);t&&(t._f.refs?t._f.refs.every(e=>!ed(e)):!ed(t._f.ref))&&eT(e)}b.unMount=new Set},_updateFieldArray:(e,t=[],s,i,n=!0,d=!0)=>{if(i&&s&&!r.disabled){if(g.action=!0,d&&Array.isArray(v(l,e))){let t=s(v(l,e),i.argA,i.argB);n&&k(l,e,t)}if(d&&Array.isArray(v(a.errors,e))){let t=s(v(a.errors,e),i.argA,i.argB);n&&k(a.errors,e,t),ek(a.errors,e)}if(S.touchedFields&&d&&Array.isArray(v(a.touchedFields,e))){let t=s(v(a.touchedFields,e),i.argA,i.argB);n&&k(a.touchedFields,e,t)}S.dirtyFields&&(a.dirtyFields=ec(o,h)),T.state.next({name:e,isDirty:Y(e,t),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else k(h,e,t)},_updateDisabledField:eO,_getFieldArray:e=>m(v(g.mount?h:o,e,r.shouldUnregister?v(o,e,[]):[])),_reset:ej,_resetDefaultValues:()=>z(r.defaultValues)&&r.defaultValues().then(e=>{eE(e,r.resetOptions),T.state.next({isLoading:!1})}),_updateFormState:e=>{a={...a,...e}},_disableForm:e=>{_(e)&&(T.state.next({disabled:e}),M(l,(t,r)=>{let a=v(l,r);a&&(t.disabled=a._f.disabled||e,Array.isArray(a._f.refs)&&a._f.refs.forEach(t=>{t.disabled=a._f.disabled||e}))},0,!1))},_subjects:T,_proxyFormState:S,_setErrors:e=>{a.errors=e,T.state.next({errors:a.errors,isValid:!1})},get _fields(){return l},get _formValues(){return h},get _state(){return g},set _state(value){g=value},get _defaultValues(){return o},get _names(){return b},set _names(value){b=value},get _formState(){return a},set _formState(value){a=value},get _options(){return r},set _options(value){r={...r,...value}}},trigger:ey,register:eC,handleSubmit:eV,watch:(e,t)=>z(e)?T.values.subscribe({next:r=>e(X(void 0,t),r)}):X(e,t,!0),setValue:es,getValues:ew,reset:eE,resetField:(e,t={})=>{v(l,e)&&(y(t.defaultValue)?es(e,p(v(o,e))):(es(e,t.defaultValue),k(o,e,p(t.defaultValue))),t.keepTouched||er(a.touchedFields,e),t.keepDirty||(er(a.dirtyFields,e),a.isDirty=t.defaultValue?Y(e,p(v(o,e))):Y()),!t.keepError&&(er(a.errors,e),S.isValid&&F()),T.state.next({...a}))},clearErrors:e=>{e&&j(e).forEach(e=>er(a.errors,e)),T.state.next({errors:e?a.errors:{}})},unregister:eT,setError:eS,setFocus:(e,t={})=>{let r=v(l,e),a=r&&r._f;if(a){let e=a.refs?a.refs[0]:a.ref;e.focus&&(e.focus(),t.shouldSelect&&z(e.select)&&e.select())}},getFieldState:eA}}(e),formState:l});let h=t.current.control;return h._options=e,F({subject:h._subjects.state,next:e=>{V(e,h._proxyFormState,h._updateFormState,!0)&&o({...h._formState})}}),a.useEffect(()=>h._disableForm(e.disabled),[h,e.disabled]),a.useEffect(()=>{if(h._proxyFormState.isDirty){let e=h._getDirty();e!==l.isDirty&&h._subjects.state.next({isDirty:e})}},[h,l.isDirty]),a.useEffect(()=>{e.values&&!ei(e.values,r.current)?(h._reset(e.values,h._options.resetOptions),r.current=e.values,o(e=>({...e}))):h._resetDefaultValues()},[e.values,h]),a.useEffect(()=>{e.errors&&h._setErrors(e.errors)},[e.errors,h]),a.useEffect(()=>{h._state.mount||(h._updateValid(),h._state.mount=!0),h._state.watch&&(h._state.watch=!1,h._subjects.state.next({...h._formState})),h._removeUnmounted()}),a.useEffect(()=>{e.shouldUnregister&&h._subjects.values.next({values:h._getWatch()})},[e.shouldUnregister,h]),t.current.formState=C(l,h),t.current}},72797:(e,t,r)=>{r.d(t,{b:()=>d});var a=r(12115);r(47650);var s=r(99708),i=r(95155),n=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=a.forwardRef((e,r)=>{let{asChild:a,...n}=e,l=a?s.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l,{...n,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),l=a.forwardRef((e,t)=>(0,i.jsx)(n.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null==(r=e.onMouseDown)||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));l.displayName="Label";var d=l},90221:(e,t,r)=>{r.d(t,{u:()=>u});var a=r(62177);let s=(e,t,r)=>{if(e&&"reportValidity"in e){let s=(0,a.Jt)(r,t);e.setCustomValidity(s&&s.message||""),e.reportValidity()}},i=(e,t)=>{for(let r in t.fields){let a=t.fields[r];a&&a.ref&&"reportValidity"in a.ref?s(a.ref,r,e):a.refs&&a.refs.forEach(t=>s(t,r,e))}},n=(e,t)=>{t.shouldUseNativeValidation&&i(e,t);let r={};for(let s in e){let i=(0,a.Jt)(t.fields,s),n=Object.assign(e[s]||{},{ref:i&&i.ref});if(l(t.names||Object.keys(e),s)){let e=Object.assign({},(0,a.Jt)(r,s));(0,a.hZ)(e,"root",n),(0,a.hZ)(r,s,e)}else(0,a.hZ)(r,s,n)}return r},l=(e,t)=>e.some(e=>e.startsWith(t+"."));var d=function(e,t){for(var r={};e.length;){var s=e[0],i=s.code,n=s.message,l=s.path.join(".");if(!r[l])if("unionErrors"in s){var d=s.unionErrors[0].errors[0];r[l]={message:d.message,type:d.code}}else r[l]={message:n,type:i};if("unionErrors"in s&&s.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var u=r[l].types,o=u&&u[s.code];r[l]=(0,a.Gb)(l,t,r,i,o?[].concat(o,s.message):s.message)}e.shift()}return r},u=function(e,t,r){return void 0===r&&(r={}),function(a,s,l){try{return Promise.resolve(function(s,n){try{var d=Promise.resolve(e["sync"===r.mode?"parse":"parseAsync"](a,t)).then(function(e){return l.shouldUseNativeValidation&&i({},l),{errors:{},values:r.raw?a:e}})}catch(e){return n(e)}return d&&d.then?d.then(void 0,n):d}(0,function(e){if(Array.isArray(null==e?void 0:e.errors))return{values:{},errors:n(d(e.errors,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw e}))}catch(e){return Promise.reject(e)}}}},92657:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])}}]); \ No newline at end of file diff --git a/.next/static/chunks/3610-26fbc91245c9a516.js b/.next/static/chunks/3610-26fbc91245c9a516.js new file mode 100644 index 00000000..d34d9150 --- /dev/null +++ b/.next/static/chunks/3610-26fbc91245c9a516.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3610],{5623:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},12318:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]])},15630:(e,t,r)=>{r.d(t,{C1:()=>R,bL:()=>j});var a=r(12115),n=r(6101),l=r(46081),i=r(85185),o=r(5845),d=r(45503),s=r(11275),c=r(28905);r(47650);var u=r(99708),p=r(95155),y=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=a.forwardRef((e,r)=>{let{asChild:a,...n}=e,l=a?u.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,p.jsx)(l,{...n,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),h="Checkbox",[f,v]=(0,l.A)(h),[k,m]=f(h),x=a.forwardRef((e,t)=>{let{__scopeCheckbox:r,name:l,checked:d,defaultChecked:s,required:c,disabled:u,value:h="on",onCheckedChange:f,form:v,...m}=e,[x,g]=a.useState(null),A=(0,n.s)(t,e=>g(e)),j=a.useRef(!1),R=!x||v||!!x.closest("form"),[C=!1,D]=(0,o.i)({prop:d,defaultProp:s,onChange:f}),E=a.useRef(C);return a.useEffect(()=>{let e=null==x?void 0:x.form;if(e){let t=()=>D(E.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[x,D]),(0,p.jsxs)(k,{scope:r,state:C,disabled:u,children:[(0,p.jsx)(y.button,{type:"button",role:"checkbox","aria-checked":w(C)?"mixed":C,"aria-required":c,"data-state":M(C),"data-disabled":u?"":void 0,disabled:u,value:h,...m,ref:A,onKeyDown:(0,i.m)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.m)(e.onClick,e=>{D(e=>!!w(e)||!e),R&&(j.current=e.isPropagationStopped(),j.current||e.stopPropagation())})}),R&&(0,p.jsx)(b,{control:x,bubbles:!j.current,name:l,value:h,checked:C,required:c,disabled:u,form:v,style:{transform:"translateX(-100%)"},defaultChecked:!w(s)&&s})]})});x.displayName=h;var g="CheckboxIndicator",A=a.forwardRef((e,t)=>{let{__scopeCheckbox:r,forceMount:a,...n}=e,l=m(g,r);return(0,p.jsx)(c.C,{present:a||w(l.state)||!0===l.state,children:(0,p.jsx)(y.span,{"data-state":M(l.state),"data-disabled":l.disabled?"":void 0,...n,ref:t,style:{pointerEvents:"none",...e.style}})})});A.displayName=g;var b=e=>{let{control:t,checked:r,bubbles:n=!0,defaultChecked:l,...i}=e,o=a.useRef(null),c=(0,d.Z)(r),u=(0,s.X)(t);a.useEffect(()=>{let e=o.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==r&&t){let a=new Event("click",{bubbles:n});e.indeterminate=w(r),t.call(e,!w(r)&&r),e.dispatchEvent(a)}},[c,r,n]);let y=a.useRef(!w(r)&&r);return(0,p.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=l?l:y.current,...i,tabIndex:-1,ref:o,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function w(e){return"indeterminate"===e}function M(e){return w(e)?"indeterminate":e?"checked":"unchecked"}var j=x,R=A},17580:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},27213:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},35695:(e,t,r)=>{var a=r(18999);r.o(a,"redirect")&&r.d(t,{redirect:function(){return a.redirect}}),r.o(a,"useParams")&&r.d(t,{useParams:function(){return a.useParams}}),r.o(a,"usePathname")&&r.d(t,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(t,{useRouter:function(){return a.useRouter}}),r.o(a,"useSearchParams")&&r.d(t,{useSearchParams:function(){return a.useSearchParams}})},42337:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("CloudUpload",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]])},45517:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("FileAudio",[["path",{d:"M17.5 22h.5a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"rslqgf"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 19a2 2 0 1 1 4 0v1a2 2 0 1 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 1 1-4 0v-1a2 2 0 1 1 4 0",key:"9f7x3i"}]])},47924:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},49103:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("CirclePlus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]])},50773:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("FilePlus",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]])},57434:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},62278:(e,t,r)=>{r.d(t,{rc:()=>O,ZD:()=>Z,UC:()=>F,VY:()=>L,hJ:()=>S,ZL:()=>V,bL:()=>N,hE:()=>z,l9:()=>H});var a=r(12115),n=r(46081),l=r(6101),i=r(45821),o=r(85185),d=r(95155);a.forwardRef((e,t)=>{let{children:r,...n}=e,l=a.Children.toArray(r),i=l.find(u);if(i){let e=i.props.children,r=l.map(t=>t!==i?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,d.jsx)(s,{...n,ref:t,children:a.isValidElement(e)?a.cloneElement(e,void 0,r):null})}return(0,d.jsx)(s,{...n,ref:t,children:r})}).displayName="Slot";var s=a.forwardRef((e,t)=>{let{children:r,...n}=e;if(a.isValidElement(r)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(r);return a.cloneElement(r,{...function(e,t){let r={...t};for(let a in t){let n=e[a],l=t[a];/^on[A-Z]/.test(a)?n&&l?r[a]=(...e)=>{l(...e),n(...e)}:n&&(r[a]=n):"style"===a?r[a]={...n,...l}:"className"===a&&(r[a]=[n,l].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props),ref:t?(0,l.t)(t,e):e})}return a.Children.count(r)>1?a.Children.only(null):null});s.displayName="SlotClone";var c=({children:e})=>(0,d.jsx)(d.Fragment,{children:e});function u(e){return a.isValidElement(e)&&e.type===c}var p="AlertDialog",[y,h]=(0,n.A)(p,[i.Hs]),f=(0,i.Hs)(),v=e=>{let{__scopeAlertDialog:t,...r}=e,a=f(t);return(0,d.jsx)(i.bL,{...a,...r,modal:!0})};v.displayName=p;var k=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...a}=e,n=f(r);return(0,d.jsx)(i.l9,{...n,...a,ref:t})});k.displayName="AlertDialogTrigger";var m=e=>{let{__scopeAlertDialog:t,...r}=e,a=f(t);return(0,d.jsx)(i.ZL,{...a,...r})};m.displayName="AlertDialogPortal";var x=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...a}=e,n=f(r);return(0,d.jsx)(i.hJ,{...n,...a,ref:t})});x.displayName="AlertDialogOverlay";var g="AlertDialogContent",[A,b]=y(g),w=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,children:n,...s}=e,u=f(r),p=a.useRef(null),y=(0,l.s)(t,p),h=a.useRef(null);return(0,d.jsx)(i.G$,{contentName:g,titleName:M,docsSlug:"alert-dialog",children:(0,d.jsx)(A,{scope:r,cancelRef:h,children:(0,d.jsxs)(i.UC,{role:"alertdialog",...u,...s,ref:y,onOpenAutoFocus:(0,o.m)(s.onOpenAutoFocus,e=>{var t;e.preventDefault(),null==(t=h.current)||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,d.jsx)(c,{children:n}),(0,d.jsx)(P,{contentRef:p})]})})})});w.displayName=g;var M="AlertDialogTitle",j=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...a}=e,n=f(r);return(0,d.jsx)(i.hE,{...n,...a,ref:t})});j.displayName=M;var R="AlertDialogDescription",C=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...a}=e,n=f(r);return(0,d.jsx)(i.VY,{...n,...a,ref:t})});C.displayName=R;var D=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...a}=e,n=f(r);return(0,d.jsx)(i.bm,{...n,...a,ref:t})});D.displayName="AlertDialogAction";var E="AlertDialogCancel",q=a.forwardRef((e,t)=>{let{__scopeAlertDialog:r,...a}=e,{cancelRef:n}=b(E,r),o=f(r),s=(0,l.s)(t,n);return(0,d.jsx)(i.bm,{...o,...a,ref:s})});q.displayName=E;var P=e=>{let{contentRef:t}=e,r="`".concat(g,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(g,"` by passing a `").concat(R,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(g,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return a.useEffect(()=>{var e;document.getElementById(null==(e=t.current)?void 0:e.getAttribute("aria-describedby"))||console.warn(r)},[r,t]),null},N=v,H=k,V=m,S=x,F=w,O=D,Z=q,z=j,L=C},64261:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("FileSpreadsheet",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]])},73032:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("FileVideo",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m10 11 5 3-5 3v-6Z",key:"7ntvm4"}]])},75761:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("FileArchive",[["path",{d:"M10 12v-1",key:"v7bkov"}],["path",{d:"M10 18v-2",key:"1cjy8d"}],["path",{d:"M10 7V6",key:"dljcrl"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v16a2 2 0 0 0 .274 1.01",key:"gkbcor"}],["circle",{cx:"10",cy:"20",r:"2",key:"1xzdoj"}]])},91788:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},99890:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(19946).A)("File",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]])}}]); \ No newline at end of file diff --git a/.next/static/chunks/4159-bbe647e6be2b9a64.js b/.next/static/chunks/4159-bbe647e6be2b9a64.js new file mode 100644 index 00000000..48cd1be6 --- /dev/null +++ b/.next/static/chunks/4159-bbe647e6be2b9a64.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4159],{2564:(e,t,r)=>{r.d(t,{b:()=>i,s:()=>a});var n=r(12115),l=r(63540),o=r(95155),a=n.forwardRef((e,t)=>(0,o.jsx)(l.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));a.displayName="VisuallyHidden";var i=a},43433:(e,t,r)=>{r.d(t,{UC:()=>eB,YJ:()=>eV,In:()=>eL,q7:()=>eW,VF:()=>eF,p4:()=>eG,JU:()=>e_,ZL:()=>eH,bL:()=>eI,wn:()=>ez,PP:()=>eU,wv:()=>eK,l9:()=>eM,WT:()=>eD,LM:()=>eO});var n=r(12115),l=r(47650),o=r(89367),a=r(85185),i=r(76589),s=r(6101),d=r(46081),u=r(94315),c=r(58434),p=r(92293),f=r(25519),h=r(61285),v=r(63753),m=r(34378),g=r(63540),w=r(95155),x=n.forwardRef((e,t)=>{let{children:r,...l}=e,o=n.Children.toArray(r),a=o.find(S);if(a){let e=a.props.children,r=o.map(t=>t!==a?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,w.jsx)(y,{...l,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,w.jsx)(y,{...l,ref:t,children:r})});x.displayName="Slot";var y=n.forwardRef((e,t)=>{let{children:r,...l}=e;if(n.isValidElement(r)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(r);return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let l=e[n],o=t[n];/^on[A-Z]/.test(n)?l&&o?r[n]=(...e)=>{o(...e),l(...e)}:l&&(r[n]=l):"style"===n?r[n]={...l,...o}:"className"===n&&(r[n]=[l,o].filter(Boolean).join(" "))}return{...e,...r}}(l,r.props),ref:t?(0,s.t)(t,e):e})}return n.Children.count(r)>1?n.Children.only(null):null});y.displayName="SlotClone";var b=({children:e})=>(0,w.jsx)(w.Fragment,{children:e});function S(e){return n.isValidElement(e)&&e.type===b}var C=r(39033),j=r(5845),k=r(52712),N=r(45503),R=r(2564),A=r(38168),E=r(31114),P=[" ","Enter","ArrowUp","ArrowDown"],T=[" ","Enter"],I="Select",[M,D,L]=(0,i.N)(I),[H,B]=(0,d.A)(I,[L,v.Bk]),O=(0,v.Bk)(),[V,_]=H(I),[W,G]=H(I),F=e=>{let{__scopeSelect:t,children:r,open:l,defaultOpen:o,onOpenChange:a,value:i,defaultValue:s,onValueChange:d,dir:c,name:p,autoComplete:f,disabled:m,required:g,form:x}=e,y=O(t),[b,S]=n.useState(null),[C,k]=n.useState(null),[N,R]=n.useState(!1),A=(0,u.jH)(c),[E=!1,P]=(0,j.i)({prop:l,defaultProp:o,onChange:a}),[T,I]=(0,j.i)({prop:i,defaultProp:s,onChange:d}),D=n.useRef(null),L=!b||x||!!b.closest("form"),[H,B]=n.useState(new Set),_=Array.from(H).map(e=>e.props.value).join(";");return(0,w.jsx)(v.bL,{...y,children:(0,w.jsxs)(V,{required:g,scope:t,trigger:b,onTriggerChange:S,valueNode:C,onValueNodeChange:k,valueNodeHasChildren:N,onValueNodeHasChildrenChange:R,contentId:(0,h.B)(),value:T,onValueChange:I,open:E,onOpenChange:P,dir:A,triggerPointerDownPosRef:D,disabled:m,children:[(0,w.jsx)(M.Provider,{scope:t,children:(0,w.jsx)(W,{scope:e.__scopeSelect,onNativeOptionAdd:n.useCallback(e=>{B(t=>new Set(t).add(e))},[]),onNativeOptionRemove:n.useCallback(e=>{B(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:r})}),L?(0,w.jsxs)(eE,{"aria-hidden":!0,required:g,tabIndex:-1,name:p,autoComplete:f,value:T,onChange:e=>I(e.target.value),disabled:m,form:x,children:[void 0===T?(0,w.jsx)("option",{value:""}):null,Array.from(H)]},_):null]})})};F.displayName=I;var U="SelectTrigger",z=n.forwardRef((e,t)=>{let{__scopeSelect:r,disabled:l=!1,...o}=e,i=O(r),d=_(U,r),u=d.disabled||l,c=(0,s.s)(t,d.onTriggerChange),p=D(r),f=n.useRef("touch"),[h,m,x]=eP(e=>{let t=p().filter(e=>!e.disabled),r=t.find(e=>e.value===d.value),n=eT(t,e,r);void 0!==n&&d.onValueChange(n.value)}),y=e=>{u||(d.onOpenChange(!0),x()),e&&(d.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,w.jsx)(v.Mz,{asChild:!0,...i,children:(0,w.jsx)(g.sG.button,{type:"button",role:"combobox","aria-controls":d.contentId,"aria-expanded":d.open,"aria-required":d.required,"aria-autocomplete":"none",dir:d.dir,"data-state":d.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":eA(d.value)?"":void 0,...o,ref:c,onClick:(0,a.m)(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==f.current&&y(e)}),onPointerDown:(0,a.m)(o.onPointerDown,e=>{f.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(y(e),e.preventDefault())}),onKeyDown:(0,a.m)(o.onKeyDown,e=>{let t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&P.includes(e.key)&&(y(),e.preventDefault())})})})});z.displayName=U;var K="SelectValue",q=n.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:l,children:o,placeholder:a="",...i}=e,d=_(K,r),{onValueNodeHasChildrenChange:u}=d,c=void 0!==o,p=(0,s.s)(t,d.onValueNodeChange);return(0,k.N)(()=>{u(c)},[u,c]),(0,w.jsx)(g.sG.span,{...i,ref:p,style:{pointerEvents:"none"},children:eA(d.value)?(0,w.jsx)(w.Fragment,{children:a}):o})});q.displayName=K;var Y=n.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,...l}=e;return(0,w.jsx)(g.sG.span,{"aria-hidden":!0,...l,ref:t,children:n||"▼"})});Y.displayName="SelectIcon";var X=e=>(0,w.jsx)(m.Z,{asChild:!0,...e});X.displayName="SelectPortal";var Z="SelectContent",J=n.forwardRef((e,t)=>{let r=_(Z,e.__scopeSelect),[o,a]=n.useState();return((0,k.N)(()=>{a(new DocumentFragment)},[]),r.open)?(0,w.jsx)(ee,{...e,ref:t}):o?l.createPortal((0,w.jsx)(Q,{scope:e.__scopeSelect,children:(0,w.jsx)(M.Slot,{scope:e.__scopeSelect,children:(0,w.jsx)("div",{children:e.children})})}),o):null});J.displayName=Z;var[Q,$]=H(Z),ee=n.forwardRef((e,t)=>{let{__scopeSelect:r,position:l="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:d,side:u,sideOffset:h,align:v,alignOffset:m,arrowPadding:g,collisionBoundary:y,collisionPadding:b,sticky:S,hideWhenDetached:C,avoidCollisions:j,...k}=e,N=_(Z,r),[R,P]=n.useState(null),[T,I]=n.useState(null),M=(0,s.s)(t,e=>P(e)),[L,H]=n.useState(null),[B,O]=n.useState(null),V=D(r),[W,G]=n.useState(!1),F=n.useRef(!1);n.useEffect(()=>{if(R)return(0,A.Eq)(R)},[R]),(0,p.Oh)();let U=n.useCallback(e=>{let[t,...r]=V().map(e=>e.ref.current),[n]=r.slice(-1),l=document.activeElement;for(let r of e)if(r===l||(null==r||r.scrollIntoView({block:"nearest"}),r===t&&T&&(T.scrollTop=0),r===n&&T&&(T.scrollTop=T.scrollHeight),null==r||r.focus(),document.activeElement!==l))return},[V,T]),z=n.useCallback(()=>U([L,R]),[U,L,R]);n.useEffect(()=>{W&&z()},[W,z]);let{onOpenChange:K,triggerPointerDownPosRef:q}=N;n.useEffect(()=>{if(R){let e={x:0,y:0},t=t=>{var r,n,l,o;e={x:Math.abs(Math.round(t.pageX)-(null!=(l=null==(r=q.current)?void 0:r.x)?l:0)),y:Math.abs(Math.round(t.pageY)-(null!=(o=null==(n=q.current)?void 0:n.y)?o:0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():R.contains(r.target)||K(!1),document.removeEventListener("pointermove",t),q.current=null};return null!==q.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[R,K,q]),n.useEffect(()=>{let e=()=>K(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[K]);let[Y,X]=eP(e=>{let t=V().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=eT(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),J=n.useCallback((e,t,r)=>{let n=!F.current&&!r;(void 0!==N.value&&N.value===t||n)&&(H(e),n&&(F.current=!0))},[N.value]),$=n.useCallback(()=>null==R?void 0:R.focus(),[R]),ee=n.useCallback((e,t,r)=>{let n=!F.current&&!r;(void 0!==N.value&&N.value===t||n)&&O(e)},[N.value]),en="popper"===l?er:et,el=en===er?{side:u,sideOffset:h,align:v,alignOffset:m,arrowPadding:g,collisionBoundary:y,collisionPadding:b,sticky:S,hideWhenDetached:C,avoidCollisions:j}:{};return(0,w.jsx)(Q,{scope:r,content:R,viewport:T,onViewportChange:I,itemRefCallback:J,selectedItem:L,onItemLeave:$,itemTextRefCallback:ee,focusSelectedItem:z,selectedItemText:B,position:l,isPositioned:W,searchRef:Y,children:(0,w.jsx)(E.A,{as:x,allowPinchZoom:!0,children:(0,w.jsx)(f.n,{asChild:!0,trapped:N.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,a.m)(o,e=>{var t;null==(t=N.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,w.jsx)(c.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:d,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>N.onOpenChange(!1),children:(0,w.jsx)(en,{role:"listbox",id:N.contentId,"data-state":N.open?"open":"closed",dir:N.dir,onContextMenu:e=>e.preventDefault(),...k,...el,onPlaced:()=>G(!0),ref:M,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:(0,a.m)(k.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||X(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=V().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>U(t)),e.preventDefault()}})})})})})})});ee.displayName="SelectContentImpl";var et=n.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:l,...a}=e,i=_(Z,r),d=$(Z,r),[u,c]=n.useState(null),[p,f]=n.useState(null),h=(0,s.s)(t,e=>f(e)),v=D(r),m=n.useRef(!1),x=n.useRef(!0),{viewport:y,selectedItem:b,selectedItemText:S,focusSelectedItem:C}=d,j=n.useCallback(()=>{if(i.trigger&&i.valueNode&&u&&p&&y&&b&&S){let e=i.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),r=i.valueNode.getBoundingClientRect(),n=S.getBoundingClientRect();if("rtl"!==i.dir){let l=n.left-t.left,a=r.left-l,i=e.left-a,s=e.width+i,d=Math.max(s,t.width),c=window.innerWidth-10,p=(0,o.q)(a,[10,Math.max(10,c-d)]);u.style.minWidth=s+"px",u.style.left=p+"px"}else{let l=t.right-n.right,a=window.innerWidth-r.right-l,i=window.innerWidth-e.right-a,s=e.width+i,d=Math.max(s,t.width),c=window.innerWidth-10,p=(0,o.q)(a,[10,Math.max(10,c-d)]);u.style.minWidth=s+"px",u.style.right=p+"px"}let a=v(),s=window.innerHeight-20,d=y.scrollHeight,c=window.getComputedStyle(p),f=parseInt(c.borderTopWidth,10),h=parseInt(c.paddingTop,10),g=parseInt(c.borderBottomWidth,10),w=f+h+d+parseInt(c.paddingBottom,10)+g,x=Math.min(5*b.offsetHeight,w),C=window.getComputedStyle(y),j=parseInt(C.paddingTop,10),k=parseInt(C.paddingBottom,10),N=e.top+e.height/2-10,R=b.offsetHeight/2,A=f+h+(b.offsetTop+R);if(A<=N){let e=a.length>0&&b===a[a.length-1].ref.current;u.style.bottom="0px";let t=Math.max(s-N,R+(e?k:0)+(p.clientHeight-y.offsetTop-y.offsetHeight)+g);u.style.height=A+t+"px"}else{let e=a.length>0&&b===a[0].ref.current;u.style.top="0px";let t=Math.max(N,f+y.offsetTop+(e?j:0)+R);u.style.height=t+(w-A)+"px",y.scrollTop=A-N+y.offsetTop}u.style.margin="".concat(10,"px 0"),u.style.minHeight=x+"px",u.style.maxHeight=s+"px",null==l||l(),requestAnimationFrame(()=>m.current=!0)}},[v,i.trigger,i.valueNode,u,p,y,b,S,i.dir,l]);(0,k.N)(()=>j(),[j]);let[N,R]=n.useState();(0,k.N)(()=>{p&&R(window.getComputedStyle(p).zIndex)},[p]);let A=n.useCallback(e=>{e&&!0===x.current&&(j(),null==C||C(),x.current=!1)},[j,C]);return(0,w.jsx)(en,{scope:r,contentWrapper:u,shouldExpandOnScrollRef:m,onScrollButtonChange:A,children:(0,w.jsx)("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:N},children:(0,w.jsx)(g.sG.div,{...a,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});et.displayName="SelectItemAlignedPosition";var er=n.forwardRef((e,t)=>{let{__scopeSelect:r,align:n="start",collisionPadding:l=10,...o}=e,a=O(r);return(0,w.jsx)(v.UC,{...a,...o,ref:t,align:n,collisionPadding:l,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});er.displayName="SelectPopperPosition";var[en,el]=H(Z,{}),eo="SelectViewport",ea=n.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:l,...o}=e,i=$(eo,r),d=el(eo,r),u=(0,s.s)(t,i.onViewportChange),c=n.useRef(0);return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),(0,w.jsx)(M.Slot,{scope:r,children:(0,w.jsx)(g.sG.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,a.m)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=d;if((null==n?void 0:n.current)&&r){let e=Math.abs(c.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,l=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(l0?i:0,r.style.justifyContent="flex-end")}}}c.current=t.scrollTop})})})]})});ea.displayName=eo;var ei="SelectGroup",[es,ed]=H(ei),eu=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=(0,h.B)();return(0,w.jsx)(es,{scope:r,id:l,children:(0,w.jsx)(g.sG.div,{role:"group","aria-labelledby":l,...n,ref:t})})});eu.displayName=ei;var ec="SelectLabel",ep=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=ed(ec,r);return(0,w.jsx)(g.sG.div,{id:l.id,...n,ref:t})});ep.displayName=ec;var ef="SelectItem",[eh,ev]=H(ef),em=n.forwardRef((e,t)=>{let{__scopeSelect:r,value:l,disabled:o=!1,textValue:i,...d}=e,u=_(ef,r),c=$(ef,r),p=u.value===l,[f,v]=n.useState(null!=i?i:""),[m,x]=n.useState(!1),y=(0,s.s)(t,e=>{var t;return null==(t=c.itemRefCallback)?void 0:t.call(c,e,l,o)}),b=(0,h.B)(),S=n.useRef("touch"),C=()=>{o||(u.onValueChange(l),u.onOpenChange(!1))};if(""===l)throw Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,w.jsx)(eh,{scope:r,value:l,disabled:o,textId:b,isSelected:p,onItemTextChange:n.useCallback(e=>{v(t=>{var r;return t||(null!=(r=null==e?void 0:e.textContent)?r:"").trim()})},[]),children:(0,w.jsx)(M.ItemSlot,{scope:r,value:l,disabled:o,textValue:f,children:(0,w.jsx)(g.sG.div,{role:"option","aria-labelledby":b,"data-highlighted":m?"":void 0,"aria-selected":p&&m,"data-state":p?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...d,ref:y,onFocus:(0,a.m)(d.onFocus,()=>x(!0)),onBlur:(0,a.m)(d.onBlur,()=>x(!1)),onClick:(0,a.m)(d.onClick,()=>{"mouse"!==S.current&&C()}),onPointerUp:(0,a.m)(d.onPointerUp,()=>{"mouse"===S.current&&C()}),onPointerDown:(0,a.m)(d.onPointerDown,e=>{S.current=e.pointerType}),onPointerMove:(0,a.m)(d.onPointerMove,e=>{if(S.current=e.pointerType,o){var t;null==(t=c.onItemLeave)||t.call(c)}else"mouse"===S.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,a.m)(d.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null==(t=c.onItemLeave)||t.call(c)}}),onKeyDown:(0,a.m)(d.onKeyDown,e=>{var t;((null==(t=c.searchRef)?void 0:t.current)===""||" "!==e.key)&&(T.includes(e.key)&&C()," "===e.key&&e.preventDefault())})})})})});em.displayName=ef;var eg="SelectItemText",ew=n.forwardRef((e,t)=>{let{__scopeSelect:r,className:o,style:a,...i}=e,d=_(eg,r),u=$(eg,r),c=ev(eg,r),p=G(eg,r),[f,h]=n.useState(null),v=(0,s.s)(t,e=>h(e),c.onItemTextChange,e=>{var t;return null==(t=u.itemTextRefCallback)?void 0:t.call(u,e,c.value,c.disabled)}),m=null==f?void 0:f.textContent,x=n.useMemo(()=>(0,w.jsx)("option",{value:c.value,disabled:c.disabled,children:m},c.value),[c.disabled,c.value,m]),{onNativeOptionAdd:y,onNativeOptionRemove:b}=p;return(0,k.N)(()=>(y(x),()=>b(x)),[y,b,x]),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(g.sG.span,{id:c.textId,...i,ref:v}),c.isSelected&&d.valueNode&&!d.valueNodeHasChildren?l.createPortal(i.children,d.valueNode):null]})});ew.displayName=eg;var ex="SelectItemIndicator",ey=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return ev(ex,r).isSelected?(0,w.jsx)(g.sG.span,{"aria-hidden":!0,...n,ref:t}):null});ey.displayName=ex;var eb="SelectScrollUpButton",eS=n.forwardRef((e,t)=>{let r=$(eb,e.__scopeSelect),l=el(eb,e.__scopeSelect),[o,a]=n.useState(!1),i=(0,s.s)(t,l.onScrollButtonChange);return(0,k.N)(()=>{if(r.viewport&&r.isPositioned){let e=function(){a(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),o?(0,w.jsx)(ek,{...e,ref:i,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});eS.displayName=eb;var eC="SelectScrollDownButton",ej=n.forwardRef((e,t)=>{let r=$(eC,e.__scopeSelect),l=el(eC,e.__scopeSelect),[o,a]=n.useState(!1),i=(0,s.s)(t,l.onScrollButtonChange);return(0,k.N)(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;a(Math.ceil(t.scrollTop)t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),o?(0,w.jsx)(ek,{...e,ref:i,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});ej.displayName=eC;var ek=n.forwardRef((e,t)=>{let{__scopeSelect:r,onAutoScroll:l,...o}=e,i=$("SelectScrollButton",r),s=n.useRef(null),d=D(r),u=n.useCallback(()=>{null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return n.useEffect(()=>()=>u(),[u]),(0,k.N)(()=>{var e;let t=d().find(e=>e.ref.current===document.activeElement);null==t||null==(e=t.ref.current)||e.scrollIntoView({block:"nearest"})},[d]),(0,w.jsx)(g.sG.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:(0,a.m)(o.onPointerDown,()=>{null===s.current&&(s.current=window.setInterval(l,50))}),onPointerMove:(0,a.m)(o.onPointerMove,()=>{var e;null==(e=i.onItemLeave)||e.call(i),null===s.current&&(s.current=window.setInterval(l,50))}),onPointerLeave:(0,a.m)(o.onPointerLeave,()=>{u()})})}),eN=n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return(0,w.jsx)(g.sG.div,{"aria-hidden":!0,...n,ref:t})});eN.displayName="SelectSeparator";var eR="SelectArrow";function eA(e){return""===e||void 0===e}n.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=O(r),o=_(eR,r),a=$(eR,r);return o.open&&"popper"===a.position?(0,w.jsx)(v.i3,{...l,...n,ref:t}):null}).displayName=eR;var eE=n.forwardRef((e,t)=>{let{value:r,...l}=e,o=n.useRef(null),a=(0,s.s)(t,o),i=(0,N.Z)(r);return n.useEffect(()=>{let e=o.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(i!==r&&t){let n=new Event("change",{bubbles:!0});t.call(e,r),e.dispatchEvent(n)}},[i,r]),(0,w.jsx)(R.s,{asChild:!0,children:(0,w.jsx)("select",{...l,ref:a,defaultValue:r})})});function eP(e){let t=(0,C.c)(e),r=n.useRef(""),l=n.useRef(0),o=n.useCallback(e=>{let n=r.current+e;t(n),function e(t){r.current=t,window.clearTimeout(l.current),""!==t&&(l.current=window.setTimeout(()=>e(""),1e3))}(n)},[t]),a=n.useCallback(()=>{r.current="",window.clearTimeout(l.current)},[]);return n.useEffect(()=>()=>window.clearTimeout(l.current),[]),[r,o,a]}function eT(e,t,r){var n,l;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=r?e.indexOf(r):-1,i=(n=e,l=Math.max(a,0),n.map((e,t)=>n[(l+t)%n.length]));1===o.length&&(i=i.filter(e=>e!==r));let s=i.find(e=>e.textValue.toLowerCase().startsWith(o.toLowerCase()));return s!==r?s:void 0}eE.displayName="BubbleSelect";var eI=F,eM=z,eD=q,eL=Y,eH=X,eB=J,eO=ea,eV=eu,e_=ep,eW=em,eG=ew,eF=ey,eU=eS,ez=ej,eK=eN},47863:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},51154:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},62525:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},63753:(e,t,r)=>{r.d(t,{Mz:()=>M,i3:()=>L,UC:()=>D,bL:()=>I,Bk:()=>m});var n=r(12115),l=r(84945),o=r(76492),a=r(63540),i=r(95155),s=n.forwardRef((e,t)=>{let{children:r,width:n=10,height:l=5,...o}=e;return(0,i.jsx)(a.sG.svg,{...o,ref:t,width:n,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,i.jsx)("polygon",{points:"0,0 30,0 15,10"})})});s.displayName="Arrow";var d=r(6101),u=r(46081),c=r(39033),p=r(52712),f=r(11275),h="Popper",[v,m]=(0,u.A)(h),[g,w]=v(h),x=e=>{let{__scopePopper:t,children:r}=e,[l,o]=n.useState(null);return(0,i.jsx)(g,{scope:t,anchor:l,onAnchorChange:o,children:r})};x.displayName=h;var y="PopperAnchor",b=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:l,...o}=e,s=w(y,r),u=n.useRef(null),c=(0,d.s)(t,u);return n.useEffect(()=>{s.onAnchorChange((null==l?void 0:l.current)||u.current)}),l?null:(0,i.jsx)(a.sG.div,{...o,ref:c})});b.displayName=y;var S="PopperContent",[C,j]=v(S),k=n.forwardRef((e,t)=>{var r,s,u,h,v,m,g,x;let{__scopePopper:y,side:b="bottom",sideOffset:j=0,align:k="center",alignOffset:N=0,arrowPadding:R=0,avoidCollisions:A=!0,collisionBoundary:I=[],collisionPadding:M=0,sticky:D="partial",hideWhenDetached:L=!1,updatePositionStrategy:H="optimized",onPlaced:B,...O}=e,V=w(S,y),[_,W]=n.useState(null),G=(0,d.s)(t,e=>W(e)),[F,U]=n.useState(null),z=(0,f.X)(F),K=null!=(g=null==z?void 0:z.width)?g:0,q=null!=(x=null==z?void 0:z.height)?x:0,Y="number"==typeof M?M:{top:0,right:0,bottom:0,left:0,...M},X=Array.isArray(I)?I:[I],Z=X.length>0,J={padding:Y,boundary:X.filter(E),altBoundary:Z},{refs:Q,floatingStyles:$,placement:ee,isPositioned:et,middlewareData:er}=(0,l.we)({strategy:"fixed",placement:b+("center"!==k?"-"+k:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r{let{elements:t,rects:r,availableWidth:n,availableHeight:l}=e,{width:o,height:a}=r.reference,i=t.floating.style;i.setProperty("--radix-popper-available-width","".concat(n,"px")),i.setProperty("--radix-popper-available-height","".concat(l,"px")),i.setProperty("--radix-popper-anchor-width","".concat(o,"px")),i.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),F&&(0,l.UE)({element:F,padding:R}),P({arrowWidth:K,arrowHeight:q}),L&&(0,l.jD)({strategy:"referenceHidden",...J})]}),[en,el]=T(ee),eo=(0,c.c)(B);(0,p.N)(()=>{et&&(null==eo||eo())},[et,eo]);let ea=null==(r=er.arrow)?void 0:r.x,ei=null==(s=er.arrow)?void 0:s.y,es=(null==(u=er.arrow)?void 0:u.centerOffset)!==0,[ed,eu]=n.useState();return(0,p.N)(()=>{_&&eu(window.getComputedStyle(_).zIndex)},[_]),(0,i.jsx)("div",{ref:Q.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:et?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ed,"--radix-popper-transform-origin":[null==(h=er.transformOrigin)?void 0:h.x,null==(v=er.transformOrigin)?void 0:v.y].join(" "),...(null==(m=er.hide)?void 0:m.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,i.jsx)(C,{scope:y,placedSide:en,onArrowChange:U,arrowX:ea,arrowY:ei,shouldHideArrow:es,children:(0,i.jsx)(a.sG.div,{"data-side":en,"data-align":el,...O,ref:G,style:{...O.style,animation:et?void 0:"none"}})})})});k.displayName=S;var N="PopperArrow",R={top:"bottom",right:"left",bottom:"top",left:"right"},A=n.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,l=j(N,r),o=R[l.placedSide];return(0,i.jsx)("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0},children:(0,i.jsx)(s,{...n,ref:t,style:{...n.style,display:"block"}})})});function E(e){return null!==e}A.displayName=N;var P=e=>({name:"transformOrigin",options:e,fn(t){var r,n,l,o,a;let{placement:i,rects:s,middlewareData:d}=t,u=(null==(r=d.arrow)?void 0:r.centerOffset)!==0,c=u?0:e.arrowWidth,p=u?0:e.arrowHeight,[f,h]=T(i),v={start:"0%",center:"50%",end:"100%"}[h],m=(null!=(o=null==(n=d.arrow)?void 0:n.x)?o:0)+c/2,g=(null!=(a=null==(l=d.arrow)?void 0:l.y)?a:0)+p/2,w="",x="";return"bottom"===f?(w=u?v:"".concat(m,"px"),x="".concat(-p,"px")):"top"===f?(w=u?v:"".concat(m,"px"),x="".concat(s.floating.height+p,"px")):"right"===f?(w="".concat(-p,"px"),x=u?v:"".concat(g,"px")):"left"===f&&(w="".concat(s.floating.width+p,"px"),x=u?v:"".concat(g,"px")),{data:{x:w,y:x}}}});function T(e){let[t,r="center"]=e.split("-");return[t,r]}var I=x,M=b,D=k,L=A},66474:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},85339:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},89367:(e,t,r)=>{r.d(t,{q:()=>n});function n(e,[t,r]){return Math.min(r,Math.max(t,e))}}}]); \ No newline at end of file diff --git a/.next/static/chunks/4277-8448fba076ff7080.js b/.next/static/chunks/4277-8448fba076ff7080.js new file mode 100644 index 00000000..287ca2d8 --- /dev/null +++ b/.next/static/chunks/4277-8448fba076ff7080.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4277],{39688:(e,r,o)=>{o.d(r,{QP:()=>U});let t=e=>{let r=a(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{let o=e.split("-");return""===o[0]&&1!==o.length&&o.shift(),n(o,r)||s(e)},getConflictingClassGroupIds:(e,r)=>{let n=o[e]||[];return r&&t[e]?[...n,...t[e]]:n}}},n=(e,r)=>{if(0===e.length)return r.classGroupId;let o=e[0],t=r.nextPart.get(o),l=t?n(e.slice(1),t):void 0;if(l)return l;if(0===r.validators.length)return;let s=e.join("-");return r.validators.find(({validator:e})=>e(s))?.classGroupId},l=/^\[(.+)\]$/,s=e=>{if(l.test(e)){let r=l.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},a=e=>{let{theme:r,prefix:o}=e,t={nextPart:new Map,validators:[]};return p(Object.entries(e.classGroups),o).forEach(([e,o])=>{i(o,t,e,r)}),t},i=(e,r,o,t)=>{e.forEach(e=>{if("string"==typeof e){(""===e?r:d(r,e)).classGroupId=o;return}if("function"==typeof e)return c(e)?void i(e(t),r,o,t):void r.validators.push({validator:e,classGroupId:o});Object.entries(e).forEach(([e,n])=>{i(n,d(r,e),o,t)})})},d=(e,r)=>{let o=e;return r.split("-").forEach(e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)}),o},c=e=>e.isThemeGetter,p=(e,r)=>r?e.map(([e,o])=>[e,o.map(e=>"string"==typeof e?r+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,o])=>[r+e,o])):e)]):e,u=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let r=0,o=new Map,t=new Map,n=(n,l)=>{o.set(n,l),++r>e&&(r=0,t=o,o=new Map)};return{get(e){let r=o.get(e);return void 0!==r?r:void 0!==(r=t.get(e))?(n(e,r),r):void 0},set(e,r){o.has(e)?o.set(e,r):n(e,r)}}},b=e=>{let{separator:r,experimentalParseClassName:o}=e,t=1===r.length,n=r[0],l=r.length,s=e=>{let o,s=[],a=0,i=0;for(let d=0;di?o-i:void 0}};return o?e=>o({className:e,parseClassName:s}):s},f=e=>{if(e.length<=1)return e;let r=[],o=[];return e.forEach(e=>{"["===e[0]?(r.push(...o.sort(),e),o=[]):o.push(e)}),r.push(...o.sort()),r},g=e=>({cache:u(e.cacheSize),parseClassName:b(e),...t(e)}),m=/\s+/,h=(e,r)=>{let{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:n}=r,l=[],s=e.trim().split(m),a="";for(let e=s.length-1;e>=0;e-=1){let r=s[e],{modifiers:i,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:p}=o(r),u=!!p,b=t(u?c.substring(0,p):c);if(!b){if(!u||!(b=t(c))){a=r+(a.length>0?" "+a:a);continue}u=!1}let g=f(i).join(":"),m=d?g+"!":g,h=m+b;if(l.includes(h))continue;l.push(h);let x=n(b,u);for(let e=0;e0?" "+a:a)}return a};function x(){let e,r,o=0,t="";for(;o{let r;if("string"==typeof e)return e;let o="";for(let t=0;t{let r=r=>r[e]||[];return r.isThemeGetter=!0,r},w=/^\[(?:([a-z-]+):)?(.+)\]$/i,k=/^\d+\/\d+$/,z=new Set(["px","full","screen"]),j=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,S=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,G=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,P=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>$(e)||z.has(e)||k.test(e),E=e=>F(e,"length",H),$=e=>!!e&&!Number.isNaN(Number(e)),M=e=>F(e,"number",$),I=e=>!!e&&Number.isInteger(Number(e)),_=e=>e.endsWith("%")&&$(e.slice(0,-1)),O=e=>w.test(e),R=e=>j.test(e),W=new Set(["length","size","percentage"]),T=e=>F(e,W,J),q=e=>F(e,"position",J),A=new Set(["image","url"]),Q=e=>F(e,A,L),B=e=>F(e,"",K),D=()=>!0,F=(e,r,o)=>{let t=w.exec(e);return!!t&&(t[1]?"string"==typeof r?t[1]===r:r.has(t[1]):o(t[2]))},H=e=>C.test(e)&&!S.test(e),J=()=>!1,K=e=>G.test(e),L=e=>P.test(e);Symbol.toStringTag;let U=function(e,...r){let o,t,n,l=function(a){return t=(o=g(r.reduce((e,r)=>r(e),e()))).cache.get,n=o.cache.set,l=s,s(a)};function s(e){let r=t(e);if(r)return r;let l=h(e,o);return n(e,l),l}return function(){return l(x.apply(null,arguments))}}(()=>{let e=v("colors"),r=v("spacing"),o=v("blur"),t=v("brightness"),n=v("borderColor"),l=v("borderRadius"),s=v("borderSpacing"),a=v("borderWidth"),i=v("contrast"),d=v("grayscale"),c=v("hueRotate"),p=v("invert"),u=v("gap"),b=v("gradientColorStops"),f=v("gradientColorStopPositions"),g=v("inset"),m=v("margin"),h=v("opacity"),x=v("padding"),y=v("saturate"),w=v("scale"),k=v("sepia"),z=v("skew"),j=v("space"),C=v("translate"),S=()=>["auto","contain","none"],G=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto",O,r],W=()=>[O,r],A=()=>["",N,E],F=()=>["auto",$,O],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],J=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],L=()=>["start","end","center","between","around","evenly","stretch"],U=()=>["","0",O],V=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>[$,O];return{cacheSize:500,separator:":",theme:{colors:[D],spacing:[N,E],blur:["none","",R,O],brightness:X(),borderColor:[e],borderRadius:["none","","full",R,O],borderSpacing:W(),borderWidth:A(),contrast:X(),grayscale:U(),hueRotate:X(),invert:U(),gap:W(),gradientColorStops:[e],gradientColorStopPositions:[_,E],inset:P(),margin:P(),opacity:X(),padding:W(),saturate:X(),scale:X(),sepia:U(),skew:X(),space:W(),translate:W()},classGroups:{aspect:[{aspect:["auto","square","video",O]}],container:["container"],columns:[{columns:[R]}],"break-after":[{"break-after":V()}],"break-before":[{"break-before":V()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...H(),O]}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",I,O]}],basis:[{basis:P()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",O]}],grow:[{grow:U()}],shrink:[{shrink:U()}],order:[{order:["first","last","none",I,O]}],"grid-cols":[{"grid-cols":[D]}],"col-start-end":[{col:["auto",{span:["full",I,O]},O]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[D]}],"row-start-end":[{row:["auto",{span:[I,O]},O]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",O]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",O]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...L()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...L(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...L(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[j]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[j]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",O,r]}],"min-w":[{"min-w":[O,r,"min","max","fit"]}],"max-w":[{"max-w":[O,r,"none","full","min","max","fit","prose",{screen:[R]},R]}],h:[{h:[O,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[O,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[O,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[O,r,"auto","min","max","fit"]}],"font-size":[{text:["base",R,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",M]}],"font-family":[{font:[D]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",O]}],"line-clamp":[{"line-clamp":["none",$,M]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",N,O]}],"list-image":[{"list-image":["none",O]}],"list-style-type":[{list:["none","disc","decimal",O]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",N,E]}],"underline-offset":[{"underline-offset":["auto",N,O]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:W()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),q]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",T]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Q]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[f]}],"gradient-via-pos":[{via:[f]}],"gradient-to-pos":[{to:[f]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...J(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:J()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...J()]}],"outline-offset":[{"outline-offset":[N,O]}],"outline-w":[{outline:[N,E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:A()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[N,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",R,B]}],"shadow-color":[{shadow:[D]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[t]}],contrast:[{contrast:[i]}],"drop-shadow":[{"drop-shadow":["","none",R,O]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[y]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[t]}],"backdrop-contrast":[{"backdrop-contrast":[i]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",O]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",O]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",O]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[I,O]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[z]}],"skew-y":[{"skew-y":[z]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",O]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":W()}],"scroll-mx":[{"scroll-mx":W()}],"scroll-my":[{"scroll-my":W()}],"scroll-ms":[{"scroll-ms":W()}],"scroll-me":[{"scroll-me":W()}],"scroll-mt":[{"scroll-mt":W()}],"scroll-mr":[{"scroll-mr":W()}],"scroll-mb":[{"scroll-mb":W()}],"scroll-ml":[{"scroll-ml":W()}],"scroll-p":[{"scroll-p":W()}],"scroll-px":[{"scroll-px":W()}],"scroll-py":[{"scroll-py":W()}],"scroll-ps":[{"scroll-ps":W()}],"scroll-pe":[{"scroll-pe":W()}],"scroll-pt":[{"scroll-pt":W()}],"scroll-pr":[{"scroll-pr":W()}],"scroll-pb":[{"scroll-pb":W()}],"scroll-pl":[{"scroll-pl":W()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[N,E,M]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})},52596:(e,r,o)=>{o.d(r,{$:()=>t});function t(){for(var e,r,o=0,t="",n=arguments.length;o{"use strict";r.d(t,{b:()=>l,s:()=>o});var n=r(12115),i=r(63540),a=r(95155),o=n.forwardRef((e,t)=>(0,a.jsx)(i.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));o.displayName="VisuallyHidden";var l=o},5040:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},6740:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]])},9803:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]])},10822:(e,t,r)=>{"use strict";r.d(t,{A:()=>er});let{entries:n,setPrototypeOf:i,isFrozen:a,getPrototypeOf:o,getOwnPropertyDescriptor:l}=Object,{freeze:s,seal:c,create:u}=Object,{apply:d,construct:f}="undefined"!=typeof Reflect&&Reflect;s||(s=function(e){return e}),c||(c=function(e){return e}),d||(d=function(e,t,r){return e.apply(t,r)}),f||(f=function(e,t){return new e(...t)});let p=S(Array.prototype.forEach),m=S(Array.prototype.lastIndexOf),h=S(Array.prototype.pop),y=S(Array.prototype.push),g=S(Array.prototype.splice),v=S(String.prototype.toLowerCase),w=S(String.prototype.toString),b=S(String.prototype.match),x=S(String.prototype.replace),E=S(String.prototype.indexOf),k=S(String.prototype.trim),T=S(Object.prototype.hasOwnProperty),A=S(RegExp.prototype.test),_=(Z=TypeError,function(){for(var e=arguments.length,t=Array(e),r=0;r1?r-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:v;i&&i(e,null);let n=t.length;for(;n--;){let i=t[n];if("string"==typeof i){let e=r(i);e!==i&&(a(t)||(t[n]=e),i=e)}e[i]=!0}return e}function C(e){let t=u(null);for(let[r,i]of n(e))T(e,r)&&(Array.isArray(i)?t[r]=function(e){for(let t=0;t/gm),B=c(/\$\{[\w\W]*/gm),q=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=c(/^aria-[\-\w]+$/),V=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),X=c(/^(?:\w+script|data):/i),K=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$=c(/^html$/i);var Z,J=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:K,CUSTOM_ELEMENT:c(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:q,DOCTYPE_NAME:$,ERB_EXPR:W,IS_ALLOWED_URI:V,IS_SCRIPT_OR_DATA:X,MUSTACHE_EXPR:G,TMPLIT_EXPR:B});let Q={element:1,text:3,progressingInstruction:7,comment:8,document:9},ee=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},et=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var er=function e(){let t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=t=>e(t);if(i.version="3.2.5",i.removed=[],!r||!r.document||r.document.nodeType!==Q.document||!r.Element)return i.isSupported=!1,i;let{document:a}=r,o=a,l=o.currentScript,{DocumentFragment:c,HTMLTemplateElement:d,Node:f,Element:S,NodeFilter:G,NamedNodeMap:W=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:B,DOMParser:q,trustedTypes:Y}=r,X=S.prototype,K=R(X,"cloneNode"),Z=R(X,"remove"),er=R(X,"nextSibling"),en=R(X,"childNodes"),ei=R(X,"parentNode");if("function"==typeof d){let e=a.createElement("template");e.content&&e.content.ownerDocument&&(a=e.content.ownerDocument)}let ea="",{implementation:eo,createNodeIterator:el,createDocumentFragment:es,getElementsByTagName:ec}=a,{importNode:eu}=o,ed=et();i.isSupported="function"==typeof n&&"function"==typeof ei&&eo&&void 0!==eo.createHTMLDocument;let{MUSTACHE_EXPR:ef,ERB_EXPR:ep,TMPLIT_EXPR:em,DATA_ATTR:eh,ARIA_ATTR:ey,IS_SCRIPT_OR_DATA:eg,ATTR_WHITESPACE:ev,CUSTOM_ELEMENT:ew}=J,{IS_ALLOWED_URI:eb}=J,ex=null,eE=M({},[...N,...O,...D,...P,...j]),ek=null,eT=M({},[...z,...F,...U,...H]),eA=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),e_=null,eS=null,eM=!0,eC=!0,eR=!1,eN=!0,eO=!1,eD=!0,eL=!1,eP=!1,eI=!1,ej=!1,ez=!1,eF=!1,eU=!0,eH=!1,eG=!0,eW=!1,eB={},eq=null,eY=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eV=null,eX=M({},["audio","video","img","source","image","track"]),eK=null,e$=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eZ="http://www.w3.org/1998/Math/MathML",eJ="http://www.w3.org/2000/svg",eQ="http://www.w3.org/1999/xhtml",e1=eQ,e0=!1,e2=null,e6=M({},[eZ,eJ,eQ],w),e4=M({},["mi","mo","mn","ms","mtext"]),e5=M({},["annotation-xml"]),e3=M({},["title","style","font","a","script"]),e9=null,e8=["application/xhtml+xml","text/html"],e7=null,te=null,tt=a.createElement("form"),tr=function(e){return e instanceof RegExp||e instanceof Function},tn=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!te||te!==e){if(e&&"object"==typeof e||(e={}),e=C(e),e7="application/xhtml+xml"===(e9=-1===e8.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?w:v,ex=T(e,"ALLOWED_TAGS")?M({},e.ALLOWED_TAGS,e7):eE,ek=T(e,"ALLOWED_ATTR")?M({},e.ALLOWED_ATTR,e7):eT,e2=T(e,"ALLOWED_NAMESPACES")?M({},e.ALLOWED_NAMESPACES,w):e6,eK=T(e,"ADD_URI_SAFE_ATTR")?M(C(e$),e.ADD_URI_SAFE_ATTR,e7):e$,eV=T(e,"ADD_DATA_URI_TAGS")?M(C(eX),e.ADD_DATA_URI_TAGS,e7):eX,eq=T(e,"FORBID_CONTENTS")?M({},e.FORBID_CONTENTS,e7):eY,e_=T(e,"FORBID_TAGS")?M({},e.FORBID_TAGS,e7):{},eS=T(e,"FORBID_ATTR")?M({},e.FORBID_ATTR,e7):{},eB=!!T(e,"USE_PROFILES")&&e.USE_PROFILES,eM=!1!==e.ALLOW_ARIA_ATTR,eC=!1!==e.ALLOW_DATA_ATTR,eR=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eN=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eO=e.SAFE_FOR_TEMPLATES||!1,eD=!1!==e.SAFE_FOR_XML,eL=e.WHOLE_DOCUMENT||!1,ej=e.RETURN_DOM||!1,ez=e.RETURN_DOM_FRAGMENT||!1,eF=e.RETURN_TRUSTED_TYPE||!1,eI=e.FORCE_BODY||!1,eU=!1!==e.SANITIZE_DOM,eH=e.SANITIZE_NAMED_PROPS||!1,eG=!1!==e.KEEP_CONTENT,eW=e.IN_PLACE||!1,eb=e.ALLOWED_URI_REGEXP||V,e1=e.NAMESPACE||eQ,e4=e.MATHML_TEXT_INTEGRATION_POINTS||e4,e5=e.HTML_INTEGRATION_POINTS||e5,eA=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eA.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&tr(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eA.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eA.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eO&&(eC=!1),ez&&(ej=!0),eB&&(ex=M({},j),ek=[],!0===eB.html&&(M(ex,N),M(ek,z)),!0===eB.svg&&(M(ex,O),M(ek,F),M(ek,H)),!0===eB.svgFilters&&(M(ex,D),M(ek,F),M(ek,H)),!0===eB.mathMl&&(M(ex,P),M(ek,U),M(ek,H))),e.ADD_TAGS&&(ex===eE&&(ex=C(ex)),M(ex,e.ADD_TAGS,e7)),e.ADD_ATTR&&(ek===eT&&(ek=C(ek)),M(ek,e.ADD_ATTR,e7)),e.ADD_URI_SAFE_ATTR&&M(eK,e.ADD_URI_SAFE_ATTR,e7),e.FORBID_CONTENTS&&(eq===eY&&(eq=C(eq)),M(eq,e.FORBID_CONTENTS,e7)),eG&&(ex["#text"]=!0),eL&&M(ex,["html","head","body"]),ex.table&&(M(ex,["tbody"]),delete e_.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ea=(t=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===t&&(t=ee(Y,l)),null!==t&&"string"==typeof ea&&(ea=t.createHTML(""));s&&s(e),te=e}},ti=M({},[...O,...D,...L]),ta=M({},[...P,...I]),to=function(e){let t=ei(e);t&&t.tagName||(t={namespaceURI:e1,tagName:"template"});let r=v(e.tagName),n=v(t.tagName);return!!e2[e.namespaceURI]&&(e.namespaceURI===eJ?t.namespaceURI===eQ?"svg"===r:t.namespaceURI===eZ?"svg"===r&&("annotation-xml"===n||e4[n]):!!ti[r]:e.namespaceURI===eZ?t.namespaceURI===eQ?"math"===r:t.namespaceURI===eJ?"math"===r&&e5[n]:!!ta[r]:e.namespaceURI===eQ?(t.namespaceURI!==eJ||!!e5[n])&&(t.namespaceURI!==eZ||!!e4[n])&&!ta[r]&&(e3[r]||!ti[r]):"application/xhtml+xml"===e9&&!!e2[e.namespaceURI])},tl=function(e){y(i.removed,{element:e});try{ei(e).removeChild(e)}catch(t){Z(e)}},ts=function(e,t){try{y(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){y(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ej||ez)try{tl(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tc=function(e){let r=null,n=null;if(eI)e=""+e;else{let t=b(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===e9&&e1===eQ&&(e=''+e+"");let i=t?t.createHTML(e):e;if(e1===eQ)try{r=new q().parseFromString(i,e9)}catch(e){}if(!r||!r.documentElement){r=eo.createDocument(e1,"template",null);try{r.documentElement.innerHTML=e0?ea:i}catch(e){}}let o=r.body||r.documentElement;return(e&&n&&o.insertBefore(a.createTextNode(n),o.childNodes[0]||null),e1===eQ)?ec.call(r,eL?"html":"body")[0]:eL?r.documentElement:o},tu=function(e){return el.call(e.ownerDocument||e,e,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},td=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof W)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},tf=function(e){return"function"==typeof f&&e instanceof f};function tp(e,t,r){p(e,e=>{e.call(i,t,r,te)})}let tm=function(e){let t=null;if(tp(ed.beforeSanitizeElements,e,null),td(e))return tl(e),!0;let r=e7(e.nodeName);if(tp(ed.uponSanitizeElement,e,{tagName:r,allowedTags:ex}),e.hasChildNodes()&&!tf(e.firstElementChild)&&A(/<[/\w!]/g,e.innerHTML)&&A(/<[/\w!]/g,e.textContent)||e.nodeType===Q.progressingInstruction||eD&&e.nodeType===Q.comment&&A(/<[/\w]/g,e.data))return tl(e),!0;if(!ex[r]||e_[r]){if(!e_[r]&&ty(r)&&(eA.tagNameCheck instanceof RegExp&&A(eA.tagNameCheck,r)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(r)))return!1;if(eG&&!eq[r]){let t=ei(e)||e.parentNode,r=en(e)||e.childNodes;if(r&&t){let n=r.length;for(let i=n-1;i>=0;--i){let n=K(r[i],!0);n.__removalCount=(e.__removalCount||0)+1,t.insertBefore(n,er(e))}}}return tl(e),!0}return e instanceof S&&!to(e)||("noscript"===r||"noembed"===r||"noframes"===r)&&A(/<\/no(script|embed|frames)/i,e.innerHTML)?(tl(e),!0):(eO&&e.nodeType===Q.text&&(t=e.textContent,p([ef,ep,em],e=>{t=x(t,e," ")}),e.textContent!==t&&(y(i.removed,{element:e.cloneNode()}),e.textContent=t)),tp(ed.afterSanitizeElements,e,null),!1)},th=function(e,t,r){if(eU&&("id"===t||"name"===t)&&(r in a||r in tt))return!1;if(eC&&!eS[t]&&A(eh,t));else if(eM&&A(ey,t));else if(!ek[t]||eS[t]){if(!(ty(e)&&(eA.tagNameCheck instanceof RegExp&&A(eA.tagNameCheck,e)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(e))&&(eA.attributeNameCheck instanceof RegExp&&A(eA.attributeNameCheck,t)||eA.attributeNameCheck instanceof Function&&eA.attributeNameCheck(t))||"is"===t&&eA.allowCustomizedBuiltInElements&&(eA.tagNameCheck instanceof RegExp&&A(eA.tagNameCheck,r)||eA.tagNameCheck instanceof Function&&eA.tagNameCheck(r))))return!1}else if(eK[t]);else if(A(eb,x(r,ev,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===E(r,"data:")&&eV[e]);else if(eR&&!A(eg,x(r,ev,"")));else if(r)return!1;return!0},ty=function(e){return"annotation-xml"!==e&&b(e,ew)},tg=function(e){tp(ed.beforeSanitizeAttributes,e,null);let{attributes:r}=e;if(!r||td(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ek,forceKeepAttr:void 0},a=r.length;for(;a--;){let{name:o,namespaceURI:l,value:s}=r[a],c=e7(o),u="value"===o?s:k(s);if(n.attrName=c,n.attrValue=u,n.keepAttr=!0,n.forceKeepAttr=void 0,tp(ed.uponSanitizeAttribute,e,n),u=n.attrValue,eH&&("id"===c||"name"===c)&&(ts(o,e),u="user-content-"+u),eD&&A(/((--!?|])>)|<\/(style|title)/i,u)){ts(o,e);continue}if(n.forceKeepAttr||(ts(o,e),!n.keepAttr))continue;if(!eN&&A(/\/>/i,u)){ts(o,e);continue}eO&&p([ef,ep,em],e=>{u=x(u,e," ")});let d=e7(e.nodeName);if(th(d,c,u)){if(t&&"object"==typeof Y&&"function"==typeof Y.getAttributeType)if(l);else switch(Y.getAttributeType(d,c)){case"TrustedHTML":u=t.createHTML(u);break;case"TrustedScriptURL":u=t.createScriptURL(u)}try{l?e.setAttributeNS(l,o,u):e.setAttribute(o,u),td(e)?tl(e):h(i.removed)}catch(e){}}}tp(ed.afterSanitizeAttributes,e,null)},tv=function e(t){let r=null,n=tu(t);for(tp(ed.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)tp(ed.uponSanitizeShadowNode,r,null),tm(r),tg(r),r.content instanceof c&&e(r.content);tp(ed.afterSanitizeShadowDOM,t,null)};return i.sanitize=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,l=null,s=null;if((e0=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!tf(e))if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}else throw _("toString is not a function");if(!i.isSupported)return e;if(eP||tn(r),i.removed=[],"string"==typeof e&&(eW=!1),eW){if(e.nodeName){let t=e7(e.nodeName);if(!ex[t]||e_[t])throw _("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof f)(a=(n=tc("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType===Q.element&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a);else{if(!ej&&!eO&&!eL&&-1===e.indexOf("<"))return t&&eF?t.createHTML(e):e;if(!(n=tc(e)))return ej?null:eF?ea:""}n&&eI&&tl(n.firstChild);let u=tu(eW?e:n);for(;l=u.nextNode();)tm(l),tg(l),l.content instanceof c&&tv(l.content);if(eW)return e;if(ej){if(ez)for(s=es.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(ek.shadowroot||ek.shadowrootmode)&&(s=eu.call(o,s,!0)),s}let d=eL?n.outerHTML:n.innerHTML;return eL&&ex["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&A($,n.ownerDocument.doctype.name)&&(d="\n"+d),eO&&p([ef,ep,em],e=>{d=x(d,e," ")}),t&&eF?t.createHTML(d):d},i.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tn(e),eP=!0},i.clearConfig=function(){te=null,eP=!1},i.isValidAttribute=function(e,t,r){return te||tn({}),th(e7(e),e7(t),r)},i.addHook=function(e,t){"function"==typeof t&&y(ed[e],t)},i.removeHook=function(e,t){if(void 0!==t){let r=m(ed[e],t);return -1===r?void 0:g(ed[e],r,1)[0]}return h(ed[e])},i.removeHooks=function(e){ed[e]=[]},i.removeAllHooks=function(){ed=et()},i}()},12548:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("BookOpenText",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M16 12h2",key:"7q9ll5"}],["path",{d:"M16 8h2",key:"msurwy"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}],["path",{d:"M6 12h2",key:"32wvfc"}],["path",{d:"M6 8h2",key:"30oboj"}]])},13062:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]])},14186:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},14259:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]])},15564:(e,t,r)=>{"use strict";var n=r(49509);Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return y},defaultHead:function(){return f}});let i=r(88229),a=r(6966),o=r(95155),l=a._(r(12115)),s=i._(r(85029)),c=r(42464),u=r(82830),d=r(17544);function f(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(43230);let m=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(p,[]).reverse().concat(f(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let a=!0,o=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){o=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?a=!1:t.add(i.type);break;case"meta":for(let e=0,t=m.length;e{let i=e.key||t;if(n.env.__NEXT_OPTIMIZE_FONTS&&!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,l.default.cloneElement(e,t)}return l.default.cloneElement(e,{key:i})})}let y=function(e){let{children:t}=e,r=(0,l.useContext)(c.AmpStateContext),n=(0,l.useContext)(u.HeadManagerContext);return(0,o.jsx)(s.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,d.isInAmpMode)(r),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16785:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]])},17544:(e,t)=>{"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},18979:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]])},19491:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Kanban",[["path",{d:"M6 5v11",key:"mdvv1e"}],["path",{d:"M12 5v6",key:"14ar3b"}],["path",{d:"M18 5v14",key:"7ji314"}]])},23227:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},23861:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]])},25657:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},26621:(e,t,r)=>{"use strict";r.d(t,{Kq:()=>$,LM:()=>Z,VY:()=>ee,bL:()=>J,bm:()=>er,hE:()=>Q,rc:()=>et});var n=r(12115),i=r(47650),a=r(85185),o=r(6101),l=r(76589),s=r(46081),c=r(58434),u=r(34378),d=r(28905),f=r(63540),p=r(39033),m=r(5845),h=r(52712),y=r(2564),g=r(95155),v="ToastProvider",[w,b,x]=(0,l.N)("Toast"),[E,k]=(0,s.A)("Toast",[x]),[T,A]=E(v),_=e=>{let{__scopeToast:t,label:r="Notification",duration:i=5e3,swipeDirection:a="right",swipeThreshold:o=50,children:l}=e,[s,c]=n.useState(null),[u,d]=n.useState(0),f=n.useRef(!1),p=n.useRef(!1);return r.trim()||console.error("Invalid prop `label` supplied to `".concat(v,"`. Expected non-empty `string`.")),(0,g.jsx)(w.Provider,{scope:t,children:(0,g.jsx)(T,{scope:t,label:r,duration:i,swipeDirection:a,swipeThreshold:o,toastCount:u,viewport:s,onViewportChange:c,onToastAdd:n.useCallback(()=>d(e=>e+1),[]),onToastRemove:n.useCallback(()=>d(e=>e-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:l})})};_.displayName=v;var S="ToastViewport",M=["F8"],C="toast.viewportPause",R="toast.viewportResume",N=n.forwardRef((e,t)=>{let{__scopeToast:r,hotkey:i=M,label:a="Notifications ({hotkey})",...l}=e,s=A(S,r),u=b(r),d=n.useRef(null),p=n.useRef(null),m=n.useRef(null),h=n.useRef(null),y=(0,o.s)(t,h,s.onViewportChange),v=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=s.toastCount>0;n.useEffect(()=>{let e=e=>{var t;0!==i.length&&i.every(t=>e[t]||e.code===t)&&(null==(t=h.current)||t.focus())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[i]),n.useEffect(()=>{let e=d.current,t=h.current;if(x&&e&&t){let r=()=>{if(!s.isClosePausedRef.current){let e=new CustomEvent(C);t.dispatchEvent(e),s.isClosePausedRef.current=!0}},n=()=>{if(s.isClosePausedRef.current){let e=new CustomEvent(R);t.dispatchEvent(e),s.isClosePausedRef.current=!1}},i=t=>{e.contains(t.relatedTarget)||n()},a=()=>{e.contains(document.activeElement)||n()};return e.addEventListener("focusin",r),e.addEventListener("focusout",i),e.addEventListener("pointermove",r),e.addEventListener("pointerleave",a),window.addEventListener("blur",r),window.addEventListener("focus",n),()=>{e.removeEventListener("focusin",r),e.removeEventListener("focusout",i),e.removeEventListener("pointermove",r),e.removeEventListener("pointerleave",a),window.removeEventListener("blur",r),window.removeEventListener("focus",n)}}},[x,s.isClosePausedRef]);let E=n.useCallback(e=>{let{tabbingDirection:t}=e,r=u().map(e=>{let r=e.ref.current,n=[r,...function(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}(r)];return"forwards"===t?n:n.reverse()});return("forwards"===t?r.reverse():r).flat()},[u]);return n.useEffect(()=>{let e=h.current;if(e){let t=t=>{let r=t.altKey||t.ctrlKey||t.metaKey;if("Tab"===t.key&&!r){var n,i,a;let r=document.activeElement,o=t.shiftKey;if(t.target===e&&o){null==(n=p.current)||n.focus();return}let l=E({tabbingDirection:o?"backwards":"forwards"}),s=l.findIndex(e=>e===r);K(l.slice(s+1))?t.preventDefault():o?null==(i=p.current)||i.focus():null==(a=m.current)||a.focus()}};return e.addEventListener("keydown",t),()=>e.removeEventListener("keydown",t)}},[u,E]),(0,g.jsxs)(c.lg,{ref:d,role:"region","aria-label":a.replace("{hotkey}",v),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&(0,g.jsx)(D,{ref:p,onFocusFromOutsideViewport:()=>{K(E({tabbingDirection:"forwards"}))}}),(0,g.jsx)(w.Slot,{scope:r,children:(0,g.jsx)(f.sG.ol,{tabIndex:-1,...l,ref:y})}),x&&(0,g.jsx)(D,{ref:m,onFocusFromOutsideViewport:()=>{K(E({tabbingDirection:"backwards"}))}})]})});N.displayName=S;var O="ToastFocusProxy",D=n.forwardRef((e,t)=>{let{__scopeToast:r,onFocusFromOutsideViewport:n,...i}=e,a=A(O,r);return(0,g.jsx)(y.s,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:e=>{var t;let r=e.relatedTarget;(null==(t=a.viewport)?void 0:t.contains(r))||n()}})});D.displayName=O;var L="Toast",P=n.forwardRef((e,t)=>{let{forceMount:r,open:n,defaultOpen:i,onOpenChange:o,...l}=e,[s=!0,c]=(0,m.i)({prop:n,defaultProp:i,onChange:o});return(0,g.jsx)(d.C,{present:r||s,children:(0,g.jsx)(z,{open:s,...l,ref:t,onClose:()=>c(!1),onPause:(0,p.c)(e.onPause),onResume:(0,p.c)(e.onResume),onSwipeStart:(0,a.m)(e.onSwipeStart,e=>{e.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:(0,a.m)(e.onSwipeMove,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","move"),e.currentTarget.style.setProperty("--radix-toast-swipe-move-x","".concat(t,"px")),e.currentTarget.style.setProperty("--radix-toast-swipe-move-y","".concat(r,"px"))}),onSwipeCancel:(0,a.m)(e.onSwipeCancel,e=>{e.currentTarget.setAttribute("data-swipe","cancel"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:(0,a.m)(e.onSwipeEnd,e=>{let{x:t,y:r}=e.detail.delta;e.currentTarget.setAttribute("data-swipe","end"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),e.currentTarget.style.setProperty("--radix-toast-swipe-end-x","".concat(t,"px")),e.currentTarget.style.setProperty("--radix-toast-swipe-end-y","".concat(r,"px")),c(!1)})})})});P.displayName=L;var[I,j]=E(L,{onClose(){}}),z=n.forwardRef((e,t)=>{let{__scopeToast:r,type:l="foreground",duration:s,open:u,onClose:d,onEscapeKeyDown:m,onPause:h,onResume:y,onSwipeStart:v,onSwipeMove:b,onSwipeCancel:x,onSwipeEnd:E,...k}=e,T=A(L,r),[_,S]=n.useState(null),M=(0,o.s)(t,e=>S(e)),N=n.useRef(null),O=n.useRef(null),D=s||T.duration,P=n.useRef(0),j=n.useRef(D),z=n.useRef(0),{onToastAdd:U,onToastRemove:H}=T,G=(0,p.c)(()=>{var e;(null==_?void 0:_.contains(document.activeElement))&&(null==(e=T.viewport)||e.focus()),d()}),W=n.useCallback(e=>{e&&e!==1/0&&(window.clearTimeout(z.current),P.current=new Date().getTime(),z.current=window.setTimeout(G,e))},[G]);n.useEffect(()=>{let e=T.viewport;if(e){let t=()=>{W(j.current),null==y||y()},r=()=>{let e=new Date().getTime()-P.current;j.current=j.current-e,window.clearTimeout(z.current),null==h||h()};return e.addEventListener(C,r),e.addEventListener(R,t),()=>{e.removeEventListener(C,r),e.removeEventListener(R,t)}}},[T.viewport,D,h,y,W]),n.useEffect(()=>{u&&!T.isClosePausedRef.current&&W(D)},[u,D,T.isClosePausedRef,W]),n.useEffect(()=>(U(),()=>H()),[U,H]);let B=n.useMemo(()=>_?function e(t){let r=[];return Array.from(t.childNodes).forEach(t=>{var n;if(t.nodeType===t.TEXT_NODE&&t.textContent&&r.push(t.textContent),(n=t).nodeType===n.ELEMENT_NODE){let n=t.ariaHidden||t.hidden||"none"===t.style.display,i=""===t.dataset.radixToastAnnounceExclude;if(!n)if(i){let e=t.dataset.radixToastAnnounceAlt;e&&r.push(e)}else r.push(...e(t))}}),r}(_):null,[_]);return T.viewport?(0,g.jsxs)(g.Fragment,{children:[B&&(0,g.jsx)(F,{__scopeToast:r,role:"status","aria-live":"foreground"===l?"assertive":"polite","aria-atomic":!0,children:B}),(0,g.jsx)(I,{scope:r,onClose:G,children:i.createPortal((0,g.jsx)(w.ItemSlot,{scope:r,children:(0,g.jsx)(c.bL,{asChild:!0,onEscapeKeyDown:(0,a.m)(m,()=>{T.isFocusedToastEscapeKeyDownRef.current||G(),T.isFocusedToastEscapeKeyDownRef.current=!1}),children:(0,g.jsx)(f.sG.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":T.swipeDirection,...k,ref:M,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:(0,a.m)(e.onKeyDown,e=>{"Escape"===e.key&&(null==m||m(e.nativeEvent),e.nativeEvent.defaultPrevented||(T.isFocusedToastEscapeKeyDownRef.current=!0,G()))}),onPointerDown:(0,a.m)(e.onPointerDown,e=>{0===e.button&&(N.current={x:e.clientX,y:e.clientY})}),onPointerMove:(0,a.m)(e.onPointerMove,e=>{if(!N.current)return;let t=e.clientX-N.current.x,r=e.clientY-N.current.y,n=!!O.current,i=["left","right"].includes(T.swipeDirection),a=["left","up"].includes(T.swipeDirection)?Math.min:Math.max,o=i?a(0,t):0,l=i?0:a(0,r),s="touch"===e.pointerType?10:2,c={x:o,y:l},u={originalEvent:e,delta:c};n?(O.current=c,V("toast.swipeMove",b,u,{discrete:!1})):X(c,T.swipeDirection,s)?(O.current=c,V("toast.swipeStart",v,u,{discrete:!1}),e.target.setPointerCapture(e.pointerId)):(Math.abs(t)>s||Math.abs(r)>s)&&(N.current=null)}),onPointerUp:(0,a.m)(e.onPointerUp,e=>{let t=O.current,r=e.target;if(r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),O.current=null,N.current=null,t){let r=e.currentTarget,n={originalEvent:e,delta:t};X(t,T.swipeDirection,T.swipeThreshold)?V("toast.swipeEnd",E,n,{discrete:!0}):V("toast.swipeCancel",x,n,{discrete:!0}),r.addEventListener("click",e=>e.preventDefault(),{once:!0})}})})})}),T.viewport)})]}):null}),F=e=>{let{__scopeToast:t,children:r,...i}=e,a=A(L,t),[o,l]=n.useState(!1),[s,c]=n.useState(!1);return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>{},t=(0,p.c)(e);(0,h.N)(()=>{let e=0,r=0;return e=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(e),window.cancelAnimationFrame(r)}},[t])}(()=>l(!0)),n.useEffect(()=>{let e=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(e)},[]),s?null:(0,g.jsx)(u.Z,{asChild:!0,children:(0,g.jsx)(y.s,{...i,children:o&&(0,g.jsxs)(g.Fragment,{children:[a.label," ",r]})})})},U=n.forwardRef((e,t)=>{let{__scopeToast:r,...n}=e;return(0,g.jsx)(f.sG.div,{...n,ref:t})});U.displayName="ToastTitle";var H=n.forwardRef((e,t)=>{let{__scopeToast:r,...n}=e;return(0,g.jsx)(f.sG.div,{...n,ref:t})});H.displayName="ToastDescription";var G="ToastAction",W=n.forwardRef((e,t)=>{let{altText:r,...n}=e;return r.trim()?(0,g.jsx)(Y,{altText:r,asChild:!0,children:(0,g.jsx)(q,{...n,ref:t})}):(console.error("Invalid prop `altText` supplied to `".concat(G,"`. Expected non-empty `string`.")),null)});W.displayName=G;var B="ToastClose",q=n.forwardRef((e,t)=>{let{__scopeToast:r,...n}=e,i=j(B,r);return(0,g.jsx)(Y,{asChild:!0,children:(0,g.jsx)(f.sG.button,{type:"button",...n,ref:t,onClick:(0,a.m)(e.onClick,i.onClose)})})});q.displayName=B;var Y=n.forwardRef((e,t)=>{let{__scopeToast:r,altText:n,...i}=e;return(0,g.jsx)(f.sG.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0,...i,ref:t})});function V(e,t,r,n){let{discrete:i}=n,a=r.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),i?(0,f.hO)(a,o):a.dispatchEvent(o)}var X=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=Math.abs(e.x),i=Math.abs(e.y),a=n>i;return"left"===t||"right"===t?a&&n>r:!a&&i>r};function K(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}var $=_,Z=N,J=P,Q=U,ee=H,et=W,er=q},33063:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=r(88229),i=r(6966),a=r(95155),o=i._(r(12115)),l=n._(r(47650)),s=n._(r(15564)),c=r(38883),u=r(95840),d=r(86752);r(43230);let f=r(70901),p=n._(r(51193)),m=r(6654),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function y(e,t,r,n,i,a,o){let l=null==e?void 0:e.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function g(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,o.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:l,width:s,decoding:c,className:u,style:d,fetchPriority:f,placeholder:p,loading:h,unoptimized:v,fill:w,onLoadRef:b,onLoadingCompleteRef:x,setBlurComplete:E,setShowAltText:k,sizesInput:T,onLoad:A,onError:_,...S}=e,M=(0,o.useCallback)(e=>{e&&(_&&(e.src=e.src),e.complete&&y(e,p,b,x,E,v,T))},[r,p,b,x,E,_,v,T]),C=(0,m.useMergedRef)(t,M);return(0,a.jsx)("img",{...S,...g(f),loading:h,width:s,height:l,decoding:c,"data-nimg":w?"fill":"1",className:u,style:d,sizes:i,srcSet:n,src:r,ref:C,onLoad:e=>{y(e.currentTarget,p,b,x,E,v,T)},onError:e=>{k(!0),"empty"!==p&&E(!0),_&&_(e)}})});function w(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...g(r.fetchPriority)};return t&&l.default.preload?(l.default.preload(r.src,n),null):(0,a.jsx)(s.default,{children:(0,a.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let b=(0,o.forwardRef)((e,t)=>{let r=(0,o.useContext)(f.RouterContext),n=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{var e;let t=h||n||u.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),a=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:a}},[n]),{onLoad:l,onLoadingComplete:s}=e,m=(0,o.useRef)(l);(0,o.useEffect)(()=>{m.current=l},[l]);let y=(0,o.useRef)(s);(0,o.useEffect)(()=>{y.current=s},[s]);let[g,b]=(0,o.useState)(!1),[x,E]=(0,o.useState)(!1),{props:k,meta:T}=(0,c.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:g,showAltText:x});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{...k,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:m,onLoadingCompleteRef:y,setBlurComplete:b,setShowAltText:E,sizesInput:e.sizes,ref:t}),T.priority?(0,a.jsx)(w,{isAppRouter:!r,imgAttributes:k}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},33127:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]])},33786:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("ExternalLink",[["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"}]])},34835:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]])},38883:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(43230);let n=r(75100),i=r(95840),a=["-moz-initial","fill","none","scale-down",void 0];function o(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var r,s;let c,u,d,{src:f,sizes:p,unoptimized:m=!1,priority:h=!1,loading:y,className:g,quality:v,width:w,height:b,fill:x=!1,style:E,overrideSrc:k,onLoad:T,onLoadingComplete:A,placeholder:_="empty",blurDataURL:S,fetchPriority:M,decoding:C="async",layout:R,objectFit:N,objectPosition:O,lazyBoundary:D,lazyRoot:L,...P}=e,{imgConf:I,showAltText:j,blurComplete:z,defaultLoader:F}=t,U=I||i.imageConfigDefault;if("allSizes"in U)c=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t),n=null==(r=U.qualities)?void 0:r.sort((e,t)=>e-t);c={...U,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===F)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let H=P.loader||F;delete P.loader,delete P.srcSet;let G="__next_img_default"in H;if(G){if("custom"===c.loader)throw Object.defineProperty(Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=H;H=t=>{let{config:r,...n}=t;return e(n)}}if(R){"fill"===R&&(x=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[R];e&&(E={...E,...e});let t={responsive:"100vw",fill:"100vw"}[R];t&&!p&&(p=t)}let W="",B=l(w),q=l(b);if((s=f)&&"object"==typeof s&&(o(s)||void 0!==s.src)){let e=o(f)?f.default:f;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(u=e.blurWidth,d=e.blurHeight,S=S||e.blurDataURL,W=e.src,!x)if(B||q){if(B&&!q){let t=B/e.width;q=Math.round(e.height*t)}else if(!B&&q){let t=q/e.height;B=Math.round(e.width*t)}}else B=e.width,q=e.height}let Y=!h&&("lazy"===y||void 0===y);(!(f="string"==typeof f?f:W)||f.startsWith("data:")||f.startsWith("blob:"))&&(m=!0,Y=!1),c.unoptimized&&(m=!0),G&&!c.dangerouslyAllowSVG&&f.split("?",1)[0].endsWith(".svg")&&(m=!0);let V=l(v),X=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:N,objectPosition:O}:{},j?{}:{color:"transparent"},E),K=z||"empty"===_?null:"blur"===_?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:B,heightInt:q,blurWidth:u,blurHeight:d,blurDataURL:S||"",objectFit:X.objectFit})+'")':'url("'+_+'")',$=a.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Z=K?{backgroundSize:$,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:K}:{},J=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:a,sizes:o,loader:l}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:s,kind:c}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,o),u=s.length-1;return{sizes:o||"w"!==c?o:"100vw",srcSet:s.map((e,n)=>l({config:t,src:r,quality:a,width:e})+" "+("w"===c?e:n+1)+c).join(", "),src:l({config:t,src:r,quality:a,width:s[u]})}}({config:c,src:f,unoptimized:m,width:B,quality:V,sizes:p,loader:H});return{props:{...P,loading:Y?"lazy":y,fetchPriority:M,width:B,height:q,decoding:C,className:g,style:{...X,...Z},sizes:J.sizes,srcSet:J.srcSet,src:k||J.src},meta:{unoptimized:m,priority:h,placeholder:_,fill:x}}}},42464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(88229)._(r(12115)).default.createContext({})},44940:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("PenLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]])},51154:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},51193:(e,t)=>{"use strict";function r(e){var t;let{config:r,src:n,width:i,quality:a}=e,o=a||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75){"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("GitFork",[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]])},65299:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_f367f3"}},66516:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]])},66766:(e,t,r)=>{"use strict";r.d(t,{default:()=>i.a});var n=r(71469),i=r.n(n)},70306:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]])},70901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return n}});let n=r(88229)._(r(12115)).default.createContext(null)},71469:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return s},getImageProps:function(){return l}});let n=r(88229),i=r(38883),a=r(33063),o=n._(r(51193));function l(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let s=a.Image},75100:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:a,objectFit:o}=e,l=n?40*n:t,s=i?40*i:r,c=l&&s?"viewBox='0 0 "+l+" "+s+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+c+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(c?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},76589:(e,t,r)=>{"use strict";r.d(t,{N:()=>d});var n=r(12115),i=r(46081),a=r(6101),o=r(95155),l=n.forwardRef((e,t)=>{let{children:r,...i}=e,a=n.Children.toArray(r),l=a.find(u);if(l){let e=l.props.children,r=a.map(t=>t!==l?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(s,{...i,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,o.jsx)(s,{...i,ref:t,children:r})});l.displayName="Slot";var s=n.forwardRef((e,t)=>{let{children:r,...i}=e;if(n.isValidElement(r)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(r);return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{a(...e),i(...e)}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(i,r.props),ref:t?(0,a.t)(t,e):e})}return n.Children.count(r)>1?n.Children.only(null):null});s.displayName="SlotClone";var c=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function u(e){return n.isValidElement(e)&&e.type===c}function d(e){let t=e+"CollectionProvider",[r,s]=(0,i.A)(t),[c,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,i=n.useRef(null),a=n.useRef(new Map).current;return(0,o.jsx)(c,{scope:t,itemMap:a,collectionRef:i,children:r})};d.displayName=t;let f=e+"CollectionSlot",p=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=u(f,r),s=(0,a.s)(t,i.collectionRef);return(0,o.jsx)(l,{ref:s,children:n})});p.displayName=f;let m=e+"CollectionItemSlot",h="data-radix-collection-item",y=n.forwardRef((e,t)=>{let{scope:r,children:i,...s}=e,c=n.useRef(null),d=(0,a.s)(t,c),f=u(m,r);return n.useEffect(()=>(f.itemMap.set(c,{ref:c,...s}),()=>void f.itemMap.delete(c))),(0,o.jsx)(l,{...{[h]:""},ref:d,children:i})});return y.displayName=m,[{Provider:d,Slot:p,ItemSlot:y},function(t){let r=u(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(h,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},s]}},85029:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(12115),i=n.useLayoutEffect,a=n.useEffect;function o(e){let{headManager:t,reduceComponentsToState:r}=e;function o(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},86752:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let n=r(88229)._(r(12115)),i=r(95840),a=n.default.createContext(i.imageConfigDefault)},87712:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},87949:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]])},90498:(e,t,r)=>{"use strict";r.d(t,{m:()=>u});var n=r(92084),i=r(35476);function a(e,t){let r=(0,i.a)(e),n=(0,i.a)(t),a=r.getTime()-n.getTime();return a<0?-1:a>0?1:a}var o=r(41876),l=r(1306),s=r(36199),c=r(43461);function u(e,t){return function(e,t,r){var n,u;let d,f,p,m=(0,s.q)(),h=null!=(u=null!=(n=null==r?void 0:r.locale)?n:m.locale)?u:l.c,y=a(e,t);if(isNaN(y))throw RangeError("Invalid time value");let g=Object.assign({},r,{addSuffix:null==r?void 0:r.addSuffix,comparison:y});y>0?(d=(0,i.a)(t),f=(0,i.a)(e)):(d=(0,i.a)(e),f=(0,i.a)(t));let v=function(e,t,r){var n;return(n=void 0,e=>{let t=(n?Math[n]:Math.trunc)(e);return 0===t?0:t})(((0,i.a)(e)-(0,i.a)(t))/1e3)}(f,d),w=Math.round((v-((0,c.G)(f)-(0,c.G)(d))/1e3)/60);if(w<2)if(null==r?void 0:r.includeSeconds)if(v<5)return h.formatDistance("lessThanXSeconds",5,g);else if(v<10)return h.formatDistance("lessThanXSeconds",10,g);else if(v<20)return h.formatDistance("lessThanXSeconds",20,g);else if(v<40)return h.formatDistance("halfAMinute",0,g);else if(v<60)return h.formatDistance("lessThanXMinutes",1,g);else return h.formatDistance("xMinutes",1,g);else if(0===w)return h.formatDistance("lessThanXMinutes",1,g);else return h.formatDistance("xMinutes",w,g);if(w<45)return h.formatDistance("xMinutes",w,g);if(w<90)return h.formatDistance("aboutXHours",1,g);if(w27&&n.setDate(30),n.setMonth(n.getMonth()-l*s);let t=a(n,o)===-l;(function(e){let t=(0,i.a)(e);return+function(e){let t=(0,i.a)(e);return t.setHours(23,59,59,999),t}(t)==+function(e){let t=(0,i.a)(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}(t)})((0,i.a)(e))&&1===s&&1===a(e,o)&&(t=!1),r=l*(s-Number(t))}return 0===r?0:r}(f,d))<12){let e=Math.round(w/o.Nw);return h.formatDistance("xMonths",e,g)}{let e=p%12,t=Math.trunc(p/12);return e<3?h.formatDistance("aboutXYears",t,g):e<9?h.formatDistance("overXYears",t,g):h.formatDistance("almostXYears",t+1,g)}}(e,(0,n.w)(e,Date.now()),t)}},92749:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("UserCog",[["circle",{cx:"18",cy:"15",r:"3",key:"gjjjvw"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M10 15H6a4 4 0 0 0-4 4v2",key:"1nfge6"}],["path",{d:"m21.7 16.4-.9-.3",key:"12j9ji"}],["path",{d:"m15.2 13.9-.9-.3",key:"1fdjdi"}],["path",{d:"m16.6 18.7.3-.9",key:"heedtr"}],["path",{d:"m19.1 12.2.3-.9",key:"1af3ki"}],["path",{d:"m19.6 18.7-.4-1",key:"1x9vze"}],["path",{d:"m16.8 12.3-.4-1",key:"vqeiwj"}],["path",{d:"m14.3 16.6 1-.4",key:"1qlj63"}],["path",{d:"m20.7 13.8 1-.4",key:"1v5t8k"}]])},93840:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]])},95840:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},95880:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]])},99245:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]])}}]); \ No newline at end of file diff --git a/.next/static/chunks/4bd1b696-9d1ca76dd189a8de.js b/.next/static/chunks/4bd1b696-9d1ca76dd189a8de.js new file mode 100644 index 00000000..636d7379 --- /dev/null +++ b/.next/static/chunks/4bd1b696-9d1ca76dd189a8de.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8441],{59248:(e,n,t)=>{var r,l=t(49509),a=t(66206),o=t(12115),u=t(47650);function i(e){var n="https://react.dev/errors/"+e;if(1I||(e.current=R[I],R[I]=null,I--)}function H(e,n){R[++I]=e.current,e.current=n}var V=U(null),Q=U(null),$=U(null),B=U(null);function W(e,n){switch(H($,n),H(Q,e),H(V,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?si(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)e=ss(n=si(n),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}j(V),H(V,e)}function q(){j(V),j(Q),j($)}function K(e){null!==e.memoizedState&&H(B,e);var n=V.current,t=ss(n,e.type);n!==t&&(H(Q,e),H(V,t))}function Y(e){Q.current===e&&(j(V),j(Q)),B.current===e&&(j(B),sZ._currentValue=A)}function X(e){if(void 0===nO)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);nO=n&&n[1]||"",nA=-1)":-1l||i[r]!==s[l]){var c="\n"+i[r].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=r&&0<=l);break}}}finally{G=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?X(t):""}function J(e){try{var n="";do n+=function(e){switch(e.tag){case 26:case 27:case 5:return X(e.type);case 16:return X("Lazy");case 13:return X("Suspense");case 19:return X("SuspenseList");case 0:case 15:return Z(e.type,!1);case 11:return Z(e.type.render,!1);case 1:return Z(e.type,!0);case 31:return X("Activity");default:return""}}(e),e=e.return;while(e);return n}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var ee=Object.prototype.hasOwnProperty,en=a.unstable_scheduleCallback,et=a.unstable_cancelCallback,er=a.unstable_shouldYield,el=a.unstable_requestPaint,ea=a.unstable_now,eo=a.unstable_getCurrentPriorityLevel,eu=a.unstable_ImmediatePriority,ei=a.unstable_UserBlockingPriority,es=a.unstable_NormalPriority,ec=a.unstable_LowPriority,ef=a.unstable_IdlePriority,ed=a.log,ep=a.unstable_setDisableYieldValue,em=null,eh=null;function eg(e){if("function"==typeof ed&&ep(e),eh&&"function"==typeof eh.setStrictMode)try{eh.setStrictMode(em,e)}catch(e){}}var ey=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ev(e)/eb|0)|0},ev=Math.log,eb=Math.LN2,ek=256,ew=4194304;function eS(e){var n=42&e;if(0!==n)return n;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194048&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function ex(e,n,t){var r=e.pendingLanes;if(0===r)return 0;var l=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var u=0x7ffffff&r;return 0!==u?0!=(r=u&~a)?l=eS(r):0!=(o&=u)?l=eS(o):t||0!=(t=u&~e)&&(l=eS(t)):0!=(u=r&~a)?l=eS(u):0!==o?l=eS(o):t||0!=(t=r&~e)&&(l=eS(t)),0===l?0:0!==n&&n!==l&&0==(n&a)&&((a=l&-l)>=(t=n&-n)||32===a&&0!=(4194048&t))?n:l}function eE(e,n){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)}function eC(){var e=ek;return 0==(4194048&(ek<<=1))&&(ek=256),e}function ez(){var e=ew;return 0==(0x3c00000&(ew<<=1))&&(ew=4194304),e}function eP(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function eN(e,n){e.pendingLanes|=n,0x10000000!==n&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eL(e,n,t){e.pendingLanes|=n,e.suspendedLanes&=~n;var r=31-ey(n);e.entangledLanes|=n,e.entanglements[r]=0x40000000|e.entanglements[r]|4194090&t}function eT(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-ey(t),l=1<=te),tr=!1;function tl(e,n){switch(e){case"keyup":return -1!==n9.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ta(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var to=!1,tu={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ti(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!tu[e.type]:"textarea"===n}function ts(e,n,t,r){nv?nb?nb.push(r):nb=[r]:nv=r,0<(n=i4(n,"onChange")).length&&(t=new nH("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var tc=null,tf=null;function td(e){iX(e,0)}function tp(e){if(e9(eW(e)))return e}function tm(e,n){if("change"===e)return n}var th=!1;if(nE){if(nE){var tg="oninput"in document;if(!tg){var ty=document.createElement("div");ty.setAttribute("oninput","return;"),tg="function"==typeof ty.oninput}r=tg}else r=!1;th=r&&(!document.documentMode||9=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=tz(r)}}function tN(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var n=e7(e.document);n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(e){t=!1}if(t)e=n.contentWindow;else break;n=e7(e.document)}return n}function tL(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}var tT=nE&&"documentMode"in document&&11>=document.documentMode,t_=null,tF=null,tD=null,tM=!1;function tO(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;tM||null==t_||t_!==e7(r)||(r="selectionStart"in(r=t_)&&tL(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},tD&&tC(tD,r)||(tD=r,0<(r=i4(tF,"onSelect")).length&&(n=new nH("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=t_)))}function tA(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var tR={animationend:tA("Animation","AnimationEnd"),animationiteration:tA("Animation","AnimationIteration"),animationstart:tA("Animation","AnimationStart"),transitionrun:tA("Transition","TransitionRun"),transitionstart:tA("Transition","TransitionStart"),transitioncancel:tA("Transition","TransitionCancel"),transitionend:tA("Transition","TransitionEnd")},tI={},tU={};function tj(e){if(tI[e])return tI[e];if(!tR[e])return e;var n,t=tR[e];for(n in t)if(t.hasOwnProperty(n)&&n in tU)return tI[e]=t[n];return e}nE&&(tU=document.createElement("div").style,"AnimationEvent"in window||(delete tR.animationend.animation,delete tR.animationiteration.animation,delete tR.animationstart.animation),"TransitionEvent"in window||delete tR.transitionend.transition);var tH=tj("animationend"),tV=tj("animationiteration"),tQ=tj("animationstart"),t$=tj("transitionrun"),tB=tj("transitionstart"),tW=tj("transitioncancel"),tq=tj("transitionend"),tK=new Map,tY="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function tX(e,n){tK.set(e,n),eG(n,[e])}tY.push("scrollEnd");var tG=new WeakMap;function tZ(e,n){if("object"==typeof e&&null!==e){var t=tG.get(e);return void 0!==t?t:(n={value:e,source:n,stack:J(n)},tG.set(e,n),n)}return{value:e,source:n,stack:J(n)}}var tJ=[],t0=0,t1=0;function t2(){for(var e=t0,n=t1=t0=0;n>=o,l-=o,rh=1<<32-ey(n)+l|t<h?(g=f,f=null):g=f.sibling;var y=p(l,f,u[h],i);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&n(l,f),o=a(y,o,h),null===c?s=y:c.sibling=y,c=y,f=g}if(h===u.length)return t(l,f),rx&&ry(l,h),s;if(null===f){for(;hg?(y=h,h=null):y=h.sibling;var b=p(l,h,v.value,s);if(null===b){null===h&&(h=y);break}e&&h&&null===b.alternate&&n(l,h),o=a(b,o,g),null===f?c=b:f.sibling=b,f=b,h=y}if(v.done)return t(l,h),rx&&ry(l,g),c;if(null===h){for(;!v.done;g++,v=u.next())null!==(v=d(l,v.value,s))&&(o=a(v,o,g),null===f?c=v:f.sibling=v,f=v);return rx&&ry(l,g),c}for(h=r(h);!v.done;g++,v=u.next())null!==(v=m(h,l,g,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?g:v.key),o=a(v,o,g),null===f?c=v:f.sibling=v,f=v);return e&&h.forEach(function(e){return n(l,e)}),rx&&ry(l,g),c}(s,c,f=b.call(f),v)}if("function"==typeof f.then)return u(s,c,lf(f),v);if(f.$$typeof===S)return u(s,c,rB(s,f),v);lp(s,f)}return"string"==typeof f&&""!==f||"number"==typeof f||"bigint"==typeof f?(f=""+f,null!==c&&6===c.tag?(t(s,c.sibling),(v=l(c,f)).return=s):(t(s,c),(v=ro(f,s.mode,v)).return=s),o(s=v)):t(s,c)}(u,s,c,f);return ls=null,v}catch(e){if(e===r7||e===ln)throw e;var b=re(29,e,null,u.mode);return b.lanes=f,b.return=u,b}finally{}}}var lg=lh(!0),ly=lh(!1),lv=!1;function lb(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function lk(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function lw(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function lS(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&uz)){var l=r.pending;return null===l?n.next=n:(n.next=l.next,l.next=n),r.pending=n,n=t5(e),t6(e,null,t),n}return t3(e,r,n,t),t5(e)}function lx(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,0!=(4194048&t))){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,eT(e,t)}}function lE(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var l=null,a=null;if(null!==(t=t.firstBaseUpdate)){do{var o={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};null===a?l=a=o:a=a.next=o,t=t.next}while(null!==t);null===a?l=a=n:a=a.next=n}else l=a=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=t;return}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}var lC=!1;function lz(){if(lC){var e=r2;if(null!==e)throw e}}function lP(e,n,t,r){lC=!1;var l=e.updateQueue;lv=!1;var a=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(null!==u){l.shared.pending=null;var i=u,s=i.next;i.next=null,null===o?a=s:o.next=s,o=i;var c=e.alternate;null!==c&&(u=(c=c.updateQueue).lastBaseUpdate)!==o&&(null===u?c.firstBaseUpdate=s:u.next=s,c.lastBaseUpdate=i)}if(null!==a){var f=l.baseState;for(o=0,c=s=i=null,u=a;;){var d=-0x20000001&u.lane,m=d!==u.lane;if(m?(uL&d)===d:(r&d)===d){0!==d&&d===r1&&(lC=!0),null!==c&&(c=c.next={lane:0,tag:u.tag,payload:u.payload,callback:null,next:null});e:{var h=e,g=u;switch(d=n,g.tag){case 1:if("function"==typeof(h=g.payload)){f=h.call(t,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(d="function"==typeof(h=g.payload)?h.call(t,f,d):h))break e;f=p({},f,d);break e;case 2:lv=!0}}null!==(d=u.callback)&&(e.flags|=64,m&&(e.flags|=8192),null===(m=l.callbacks)?l.callbacks=[d]:m.push(d))}else m={lane:d,tag:u.tag,payload:u.payload,callback:u.callback,next:null},null===c?(s=c=m,i=f):c=c.next=m,o|=d;if(null===(u=u.next))if(null===(u=l.shared.pending))break;else u=(m=u).next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}null===c&&(i=f),l.baseState=i,l.firstBaseUpdate=s,l.lastBaseUpdate=c,null===a&&(l.shared.lanes=0),uR|=o,e.lanes=o,e.memoizedState=f}}function lN(e,n){if("function"!=typeof e)throw Error(i(191,e));e.call(n)}function lL(e,n){var t=e.callbacks;if(null!==t)for(e.callbacks=null,e=0;ea?a:8;var o=M.T,u={};M.T=u,a2(e,!1,n,t);try{var i=l(),s=M.S;if(null!==s&&s(u,i),null!==i&&"object"==typeof i&&"function"==typeof i.then){var c,f,d=(c=[],f={status:"pending",value:null,reason:null,then:function(e){c.push(e)}},i.then(function(){f.status="fulfilled",f.value=r;for(var e=0;e title"))),sl(a,r,t),a[eO]=e,eK(a),r=a;break e;case"link":var o=sQ("link","href",l).get(r+(t.href||""));if(o){for(var u=0;u<\/script>",a=a.removeChild(a.firstChild);break;case"select":a="string"==typeof r.is?o.createElement("select",{is:r.is}):o.createElement("select"),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a="string"==typeof r.is?o.createElement(l,{is:r.is}):o.createElement(l)}}a[eO]=n,a[eA]=r;e:for(o=n.child;null!==o;){if(5===o.tag||6===o.tag)a.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===n)break;for(;null===o.sibling;){if(null===o.return||o.return===n)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}switch(n.stateNode=a,sl(a,l,r),l){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break;case"img":r=!0;break;default:r=!1}r&&oj(n)}}return oB(n),oH(n,n.type,null===e?null:e.memoizedProps,n.pendingProps,t),null;case 6:if(e&&null!=n.stateNode)e.memoizedProps!==r&&oj(n);else{if("string"!=typeof r&&null===n.stateNode)throw Error(i(166));if(e=$.current,rT(n)){if(e=n.stateNode,t=n.memoizedProps,r=null,null!==(l=rw))switch(l.tag){case 27:case 5:r=l.memoizedProps}e[eO]=n,(e=!!(e.nodeValue===t||null!==r&&!0===r.suppressHydrationWarning||se(e.nodeValue,t)))||rP(n,!0)}else(e=su(e).createTextNode(r))[eO]=n,n.stateNode=e}return oB(n),null;case 13:if(r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(l=rT(n),null!==r&&null!==r.dehydrated){if(null===e){if(!l)throw Error(i(318));if(!(l=null!==(l=n.memoizedState)?l.dehydrated:null))throw Error(i(317));l[eO]=n}else r_(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;oB(n),l=!1}else l=rF(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l){if(256&n.flags)return lj(n),n;return lj(n),null}}if(lj(n),0!=(128&n.flags))return n.lanes=t,n;return t=null!==r,e=null!==e&&null!==e.memoizedState,t&&(r=n.child,l=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(l=r.alternate.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==l&&(r.flags|=2048)),t!==e&&t&&(n.child.flags|=8192),oQ(n,n.updateQueue),oB(n),null;case 4:return q(),null===e&&i0(n.stateNode.containerInfo),oB(n),null;case 10:return rI(n.type),oB(n),null;case 19:if(j(lH),null===(l=n.memoizedState))return oB(n),null;if(r=0!=(128&n.flags),null===(a=l.rendering))if(r)o$(l,!1);else{if(0!==uA||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(a=lV(e))){for(n.flags|=128,o$(l,!1),e=a.updateQueue,n.updateQueue=e,oQ(n,e),n.subtreeFlags=0,e=t,t=n.child;null!==t;)rr(t,e),t=t.sibling;return H(lH,1&lH.current|2),n.child}e=e.sibling}null!==l.tail&&ea()>uW&&(n.flags|=128,r=!0,o$(l,!1),n.lanes=4194304)}else{if(!r)if(null!==(e=lV(a))){if(n.flags|=128,r=!0,e=e.updateQueue,n.updateQueue=e,oQ(n,e),o$(l,!0),null===l.tail&&"hidden"===l.tailMode&&!a.alternate&&!rx)return oB(n),null}else 2*ea()-l.renderingStartTime>uW&&0x20000000!==t&&(n.flags|=128,r=!0,o$(l,!1),n.lanes=4194304);l.isBackwards?(a.sibling=n.child,n.child=a):(null!==(e=l.last)?e.sibling=a:n.child=a,l.last=a)}if(null!==l.tail)return n=l.tail,l.rendering=n,l.tail=n.sibling,l.renderingStartTime=ea(),n.sibling=null,e=lH.current,H(lH,r?1&e|2:1&e),n;return oB(n),null;case 22:case 23:return lj(n),lM(),r=null!==n.memoizedState,null!==e?null!==e.memoizedState!==r&&(n.flags|=8192):r&&(n.flags|=8192),r?0!=(0x20000000&t)&&0==(128&n.flags)&&(oB(n),6&n.subtreeFlags&&(n.flags|=8192)):oB(n),null!==(t=n.updateQueue)&&oQ(n,t.retryQueue),t=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(t=e.memoizedState.cachePool.pool),r=null,null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(r=n.memoizedState.cachePool.pool),r!==t&&(n.flags|=2048),null!==e&&j(r8),null;case 24:return t=null,null!==e&&(t=e.memoizedState.cache),n.memoizedState.cache!==t&&(n.flags|=2048),rI(rX),oB(n),null;case 25:case 30:return null}throw Error(i(156,n.tag))}(n.alternate,n,uO);if(null!==t){uN=t;return}if(null!==(n=n.sibling)){uN=n;return}uN=n=e}while(null!==n);0===uA&&(uA=5)}function ih(e,n){do{var t=function(e,n){switch(rk(n),n.tag){case 1:return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return rI(rX),q(),0!=(65536&(e=n.flags))&&0==(128&e)?(n.flags=-65537&e|128,n):null;case 26:case 27:case 5:return Y(n),null;case 13:if(lj(n),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(i(340));r_()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return j(lH),null;case 4:return q(),null;case 10:return rI(n.type),null;case 22:case 23:return lj(n),lM(),null!==e&&j(r8),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 24:return rI(rX),null;default:return null}}(e.alternate,e);if(null!==t){t.flags&=32767,uN=t;return}if(null!==(t=e.return)&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!n&&null!==(e=e.sibling)){uN=e;return}uN=e=t}while(null!==e);uA=6,uN=null}function ig(e,n,t,r,l,a,o,u,s){e.cancelPendingCommit=null;do iw();while(0!==uY);if(0!=(6&uz))throw Error(i(327));if(null!==n){if(n===e.current)throw Error(i(177));if(!function(e,n,t,r,l,a){var o=e.pendingLanes;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0;var u=e.entanglements,i=e.expirationTimes,s=e.hiddenUpdates;for(t=o&~t;0g&&(o=g,g=h,h=o);var y=tP(u,h),v=tP(u,g);if(y&&v&&(1!==p.rangeCount||p.anchorNode!==y.node||p.anchorOffset!==y.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var b=f.createRange();b.setStart(y.node,y.offset),p.removeAllRanges(),h>g?(p.addRange(b),p.extend(v.node,v.offset)):(b.setEnd(v.node,v.offset),p.addRange(b))}}}}for(f=[],p=u;p=p.parentNode;)1===p.nodeType&&f.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof u.focus&&u.focus(),u=0;ut?32:t,M.T=null,t=u0,u0=null;var a=uX,o=uZ;if(uY=0,uG=uX=null,uZ=0,0!=(6&uz))throw Error(i(331));var u=uz;if(uz|=4,uS(a.current),uh(a,a.current,o,t),uz=u,iR(0,!1),eh&&"function"==typeof eh.onPostCommitFiberRoot)try{eh.onPostCommitFiberRoot(em,a)}catch(e){}return!0}finally{O.p=l,M.T=r,ik(e,n)}}function ix(e,n,t){n=tZ(t,n),n=of(e.stateNode,n,2),null!==(e=lS(e,n,2))&&(eN(e,2),iA(e))}function iE(e,n,t){if(3===e.tag)ix(e,e,t);else for(;null!==n;){if(3===n.tag){ix(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===uK||!uK.has(r))){e=tZ(t,e),null!==(r=lS(n,t=od(2),2))&&(op(t,r,n,e),eN(r,2),iA(r));break}}n=n.return}}function iC(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new uC;var l=new Set;r.set(n,l)}else void 0===(l=r.get(n))&&(l=new Set,r.set(n,l));l.has(t)||(uM=!0,l.add(t),e=iz.bind(null,e,n,t),n.then(e,e))}function iz(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,uP===e&&(uL&t)===t&&(4===uA||3===uA&&(0x3c00000&uL)===uL&&300>ea()-uB?0==(2&uz)&&ir(e,0):uU|=t,uH===uL&&(uH=0)),iA(e)}function iP(e,n){0===n&&(n=ez()),null!==(e=t8(e,n))&&(eN(e,n),iA(e))}function iN(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),iP(e,t)}function iL(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(t=l.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(n),iP(e,t)}var iT=null,i_=null,iF=!1,iD=!1,iM=!1,iO=0;function iA(e){e!==i_&&null===e.next&&(null===i_?iT=i_=e:i_=i_.next=e),iD=!0,iF||(iF=!0,sh(function(){0!=(6&uz)?en(eu,iI):iU()}))}function iR(e,n){if(!iM&&iD){iM=!0;do for(var t=!1,r=iT;null!==r;){if(!n)if(0!==e){var l=r.pendingLanes;if(0===l)var a=0;else{var o=r.suspendedLanes,u=r.pingedLanes;a=0xc000095&(a=(1<<31-ey(42|e)+1)-1&(l&~(o&~u)))?0xc000095&a|1:a?2|a:0}0!==a&&(t=!0,iV(r,a))}else a=uL,0==(3&(a=ex(r,r===uP?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eE(r,a)||(t=!0,iV(r,a));r=r.next}while(t);iM=!1}}function iI(){iU()}function iU(){iD=iF=!1;var e,n=0;0!==iO&&(((e=window.event)&&"popstate"===e.type?e===sf||(sf=e,0):(sf=null,1))||(n=iO),iO=0);for(var t=ea(),r=null,l=iT;null!==l;){var a=l.next,o=ij(l,t);0===o?(l.next=null,null===r?iT=a:r.next=a,null===a&&(i_=r)):(r=l,(0!==n||0!=(3&o))&&(iD=!0)),l=a}0!==uY&&5!==uY||iR(n,!1)}function ij(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,a=-0x3c00001&e.pendingLanes;0r){t=r;var o=e.ownerDocument;if(1&t&&sC(o.documentElement),2&t&&sC(o.body),4&t)for(sC(t=o.head),o=t.firstChild;o;){var u=o.nextSibling,i=o.nodeName;o[eV]||"SCRIPT"===i||"STYLE"===i||"LINK"===i&&"stylesheet"===o.rel.toLowerCase()||t.removeChild(o),o=u}}if(0===l){e.removeChild(a),cw(n);return}l--}else"$"===t||"$?"===t||"$!"===t?l++:r=t.charCodeAt(0)-48;else r=0;t=a}while(t);cw(n)}function sb(e){var n=e.firstChild;for(n&&10===n.nodeType&&(n=n.nextSibling);n;){var t=n;switch(n=n.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":sb(t),eQ(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===t.rel.toLowerCase())continue}e.removeChild(t)}}function sk(e){return"$!"===e.data||"$?"===e.data&&"complete"===e.ownerDocument.readyState}function sw(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break;if(8===n){if("$"===(n=e.data)||"$!"===n||"$?"===n||"F!"===n||"F"===n)break;if("/$"===n)return null}}return e}var sS=null;function sx(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===n)return e;n--}else"/$"===t&&n++}e=e.previousSibling}return null}function sE(e,n,t){switch(n=su(t),e){case"html":if(!(e=n.documentElement))throw Error(i(452));return e;case"head":if(!(e=n.head))throw Error(i(453));return e;case"body":if(!(e=n.body))throw Error(i(454));return e;default:throw Error(i(451))}}function sC(e){for(var n=e.attributes;n.length;)e.removeAttributeNode(n[0]);eQ(e)}var sz=new Map,sP=new Set;function sN(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var sL=O.d;O.d={f:function(){var e=sL.f(),n=ie();return e||n},r:function(e){var n=eB(e);null!==n&&5===n.tag&&"form"===n.type?aK(n):sL.r(e)},D:function(e){sL.D(e),s_("dns-prefetch",e,null)},C:function(e,n){sL.C(e,n),s_("preconnect",e,n)},L:function(e,n,t){if(sL.L(e,n,t),sT&&e&&n){var r='link[rel="preload"][as="'+nn(n)+'"]';"image"===n&&t&&t.imageSrcSet?(r+='[imagesrcset="'+nn(t.imageSrcSet)+'"]',"string"==typeof t.imageSizes&&(r+='[imagesizes="'+nn(t.imageSizes)+'"]')):r+='[href="'+nn(e)+'"]';var l=r;switch(n){case"style":l=sD(e);break;case"script":l=sA(e)}sz.has(l)||(e=p({rel:"preload",href:"image"===n&&t&&t.imageSrcSet?void 0:e,as:n},t),sz.set(l,e),null!==sT.querySelector(r)||"style"===n&&sT.querySelector(sM(l))||"script"===n&&sT.querySelector(sR(l))||(sl(n=sT.createElement("link"),"link",e),eK(n),sT.head.appendChild(n)))}},m:function(e,n){if(sL.m(e,n),sT&&e){var t=n&&"string"==typeof n.as?n.as:"script",r='link[rel="modulepreload"][as="'+nn(t)+'"][href="'+nn(e)+'"]',l=r;switch(t){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":l=sA(e)}if(!sz.has(l)&&(e=p({rel:"modulepreload",href:e},n),sz.set(l,e),null===sT.querySelector(r))){switch(t){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(sT.querySelector(sR(l)))return}sl(t=sT.createElement("link"),"link",e),eK(t),sT.head.appendChild(t)}}},X:function(e,n){if(sL.X(e,n),sT&&e){var t=eq(sT).hoistableScripts,r=sA(e),l=t.get(r);l||((l=sT.querySelector(sR(r)))||(e=p({src:e,async:!0},n),(n=sz.get(r))&&sH(e,n),eK(l=sT.createElement("script")),sl(l,"link",e),sT.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},t.set(r,l))}},S:function(e,n,t){if(sL.S(e,n,t),sT&&e){var r=eq(sT).hoistableStyles,l=sD(e);n=n||"default";var a=r.get(l);if(!a){var o={loading:0,preload:null};if(a=sT.querySelector(sM(l)))o.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":n},t),(t=sz.get(l))&&sj(e,t);var u=a=sT.createElement("link");eK(u),sl(u,"link",e),u._p=new Promise(function(e,n){u.onload=e,u.onerror=n}),u.addEventListener("load",function(){o.loading|=1}),u.addEventListener("error",function(){o.loading|=2}),o.loading|=4,sU(a,n,sT)}a={type:"stylesheet",instance:a,count:1,state:o},r.set(l,a)}}},M:function(e,n){if(sL.M(e,n),sT&&e){var t=eq(sT).hoistableScripts,r=sA(e),l=t.get(r);l||((l=sT.querySelector(sR(r)))||(e=p({src:e,async:!0,type:"module"},n),(n=sz.get(r))&&sH(e,n),eK(l=sT.createElement("script")),sl(l,"link",e),sT.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},t.set(r,l))}}};var sT="undefined"==typeof document?null:document;function s_(e,n,t){if(sT&&"string"==typeof n&&n){var r=nn(n);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof t&&(r+='[crossorigin="'+t+'"]'),sP.has(r)||(sP.add(r),e={rel:e,crossOrigin:t,href:n},null===sT.querySelector(r)&&(sl(n=sT.createElement("link"),"link",e),eK(n),sT.head.appendChild(n)))}}function sF(e,n,t,r){var l=(l=$.current)?sN(l):null;if(!l)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof t.precedence&&"string"==typeof t.href?(n=sD(t.href),(r=(t=eq(l).hoistableStyles).get(n))||(r={type:"style",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===t.rel&&"string"==typeof t.href&&"string"==typeof t.precedence){e=sD(t.href);var a,o,u,s,c=eq(l).hoistableStyles,f=c.get(e);if(f||(l=l.ownerDocument||l,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,f),(c=l.querySelector(sM(e)))&&!c._p&&(f.instance=c,f.state.loading=5),sz.has(e)||(t={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},sz.set(e,t),c||(a=l,o=e,u=t,s=f.state,a.querySelector('link[rel="preload"][as="style"]['+o+"]")?s.loading=1:(s.preload=o=a.createElement("link"),o.addEventListener("load",function(){return s.loading|=1}),o.addEventListener("error",function(){return s.loading|=2}),sl(o,"link",u),eK(o),a.head.appendChild(o))))),n&&null===r)throw Error(i(528,""));return f}if(n&&null!==r)throw Error(i(529,""));return null;case"script":return n=t.async,"string"==typeof(t=t.src)&&n&&"function"!=typeof n&&"symbol"!=typeof n?(n=sA(t),(r=(t=eq(l).hoistableScripts).get(n))||(r={type:"script",instance:null,count:0,state:null},t.set(n,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function sD(e){return'href="'+nn(e)+'"'}function sM(e){return'link[rel="stylesheet"]['+e+"]"}function sO(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function sA(e){return'[src="'+nn(e)+'"]'}function sR(e){return"script[async]"+e}function sI(e,n,t){if(n.count++,null===n.instance)switch(n.type){case"style":var r=e.querySelector('style[data-href~="'+nn(t.href)+'"]');if(r)return n.instance=r,eK(r),r;var l=p({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return eK(r=(e.ownerDocument||e).createElement("style")),sl(r,"style",l),sU(r,t.precedence,e),n.instance=r;case"stylesheet":l=sD(t.href);var a=e.querySelector(sM(l));if(a)return n.state.loading|=4,n.instance=a,eK(a),a;r=sO(t),(l=sz.get(l))&&sj(r,l),eK(a=(e.ownerDocument||e).createElement("link"));var o=a;return o._p=new Promise(function(e,n){o.onload=e,o.onerror=n}),sl(a,"link",r),n.state.loading|=4,sU(a,t.precedence,e),n.instance=a;case"script":if(a=sA(t.src),l=e.querySelector(sR(a)))return n.instance=l,eK(l),l;return r=t,(l=sz.get(a))&&sH(r=p({},t),l),eK(l=(e=e.ownerDocument||e).createElement("script")),sl(l,"link",r),e.head.appendChild(l),n.instance=l;case"void":return null;default:throw Error(i(443,n.type))}return"stylesheet"===n.type&&0==(4&n.state.loading)&&(r=n.instance,n.state.loading|=4,sU(r,t.precedence,e)),n.instance}function sU(e,n,t){for(var r=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=r.length?r[r.length-1]:null,a=l,o=0;o title"):null)}function sB(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}var sW=null;function sq(){}function sK(){if(this.count--,0===this.count){if(this.stylesheets)sX(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var sY=null;function sX(e,n){e.stylesheets=null,null!==e.unsuspend&&(e.count++,sY=new Map,n.forEach(sG,e),sY=null,sK.call(e))}function sG(e,n){if(!(4&n.state.loading)){var t=sY.get(e);if(t)var r=t.get(null);else{t=new Map,sY.set(e,t);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a{t.d(r,{A:()=>o});let o=(0,t(19946).A)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},64792:(e,r,t)=>{t.d(r,{OK:()=>G,bL:()=>K,VM:()=>C,lr:()=>H,LM:()=>$});var o=t(12115);t(47650);var n=t(99708),l=t(95155),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,r)=>{let t=o.forwardRef((e,t)=>{let{asChild:o,...i}=e,a=o?n.DX:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(a,{...i,ref:t})});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{}),a=t(28905),s=t(46081),c=t(6101),d=t(39033),u=t(94315),p=t(52712),f=t(89367),h=t(85185),v="ScrollArea",[w,g]=(0,s.A)(v),[b,m]=w(v),S=o.forwardRef((e,r)=>{let{__scopeScrollArea:t,type:n="hover",dir:a,scrollHideDelay:s=600,...d}=e,[p,f]=o.useState(null),[h,v]=o.useState(null),[w,g]=o.useState(null),[m,S]=o.useState(null),[y,x]=o.useState(null),[E,C]=o.useState(0),[R,T]=o.useState(0),[L,P]=o.useState(!1),[A,_]=o.useState(!1),j=(0,c.s)(r,e=>f(e)),D=(0,u.jH)(a);return(0,l.jsx)(b,{scope:t,type:n,dir:D,scrollHideDelay:s,scrollArea:p,viewport:h,onViewportChange:v,content:w,onContentChange:g,scrollbarX:m,onScrollbarXChange:S,scrollbarXEnabled:L,onScrollbarXEnabledChange:P,scrollbarY:y,onScrollbarYChange:x,scrollbarYEnabled:A,onScrollbarYEnabledChange:_,onCornerWidthChange:C,onCornerHeightChange:T,children:(0,l.jsx)(i.div,{dir:D,...d,ref:j,style:{position:"relative","--radix-scroll-area-corner-width":E+"px","--radix-scroll-area-corner-height":R+"px",...e.style}})})});S.displayName=v;var y="ScrollAreaViewport",x=o.forwardRef((e,r)=>{let{__scopeScrollArea:t,children:n,nonce:a,...s}=e,d=m(y,t),u=o.useRef(null),p=(0,c.s)(r,u,d.onViewportChange);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),(0,l.jsx)(i.div,{"data-radix-scroll-area-viewport":"",...s,ref:p,style:{overflowX:d.scrollbarXEnabled?"scroll":"hidden",overflowY:d.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,l.jsx)("div",{ref:d.onContentChange,style:{minWidth:"100%",display:"table"},children:n})})]})});x.displayName=y;var E="ScrollAreaScrollbar",C=o.forwardRef((e,r)=>{let{forceMount:t,...n}=e,i=m(E,e.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:s}=i,c="horizontal"===e.orientation;return o.useEffect(()=>(c?a(!0):s(!0),()=>{c?a(!1):s(!1)}),[c,a,s]),"hover"===i.type?(0,l.jsx)(R,{...n,ref:r,forceMount:t}):"scroll"===i.type?(0,l.jsx)(T,{...n,ref:r,forceMount:t}):"auto"===i.type?(0,l.jsx)(L,{...n,ref:r,forceMount:t}):"always"===i.type?(0,l.jsx)(P,{...n,ref:r}):null});C.displayName=E;var R=o.forwardRef((e,r)=>{let{forceMount:t,...n}=e,i=m(E,e.__scopeScrollArea),[s,c]=o.useState(!1);return o.useEffect(()=>{let e=i.scrollArea,r=0;if(e){let t=()=>{window.clearTimeout(r),c(!0)},o=()=>{r=window.setTimeout(()=>c(!1),i.scrollHideDelay)};return e.addEventListener("pointerenter",t),e.addEventListener("pointerleave",o),()=>{window.clearTimeout(r),e.removeEventListener("pointerenter",t),e.removeEventListener("pointerleave",o)}}},[i.scrollArea,i.scrollHideDelay]),(0,l.jsx)(a.C,{present:t||s,children:(0,l.jsx)(L,{"data-state":s?"visible":"hidden",...n,ref:r})})}),T=o.forwardRef((e,r)=>{var t,n;let{forceMount:i,...s}=e,c=m(E,e.__scopeScrollArea),d="horizontal"===e.orientation,u=F(()=>f("SCROLL_END"),100),[p,f]=(t="hidden",n={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},o.useReducer((e,r)=>{let t=n[e][r];return null!=t?t:e},t));return o.useEffect(()=>{if("idle"===p){let e=window.setTimeout(()=>f("HIDE"),c.scrollHideDelay);return()=>window.clearTimeout(e)}},[p,c.scrollHideDelay,f]),o.useEffect(()=>{let e=c.viewport,r=d?"scrollLeft":"scrollTop";if(e){let t=e[r],o=()=>{let o=e[r];t!==o&&(f("SCROLL"),u()),t=o};return e.addEventListener("scroll",o),()=>e.removeEventListener("scroll",o)}},[c.viewport,d,f,u]),(0,l.jsx)(a.C,{present:i||"hidden"!==p,children:(0,l.jsx)(P,{"data-state":"hidden"===p?"hidden":"visible",...s,ref:r,onPointerEnter:(0,h.m)(e.onPointerEnter,()=>f("POINTER_ENTER")),onPointerLeave:(0,h.m)(e.onPointerLeave,()=>f("POINTER_LEAVE"))})})}),L=o.forwardRef((e,r)=>{let t=m(E,e.__scopeScrollArea),{forceMount:n,...i}=e,[s,c]=o.useState(!1),d="horizontal"===e.orientation,u=F(()=>{if(t.viewport){let e=t.viewport.offsetWidth{let{orientation:t="vertical",...n}=e,i=m(E,e.__scopeScrollArea),a=o.useRef(null),s=o.useRef(0),[c,d]=o.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=Y(c.viewport,c.content),p={...n,sizes:c,onSizesChange:d,hasThumb:!!(u>0&&u<1),onThumbChange:e=>a.current=e,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:e=>s.current=e};function f(e,r){return function(e,r,t){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ltr",n=M(t),l=r||n/2,i=t.scrollbar.paddingStart+l,a=t.scrollbar.size-t.scrollbar.paddingEnd-(n-l),s=t.content-t.viewport;return V([i,a],"ltr"===o?[0,s]:[-1*s,0])(e)}(e,s.current,c,r)}return"horizontal"===t?(0,l.jsx)(A,{...p,ref:r,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=U(i.viewport.scrollLeft,c,i.dir);a.current.style.transform="translate3d(".concat(e,"px, 0, 0)")}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=f(e,i.dir))}}):"vertical"===t?(0,l.jsx)(_,{...p,ref:r,onThumbPositionChange:()=>{if(i.viewport&&a.current){let e=U(i.viewport.scrollTop,c);a.current.style.transform="translate3d(0, ".concat(e,"px, 0)")}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=f(e))}}):null}),A=o.forwardRef((e,r)=>{let{sizes:t,onSizesChange:n,...i}=e,a=m(E,e.__scopeScrollArea),[s,d]=o.useState(),u=o.useRef(null),p=(0,c.s)(r,u,a.onScrollbarXChange);return o.useEffect(()=>{u.current&&d(getComputedStyle(u.current))},[u]),(0,l.jsx)(N,{"data-orientation":"horizontal",...i,ref:p,sizes:t,style:{bottom:0,left:"rtl"===a.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===a.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":M(t)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.x),onDragScroll:r=>e.onDragScroll(r.x),onWheelScroll:(r,t)=>{if(a.viewport){let o=a.viewport.scrollLeft+r.deltaX;e.onWheelScroll(o),function(e,r){return e>0&&e{u.current&&a.viewport&&s&&n({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:X(s.paddingLeft),paddingEnd:X(s.paddingRight)}})}})}),_=o.forwardRef((e,r)=>{let{sizes:t,onSizesChange:n,...i}=e,a=m(E,e.__scopeScrollArea),[s,d]=o.useState(),u=o.useRef(null),p=(0,c.s)(r,u,a.onScrollbarYChange);return o.useEffect(()=>{u.current&&d(getComputedStyle(u.current))},[u]),(0,l.jsx)(N,{"data-orientation":"vertical",...i,ref:p,sizes:t,style:{top:0,right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":M(t)+"px",...e.style},onThumbPointerDown:r=>e.onThumbPointerDown(r.y),onDragScroll:r=>e.onDragScroll(r.y),onWheelScroll:(r,t)=>{if(a.viewport){let o=a.viewport.scrollTop+r.deltaY;e.onWheelScroll(o),function(e,r){return e>0&&e{u.current&&a.viewport&&s&&n({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:X(s.paddingTop),paddingEnd:X(s.paddingBottom)}})}})}),[j,D]=w(E),N=o.forwardRef((e,r)=>{let{__scopeScrollArea:t,sizes:n,hasThumb:a,onThumbChange:s,onThumbPointerUp:u,onThumbPointerDown:p,onThumbPositionChange:f,onDragScroll:v,onWheelScroll:w,onResize:g,...b}=e,S=m(E,t),[y,x]=o.useState(null),C=(0,c.s)(r,e=>x(e)),R=o.useRef(null),T=o.useRef(""),L=S.viewport,P=n.content-n.viewport,A=(0,d.c)(w),_=(0,d.c)(f),D=F(g,10);function N(e){R.current&&v({x:e.clientX-R.current.left,y:e.clientY-R.current.top})}return o.useEffect(()=>{let e=e=>{let r=e.target;(null==y?void 0:y.contains(r))&&A(e,P)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[L,y,P,A]),o.useEffect(_,[n,_]),B(y,D),B(S.content,D),(0,l.jsx)(j,{scope:t,scrollbar:y,hasThumb:a,onThumbChange:(0,d.c)(s),onThumbPointerUp:(0,d.c)(u),onThumbPositionChange:_,onThumbPointerDown:(0,d.c)(p),children:(0,l.jsx)(i.div,{...b,ref:C,style:{position:"absolute",...b.style},onPointerDown:(0,h.m)(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),R.current=y.getBoundingClientRect(),T.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",S.viewport&&(S.viewport.style.scrollBehavior="auto"),N(e))}),onPointerMove:(0,h.m)(e.onPointerMove,N),onPointerUp:(0,h.m)(e.onPointerUp,e=>{let r=e.target;r.hasPointerCapture(e.pointerId)&&r.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=T.current,S.viewport&&(S.viewport.style.scrollBehavior=""),R.current=null})})})}),z="ScrollAreaThumb",H=o.forwardRef((e,r)=>{let{forceMount:t,...o}=e,n=D(z,e.__scopeScrollArea);return(0,l.jsx)(a.C,{present:t||n.hasThumb,children:(0,l.jsx)(k,{ref:r,...o})})}),k=o.forwardRef((e,r)=>{let{__scopeScrollArea:t,style:n,...a}=e,s=m(z,t),d=D(z,t),{onThumbPositionChange:u}=d,p=(0,c.s)(r,e=>d.onThumbChange(e)),f=o.useRef(void 0),v=F(()=>{f.current&&(f.current(),f.current=void 0)},100);return o.useEffect(()=>{let e=s.viewport;if(e){let r=()=>{v(),f.current||(f.current=q(e,u),u())};return u(),e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[s.viewport,v,u]),(0,l.jsx)(i.div,{"data-state":d.hasThumb?"visible":"hidden",...a,ref:p,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:(0,h.m)(e.onPointerDownCapture,e=>{let r=e.target.getBoundingClientRect(),t=e.clientX-r.left,o=e.clientY-r.top;d.onThumbPointerDown({x:t,y:o})}),onPointerUp:(0,h.m)(e.onPointerUp,d.onThumbPointerUp)})});H.displayName=z;var W="ScrollAreaCorner",O=o.forwardRef((e,r)=>{let t=m(W,e.__scopeScrollArea),o=!!(t.scrollbarX&&t.scrollbarY);return"scroll"!==t.type&&o?(0,l.jsx)(I,{...e,ref:r}):null});O.displayName=W;var I=o.forwardRef((e,r)=>{let{__scopeScrollArea:t,...n}=e,a=m(W,t),[s,c]=o.useState(0),[d,u]=o.useState(0),p=!!(s&&d);return B(a.scrollbarX,()=>{var e;let r=(null==(e=a.scrollbarX)?void 0:e.offsetHeight)||0;a.onCornerHeightChange(r),u(r)}),B(a.scrollbarY,()=>{var e;let r=(null==(e=a.scrollbarY)?void 0:e.offsetWidth)||0;a.onCornerWidthChange(r),c(r)}),p?(0,l.jsx)(i.div,{...n,ref:r,style:{width:s,height:d,position:"absolute",right:"ltr"===a.dir?0:void 0,left:"rtl"===a.dir?0:void 0,bottom:0,...e.style}}):null});function X(e){return e?parseInt(e,10):0}function Y(e,r){let t=e/r;return isNaN(t)?0:t}function M(e){let r=Y(e.viewport,e.content),t=e.scrollbar.paddingStart+e.scrollbar.paddingEnd;return Math.max((e.scrollbar.size-t)*r,18)}function U(e,r){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ltr",o=M(r),n=r.scrollbar.paddingStart+r.scrollbar.paddingEnd,l=r.scrollbar.size-n,i=r.content-r.viewport,a=(0,f.q)(e,"ltr"===t?[0,i]:[-1*i,0]);return V([0,i],[0,l-o])(a)}function V(e,r){return t=>{if(e[0]===e[1]||r[0]===r[1])return r[0];let o=(r[1]-r[0])/(e[1]-e[0]);return r[0]+o*(t-e[0])}}var q=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},t={left:e.scrollLeft,top:e.scrollTop},o=0;return!function n(){let l={left:e.scrollLeft,top:e.scrollTop},i=t.left!==l.left,a=t.top!==l.top;(i||a)&&r(),t=l,o=window.requestAnimationFrame(n)}(),()=>window.cancelAnimationFrame(o)};function F(e,r){let t=(0,d.c)(e),n=o.useRef(0);return o.useEffect(()=>()=>window.clearTimeout(n.current),[]),o.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(t,r)},[t,r])}function B(e,r){let t=(0,d.c)(r);(0,p.N)(()=>{let r=0;if(e){let o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(t)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,t])}var K=S,$=x,G=O},81497:(e,r,t)=>{t.d(r,{A:()=>o});let o=(0,t(19946).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},85339:(e,r,t)=>{t.d(r,{A:()=>o});let o=(0,t(19946).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},89367:(e,r,t)=>{t.d(r,{q:()=>o});function o(e,[r,t]){return Math.min(t,Math.max(r,e))}}}]); \ No newline at end of file diff --git a/.next/static/chunks/518b661d-1af0c869a328374c.js b/.next/static/chunks/518b661d-1af0c869a328374c.js new file mode 100644 index 00000000..63c0fe99 --- /dev/null +++ b/.next/static/chunks/518b661d-1af0c869a328374c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4020],{59003:(e,t,n)=>{n.d(t,{ie:()=>R,we:()=>B});var r,l=n(12115),u=n(95155),o=n(86301);n(47650);var i=n(84945);let s={...r||(r=n.t(l,2))},a=s.useInsertionEffect||(e=>e()),c="ArrowUp",f="ArrowDown",d="ArrowLeft",g="ArrowRight";function h(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:l,amount:u=1}=void 0===t?{}:t,o=e.current,i=n;do i+=r?-u:u;while(i>=0&&i<=o.length-1&&function(e,t,n){if(n)return n.includes(t);let r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}(o,i,l));return i}var m="undefined"!=typeof document?l.useLayoutEffect:l.useEffect;let v=!1,p=0,x=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+p++,w=s.useId||function(){let[e,t]=l.useState(()=>v?x():void 0);return m(()=>{null==e&&t(x())},[]),l.useEffect(()=>{v=!0},[]),e},R=l.forwardRef(function(e,t){let{context:{placement:n,elements:{floating:r},middlewareData:{arrow:i,shift:s}},width:a=14,height:c=7,tipRadius:f=0,strokeWidth:d=0,staticOffset:g,stroke:h,d:v,style:{transform:p,...x}={},...R}=e,b=w(),[C,k]=l.useState(!1);if(m(()=>{r&&"rtl"===(0,o.L9)(r).direction&&k(!0)},[r]),!r)return null;let[y,M]=n.split("-"),S="top"===y||"bottom"===y,E=g;(S&&null!=s&&s.x||!S&&null!=s&&s.y)&&(E=null);let A=2*d,j=A/2,I=a/2*(-(f/8)+1),q=c/2*f/4,D=!!v,L=E&&"end"===M?"bottom":"top",O=E&&"end"===M?"right":"left";E&&C&&(O="end"===M?"left":"right");let _=(null==i?void 0:i.x)!=null?E||i.x:"",z=(null==i?void 0:i.y)!=null?E||i.y:"",B=v||"M0,0 H"+a+(" L"+(a-I))+","+(c-q)+(" Q"+a/2+","+c+" "+I)+","+(c-q)+" Z",N={top:D?"rotate(180deg)":"",left:D?"rotate(90deg)":"rotate(-90deg)",bottom:D?"":"rotate(180deg)",right:D?"rotate(-90deg)":"rotate(90deg)"}[y];return(0,u.jsxs)("svg",{...R,"aria-hidden":!0,ref:t,width:D?a:a+A,height:a,viewBox:"0 0 "+a+" "+(c>a?c:a),style:{position:"absolute",pointerEvents:"none",[O]:_,[L]:z,[y]:S||D?"100%":"calc(100% - "+A/2+"px)",transform:[N,p].filter(e=>!!e).join(" "),...x},children:[A>0&&(0,u.jsx)("path",{clipPath:"url(#"+b+")",fill:"none",stroke:h,strokeWidth:A+ +!v,d:B}),(0,u.jsx)("path",{stroke:A&&!v?R.fill:"none",d:B}),(0,u.jsx)("clipPath",{id:b,children:(0,u.jsx)("rect",{x:-j,y:j*(D?-1:1),width:a+A,height:a})})]})}),b=l.createContext(null),C=l.createContext(null),k=()=>{var e;return(null==(e=l.useContext(b))?void 0:e.id)||null},y=()=>l.useContext(C),M=()=>{},S=l.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:M,setState:M,isInstantPhase:!1});let E=0,A=new WeakMap,j=new WeakSet,I={},q=0,D=e=>e&&(e.host||D(e.parentNode)),L=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=D(t);return e.contains(n)?n:null}).filter(e=>null!=e),O=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function _(e,t){let n=tabbable(e,O());"prev"===t&&n.reverse();let r=n.indexOf(activeElement(getDocument(e)));return n.slice(r+1)[0]}let z="data-floating-ui-focusable";function B(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){let{open:t=!1,onOpenChange:n,elements:r}=e,u=w(),o=l.useRef({}),[i]=l.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null==(r=e.get(t))||r.delete(n)}}})()),s=null!=k(),[c,f]=l.useState(r.reference),d=function(e){let t=l.useRef(()=>{});return a(()=>{t.current=e}),l.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r{o.current.openEvent=e?t:void 0,i.emit("openchange",{open:e,event:t,reason:r,nested:s}),null==n||n(e,t,r)}),g=l.useMemo(()=>({setPositionReference:f}),[]),h=l.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return l.useMemo(()=>({dataRef:o,open:t,onOpenChange:d,elements:h,events:i,floatingId:u,refs:g}),[t,d,h,i,u,g])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,u=r.elements,[s,c]=l.useState(null),[f,d]=l.useState(null),g=(null==u?void 0:u.domReference)||s,h=l.useRef(null),v=y();m(()=>{g&&(h.current=g)},[g]);let p=(0,i.we)({...e,elements:{...u,...f&&{reference:f}}}),x=l.useCallback(e=>{let t=(0,o.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;d(t),p.refs.setReference(t)},[p.refs]),R=l.useCallback(e=>{((0,o.vq)(e)||null===e)&&(h.current=e,c(e)),((0,o.vq)(p.refs.reference.current)||null===p.refs.reference.current||null!==e&&!(0,o.vq)(e))&&p.refs.setReference(e)},[p.refs]),b=l.useMemo(()=>({...p.refs,setReference:R,setPositionReference:x,domReference:h}),[p.refs,R,x]),C=l.useMemo(()=>({...p.elements,domReference:g}),[p.elements,g]),M=l.useMemo(()=>({...p,...r,refs:b,elements:C,nodeId:t}),[p,b,C,t,r]);return m(()=>{r.dataRef.current.floatingContext=M;let e=null==v?void 0:v.nodesRef.current.find(e=>e.id===t);e&&(e.context=M)}),l.useMemo(()=>({...p,context:M,refs:b,elements:C}),[p,b,C,M])}let N="active",P="selected";function W(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}}}]); \ No newline at end of file diff --git a/.next/static/chunks/5652-6babf6fbe108fd74.js b/.next/static/chunks/5652-6babf6fbe108fd74.js new file mode 100644 index 00000000..41cf4ce5 --- /dev/null +++ b/.next/static/chunks/5652-6babf6fbe108fd74.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5652],{30064:(e,r,t)=>{t.d(r,{UC:()=>J,B8:()=>z,bL:()=>q,l9:()=>Z});var n=t(12115),o=t(85185),a=t(46081),l=t(76589),i=t(6101),u=t(61285),s=t(63540),c=t(39033),f=t(5845),d=t(94315),p=t(95155),m="rovingFocusGroup.onEntryFocus",v={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[w,h,y]=(0,l.N)(b),[g,R]=(0,a.A)(b,[y]),[x,C]=g(b),j=n.forwardRef((e,r)=>(0,p.jsx)(w.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(w.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(A,{...e,ref:r})})}));j.displayName=b;var A=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,orientation:a,loop:l=!1,dir:u,currentTabStopId:b,defaultCurrentTabStopId:w,onCurrentTabStopIdChange:y,onEntryFocus:g,preventScrollOnEntryFocus:R=!1,...C}=e,j=n.useRef(null),A=(0,i.s)(r,j),E=(0,d.jH)(u),[I=null,F]=(0,f.i)({prop:b,defaultProp:w,onChange:y}),[N,M]=n.useState(!1),S=(0,c.c)(g),T=h(t),k=n.useRef(!1),[G,K]=n.useState(0);return n.useEffect(()=>{let e=j.current;if(e)return e.addEventListener(m,S),()=>e.removeEventListener(m,S)},[S]),(0,p.jsx)(x,{scope:t,orientation:a,dir:E,loop:l,currentTabStopId:I,onItemFocus:n.useCallback(e=>F(e),[F]),onItemShiftTab:n.useCallback(()=>M(!0),[]),onFocusableItemAdd:n.useCallback(()=>K(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>K(e=>e-1),[]),children:(0,p.jsx)(s.sG.div,{tabIndex:N||0===G?-1:0,"data-orientation":a,...C,ref:A,style:{outline:"none",...e.style},onMouseDown:(0,o.m)(e.onMouseDown,()=>{k.current=!0}),onFocus:(0,o.m)(e.onFocus,e=>{let r=!k.current;if(e.target===e.currentTarget&&r&&!N){let r=new CustomEvent(m,v);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=T().filter(e=>e.focusable);D([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),R)}}k.current=!1}),onBlur:(0,o.m)(e.onBlur,()=>M(!1))})})}),E="RovingFocusGroupItem",I=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,focusable:a=!0,active:l=!1,tabStopId:i,...c}=e,f=(0,u.B)(),d=i||f,m=C(E,t),v=m.currentTabStopId===d,b=h(t),{onFocusableItemAdd:y,onFocusableItemRemove:g}=m;return n.useEffect(()=>{if(a)return y(),()=>g()},[a,y,g]),(0,p.jsx)(w.ItemSlot,{scope:t,id:d,focusable:a,active:l,children:(0,p.jsx)(s.sG.span,{tabIndex:v?0:-1,"data-orientation":m.orientation,...c,ref:r,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a?m.onItemFocus(d):e.preventDefault()}),onFocus:(0,o.m)(e.onFocus,()=>m.onItemFocus(d)),onKeyDown:(0,o.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let r=function(e,r,t){var n;let o=(n=e.key,"rtl"!==t?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return F[o]}(e,m.orientation,m.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let t=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)t.reverse();else if("prev"===r||"next"===r){"prev"===r&&t.reverse();let n=t.indexOf(e.currentTarget);t=m.loop?function(e,r){return e.map((t,n)=>e[(r+n)%e.length])}(t,n+1):t.slice(n+1)}setTimeout(()=>D(t))}})})})});I.displayName=E;var F={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function D(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=document.activeElement;for(let n of e)if(n===t||(n.focus({preventScroll:r}),document.activeElement!==t))return}var N=t(28905),M="Tabs",[S,T]=(0,a.A)(M,[R]),k=R(),[G,K]=S(M),P=n.forwardRef((e,r)=>{let{__scopeTabs:t,value:n,onValueChange:o,defaultValue:a,orientation:l="horizontal",dir:i,activationMode:c="automatic",...m}=e,v=(0,d.jH)(i),[b,w]=(0,f.i)({prop:n,onChange:o,defaultProp:a});return(0,p.jsx)(G,{scope:t,baseId:(0,u.B)(),value:b,onValueChange:w,orientation:l,dir:v,activationMode:c,children:(0,p.jsx)(s.sG.div,{dir:v,"data-orientation":l,...m,ref:r})})});P.displayName=M;var L="TabsList",V=n.forwardRef((e,r)=>{let{__scopeTabs:t,loop:n=!0,...o}=e,a=K(L,t),l=k(t);return(0,p.jsx)(j,{asChild:!0,...l,orientation:a.orientation,dir:a.dir,loop:n,children:(0,p.jsx)(s.sG.div,{role:"tablist","aria-orientation":a.orientation,...o,ref:r})})});V.displayName=L;var _="TabsTrigger",B=n.forwardRef((e,r)=>{let{__scopeTabs:t,value:n,disabled:a=!1,...l}=e,i=K(_,t),u=k(t),c=W(i.baseId,n),f=H(i.baseId,n),d=n===i.value;return(0,p.jsx)(I,{asChild:!0,...u,focusable:!a,active:d,children:(0,p.jsx)(s.sG.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":f,"data-state":d?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:c,...l,ref:r,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():i.onValueChange(n)}),onKeyDown:(0,o.m)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&i.onValueChange(n)}),onFocus:(0,o.m)(e.onFocus,()=>{let e="manual"!==i.activationMode;d||a||!e||i.onValueChange(n)})})})});B.displayName=_;var O="TabsContent",U=n.forwardRef((e,r)=>{let{__scopeTabs:t,value:o,forceMount:a,children:l,...i}=e,u=K(O,t),c=W(u.baseId,o),f=H(u.baseId,o),d=o===u.value,m=n.useRef(d);return n.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,p.jsx)(N.C,{present:a||d,children:t=>{let{present:n}=t;return(0,p.jsx)(s.sG.div,{"data-state":d?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":c,hidden:!n,id:f,tabIndex:0,...i,ref:r,style:{...e.style,animationDuration:m.current?"0s":void 0},children:n&&l})}})});function W(e,r){return"".concat(e,"-trigger-").concat(r)}function H(e,r){return"".concat(e,"-content-").concat(r)}U.displayName=O;var q=P,z=V,Z=B,J=U},45503:(e,r,t)=>{t.d(r,{Z:()=>o});var n=t(12115);function o(e){let r=n.useRef({value:e,previous:e});return n.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}},76589:(e,r,t)=>{t.d(r,{N:()=>f});var n=t(12115),o=t(46081),a=t(6101),l=t(95155),i=n.forwardRef((e,r)=>{let{children:t,...o}=e,a=n.Children.toArray(t),i=a.find(c);if(i){let e=i.props.children,t=a.map(r=>r!==i?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,l.jsx)(u,{...o,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,l.jsx)(u,{...o,ref:r,children:t})});i.displayName="Slot";var u=n.forwardRef((e,r)=>{let{children:t,...o}=e;if(n.isValidElement(t)){let e=function(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(t);return n.cloneElement(t,{...function(e,r){let t={...r};for(let n in r){let o=e[n],a=r[n];/^on[A-Z]/.test(n)?o&&a?t[n]=(...e)=>{a(...e),o(...e)}:o&&(t[n]=o):"style"===n?t[n]={...o,...a}:"className"===n&&(t[n]=[o,a].filter(Boolean).join(" "))}return{...e,...t}}(o,t.props),ref:r?(0,a.t)(r,e):e})}return n.Children.count(t)>1?n.Children.only(null):null});u.displayName="SlotClone";var s=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function c(e){return n.isValidElement(e)&&e.type===s}function f(e){let r=e+"CollectionProvider",[t,u]=(0,o.A)(r),[s,c]=t(r,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:r,children:t}=e,o=n.useRef(null),a=n.useRef(new Map).current;return(0,l.jsx)(s,{scope:r,itemMap:a,collectionRef:o,children:t})};f.displayName=r;let d=e+"CollectionSlot",p=n.forwardRef((e,r)=>{let{scope:t,children:n}=e,o=c(d,t),u=(0,a.s)(r,o.collectionRef);return(0,l.jsx)(i,{ref:u,children:n})});p.displayName=d;let m=e+"CollectionItemSlot",v="data-radix-collection-item",b=n.forwardRef((e,r)=>{let{scope:t,children:o,...u}=e,s=n.useRef(null),f=(0,a.s)(r,s),d=c(m,t);return n.useEffect(()=>(d.itemMap.set(s,{ref:s,...u}),()=>void d.itemMap.delete(s))),(0,l.jsx)(i,{...{[v]:""},ref:f,children:o})});return b.displayName=m,[{Provider:f,Slot:p,ItemSlot:b},function(r){let t=c(e+"CollectionConsumer",r);return n.useCallback(()=>{let e=t.collectionRef.current;if(!e)return[];let r=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(t.itemMap.values()).sort((e,t)=>r.indexOf(e.ref.current)-r.indexOf(t.ref.current))},[t.collectionRef,t.itemMap])},u]}}}]); \ No newline at end of file diff --git a/.next/static/chunks/5685-70e5cd40c9d9d2fe.js b/.next/static/chunks/5685-70e5cd40c9d9d2fe.js new file mode 100644 index 00000000..8f7e9252 --- /dev/null +++ b/.next/static/chunks/5685-70e5cd40c9d9d2fe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5685],{5196:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(19946).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},5845:(e,t,n)=>{n.d(t,{i:()=>i});var r=n(12115),o=n(39033);function i({prop:e,defaultProp:t,onChange:n=()=>{}}){let[i,l]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[i]=n,l=r.useRef(i),a=(0,o.c)(t);return r.useEffect(()=>{l.current!==i&&(a(i),l.current=i)},[i,l,a]),n}({defaultProp:t,onChange:n}),a=void 0!==e,u=a?e:i,c=(0,o.c)(n);return[u,r.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&c(n)}else l(t)},[a,e,l,c])]}},6101:(e,t,n)=>{n.d(t,{s:()=>l,t:()=>i});var r=n(12115);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t{n.d(t,{X:()=>i});var r=n(12115),o=n(52712);function i(e){let[t,n]=r.useState(void 0);return(0,o.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},19946:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(12115);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),n=0;n!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:u,className:c="",children:s,iconNode:f,...d}=e;return(0,r.createElement)("svg",{ref:t,...l,width:o,height:o,stroke:n,strokeWidth:u?24*Number(a)/Number(o):a,className:i("lucide",c),...d},[...f.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(s)?s:[s]])}),u=(e,t)=>{let n=(0,r.forwardRef)((n,l)=>{let{className:u,...c}=n;return(0,r.createElement)(a,{ref:l,iconNode:t,className:i("lucide-".concat(o(e)),u),...c})});return n.displayName="".concat(e),n}},25519:(e,t,n)=>{n.d(t,{n:()=>f});var r=n(12115),o=n(6101),i=n(63540),l=n(39033),a=n(95155),u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",s={bubbles:!1,cancelable:!0},f=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:f=!1,onMountAutoFocus:h,onUnmountAutoFocus:g,...y}=e,[b,w]=r.useState(null),E=(0,l.c)(h),x=(0,l.c)(g),C=r.useRef(null),R=(0,o.s)(t,e=>w(e)),N=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(f){let e=function(e){if(N.paused||!b)return;let t=e.target;b.contains(t)?C.current=t:m(C.current,{select:!0})},t=function(e){if(N.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||m(C.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(b)});return b&&n.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[f,b,N.paused]),r.useEffect(()=>{if(b){v.add(N);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(u,s);b.addEventListener(u,E),b.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(m(r,{select:t}),document.activeElement!==n)return}(d(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(b))}return()=>{b.removeEventListener(u,E),setTimeout(()=>{let t=new CustomEvent(c,s);b.addEventListener(c,x),b.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),b.removeEventListener(c,x),v.remove(N)},0)}}},[b,E,x,N]);let O=r.useCallback(e=>{if(!n&&!f||N.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,i]=function(e){let t=d(e);return[p(t,e),p(t.reverse(),e)]}(t);o&&i?e.shiftKey||r!==i?e.shiftKey&&r===o&&(e.preventDefault(),n&&m(i,{select:!0})):(e.preventDefault(),n&&m(o,{select:!0})):r===t&&e.preventDefault()}},[n,f,N.paused]);return(0,a.jsx)(i.sG.div,{tabIndex:-1,...y,ref:R,onKeyDown:O})});function d(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function m(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}f.displayName="FocusScope";var v=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=h(e,t)).unshift(t)},remove(t){var n;null==(n=(e=h(e,t))[0])||n.resume()}}}();function h(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},28905:(e,t,n)=>{n.d(t,{C:()=>l});var r=n(12115),o=n(6101),i=n(52712),l=e=>{let{present:t,children:n}=e,l=function(e){var t,n;let[o,l]=r.useState(),u=r.useRef({}),c=r.useRef(e),s=r.useRef("none"),[f,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=a(u.current);s.current="mounted"===f?e:"none"},[f]),(0,i.N)(()=>{let t=u.current,n=c.current;if(n!==e){let r=s.current,o=a(t);e?d("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):n&&r!==o?d("ANIMATION_OUT"):d("UNMOUNT"),c.current=e}},[e,d]),(0,i.N)(()=>{if(o){var e;let t,n=null!=(e=o.ownerDocument.defaultView)?e:window,r=e=>{let r=a(u.current).includes(e.animationName);if(e.target===o&&r&&(d("ANIMATION_END"),!c.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(s.current=a(u.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:r.useCallback(e=>{e&&(u.current=getComputedStyle(e)),l(e)},[])}}(t),u="function"==typeof n?n({present:l.isPresent}):r.Children.only(n),c=(0,o.s)(l.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof n||l.isPresent?r.cloneElement(u,{ref:c}):null};function a(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},31114:(e,t,n)=>{n.d(t,{A:()=>z});var r,o,i=n(39249),l=n(12115),a="right-scroll-bar-position",u="width-before-scroll-bar";function c(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var s="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,f=new WeakMap;function d(e){return e}var p=function(e){void 0===e&&(e={});var t,n,r,o,l=(t=null,void 0===n&&(n=d),r=[],o=!1,{read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:null},useMedium:function(e){var t=n(e,o);return r.push(t),function(){r=r.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(o=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){o=!0;var t=[];if(r.length){var n=r;r=[],n.forEach(e),t=r}var i=function(){var n=t;t=[],n.forEach(e)},l=function(){return Promise.resolve().then(i)};l(),r={push:function(e){t.push(e),l()},filter:function(e){return t=t.filter(e),r}}}});return l.options=(0,i.Cl)({async:!0,ssr:!1},e),l}(),m=function(){},v=l.forwardRef(function(e,t){var n,r,o,a,u=l.useRef(null),d=l.useState({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:m}),v=d[0],h=d[1],g=e.forwardProps,y=e.children,b=e.className,w=e.removeScrollBar,E=e.enabled,x=e.shards,C=e.sideCar,R=e.noIsolation,N=e.inert,O=e.allowPinchZoom,A=e.as,L=e.gapMode,S=(0,i.Tt)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=(n=[u,t],r=function(e){return n.forEach(function(t){return c(t,e)})},(o=(0,l.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,a=o.facade,s(function(){var e=f.get(a);if(e){var t=new Set(e),r=new Set(n),o=a.current;t.forEach(function(e){r.has(e)||c(e,null)}),r.forEach(function(e){t.has(e)||c(e,o)})}f.set(a,n)},[n]),a),k=(0,i.Cl)((0,i.Cl)({},S),v);return l.createElement(l.Fragment,null,E&&l.createElement(C,{sideCar:p,removeScrollBar:w,shards:x,noIsolation:R,inert:N,setCallbacks:h,allowPinchZoom:!!O,lockRef:u,gapMode:L}),g?l.cloneElement(l.Children.only(y),(0,i.Cl)((0,i.Cl)({},k),{ref:T})):l.createElement(void 0===A?"div":A,(0,i.Cl)({},k,{className:b,ref:T}),y))});v.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},v.classNames={fullWidth:u,zeroRight:a};var h=function(e){var t=e.sideCar,n=(0,i.Tt)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return l.createElement(r,(0,i.Cl)({},n))};h.isSideCarExport=!0;var g=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,l;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),l=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(l)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},y=function(){var e=g();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},b=function(){var e=y();return function(t){return e(t.styles,t.dynamic),null}},w={left:0,top:0,right:0,gap:0},E=function(e){return parseInt(e||"",10)||0},x=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[E(n),E(r),E(o)]},C=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return w;var t=x(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},R=b(),N="data-scroll-locked",O=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(N,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(l,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(a," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(u," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(a," .").concat(a," {\n right: 0 ").concat(r,";\n }\n \n .").concat(u," .").concat(u," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(N,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(c,"px;\n }\n")},A=function(){var e=parseInt(document.body.getAttribute(N)||"0",10);return isFinite(e)?e:0},L=function(){l.useEffect(function(){return document.body.setAttribute(N,(A()+1).toString()),function(){var e=A()-1;e<=0?document.body.removeAttribute(N):document.body.setAttribute(N,e.toString())}},[])},S=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;L();var i=l.useMemo(function(){return C(o)},[o]);return l.createElement(R,{styles:O(i,!t,o,n?"":"!important")})},T=!1;if("undefined"!=typeof window)try{var k=Object.defineProperty({},"passive",{get:function(){return T=!0,!0}});window.addEventListener("test",k,k),window.removeEventListener("test",k,k)}catch(e){T=!1}var D=!!T&&{passive:!1},P=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},j=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),M(e,r)){var o=W(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},M=function(e,t){return"v"===e?P(t,"overflowY"):P(t,"overflowX")},W=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},F=function(e,t,n,r,o){var i,l=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=l*r,u=n.target,c=t.contains(u),s=!1,f=a>0,d=0,p=0;do{var m=W(e,u),v=m[0],h=m[1]-m[2]-l*v;(v||h)&&M(e,u)&&(d+=h,p+=v),u=u instanceof ShadowRoot?u.host:u.parentNode}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return f&&(o&&1>Math.abs(d)||!o&&a>d)?s=!0:!f&&(o&&1>Math.abs(p)||!o&&-a>p)&&(s=!0),s},I=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},B=function(e){return[e.deltaX,e.deltaY]},_=function(e){return e&&"current"in e?e.current:e},U=0,q=[];let H=(r=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(U++)[0],a=l.useState(b)[0],u=l.useRef(e);l.useEffect(function(){u.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,i.fX)([e.lockRef.current],(e.shards||[]).map(_),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,i=I(e),l=n.current,a="deltaX"in e?e.deltaX:l[0]-i[0],c="deltaY"in e?e.deltaY:l[1]-i[1],s=e.target,f=Math.abs(a)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===f&&"range"===s.type)return!1;var d=j(f,s);if(!d)return!0;if(d?o=f:(o="v"===f?"h":"v",d=j(f,s)),!d)return!1;if(!r.current&&"changedTouches"in e&&(a||c)&&(r.current=o),!o)return!0;var p=r.current||o;return F(p,t,e,"h"===p?a:c,!0)},[]),s=l.useCallback(function(e){if(q.length&&q[q.length-1]===a){var n="deltaY"in e?B(e):I(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(u.current.shards||[]).map(_).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?c(e,o[0]):!u.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),f=l.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=l.useCallback(function(e){n.current=I(e),r.current=void 0},[]),p=l.useCallback(function(t){f(t.type,B(t),t.target,c(t,e.lockRef.current))},[]),m=l.useCallback(function(t){f(t.type,I(t),t.target,c(t,e.lockRef.current))},[]);l.useEffect(function(){return q.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",s,D),document.addEventListener("touchmove",s,D),document.addEventListener("touchstart",d,D),function(){q=q.filter(function(e){return e!==a}),document.removeEventListener("wheel",s,D),document.removeEventListener("touchmove",s,D),document.removeEventListener("touchstart",d,D)}},[]);var v=e.removeScrollBar,h=e.inert;return l.createElement(l.Fragment,null,h?l.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?l.createElement(S,{gapMode:e.gapMode}):null)},p.useMedium(r),h);var V=l.forwardRef(function(e,t){return l.createElement(v,(0,i.Cl)({},e,{ref:t,sideCar:H}))});V.classNames=v.classNames;let z=V},34378:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(12115),o=n(47650),i=n(63540),l=n(52712),a=n(95155),u=r.forwardRef((e,t)=>{var n,u;let{container:c,...s}=e,[f,d]=r.useState(!1);(0,l.N)(()=>d(!0),[]);let p=c||f&&(null==(u=globalThis)||null==(n=u.document)?void 0:n.body);return p?o.createPortal((0,a.jsx)(i.sG.div,{...s,ref:t}),p):null});u.displayName="Portal"},38168:(e,t,n)=>{n.d(t,{Eq:()=>s});var r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},o=new WeakMap,i=new WeakMap,l={},a=0,u=function(e){return e&&(e.host||u(e.parentNode))},c=function(e,t,n,r){var c=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=u(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});l[n]||(l[n]=new WeakMap);var s=l[n],f=[],d=new Set,p=new Set(c),m=function(e){!e||d.has(e)||(d.add(e),m(e.parentNode))};c.forEach(m);var v=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(d.has(e))v(e);else try{var t=e.getAttribute(r),l=null!==t&&"false"!==t,a=(o.get(e)||0)+1,u=(s.get(e)||0)+1;o.set(e,a),s.set(e,u),f.push(e),1===a&&l&&i.set(e,!0),1===u&&e.setAttribute(n,"true"),l||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(t),d.clear(),a++,function(){f.forEach(function(e){var t=o.get(e)-1,l=s.get(e)-1;o.set(e,t),s.set(e,l),t||(i.has(e)||e.removeAttribute(r),i.delete(e)),l||e.removeAttribute(n)}),--a||(o=new WeakMap,o=new WeakMap,i=new WeakMap,l={})}},s=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=t||r(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live]"))),c(o,i,n,"aria-hidden")):function(){return null}}},39033:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(12115);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},39249:(e,t,n)=>{n.d(t,{Cl:()=>r,Ju:()=>a,Tt:()=>o,YH:()=>l,fX:()=>u,sH:()=>i});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function i(e,t,n,r){return new(n||(n=Promise))(function(o,i){function l(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(l,a)}u((r=r.apply(e,t||[])).next())})}function l(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},l=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return l.next=a(0),l.throw=a(1),l.return=a(2),"function"==typeof Symbol&&(l[Symbol.iterator]=function(){return this}),l;function a(a){return function(u){var c=[a,u];if(n)throw TypeError("Generator is already executing.");for(;l&&(l=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create;function u(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o{n.d(t,{bm:()=>ea,UC:()=>eo,VY:()=>el,hJ:()=>er,ZL:()=>en,bL:()=>ee,hE:()=>ei,l9:()=>et,G$:()=>G,Hs:()=>R});var r=n(12115),o=n(85185),i=n(6101),l=n(46081),a=n(61285),u=n(5845),c=n(58434),s=n(25519),f=n(34378),d=n(28905),p=n(63540),m=n(92293),v=n(31114),h=n(38168),g=n(95155),y=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),l=i.find(E);if(l){let e=l.props.children,n=i.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,g.jsx)(b,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,g.jsx)(b,{...o,ref:t,children:n})});y.displayName="Slot";var b=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n);return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props),ref:t?(0,i.t)(t,e):e})}return r.Children.count(n)>1?r.Children.only(null):null});b.displayName="SlotClone";var w=({children:e})=>(0,g.jsx)(g.Fragment,{children:e});function E(e){return r.isValidElement(e)&&e.type===w}var x="Dialog",[C,R]=(0,l.A)(x),[N,O]=C(x),A=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:i,onOpenChange:l,modal:c=!0}=e,s=r.useRef(null),f=r.useRef(null),[d=!1,p]=(0,u.i)({prop:o,defaultProp:i,onChange:l});return(0,g.jsx)(N,{scope:t,triggerRef:s,contentRef:f,contentId:(0,a.B)(),titleId:(0,a.B)(),descriptionId:(0,a.B)(),open:d,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:c,children:n})};A.displayName=x;var L="DialogTrigger",S=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,l=O(L,n),a=(0,i.s)(t,l.triggerRef);return(0,g.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":X(l.open),...r,ref:a,onClick:(0,o.m)(e.onClick,l.onOpenToggle)})});S.displayName=L;var T="DialogPortal",[k,D]=C(T,{forceMount:void 0}),P=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:i}=e,l=O(T,t);return(0,g.jsx)(k,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,g.jsx)(d.C,{present:n||l.open,children:(0,g.jsx)(f.Z,{asChild:!0,container:i,children:e})}))})};P.displayName=T;var j="DialogOverlay",M=r.forwardRef((e,t)=>{let n=D(j,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=O(j,e.__scopeDialog);return i.modal?(0,g.jsx)(d.C,{present:r||i.open,children:(0,g.jsx)(W,{...o,ref:t})}):null});M.displayName=j;var W=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=O(j,n);return(0,g.jsx)(v.A,{as:y,allowPinchZoom:!0,shards:[o.contentRef],children:(0,g.jsx)(p.sG.div,{"data-state":X(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),F="DialogContent",I=r.forwardRef((e,t)=>{let n=D(F,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=O(F,e.__scopeDialog);return(0,g.jsx)(d.C,{present:r||i.open,children:i.modal?(0,g.jsx)(B,{...o,ref:t}):(0,g.jsx)(_,{...o,ref:t})})});I.displayName=F;var B=r.forwardRef((e,t)=>{let n=O(F,e.__scopeDialog),l=r.useRef(null),a=(0,i.s)(t,n.contentRef,l);return r.useEffect(()=>{let e=l.current;if(e)return(0,h.Eq)(e)},[]),(0,g.jsx)(U,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,o.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.m)(e.onFocusOutside,e=>e.preventDefault())})}),_=r.forwardRef((e,t)=>{let n=O(F,e.__scopeDialog),o=r.useRef(!1),i=r.useRef(!1);return(0,g.jsx)(U,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,l;null==(r=e.onCloseAutoFocus)||r.call(e,t),t.defaultPrevented||(o.current||null==(l=n.triggerRef.current)||l.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var r,l;null==(r=e.onInteractOutside)||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let a=t.target;(null==(l=n.triggerRef.current)?void 0:l.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),U=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:l,onCloseAutoFocus:a,...u}=e,f=O(F,n),d=r.useRef(null),p=(0,i.s)(t,d);return(0,m.Oh)(),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(s.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:l,onUnmountAutoFocus:a,children:(0,g.jsx)(c.qW,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":X(f.open),...u,ref:p,onDismiss:()=>f.onOpenChange(!1)})}),(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(J,{titleId:f.titleId}),(0,g.jsx)(Q,{contentRef:d,descriptionId:f.descriptionId})]})]})}),q="DialogTitle",H=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=O(q,n);return(0,g.jsx)(p.sG.h2,{id:o.titleId,...r,ref:t})});H.displayName=q;var V="DialogDescription",z=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=O(V,n);return(0,g.jsx)(p.sG.p,{id:o.descriptionId,...r,ref:t})});z.displayName=V;var $="DialogClose",Z=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=O($,n);return(0,g.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,o.m)(e.onClick,()=>i.onOpenChange(!1))})});function X(e){return e?"open":"closed"}Z.displayName=$;var Y="DialogTitleWarning",[G,K]=(0,l.q)(Y,{contentName:F,titleName:q,docsSlug:"dialog"}),J=e=>{let{titleId:t}=e,n=K(Y),o="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&(document.getElementById(t)||console.error(o))},[o,t]),null},Q=e=>{let{contentRef:t,descriptionId:n}=e,o=K("DialogDescriptionWarning"),i="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null==(e=t.current)?void 0:e.getAttribute("aria-describedby");n&&r&&(document.getElementById(n)||console.warn(i))},[i,t,n]),null},ee=A,et=S,en=P,er=M,eo=I,ei=H,el=z,ea=Z},46081:(e,t,n)=>{n.d(t,{A:()=>l,q:()=>i});var r=n(12115),o=n(95155);function i(e,t){let n=r.createContext(t),i=e=>{let{children:t,...i}=e,l=r.useMemo(()=>i,Object.values(i));return(0,o.jsx)(n.Provider,{value:l,children:t})};return i.displayName=e+"Provider",[i,function(o){let i=r.useContext(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}function l(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(t,i){let l=r.createContext(i),a=n.length;n=[...n,i];let u=t=>{let{scope:n,children:i,...u}=t,c=n?.[e]?.[a]||l,s=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(c.Provider,{value:s,children:i})};return u.displayName=t+"Provider",[u,function(n,o){let u=o?.[e]?.[a]||l,c=r.useContext(u);if(c)return c;if(void 0!==i)return i;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(i,...t)]}},51595:(e,t,n)=>{n.d(t,{U:()=>i});var r=n(12115),o=n(39033);function i(e,t=globalThis?.document){let n=(0,o.c)(e);r.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}},52712:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(12115),o=globalThis?.document?r.useLayoutEffect:()=>{}},54416:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(19946).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},58434:(e,t,n)=>{n.d(t,{bL:()=>g,lg:()=>y,qW:()=>p});var r,o=n(12115),i=n(85185),l=n(63540),a=n(6101),u=n(39033),c=n(51595),s=n(95155),f="dismissableLayer.update",d=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=o.forwardRef((e,t)=>{var n,p;let{disableOutsidePointerEvents:m=!1,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:b,onInteractOutside:w,onDismiss:E,...x}=e,C=o.useContext(d),[R,N]=o.useState(null),O=null!=(p=null==R?void 0:R.ownerDocument)?p:null==(n=globalThis)?void 0:n.document,[,A]=o.useState({}),L=(0,a.s)(t,e=>N(e)),S=Array.from(C.layers),[T]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),k=S.indexOf(T),D=R?S.indexOf(R):-1,P=C.layersWithOutsidePointerEventsDisabled.size>0,j=D>=k,M=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,u.c)(e),i=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){h("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...C.branches].some(e=>e.contains(t));j&&!n&&(null==y||y(e),null==w||w(e),e.defaultPrevented||null==E||E())},O),W=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,u.c)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&h("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...C.branches].some(e=>e.contains(t))&&(null==b||b(e),null==w||w(e),e.defaultPrevented||null==E||E())},O);return(0,c.U)(e=>{D===C.layers.size-1&&(null==g||g(e),!e.defaultPrevented&&E&&(e.preventDefault(),E()))},O),o.useEffect(()=>{if(R)return m&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(r=O.body.style.pointerEvents,O.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(R)),C.layers.add(R),v(),()=>{m&&1===C.layersWithOutsidePointerEventsDisabled.size&&(O.body.style.pointerEvents=r)}},[R,O,m,C]),o.useEffect(()=>()=>{R&&(C.layers.delete(R),C.layersWithOutsidePointerEventsDisabled.delete(R),v())},[R,C]),o.useEffect(()=>{let e=()=>A({});return document.addEventListener(f,e),()=>document.removeEventListener(f,e)},[]),(0,s.jsx)(l.sG.div,{...x,ref:L,style:{pointerEvents:P?j?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.m)(e.onFocusCapture,W.onFocusCapture),onBlurCapture:(0,i.m)(e.onBlurCapture,W.onBlurCapture),onPointerDownCapture:(0,i.m)(e.onPointerDownCapture,M.onPointerDownCapture)})});p.displayName="DismissableLayer";var m=o.forwardRef((e,t)=>{let n=o.useContext(d),r=o.useRef(null),i=(0,a.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(l.sG.div,{...e,ref:i})});function v(){let e=new CustomEvent(f);document.dispatchEvent(e)}function h(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,l.hO)(i,a):i.dispatchEvent(a)}m.displayName="DismissableLayerBranch";var g=p,y=m},61285:(e,t,n)=>{n.d(t,{B:()=>u});var r,o=n(12115),i=n(52712),l=(r||(r=n.t(o,2)))["useId".toString()]||(()=>void 0),a=0;function u(e){let[t,n]=o.useState(l());return(0,i.N)(()=>{e||n(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},63540:(e,t,n)=>{n.d(t,{sG:()=>f,hO:()=>d});var r=n(12115),o=n(47650),i=n(6101),l=n(95155),a=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),a=i.find(s);if(a){let e=a.props.children,n=i.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,l.jsx)(u,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,l.jsx)(u,{...o,ref:t,children:n})});a.displayName="Slot";var u=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n);return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props),ref:t?(0,i.t)(t,e):e})}return r.Children.count(n)>1?r.Children.only(null):null});u.displayName="SlotClone";var c=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function s(e){return r.isValidElement(e)&&e.type===c}var f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...o}=e,i=r?a:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function d(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},74466:(e,t,n)=>{n.d(t,{F:()=>l});var r=n(52596);let o=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=r.$,l=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return i(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:l,defaultVariants:a}=t,u=Object.keys(l).map(e=>{let t=null==n?void 0:n[e],r=null==a?void 0:a[e];if(null===t)return null;let i=o(t)||o(r);return l[e][i]}),c=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return i(e,u,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...c}[t]):({...a,...c})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},76492:(e,t,n)=>{n.d(t,{UE:()=>Y,ll:()=>H,rD:()=>K,UU:()=>$,jD:()=>X,ER:()=>G,cY:()=>V,BN:()=>z,Ej:()=>Z});let r=["top","right","bottom","left"],o=Math.min,i=Math.max,l=Math.round,a=Math.floor,u=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function h(e){return["top","bottom"].includes(d(e))?"y":"x"}function g(e){return e.replace(/start|end/g,e=>s[e])}function y(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function b(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function w(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function E(e,t,n){let r,{reference:o,floating:i}=e,l=h(t),a=m(h(t)),u=v(a),c=d(t),s="y"===l,f=o.x+o.width/2-i.width/2,g=o.y+o.height/2-i.height/2,y=o[u]/2-i[u]/2;switch(c){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:g};break;case"left":r={x:o.x-i.width,y:g};break;default:r={x:o.x,y:o.y}}switch(p(t)){case"start":r[a]-=y*(n&&s?-1:1);break;case"end":r[a]+=y*(n&&s?-1:1)}return r}let x=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),u=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:f}=E(c,r,u),d=r,p={},m=0;for(let n=0;ne[t]>=0)}async function O(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=d(n),a=p(n),u="y"===h(n),c=["left","top"].includes(l)?-1:1,s=i&&u?-1:1,m=f(t,e),{mainAxis:v,crossAxis:g,alignmentAxis:y}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&"number"==typeof y&&(g="end"===a?-1*y:y),u?{x:g*s,y:v*c}:{x:v*c,y:g*s}}var A=n(86301);function L(e){let t=(0,A.L9)(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=(0,A.sb)(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,u=l(n)!==i||l(r)!==a;return u&&(n=i,r=a),{width:n,height:r,$:u}}function S(e){return(0,A.vq)(e)?e:e.contextElement}function T(e){let t=S(e);if(!(0,A.sb)(t))return u(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=L(t),a=(i?l(n.width):n.width)/r,c=(i?l(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}let k=u(0);function D(e){let t=(0,A.zk)(e);return(0,A.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:k}function P(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=S(e),a=u(1);t&&(r?(0,A.vq)(r)&&(a=T(r)):a=T(e));let c=(void 0===(o=n)&&(o=!1),r&&(!o||r===(0,A.zk)(l))&&o)?D(l):u(0),s=(i.left+c.x)/a.x,f=(i.top+c.y)/a.y,d=i.width/a.x,p=i.height/a.y;if(l){let e=(0,A.zk)(l),t=r&&(0,A.vq)(r)?(0,A.zk)(r):r,n=e,o=(0,A._m)(n);for(;o&&r&&t!==n;){let e=T(o),t=o.getBoundingClientRect(),r=(0,A.L9)(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,f*=e.y,d*=e.x,p*=e.y,s+=i,f+=l,n=(0,A.zk)(o),o=(0,A._m)(n)}}return w({width:d,height:p,x:s,y:f})}function j(e,t){let n=(0,A.CP)(e).scrollLeft;return t?t.left+n:P((0,A.ep)(e)).left+n}function M(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:j(e,r)),y:r.top+t.scrollTop}}function W(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=(0,A.zk)(e),r=(0,A.ep)(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,u=0;if(o){i=o.width,l=o.height;let e=(0,A.Tc)();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,u=o.offsetTop)}return{width:i,height:l,x:a,y:u}}(e,n);else if("document"===t)r=function(e){let t=(0,A.ep)(e),n=(0,A.CP)(e),r=e.ownerDocument.body,o=i(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),l=i(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+j(e),u=-n.scrollTop;return"rtl"===(0,A.L9)(r).direction&&(a+=i(t.clientWidth,r.clientWidth)-o),{width:o,height:l,x:a,y:u}}((0,A.ep)(e));else if((0,A.vq)(t))r=function(e,t){let n=P(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=(0,A.sb)(e)?T(e):u(1),l=e.clientWidth*i.x,a=e.clientHeight*i.y;return{width:l,height:a,x:o*i.x,y:r*i.y}}(t,n);else{let n=D(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return w(r)}function F(e){return"static"===(0,A.L9)(e).position}function I(e,t){if(!(0,A.sb)(e)||"fixed"===(0,A.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,A.ep)(e)===n&&(n=n.ownerDocument.body),n}function B(e,t){let n=(0,A.zk)(e);if((0,A.Tf)(e))return n;if(!(0,A.sb)(e)){let t=(0,A.$4)(e);for(;t&&!(0,A.eu)(t);){if((0,A.vq)(t)&&!F(t))return t;t=(0,A.$4)(t)}return n}let r=I(e,t);for(;r&&(0,A.Lv)(r)&&F(r);)r=I(r,t);return r&&(0,A.eu)(r)&&F(r)&&!(0,A.sQ)(r)?n:r||(0,A.gJ)(e)||n}let _=async function(e){let t=this.getOffsetParent||B,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=(0,A.sb)(t),o=(0,A.ep)(t),i="fixed"===n,l=P(e,!0,i,t),a={scrollLeft:0,scrollTop:0},c=u(0);if(r||!r&&!i)if(("body"!==(0,A.mq)(t)||(0,A.ZU)(o))&&(a=(0,A.CP)(t)),r){let e=P(t,!0,i,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=j(o));let s=!o||r||i?u(0):M(o,a);return{x:l.left+a.scrollLeft-c.x-s.x,y:l.top+a.scrollTop-c.y-s.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},U={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=(0,A.ep)(r),a=!!t&&(0,A.Tf)(t.floating);if(r===l||a&&i)return n;let c={scrollLeft:0,scrollTop:0},s=u(1),f=u(0),d=(0,A.sb)(r);if((d||!d&&!i)&&(("body"!==(0,A.mq)(r)||(0,A.ZU)(l))&&(c=(0,A.CP)(r)),(0,A.sb)(r))){let e=P(r);s=T(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let p=!l||d||i?u(0):M(l,c,!0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-c.scrollLeft*s.x+f.x+p.x,y:n.y*s.y-c.scrollTop*s.y+f.y+p.y}},getDocumentElement:A.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,a=[..."clippingAncestors"===n?(0,A.Tf)(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,A.v9)(e,[],!1).filter(e=>(0,A.vq)(e)&&"body"!==(0,A.mq)(e)),o=null,i="fixed"===(0,A.L9)(e).position,l=i?(0,A.$4)(e):e;for(;(0,A.vq)(l)&&!(0,A.eu)(l);){let t=(0,A.L9)(l),n=(0,A.sQ)(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,A.ZU)(l)&&!n&&function e(t,n){let r=(0,A.$4)(t);return!(r===n||!(0,A.vq)(r)||(0,A.eu)(r))&&("fixed"===(0,A.L9)(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=(0,A.$4)(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],u=a[0],c=a.reduce((e,n)=>{let r=W(t,n,l);return e.top=i(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=i(r.left,e.left),e},W(t,u,l));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:B,getElementRects:_,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=L(e);return{width:t,height:n}},getScale:T,isElement:A.vq,isRTL:function(e){return"rtl"===(0,A.L9)(e).direction}};function q(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function H(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:u=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=S(e),m=u||c?[...p?(0,A.v9)(p):[],...(0,A.v9)(t)]:[];m.forEach(e=>{u&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)});let v=p&&f?function(e,t){let n,r=null,l=(0,A.ep)(e);function u(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function c(s,f){void 0===s&&(s=!1),void 0===f&&(f=1),u();let d=e.getBoundingClientRect(),{left:p,top:m,width:v,height:h}=d;if(s||t(),!v||!h)return;let g=a(m),y=a(l.clientWidth-(p+v)),b={rootMargin:-g+"px "+-y+"px "+-a(l.clientHeight-(m+h))+"px "+-a(p)+"px",threshold:i(0,o(1,f))||1},w=!0;function E(t){let r=t[0].intersectionRatio;if(r!==f){if(!w)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||q(d,e.getBoundingClientRect())||c(),w=!1}try{r=new IntersectionObserver(E,{...b,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(E,b)}r.observe(e)}(!0),u}(p,n):null,h=-1,g=null;s&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&(g.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!d&&g.observe(p),g.observe(t));let y=d?P(e):null;return d&&function t(){let r=P(e);y&&!q(y,r)&&n(),y=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{u&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==v||v(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(l)}}let V=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:l,middlewareData:a}=t,u=await O(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:l}}}}},z=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:l}=t,{mainAxis:a=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=f(e,t),p={x:n,y:r},v=await C(t,s),g=h(d(l)),y=m(g),b=p[y],w=p[g];if(a){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=b+v[e],r=b-v[t];b=i(n,o(b,r))}if(u){let e="y"===g?"top":"left",t="y"===g?"bottom":"right",n=w+v[e],r=w-v[t];w=i(n,o(w,r))}let E=c.fn({...t,[y]:b,[g]:w});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[y]:a,[g]:u}}}}}},$=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,i,l;let{placement:a,middlewareData:u,rects:c,initialPlacement:s,platform:b,elements:w}=t,{mainAxis:E=!0,crossAxis:x=!0,fallbackPlacements:R,fallbackStrategy:N="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:A=!0,...L}=f(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let S=d(a),T=h(s),k=d(s)===s,D=await (null==b.isRTL?void 0:b.isRTL(w.floating)),P=R||(k||!A?[y(s)]:function(e){let t=y(e);return[g(e),t,g(t)]}(s)),j="none"!==O;!R&&j&&P.push(...function(e,t,n,r){let o=p(e),i=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(d(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(g)))),i}(s,A,O,D));let M=[s,...P],W=await C(t,L),F=[],I=(null==(r=u.flip)?void 0:r.overflows)||[];if(E&&F.push(W[S]),x){let e=function(e,t,n){void 0===n&&(n=!1);let r=p(e),o=m(h(e)),i=v(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=y(l)),[l,y(l)]}(a,c,D);F.push(W[e[0]],W[e[1]])}if(I=[...I,{placement:a,overflows:F}],!F.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=M[e];if(t)return{data:{index:e,overflows:I},reset:{placement:t}};let n=null==(i=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(N){case"bestFit":{let e=null==(l=I.filter(e=>{if(j){let t=h(e.placement);return t===T||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}},Z=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let l,a,{placement:u,rects:c,platform:s,elements:m}=t,{apply:v=()=>{},...g}=f(e,t),y=await C(t,g),b=d(u),w=p(u),E="y"===h(u),{width:x,height:R}=c.floating;"top"===b||"bottom"===b?(l=b,a=w===(await (null==s.isRTL?void 0:s.isRTL(m.floating))?"start":"end")?"left":"right"):(a=b,l="end"===w?"top":"bottom");let N=R-y.top-y.bottom,O=x-y.left-y.right,A=o(R-y[l],N),L=o(x-y[a],O),S=!t.middlewareData.shift,T=A,k=L;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(k=O),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(T=N),S&&!w){let e=i(y.left,0),t=i(y.right,0),n=i(y.top,0),r=i(y.bottom,0);E?k=x-2*(0!==e||0!==t?e+t:i(y.left,y.right)):T=R-2*(0!==n||0!==r?n+r:i(y.top,y.bottom))}await v({...t,availableWidth:k,availableHeight:T});let D=await s.getDimensions(m.floating);return x!==D.width||R!==D.height?{reset:{rects:!0}}:{}}}},X=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=f(e,t);switch(r){case"referenceHidden":{let e=R(await C(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:N(e)}}}case"escaped":{let e=R(await C(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:N(e)}}}default:return{}}}}},Y=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:a,platform:u,elements:c,middlewareData:s}=t,{element:d,padding:g=0}=f(e,t)||{};if(null==d)return{};let y=b(g),w={x:n,y:r},E=m(h(l)),x=v(E),C=await u.getDimensions(d),R="y"===E,N=R?"clientHeight":"clientWidth",O=a.reference[x]+a.reference[E]-w[E]-a.floating[x],A=w[E]-a.reference[E],L=await (null==u.getOffsetParent?void 0:u.getOffsetParent(d)),S=L?L[N]:0;S&&await (null==u.isElement?void 0:u.isElement(L))||(S=c.floating[N]||a.floating[x]);let T=S/2-C[x]/2-1,k=o(y[R?"top":"left"],T),D=o(y[R?"bottom":"right"],T),P=S-C[x]-D,j=S/2-C[x]/2+(O/2-A/2),M=i(k,o(j,P)),W=!s.arrow&&null!=p(l)&&j!==M&&a.reference[x]/2-(jn&&(g=n)}if(c){var E,x;let e="y"===v?"width":"height",t=["top","left"].includes(d(o)),n=i.reference[p]-i.floating[e]+(t&&(null==(E=l.offset)?void 0:E[p])||0)+(t?0:w.crossAxis),r=i.reference[p]+i.reference[e]+(t?0:(null==(x=l.offset)?void 0:x[p])||0)-(t?w.crossAxis:0);yr&&(y=r)}return{[v]:g,[p]:y}}}},K=(e,t,n)=>{let r=new Map,o={platform:U,...n},i={...o.platform,_c:r};return x(e,t,{...o,platform:i})}},84945:(e,t,n)=>{n.d(t,{BN:()=>m,ER:()=>v,Ej:()=>g,UE:()=>b,UU:()=>h,cY:()=>p,jD:()=>y,we:()=>f});var r=n(76492),o=n(12115),i=n(47650),l="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function a(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!a(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!a(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function u(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c(e,t){let n=u(e);return Math.round(t*n)/n}function s(e){let t=o.useRef(e);return l(()=>{t.current=e}),t}function f(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:f=[],platform:d,elements:{reference:p,floating:m}={},transform:v=!0,whileElementsMounted:h,open:g}=e,[y,b]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,E]=o.useState(f);a(w,f)||E(f);let[x,C]=o.useState(null),[R,N]=o.useState(null),O=o.useCallback(e=>{e!==T.current&&(T.current=e,C(e))},[]),A=o.useCallback(e=>{e!==k.current&&(k.current=e,N(e))},[]),L=p||x,S=m||R,T=o.useRef(null),k=o.useRef(null),D=o.useRef(y),P=null!=h,j=s(h),M=s(d),W=s(g),F=o.useCallback(()=>{if(!T.current||!k.current)return;let e={placement:t,strategy:n,middleware:w};M.current&&(e.platform=M.current),(0,r.rD)(T.current,k.current,e).then(e=>{let t={...e,isPositioned:!1!==W.current};I.current&&!a(D.current,t)&&(D.current=t,i.flushSync(()=>{b(t)}))})},[w,t,n,M,W]);l(()=>{!1===g&&D.current.isPositioned&&(D.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[g]);let I=o.useRef(!1);l(()=>(I.current=!0,()=>{I.current=!1}),[]),l(()=>{if(L&&(T.current=L),S&&(k.current=S),L&&S){if(j.current)return j.current(L,S,F);F()}},[L,S,F,j,P]);let B=o.useMemo(()=>({reference:T,floating:k,setReference:O,setFloating:A}),[O,A]),_=o.useMemo(()=>({reference:L,floating:S}),[L,S]),U=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!_.floating)return e;let t=c(_.floating,y.x),r=c(_.floating,y.y);return v?{...e,transform:"translate("+t+"px, "+r+"px)",...u(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,v,_.floating,y.x,y.y]);return o.useMemo(()=>({...y,update:F,refs:B,elements:_,floatingStyles:U}),[y,F,B,_,U])}let d=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?(0,r.UE)({element:n.current,padding:o}).fn(t):{}:n?(0,r.UE)({element:n,padding:o}).fn(t):{}}}),p=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),m=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),v=(e,t)=>({...(0,r.ER)(e),options:[e,t]}),h=(e,t)=>({...(0,r.UU)(e),options:[e,t]}),g=(e,t)=>({...(0,r.Ej)(e),options:[e,t]}),y=(e,t)=>({...(0,r.jD)(e),options:[e,t]}),b=(e,t)=>({...d(e),options:[e,t]})},85185:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},86301:(e,t,n)=>{function r(){return"undefined"!=typeof window}function o(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function l(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return!!r()&&(e instanceof Node||e instanceof i(e).Node)}function u(e){return!!r()&&(e instanceof Element||e instanceof i(e).Element)}function c(e){return!!r()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function s(e){return!!r()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function f(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function d(e){return["table","td","th"].includes(o(e))}function p(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function m(e){let t=h(),n=u(e)?y(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function v(e){let t=w(e);for(;c(t)&&!g(t);){if(m(t))return t;if(p(t))break;t=w(t)}return null}function h(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function g(e){return["html","body","#document"].includes(o(e))}function y(e){return i(e).getComputedStyle(e)}function b(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function w(e){if("html"===o(e))return e;let t=e.assignedSlot||e.parentNode||s(e)&&e.host||l(e);return s(t)?t.host:t}function E(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}n.d(t,{$4:()=>w,CP:()=>b,L9:()=>y,Lv:()=>d,Tc:()=>h,Tf:()=>p,ZU:()=>f,_m:()=>E,ep:()=>l,eu:()=>g,gJ:()=>v,mq:()=>o,sQ:()=>m,sb:()=>c,v9:()=>function e(t,n,r){var o;void 0===n&&(n=[]),void 0===r&&(r=!0);let l=function e(t){let n=w(t);return g(n)?t.ownerDocument?t.ownerDocument.body:t.body:c(n)&&f(n)?n:e(n)}(t),a=l===(null==(o=t.ownerDocument)?void 0:o.body),u=i(l);if(a){let t=E(u);return n.concat(u,u.visualViewport||[],f(l)?l:[],t&&r?e(t):[])}return n.concat(l,e(l,[],r))},vq:()=>u,zk:()=>i})},92293:(e,t,n)=>{n.d(t,{Oh:()=>i});var r=n(12115),o=0;function i(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:l()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:l()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function l(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},94315:(e,t,n)=>{n.d(t,{jH:()=>i});var r=n(12115);n(95155);var o=r.createContext(void 0);function i(e){let t=r.useContext(o);return e||t||"ltr"}},99708:(e,t,n)=>{n.d(t,{DX:()=>l});var r=n(12115),o=n(6101),i=n(95155),l=r.forwardRef((e,t)=>{let{children:n,...o}=e,l=r.Children.toArray(n),u=l.find(c);if(u){let e=u.props.children,n=l.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,i.jsx)(a,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,i.jsx)(a,{...o,ref:t,children:n})});l.displayName="Slot";var a=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n),l=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(i,n.props);return n.type!==r.Fragment&&(l.ref=t?(0,o.t)(t,e):e),r.cloneElement(n,l)}return r.Children.count(n)>1?r.Children.only(null):null});a.displayName="SlotClone";var u=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});function c(e){return r.isValidElement(e)&&e.type===u}}}]); \ No newline at end of file diff --git a/.next/static/chunks/6794-a2e8ddbac34c56ab.js b/.next/static/chunks/6794-a2e8ddbac34c56ab.js new file mode 100644 index 00000000..f7eeba1a --- /dev/null +++ b/.next/static/chunks/6794-a2e8ddbac34c56ab.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6794],{6101:(e,r,t)=>{t.d(r,{s:()=>o,t:()=>l});var n=t(12115);function a(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function l(...e){return r=>{let t=!1,n=e.map(e=>{let n=a(e,r);return t||"function"!=typeof n||(t=!0),n});if(t)return()=>{for(let r=0;r{t.d(r,{A:()=>u});var n=t(12115);let a=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l=function(){for(var e=arguments.length,r=Array(e),t=0;t!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,n.forwardRef)((e,r)=>{let{color:t="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:u,className:d="",children:s,iconNode:c,...f}=e;return(0,n.createElement)("svg",{ref:r,...o,width:a,height:a,stroke:t,strokeWidth:u?24*Number(i)/Number(a):i,className:l("lucide",d),...f},[...c.map(e=>{let[r,t]=e;return(0,n.createElement)(r,t)}),...Array.isArray(s)?s:[s]])}),u=(e,r)=>{let t=(0,n.forwardRef)((t,o)=>{let{className:u,...d}=t;return(0,n.createElement)(i,{ref:o,iconNode:r,className:l("lucide-".concat(a(e)),u),...d})});return t.displayName="".concat(e),t}},21380:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(19946).A)("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"}]])},28883:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(19946).A)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},35695:(e,r,t)=>{var n=t(18999);t.o(n,"redirect")&&t.d(r,{redirect:function(){return n.redirect}}),t.o(n,"useParams")&&t.d(r,{useParams:function(){return n.useParams}}),t.o(n,"usePathname")&&t.d(r,{usePathname:function(){return n.usePathname}}),t.o(n,"useRouter")&&t.d(r,{useRouter:function(){return n.useRouter}}),t.o(n,"useSearchParams")&&t.d(r,{useSearchParams:function(){return n.useSearchParams}})},39033:(e,r,t)=>{t.d(r,{c:()=>a});var n=t(12115);function a(e){let r=n.useRef(e);return n.useEffect(()=>{r.current=e}),n.useMemo(()=>(...e)=>r.current?.(...e),[])}},44362:(e,r,t)=>{t.d(r,{H4:()=>A,_V:()=>x,bL:()=>w});var n=t(12115),a=t(46081),l=t(39033),o=t(52712);t(47650);var i=t(99708),u=t(95155),d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,r)=>{let t=n.forwardRef((e,t)=>{let{asChild:n,...a}=e,l=n?i.DX:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(l,{...a,ref:t})});return t.displayName=`Primitive.${r}`,{...e,[r]:t}},{}),s="Avatar",[c,f]=(0,a.A)(s),[m,p]=c(s),h=n.forwardRef((e,r)=>{let{__scopeAvatar:t,...a}=e,[l,o]=n.useState("idle");return(0,u.jsx)(m,{scope:t,imageLoadingStatus:l,onImageLoadingStatusChange:o,children:(0,u.jsx)(d.span,{...a,ref:r})})});h.displayName=s;var y="AvatarImage",v=n.forwardRef((e,r)=>{let{__scopeAvatar:t,src:a,onLoadingStatusChange:i=()=>{},...s}=e,c=p(y,t),f=function(e,r){let[t,a]=n.useState("idle");return(0,o.N)(()=>{if(!e)return void a("error");let t=!0,n=new window.Image,l=e=>()=>{t&&a(e)};return a("loading"),n.onload=l("loaded"),n.onerror=l("error"),n.src=e,r&&(n.referrerPolicy=r),()=>{t=!1}},[e,r]),t}(a,s.referrerPolicy),m=(0,l.c)(e=>{i(e),c.onImageLoadingStatusChange(e)});return(0,o.N)(()=>{"idle"!==f&&m(f)},[f,m]),"loaded"===f?(0,u.jsx)(d.img,{...s,ref:r,src:a}):null});v.displayName=y;var k="AvatarFallback",g=n.forwardRef((e,r)=>{let{__scopeAvatar:t,delayMs:a,...l}=e,o=p(k,t),[i,s]=n.useState(void 0===a);return n.useEffect(()=>{if(void 0!==a){let e=window.setTimeout(()=>s(!0),a);return()=>window.clearTimeout(e)}},[a]),i&&"loaded"!==o.imageLoadingStatus?(0,u.jsx)(d.span,{...l,ref:r}):null});g.displayName=k;var w=h,x=v,A=g},46081:(e,r,t)=>{t.d(r,{A:()=>o,q:()=>l});var n=t(12115),a=t(95155);function l(e,r){let t=n.createContext(r),l=e=>{let{children:r,...l}=e,o=n.useMemo(()=>l,Object.values(l));return(0,a.jsx)(t.Provider,{value:o,children:r})};return l.displayName=e+"Provider",[l,function(a){let l=n.useContext(t);if(l)return l;if(void 0!==r)return r;throw Error(`\`${a}\` must be used within \`${e}\``)}]}function o(e,r=[]){let t=[],l=()=>{let r=t.map(e=>n.createContext(e));return function(t){let a=t?.[e]||r;return n.useMemo(()=>({[`__scope${e}`]:{...t,[e]:a}}),[t,a])}};return l.scopeName=e,[function(r,l){let o=n.createContext(l),i=t.length;t=[...t,l];let u=r=>{let{scope:t,children:l,...u}=r,d=t?.[e]?.[i]||o,s=n.useMemo(()=>u,Object.values(u));return(0,a.jsx)(d.Provider,{value:s,children:l})};return u.displayName=r+"Provider",[u,function(t,a){let u=a?.[e]?.[i]||o,d=n.useContext(u);if(d)return d;if(void 0!==l)return l;throw Error(`\`${t}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let a=t.reduce((r,{useScope:t,scopeName:n})=>{let a=t(e)[`__scope${n}`];return{...r,...a}},{});return n.useMemo(()=>({[`__scope${r.scopeName}`]:a}),[a])}};return t.scopeName=r.scopeName,t}(l,...r)]}},51154:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(19946).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},52712:(e,r,t)=>{t.d(r,{N:()=>a});var n=t(12115),a=globalThis?.document?n.useLayoutEffect:()=>{}},53904:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(19946).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},66516:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(19946).A)("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]])},69074:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(19946).A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},74466:(e,r,t)=>{t.d(r,{F:()=>o});var n=t(52596);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=n.$,o=(e,r)=>t=>{var n;if((null==r?void 0:r.variants)==null)return l(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:o,defaultVariants:i}=r,u=Object.keys(o).map(e=>{let r=null==t?void 0:t[e],n=null==i?void 0:i[e];if(null===r)return null;let l=a(r)||a(n);return o[e][l]}),d=t&&Object.entries(t).reduce((e,r)=>{let[t,n]=r;return void 0===n||(e[t]=n),e},{});return l(e,u,null==r||null==(n=r.compoundVariants)?void 0:n.reduce((e,r)=>{let{class:t,className:n,...a}=r;return Object.entries(a).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...i,...d}[r]):({...i,...d})[r]===t})?[...e,t,n]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}},81497:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(19946).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},93840:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(19946).A)("Telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]])},97362:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(19946).A)("MailOpen",[["path",{d:"M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0l8 6Z",key:"1jhwl8"}],["path",{d:"m22 10-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10",key:"1qfld7"}]])},99708:(e,r,t)=>{t.d(r,{DX:()=>o});var n=t(12115),a=t(6101),l=t(95155),o=n.forwardRef((e,r)=>{let{children:t,...a}=e,o=n.Children.toArray(t),u=o.find(d);if(u){let e=u.props.children,t=o.map(r=>r!==u?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,l.jsx)(i,{...a,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,l.jsx)(i,{...a,ref:r,children:t})});o.displayName="Slot";var i=n.forwardRef((e,r)=>{let{children:t,...l}=e;if(n.isValidElement(t)){let e=function(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(t),o=function(e,r){let t={...r};for(let n in r){let a=e[n],l=r[n];/^on[A-Z]/.test(n)?a&&l?t[n]=(...e)=>{l(...e),a(...e)}:a&&(t[n]=a):"style"===n?t[n]={...a,...l}:"className"===n&&(t[n]=[a,l].filter(Boolean).join(" "))}return{...e,...t}}(l,t.props);return t.type!==n.Fragment&&(o.ref=r?(0,a.t)(r,e):e),n.cloneElement(t,o)}return n.Children.count(t)>1?n.Children.only(null):null});i.displayName="SlotClone";var u=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function d(e){return n.isValidElement(e)&&e.type===u}}}]); \ No newline at end of file diff --git a/.next/static/chunks/6874-42da063febda029b.js b/.next/static/chunks/6874-42da063febda029b.js new file mode 100644 index 00000000..5923732b --- /dev/null +++ b/.next/static/chunks/6874-42da063febda029b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6874],{6654:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=r(12115);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6874:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return g},useLinkStatus:function(){return b}});let n=r(6966),o=r(95155),u=n._(r(12115)),i=r(82757),a=r(95227),l=r(69818),f=r(6654),c=r(69991),s=r(85929);r(43230);let p=r(24930),d=r(92664),h=r(6634);function y(e){return"string"==typeof e?e:(0,i.formatUrl)(e)}function g(e){let t,r,n,[i,g]=(0,u.useOptimistic)(p.IDLE_LINK_STATUS),b=(0,u.useRef)(null),{href:P,as:_,children:v,prefetch:E=null,passHref:O,replace:j,shallow:T,scroll:C,onClick:N,onMouseEnter:S,onTouchStart:A,legacyBehavior:L=!1,onNavigate:x,ref:M,unstable_dynamicOnHover:U,...R}=e;t=v,L&&("string"==typeof t||"number"==typeof t)&&(t=(0,o.jsx)("a",{children:t}));let k=u.default.useContext(a.AppRouterContext),I=!1!==E,w=null===E?l.PrefetchKind.AUTO:l.PrefetchKind.FULL,{href:D,as:F}=u.default.useMemo(()=>{let e=y(P);return{href:e,as:_?y(_):e}},[P,_]);L&&(r=u.default.Children.only(t));let K=L?r&&"object"==typeof r&&r.ref:M,B=u.default.useCallback(e=>(null!==k&&(b.current=(0,p.mountLinkInstance)(e,D,k,w,I,g)),()=>{b.current&&((0,p.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,p.unmountPrefetchableInstance)(e)}),[I,D,k,w,g]),z={ref:(0,f.useMergedRef)(B,K),onClick(e){L||"function"!=typeof N||N(e),L&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),k&&(e.defaultPrevented||function(e,t,r,n,o,i,a){let{nodeName:l}=e.currentTarget;if(!("A"===l.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,d.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}e.preventDefault(),u.default.startTransition(()=>{if(a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}(0,h.dispatchNavigateAction)(r||t,o?"replace":"push",null==i||i,n.current)})}}(e,D,F,b,j,C,x))},onMouseEnter(e){L||"function"!=typeof S||S(e),L&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),k&&I&&(0,p.onNavigationIntent)(e.currentTarget,!0===U)},onTouchStart:function(e){L||"function"!=typeof A||A(e),L&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),k&&I&&(0,p.onNavigationIntent)(e.currentTarget,!0===U)}};return(0,c.isAbsoluteUrl)(F)?z.href=F:L&&!O&&("a"!==r.type||"href"in r.props)||(z.href=(0,s.addBasePath)(F)),n=L?u.default.cloneElement(r,z):(0,o.jsx)("a",{...R,...z,children:t}),(0,o.jsx)(m.Provider,{value:i,children:n})}r(73180);let m=(0,u.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,u.useContext)(m);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69991:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return m},NormalizeError:function(){return y},PageNotFoundError:function(){return g},SP:function(){return p},ST:function(){return d},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return i},getURL:function(){return a},isAbsoluteUrl:function(){return u},isResSent:function(){return f},loadGetInitialProps:function(){return s},normalizeRepeatedSlashes:function(){return c},stringifyError:function(){return P}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),u=0;uo.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function a(){let{href:e}=window.location,t=i();return e.substring(t.length)}function l(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function c(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function s(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await s(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&f(r))return n;if(!n)throw Object.defineProperty(Error('"'+l(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let p="undefined"!=typeof performance,d=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class y extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class m extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},73180:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},78859:(e,t)=>{function r(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function n(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,o]of Object.entries(e))if(Array.isArray(o))for(let e of o)t.append(r,n(e));else t.set(r,n(o));return t}function u(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return u},formatWithValidation:function(){return a},urlObjectKeys:function(){return i}});let n=r(6966)._(r(78859)),o=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:r}=e,u=e.protocol||"",i=e.pathname||"",a=e.hash||"",l=e.query||"",f=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?f=t+e.host:r&&(f=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(f+=":"+e.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return u&&!u.endsWith(":")&&(u+=":"),e.slashes||(!u||o.test(u))&&!1!==f?(f="//"+(f||""),i&&"/"!==i[0]&&(i="/"+i)):f||(f=""),a&&"#"!==a[0]&&(a="#"+a),c&&"?"!==c[0]&&(c="?"+c),""+u+f+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+a}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(e){return u(e)}},92664:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=r(69991),o=r(87102);function u(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}}}]); \ No newline at end of file diff --git a/.next/static/chunks/7165-5ea997da5f342c9d.js b/.next/static/chunks/7165-5ea997da5f342c9d.js new file mode 100644 index 00000000..a2f6fe28 --- /dev/null +++ b/.next/static/chunks/7165-5ea997da5f342c9d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7165],{17580:(e,r,s)=>{s.d(r,{A:()=>a});let a=(0,s(19946).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},67165:(e,r,s)=>{s.d(r,{GroupsTable:()=>b});var a=s(95155),t=s(12115),i=s(88524),c=s(97168),o=s(89852),l=s(84616),n=s(5623),d=s(13717),m=s(17580),u=s(74126),h=s(99840),g=s(67133),x=s(82714),p=s(14503);function y(e){let{open:r,onOpenChange:s,onAfterClose:i,triggerComponent:c,children:o,className:l}=e,n=(0,t.useCallback)(e=>{s(e),!e&&i&&setTimeout(i,300)},[s,i]);return(0,a.jsxs)(h.lG,{open:r,onOpenChange:n,children:[c&&(0,a.jsx)(h.zM,{asChild:!0,children:c}),(0,a.jsx)(h.Cf,{className:l,children:o})]})}function b(e){let{userRole:r=[]}=e,[s,b]=(0,t.useState)([]),[j,f]=(0,t.useState)(!0),[N,v]=(0,t.useState)(""),[w,C]=(0,t.useState)(!1),[E,k]=(0,t.useState)(""),[A,L]=(0,t.useState)(!1),[S,R]=(0,t.useState)(null),[M,O]=(0,t.useState)(""),[T,F]=(0,t.useState)(!1),[G,U]=(0,t.useState)([]),[_,$]=(0,t.useState)([]);(0,t.useEffect)(()=>{J()},[]);let J=async()=>{try{f(!0);let e=await fetch("/api/groups"),r=await e.json();if(!e.ok)throw Error(r.message||"Erreur lors de la r\xe9cup\xe9ration des groupes");let s=await Promise.all((Array.isArray(r)?r:[]).map(async e=>{try{let r=await fetch("/api/groups/".concat(e.id,"/members"));if(r.ok){let s=await r.json();return{...e,membersCount:Array.isArray(s)?s.length:0}}return e}catch(r){return console.error("Error fetching members for group ".concat(e.id,":"),r),e}}));b(s)}catch(e){(0,p.oR)({title:"Erreur",description:e instanceof Error?e.message:"Une erreur est survenue",variant:"destructive"})}finally{f(!1)}},P=async()=>{try{if(!E.trim())throw Error("Le nom du groupe est requis");let e=await fetch("/api/groups",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:E})}),r=await e.json();if(!e.ok)throw Error(r.message||"Erreur lors de la cr\xe9ation du groupe");b(e=>[...e,r]),C(!1),k(""),(0,p.oR)({title:"Succ\xe8s",description:"Le groupe a \xe9t\xe9 cr\xe9\xe9 avec succ\xe8s"})}catch(e){(0,p.oR)({title:"Erreur",description:e instanceof Error?e.message:"Une erreur est survenue",variant:"destructive"})}},z=async e=>{try{if(!(await fetch("/api/groups/".concat(e),{method:"DELETE"})).ok)throw Error("Erreur lors de la suppression du groupe");b(r=>r.filter(r=>r.id!==e)),(0,p.oR)({title:"Succ\xe8s",description:"Le groupe a \xe9t\xe9 supprim\xe9 avec succ\xe8s"})}catch(e){(0,p.oR)({title:"Erreur",description:e instanceof Error?e.message:"Une erreur est survenue",variant:"destructive"})}},q=async e=>{try{let r=s.find(r=>r.id===e);if(!r)return;R(r),O(r.name),L(!0)}catch(e){(0,p.oR)({title:"Erreur",description:e instanceof Error?e.message:"Une erreur est survenue",variant:"destructive"})}},H=async()=>{try{if(!S||!M.trim())throw Error("Le nom du groupe est requis");if(!(await fetch("/api/groups/".concat(S.id),{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:M})})).ok)throw Error("Erreur lors de la modification du groupe");b(e=>e.map(e=>e.id===S.id?{...e,name:M}:e)),L(!1),R(null),O(""),(0,p.oR)({title:"Succ\xe8s",description:"Le groupe a \xe9t\xe9 modifi\xe9 avec succ\xe8s"})}catch(e){(0,p.oR)({title:"Erreur",description:e instanceof Error?e.message:"Une erreur est survenue",variant:"destructive"})}},B=async e=>{let r=s.find(r=>r.id===e);if(r){R(r);try{let r=await fetch("/api/groups/".concat(e,"/members"));if(!r.ok)throw Error("Failed to fetch group members");let s=await r.json();U(s),b(r=>r.map(r=>r.id===e?{...r,membersCount:s.length}:r));let a=await fetch("/api/users");if(!a.ok)throw Error("Failed to fetch users");let t=await a.json();$(t.filter(e=>!s.some(r=>r.id===e.id))),F(!0)}catch(e){(0,p.oR)({title:"Erreur",description:"Erreur lors de la r\xe9cup\xe9ration des membres",variant:"destructive"})}}},D=async e=>{if(S)try{if(!(await fetch("/api/groups/".concat(S.id,"/members"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:e})})).ok)throw Error("Failed to add member");let r=_.find(r=>r.id===e);r&&(U(e=>[...e,r]),$(r=>r.filter(r=>r.id!==e))),b(e=>e.map(e=>e.id===S.id?{...e,membersCount:e.membersCount+1}:e)),(0,p.oR)({title:"Success",description:"Member added successfully"})}catch(e){(0,p.oR)({title:"Error",description:e instanceof Error?e.message:"An error occurred",variant:"destructive"})}},I=async e=>{if(S)try{if(!(await fetch("/api/groups/".concat(S.id,"/members/").concat(e),{method:"DELETE"})).ok)throw Error("Failed to remove member");let r=G.find(r=>r.id===e);r&&(U(r=>r.filter(r=>r.id!==e)),$(e=>[...e,r])),b(e=>e.map(e=>e.id===S.id?{...e,membersCount:Math.max(0,e.membersCount-1)}:e)),(0,p.oR)({title:"Success",description:"Member removed successfully"})}catch(e){(0,p.oR)({title:"Error",description:e instanceof Error?e.message:"An error occurred",variant:"destructive"})}},Q=(0,t.useCallback)(()=>{k("")},[]),X=(0,t.useCallback)(()=>{R(null),O("")},[]),K=(0,t.useCallback)(()=>{R(null),U([]),$([])},[]);return j?(0,a.jsx)("div",{className:"text-center p-4",children:"Loading..."}):(0,a.jsxs)("div",{className:"space-y-4 p-6 bg-gray-100 rounded-lg",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)(o.p,{type:"text",placeholder:"Rechercher un groupe...",value:N,onChange:e=>v(e.target.value),className:"max-w-xs bg-white text-gray-900 border-gray-300"}),(0,a.jsxs)(y,{open:w,onOpenChange:C,onAfterClose:Q,triggerComponent:(0,a.jsxs)(c.$,{className:"bg-blue-600 hover:bg-blue-700 text-white",children:[(0,a.jsx)(l.A,{className:"mr-2 h-4 w-4"})," Ajouter un groupe"]}),className:"bg-white text-black border border-gray-300",children:[(0,a.jsx)(h.c7,{children:(0,a.jsx)(h.L3,{className:"text-gray-900",children:"Nouveau Groupe"})}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(x.J,{htmlFor:"groupName",className:"text-gray-900",children:"Nom du groupe"}),(0,a.jsx)(o.p,{id:"groupName",value:E,onChange:e=>k(e.target.value),placeholder:"Entrez le nom du groupe",className:"bg-white text-gray-900 border-gray-300"})]}),(0,a.jsx)(c.$,{onClick:P,className:"w-full bg-blue-600 hover:bg-blue-700 text-white",children:"Cr\xe9er le groupe"})]})]})]}),(0,a.jsxs)(i.XI,{className:"bg-white border border-gray-300 rounded-md",children:[(0,a.jsx)(i.A0,{className:"bg-gray-50",children:(0,a.jsxs)(i.Hj,{children:[(0,a.jsx)(i.nd,{className:"text-gray-900",children:"Nom"}),(0,a.jsx)(i.nd,{className:"text-gray-900",children:"Chemin"}),(0,a.jsx)(i.nd,{className:"text-gray-900",children:"Membres"}),(0,a.jsx)(i.nd,{className:"text-right text-gray-900",children:"Actions"})]})}),(0,a.jsx)(i.BF,{children:s.filter(e=>e.name.toLowerCase().includes(N.toLowerCase())||e.path.toLowerCase().includes(N.toLowerCase())).map(e=>(0,a.jsxs)(i.Hj,{className:"hover:bg-gray-50 border-t border-gray-200",children:[(0,a.jsx)(i.nA,{className:"text-gray-900 font-medium",children:e.name}),(0,a.jsx)(i.nA,{className:"text-gray-900",children:e.path}),(0,a.jsx)(i.nA,{className:"text-gray-900",children:e.membersCount}),(0,a.jsx)(i.nA,{className:"text-right",children:(0,a.jsxs)(g.rI,{children:[(0,a.jsx)(g.ty,{asChild:!0,children:(0,a.jsxs)(c.$,{variant:"ghost",className:"h-8 w-8 p-0",children:[(0,a.jsx)("span",{className:"sr-only",children:"Open menu"}),(0,a.jsx)(n.A,{className:"h-4 w-4"})]})}),(0,a.jsxs)(g.SQ,{align:"end",className:"bg-white border border-gray-300",children:[(0,a.jsx)(g.lp,{className:"text-gray-900",children:"Actions"}),(0,a.jsxs)(g._2,{onClick:()=>q(e.id),className:"text-gray-900 hover:bg-gray-100",children:[(0,a.jsx)(d.A,{className:"mr-2 h-4 w-4"}),"Modifier"]}),(0,a.jsxs)(g._2,{onClick:()=>B(e.id),className:"text-gray-900 hover:bg-gray-100",children:[(0,a.jsx)(m.A,{className:"mr-2 h-4 w-4"}),"G\xe9rer les membres"]}),(0,a.jsx)(g.mB,{}),(0,a.jsxs)(g._2,{onClick:()=>z(e.id),className:"text-red-600 hover:bg-red-50 hover:text-red-700",children:[(0,a.jsx)(u.A,{className:"mr-2 h-4 w-4"}),"Supprimer"]})]})]})})]},e.id))})]}),(0,a.jsxs)(y,{open:A,onOpenChange:L,onAfterClose:X,className:"bg-white text-black border border-gray-300",children:[(0,a.jsx)(h.c7,{children:(0,a.jsx)(h.L3,{className:"text-gray-900",children:"Modifier le groupe"})}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(x.J,{htmlFor:"modifiedGroupName",className:"text-gray-900",children:"Nom du groupe"}),(0,a.jsx)(o.p,{id:"modifiedGroupName",value:M,onChange:e=>O(e.target.value),className:"bg-white text-gray-900 border-gray-300",autoFocus:!0})]}),(0,a.jsx)(c.$,{onClick:H,className:"w-full bg-blue-600 hover:bg-blue-700 text-white",children:"Mettre \xe0 jour"})]})]}),(0,a.jsxs)(y,{open:T,onOpenChange:F,onAfterClose:K,className:"sm:max-w-[600px] max-h-[90vh] overflow-y-auto bg-white text-black border border-gray-300",children:[(0,a.jsx)(h.c7,{children:(0,a.jsxs)(h.L3,{className:"text-gray-900",children:["G\xe9rer les membres - ",null==S?void 0:S.name]})}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-medium mb-2 text-gray-900",children:"Membres actuels"}),0===G.length?(0,a.jsx)("p",{className:"text-gray-600",children:"Ce groupe n'a pas de membres."}):(0,a.jsx)("div",{className:"space-y-2",children:G.map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between p-2 bg-gray-50 rounded-md border border-gray-200",children:[(0,a.jsxs)("div",{className:"text-gray-900",children:[(0,a.jsx)("div",{className:"font-medium",children:e.username}),(0,a.jsxs)("div",{className:"text-sm text-gray-600",children:[e.firstName," ",e.lastName," (",e.email,")"]})]}),(0,a.jsx)(c.$,{variant:"outline",size:"sm",onClick:()=>I(e.id),className:"text-red-600 hover:bg-red-50 hover:text-red-700 border-red-200",children:(0,a.jsx)(u.A,{className:"h-4 w-4"})})]},e.id))})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-medium mb-2 text-gray-900",children:"Ajouter des membres"}),(0,a.jsx)(o.p,{type:"text",placeholder:"Rechercher un utilisateur...",value:N,onChange:e=>v(e.target.value),className:"mb-2 bg-white text-gray-900 border-gray-300"}),(0,a.jsx)("div",{className:"space-y-2 max-h-[250px] overflow-y-auto",children:_.filter(e=>!G.some(r=>r.id===e.id)&&(e.username.toLowerCase().includes(N.toLowerCase())||e.email.toLowerCase().includes(N.toLowerCase())||e.firstName.toLowerCase().includes(N.toLowerCase())||e.lastName.toLowerCase().includes(N.toLowerCase()))).map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between p-2 bg-gray-50 rounded-md border border-gray-200",children:[(0,a.jsxs)("div",{className:"text-gray-900",children:[(0,a.jsx)("div",{className:"font-medium",children:e.username}),(0,a.jsxs)("div",{className:"text-sm text-gray-600",children:[e.firstName," ",e.lastName," (",e.email,")"]})]}),(0,a.jsx)(c.$,{variant:"outline",size:"sm",onClick:()=>D(e.id),className:"text-green-600 hover:bg-green-50 hover:text-green-700 border-green-200",children:(0,a.jsx)(l.A,{className:"h-4 w-4"})})]},e.id))})]})]})]})]})}},84616:(e,r,s)=>{s.d(r,{A:()=>a});let a=(0,s(19946).A)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])}}]); \ No newline at end of file diff --git a/.next/static/chunks/7192.a79c55d917a7065f.js b/.next/static/chunks/7192.a79c55d917a7065f.js new file mode 100644 index 00000000..e66a0286 --- /dev/null +++ b/.next/static/chunks/7192.a79c55d917a7065f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7192],{77192:(e,t,n)=>{n.r(t),n.d(t,{S3_CONFIG:()=>u,createUserFolderStructure:()=>w,deleteObject:()=>f,getObjectContent:()=>y,getPublicUrl:()=>b,listUserObjects:()=>h,putObject:()=>p,s3Client:()=>d,uploadMissionFile:()=>k});var c=n(34232),a=n(98939),r=n(95104),o=n(65677),s=n(43933),i=n(49509),l=n(44134).hp;let u={endpoint:"https://dome-api.slm-lab.net",region:"us-east-1",bucket:i.env.S3_BUCKET||"pages",accessKey:"4aBT4CMb7JIMMyUtp4Pl",secretKey:"HGn39XhCIlqOjmDVzRK9MED2Fci2rYvDDgbLFElg"},d=new c.Y({region:u.region,endpoint:u.endpoint,credentials:{accessKeyId:u.accessKey,secretAccessKey:u.secretKey},forcePathStyle:!0});async function p(e,t,n){let c=new a.w({Bucket:u.bucket,Key:e,Body:"string"==typeof t?l.from(t,"utf-8"):t,ContentType:n||"text/plain"});return await d.send(c),{key:e}}async function y(e){try{let t=new r.j({Bucket:u.bucket,Key:e}),n=await d.send(t);if(!n.Body)return null;let c=[];for await(let e of n.Body)c.push(e);return l.concat(c).toString("utf-8")}catch(e){return console.error("Error getting object content:",e),null}}async function f(e){let t=new o.k({Bucket:u.bucket,Key:e});await d.send(t)}async function h(e,t){let n="user-".concat(e,"/").concat(t,"/"),c=new s.u({Bucket:u.bucket,Prefix:n,Delimiter:"/"});return((await d.send(c)).Contents||[]).filter(e=>e.Key&&!e.Key.endsWith("/")&&!e.Key.includes(".placeholder")).map(e=>({key:e.Key,name:e.Key.split("/").pop()||e.Key,size:e.Size,lastModified:e.LastModified}))}function b(e,t){var n;if(!e)return"";if(e.startsWith("http"))return e;let c=e.startsWith("/")?e.substring(1):e,a=null==(n=u.endpoint)?void 0:n.replace(/\/$/,""),r=t||u.bucket;return a?"".concat(a,"/").concat(r,"/").concat(c):c}async function w(e){for(let t of["notes","diary","health","contacts"])try{let n="user-".concat(e,"/").concat(t,"/");await p(n,"","application/x-directory");let c="user-".concat(e,"/").concat(t,"/.placeholder");await p(c,"Folder placeholder","text/plain"),console.log("Created folder: ".concat(n))}catch(n){console.error("Error creating folder ".concat(t," for user ").concat(e,":"),n)}}async function k(e){let{missionId:t,file:n,type:c}=e,a=new FormData;a.append("missionId",t),a.append("type",c),a.append("file",n);let r=await fetch("/api/missions/upload",{method:"POST",body:a});return r.ok?{success:!0,data:await r.json()}:{success:!1,error:(await r.json().catch(()=>({}))).error||"Upload failed"}}}}]); \ No newline at end of file diff --git a/.next/static/chunks/7272-3459a923f3966a53.js b/.next/static/chunks/7272-3459a923f3966a53.js new file mode 100644 index 00000000..1b1a2b8f --- /dev/null +++ b/.next/static/chunks/7272-3459a923f3966a53.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7272],{381:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let i=(0,n(19946).A)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},1599:(e,t,n)=>{"use strict";n.d(t,{o:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in);return n.setHours(0,0,0,0),n}},5222:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var i=n(79447);function r(e,t,n){let[r,s]=(0,i.x)(null==n?void 0:n.in,e,t);return r.getFullYear()===s.getFullYear()&&r.getMonth()===s.getMonth()}},5461:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});var i=n(79447),r=n(16294);function s(e,t,n){let[s,a]=(0,i.x)(null==n?void 0:n.in,e,t);return 4*(s.getFullYear()-a.getFullYear())+((0,r.F)(s)-(0,r.F)(a))}},6455:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(63039),r=n(23327);function s(e,t,n){return(0,i.w)((null==n?void 0:n.in)||e,+(0,r.a)(e)+t)}},6942:(e,t,n)=>{"use strict";n.d(t,{qg:()=>ey});var i=n(45279),r=n(51220),s=n(33317),a=n(63039),o=n(50826),l=n(23327);class d{validate(e,t){return!0}constructor(){this.subPriority=0}}class c extends d{validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}constructor(e,t,n,i,r){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=i,r&&(this.subPriority=r)}}class u extends d{set(e,t){return t.timestampIsSet?e:(0,a.w)(e,function(e,t){var n,i;let r="function"==typeof(n=t)&&(null==(i=n.prototype)?void 0:i.constructor)===n?new t(0):(0,a.w)(t,0);return r.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),r.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),r}(e,this.context))}constructor(e,t){super(),this.priority=10,this.subPriority=-1,this.context=e||(e=>(0,a.w)(t,e))}}class h{run(e,t,n,i){let r=this.parse(e,t,n,i);return r?{setter:new c(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(e,t,n){return!0}}class f extends h{parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=140,this.incompatibleTokens=["R","u","t","T"]}}var g=n(44783);let p={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},m={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function v(e,t){return e?{value:t(e.value),rest:e.rest}:e}function b(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function y(e,t){let n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};let i="+"===n[1]?1:-1,r=n[2]?parseInt(n[2],10):0,s=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:i*(r*g.s0+s*g.Cg+a*g._m),rest:t.slice(n[0].length)}}function w(e){return b(p.anyDigitsSigned,e)}function _(e,t){switch(e){case 1:return b(p.singleDigit,t);case 2:return b(p.twoDigits,t);case 3:return b(p.threeDigits,t);case 4:return b(p.fourDigits,t);default:return b(RegExp("^\\d{1,"+e+"}"),t)}}function S(e,t){switch(e){case 1:return b(p.singleDigitSigned,t);case 2:return b(p.twoDigitsSigned,t);case 3:return b(p.threeDigitsSigned,t);case 4:return b(p.fourDigitsSigned,t);default:return b(RegExp("^-?\\d{1,"+e+"}"),t)}}function E(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function x(e,t){let n,i=t>0,r=i?t:1-t;if(r<=50)n=e||100;else{let t=r+50;n=e+100*Math.trunc(t/100)-100*(e>=t%100)}return i?n:1-n}function D(e){return e%400==0||e%4==0&&e%100!=0}class R extends h{parse(e,t,n){let i=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return v(_(4,e),i);case"yo":return v(n.ordinalNumber(e,{unit:"year"}),i);default:return v(_(t.length,e),i)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){let i=e.getFullYear();if(n.isTwoDigitYear){let t=x(n.year,i);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let r="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(r,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"]}}var T=n(35307),C=n(20735);class k extends h{parse(e,t,n){let i=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return v(_(4,e),i);case"Yo":return v(n.ordinalNumber(e,{unit:"year"}),i);default:return v(_(t.length,e),i)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,i){let r=(0,T.h)(e,i);if(n.isTwoDigitYear){let t=x(n.year,r);return e.setFullYear(t,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),(0,C.k)(e,i)}let s="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(s,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),(0,C.k)(e,i)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}}var M=n(52372);class P extends h{parse(e,t){return"R"===t?S(4,e):S(t.length,e)}set(e,t,n){let i=(0,a.w)(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),(0,M.b)(i)}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}}class O extends h{parse(e,t){return"u"===t?S(4,e):S(t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=130,this.incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}}class H extends h{parse(e,t,n){switch(t){case"Q":case"QQ":return _(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}}class N extends h{parse(e,t,n){switch(t){case"q":case"qq":return _(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=120,this.incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}}class I extends h{parse(e,t,n){let i=e=>e-1;switch(t){case"M":return v(b(p.month,e),i);case"MM":return v(_(2,e),i);case"Mo":return v(n.ordinalNumber(e,{unit:"month"}),i);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"],this.priority=110}}class A extends h{parse(e,t,n){let i=e=>e-1;switch(t){case"L":return v(b(p.month,e),i);case"LL":return v(_(2,e),i);case"Lo":return v(n.ordinalNumber(e,{unit:"month"}),i);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=110,this.incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}}var j=n(11770);class W extends h{parse(e,t,n){switch(t){case"w":return b(p.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return _(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,i){return(0,C.k)(function(e,t,n){let i=(0,l.a)(e,null==n?void 0:n.in),r=(0,j.N)(i,n)-t;return i.setDate(i.getDate()-7*r),(0,l.a)(i,null==n?void 0:n.in)}(e,n,i),i)}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}}var z=n(38575);class F extends h{parse(e,t,n){switch(t){case"I":return b(p.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return _(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,M.b)(function(e,t,n){let i=(0,l.a)(e,void 0),r=(0,z.s)(i,void 0)-t;return i.setDate(i.getDate()-7*r),i}(e,n))}constructor(...e){super(...e),this.priority=100,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}}let L=[31,28,31,30,31,30,31,31,30,31,30,31],V=[31,29,31,30,31,30,31,31,30,31,30,31];class Y extends h{parse(e,t,n){switch(t){case"d":return b(p.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return _(t.length,e)}}validate(e,t){let n=D(e.getFullYear()),i=e.getMonth();return n?t>=1&&t<=V[i]:t>=1&&t<=L[i]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subPriority=1,this.incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}}class q extends h{parse(e,t,n){switch(t){case"D":case"DD":return b(p.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return _(t.length,e)}}validate(e,t){return D(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.subpriority=1,this.incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}}var U=n(7954);function G(e,t,n){var i,r,s,a,d,c,u,h;let f=(0,o.q)(),g=null!=(h=null!=(u=null!=(c=null!=(d=null==n?void 0:n.weekStartsOn)?d:null==n||null==(r=n.locale)||null==(i=r.options)?void 0:i.weekStartsOn)?c:f.weekStartsOn)?u:null==(a=f.locale)||null==(s=a.options)?void 0:s.weekStartsOn)?h:0,p=(0,l.a)(e,null==n?void 0:n.in),m=p.getDay(),v=7-g,b=t<0||t>6?t-(m+v)%7:((t%7+7)%7+v)%7-(m+v)%7;return(0,U.f)(p,b,n)}class B extends h{parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,i){return(e=G(e,n,i)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["D","i","e","c","t","T"]}}class X extends h{parse(e,t,n,i){let r=e=>{let t=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return v(_(t.length,e),r);case"eo":return v(n.ordinalNumber(e,{unit:"day"}),r);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,i){return(e=G(e,n,i)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}}class Q extends h{parse(e,t,n,i){let r=e=>{let t=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return v(_(t.length,e),r);case"co":return v(n.ordinalNumber(e,{unit:"day"}),r);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,i){return(e=G(e,n,i)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}}class Z extends h{parse(e,t,n){let i=e=>0===e?7:e;switch(t){case"i":case"ii":return _(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return v(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiii":return v(n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return v(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);default:return v(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=function(e,t,n){let i=(0,l.a)(e,void 0),r=function(e,t){let n=(0,l.a)(e,null==t?void 0:t.in).getDay();return 0===n?7:n}(i,void 0);return(0,U.f)(i,t-r,n)}(e,n)).setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=90,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}}class $ extends h{parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(E(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["b","B","H","k","t","T"]}}class K extends h{parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(E(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","B","H","k","t","T"]}}class J extends h{parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(E(n),0,0,0),e}constructor(...e){super(...e),this.priority=80,this.incompatibleTokens=["a","b","t","T"]}}class ee extends h{parse(e,t,n){switch(t){case"h":return b(p.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){let i=e.getHours()>=12;return i&&n<12?e.setHours(n+12,0,0,0):i||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["H","K","k","t","T"]}}class et extends h{parse(e,t,n){switch(t){case"H":return b(p.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","K","k","t","T"]}}class en extends h{parse(e,t,n){switch(t){case"K":return b(p.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["h","H","k","t","T"]}}class ei extends h{parse(e,t,n){switch(t){case"k":return b(p.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return _(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){return e.setHours(n<=24?n%24:n,0,0,0),e}constructor(...e){super(...e),this.priority=70,this.incompatibleTokens=["a","b","h","H","K","t","T"]}}class er extends h{parse(e,t,n){switch(t){case"m":return b(p.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return _(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}constructor(...e){super(...e),this.priority=60,this.incompatibleTokens=["t","T"]}}class es extends h{parse(e,t,n){switch(t){case"s":return b(p.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return _(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}constructor(...e){super(...e),this.priority=50,this.incompatibleTokens=["t","T"]}}class ea extends h{parse(e,t){return v(_(t.length,e),e=>Math.trunc(e*Math.pow(10,-t.length+3)))}set(e,t,n){return e.setMilliseconds(n),e}constructor(...e){super(...e),this.priority=30,this.incompatibleTokens=["t","T"]}}var eo=n(87292);class el extends h{parse(e,t){switch(t){case"X":return y(m.basicOptionalMinutes,e);case"XX":return y(m.basic,e);case"XXXX":return y(m.basicOptionalSeconds,e);case"XXXXX":return y(m.extendedOptionalSeconds,e);default:return y(m.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,a.w)(e,e.getTime()-(0,eo.G)(e)-n)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","x"]}}class ed extends h{parse(e,t){switch(t){case"x":return y(m.basicOptionalMinutes,e);case"xx":return y(m.basic,e);case"xxxx":return y(m.basicOptionalSeconds,e);case"xxxxx":return y(m.extendedOptionalSeconds,e);default:return y(m.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,a.w)(e,e.getTime()-(0,eo.G)(e)-n)}constructor(...e){super(...e),this.priority=10,this.incompatibleTokens=["t","T","X"]}}class ec extends h{parse(e){return w(e)}set(e,t,n){return[(0,a.w)(e,1e3*n),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=40,this.incompatibleTokens="*"}}class eu extends h{parse(e){return w(e)}set(e,t,n){return[(0,a.w)(e,n),{timestampIsSet:!0}]}constructor(...e){super(...e),this.priority=20,this.incompatibleTokens="*"}}let eh={G:new f,y:new R,Y:new k,R:new P,u:new O,Q:new H,q:new N,M:new I,L:new A,w:new W,I:new F,d:new Y,D:new q,E:new B,e:new X,c:new Q,i:new Z,a:new $,b:new K,B:new J,h:new ee,H:new et,K:new en,k:new ei,m:new er,s:new es,S:new ea,X:new el,x:new ed,t:new ec,T:new eu},ef=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eg=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ep=/^'([^]*?)'?$/,em=/''/g,ev=/\S/,eb=/[a-zA-Z]/;function ey(e,t,n,d){var c,h,f,g,p,m,v,b,y,w,_,S,E,x,D,R,T,C;let k=()=>(0,a.w)((null==d?void 0:d.in)||n,NaN),M=Object.assign({},(0,o.q)()),P=null!=(w=null!=(y=null==d?void 0:d.locale)?y:M.locale)?w:i.c,O=null!=(x=null!=(E=null!=(S=null!=(_=null==d?void 0:d.firstWeekContainsDate)?_:null==d||null==(h=d.locale)||null==(c=h.options)?void 0:c.firstWeekContainsDate)?S:M.firstWeekContainsDate)?E:null==(g=M.locale)||null==(f=g.options)?void 0:f.firstWeekContainsDate)?x:1,H=null!=(C=null!=(T=null!=(R=null!=(D=null==d?void 0:d.weekStartsOn)?D:null==d||null==(m=d.locale)||null==(p=m.options)?void 0:p.weekStartsOn)?R:M.weekStartsOn)?T:null==(b=M.locale)||null==(v=b.options)?void 0:v.weekStartsOn)?C:0;if(!t)return e?k():(0,l.a)(n,null==d?void 0:d.in);let N={firstWeekContainsDate:O,weekStartsOn:H,locale:P},I=[new u(null==d?void 0:d.in,n)],A=t.match(eg).map(e=>{let t=e[0];return t in r.m?(0,r.m[t])(e,P.formatLong):e}).join("").match(ef),j=[];for(let n of A){!(null==d?void 0:d.useAdditionalWeekYearTokens)&&(0,s.xM)(n)&&(0,s.Ss)(n,t,e),!(null==d?void 0:d.useAdditionalDayOfYearTokens)&&(0,s.ef)(n)&&(0,s.Ss)(n,t,e);let i=n[0],r=eh[i];if(r){let{incompatibleTokens:t}=r;if(Array.isArray(t)){let e=j.find(e=>t.includes(e.token)||e.token===i);if(e)throw RangeError("The format string mustn't contain `".concat(e.fullToken,"` and `").concat(n,"` at the same time"))}else if("*"===r.incompatibleTokens&&j.length>0)throw RangeError("The format string mustn't contain `".concat(n,"` and any other token at the same time"));j.push({token:i,fullToken:n});let s=r.run(e,n,P.match,N);if(!s)return k();I.push(s.setter),e=s.rest}else{if(i.match(eb))throw RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");if("''"===n?n="'":"'"===i&&(n=n.match(ep)[1].replace(em,"'")),0!==e.indexOf(n))return k();e=e.slice(n.length)}}if(e.length>0&&ev.test(e))return k();let W=I.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>I.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),z=(0,l.a)(n,null==d?void 0:d.in);if(isNaN(+z))return k();let F={};for(let e of W){if(!e.validate(z,N))return k();let t=e.set(z,F,N);Array.isArray(t)?(z=t[0],Object.assign(F,t[1])):z=t}return z}},7954:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});var i=n(63039),r=n(23327);function s(e,t,n){let s=(0,r.a)(e,null==n?void 0:n.in);return isNaN(t)?(0,i.w)((null==n?void 0:n.in)||e,NaN):(t&&s.setDate(s.getDate()+t),s)}},8079:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var i=n(87292),r=n(79447),s=n(44783),a=n(1599);function o(e,t,n){let[o,l]=(0,r.x)(null==n?void 0:n.in,e,t),d=(0,a.o)(o),c=(0,a.o)(l);return Math.round((d-(0,i.G)(d)-(c-(0,i.G)(c)))/s.w4)}},11059:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});var i=n(23327);function r(e,t,n){let r=(0,i.a)(e,null==n?void 0:n.in);return r.setMinutes(t),r}},11770:(e,t,n)=>{"use strict";n.d(t,{N:()=>d});var i=n(44783),r=n(20735),s=n(50826),a=n(63039),o=n(35307),l=n(23327);function d(e,t){let n=(0,l.a)(e,null==t?void 0:t.in);return Math.round(((0,r.k)(n,t)-function(e,t){var n,i,l,d,c,u,h,f;let g=(0,s.q)(),p=null!=(f=null!=(h=null!=(u=null!=(c=null==t?void 0:t.firstWeekContainsDate)?c:null==t||null==(i=t.locale)||null==(n=i.options)?void 0:n.firstWeekContainsDate)?u:g.firstWeekContainsDate)?h:null==(d=g.locale)||null==(l=d.options)?void 0:l.firstWeekContainsDate)?f:1,m=(0,o.h)(e,t),v=(0,a.w)((null==t?void 0:t.in)||e,0);return v.setFullYear(m,0,p),v.setHours(0,0,0,0),(0,r.k)(v,t)}(n,t))/i.my)+1}},11936:(e,t,n)=>{"use strict";n.d(t,{FK:()=>w,Ob:()=>j,Qv:()=>A,XX:()=>I,_3:()=>y,fF:()=>r,n:()=>v,q6:()=>W,uA:()=>D,v2:()=>function e(t,n){return n=n||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some(function(t){e(t,n)}):n.push(t)),n},zO:()=>a});var i,r,s,a,o,l,d,c,u,h={},f=[],g=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,t){for(var n in t)e[n]=t[n];return e}function m(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,n){var r,s,a,o={};for(a in t)"key"==a?r=t[a]:"ref"==a?s=t[a]:o[a]=t[a];if(arguments.length>2&&(o.children=arguments.length>3?i.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===o[a]&&(o[a]=e.defaultProps[a]);return b(e,o,r,s,null)}function b(e,t,n,i,a){var o={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++s:a};return null==a&&null!=r.vnode&&r.vnode(o),o}function y(){return{current:null}}function w(e){return e.children}function _(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||g.test(t)?n:n+"px"}function S(e,t,n,i,r){var s;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||_(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||_(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])s=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=n,n?i||e.addEventListener(t,s?x:E,s):e.removeEventListener(t,s?x:E,s);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&-1==t.indexOf("-")?e.removeAttribute(t):e.setAttribute(t,n))}}function E(e){o=!0;try{return this.l[e.type+!1](r.event?r.event(e):e)}finally{o=!1}}function x(e){o=!0;try{return this.l[e.type+!0](r.event?r.event(e):e)}finally{o=!1}}function D(e,t){this.props=e,this.context=t}function R(e,t){if(null==t)return e.__?R(e.__,e.__.__k.indexOf(e)+1):null;for(var n;tt&&l.sort(function(e,t){return e.__v.__b-t.__v.__b}));C.__r=0}function k(e,t,n,i,s,a,o,l,d,c){var u,g,p,v,y,_,S,E=i&&i.__k||f,x=E.length;for(n.__k=[],u=0;u0?b(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)){if(v.__=n,v.__b=n.__b+1,null===(p=E[u])||p&&v.key==p.key&&v.type===p.type)E[u]=void 0;else for(g=0;g=0;n--)if((i=t.__k[n])&&(r=e(i)))return r}return null}(i).nextSibling),function e(t,n,i){var s,a;if(r.unmount&&r.unmount(t),(s=t.ref)&&(s.current&&s.current!==t.__e||H(s,null,n)),null!=(s=t.__c)){if(s.componentWillUnmount)try{s.componentWillUnmount()}catch(e){r.__e(e,n)}s.base=s.__P=null,t.__c=void 0}if(s=t.__k)for(a=0;a2&&(o.children=arguments.length>3?i.call(arguments,2):n),b(e.type,o,r||e.key,s||e.ref,null)}function W(e,t){var n={__c:t="__cC"+u++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,i;return this.getChildContext||(n=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(function(e){e.__e=!0,T(e)})},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}i=f.slice,r={__e:function(e,t,n,i){for(var r,s,a;t=t.__;)if((r=t.__c)&&!r.__)try{if((s=r.constructor)&&null!=s.getDerivedStateFromError&&(r.setState(s.getDerivedStateFromError(e)),a=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,i||{}),a=r.__d),a)return r.__E=r}catch(t){e=t}throw e}},s=0,a=function(e){return null!=e&&void 0===e.constructor},o=!1,D.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),T(this))},D.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),T(this))},D.prototype.render=w,l=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,C.__r=0,u=0},14226:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n(65637);function r(e,t,n){return(0,i.e)(e,-t,n)}},14385:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var i=n(23327);function r(e,t){return+(0,i.a)(e)<+(0,i.a)(t)}},16246:(e,t,n)=>{"use strict";n.d(t,{GP:()=>T});var i=n(45279),r=n(50826),s=n(8079),a=n(20466),o=n(23327),l=n(38575),d=n(90102),c=n(11770),u=n(35307);function h(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let f={y(e,t){let n=e.getFullYear(),i=n>0?n:1-n;return h("yy"===t?i%100:i,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):h(n+1,2)},d:(e,t)=>h(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>h(e.getHours()%12||12,t.length),H:(e,t)=>h(e.getHours(),t.length),m:(e,t)=>h(e.getMinutes(),t.length),s:(e,t)=>h(e.getSeconds(),t.length),S(e,t){let n=t.length;return h(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},g={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},p={G:function(e,t,n){let i=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return f.y(e,t)},Y:function(e,t,n,i){let r=(0,u.h)(e,i),s=r>0?r:1-r;return"YY"===t?h(s%100,2):"Yo"===t?n.ordinalNumber(s,{unit:"year"}):h(s,t.length)},R:function(e,t){return h((0,d.p)(e),t.length)},u:function(e,t){return h(e.getFullYear(),t.length)},Q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return h(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return h(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){let i=e.getMonth();switch(t){case"M":case"MM":return f.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){let i=e.getMonth();switch(t){case"L":return String(i+1);case"LL":return h(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){let r=(0,c.N)(e,i);return"wo"===t?n.ordinalNumber(r,{unit:"week"}):h(r,t.length)},I:function(e,t,n){let i=(0,l.s)(e);return"Io"===t?n.ordinalNumber(i,{unit:"week"}):h(i,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):f.d(e,t)},D:function(e,t,n){let i=function(e,t){let n=(0,o.a)(e,void 0);return(0,s.m)(n,(0,a.D)(n))+1}(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):h(i,t.length)},E:function(e,t,n){let i=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){let r=e.getDay(),s=(r-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return h(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){let r=e.getDay(),s=(r-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return h(s,t.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){let i=e.getDay(),r=0===i?7:i;switch(t){case"i":return String(r);case"ii":return h(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){let i,r=e.getHours();switch(i=12===r?g.noon:0===r?g.midnight:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){let i,r=e.getHours();switch(i=r>=17?g.evening:r>=12?g.afternoon:r>=4?g.morning:g.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return f.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):f.H(e,t)},K:function(e,t,n){let i=e.getHours()%12;return"Ko"===t?n.ordinalNumber(i,{unit:"hour"}):h(i,t.length)},k:function(e,t,n){let i=e.getHours();return(0===i&&(i=24),"ko"===t)?n.ordinalNumber(i,{unit:"hour"}):h(i,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):f.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):f.s(e,t)},S:function(e,t){return f.S(e,t)},X:function(e,t,n){let i=e.getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return v(i);case"XXXX":case"XX":return b(i);default:return b(i,":")}},x:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"x":return v(i);case"xxxx":case"xx":return b(i);default:return b(i,":")}},O:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+m(i,":");default:return"GMT"+b(i,":")}},z:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+m(i,":");default:return"GMT"+b(i,":")}},t:function(e,t,n){return h(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return h(+e,t.length)}};function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",i=Math.abs(e),r=Math.trunc(i/60),s=i%60;return 0===s?n+String(r):n+String(r)+t+h(s,2)}function v(e,t){return e%60==0?(e>0?"-":"+")+h(Math.abs(e)/60,2):b(e,t)}function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Math.abs(e);return(e>0?"-":"+")+h(Math.trunc(n/60),2)+t+h(n%60,2)}var y=n(51220),w=n(33317),_=n(35460);let S=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,E=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,x=/^'([^]*?)'?$/,D=/''/g,R=/[a-zA-Z]/;function T(e,t,n){var s,a,l,d,c,u,h,f,g,m,v,b,T,C,k,M,P,O;let H=(0,r.q)(),N=null!=(m=null!=(g=null==n?void 0:n.locale)?g:H.locale)?m:i.c,I=null!=(C=null!=(T=null!=(b=null!=(v=null==n?void 0:n.firstWeekContainsDate)?v:null==n||null==(a=n.locale)||null==(s=a.options)?void 0:s.firstWeekContainsDate)?b:H.firstWeekContainsDate)?T:null==(d=H.locale)||null==(l=d.options)?void 0:l.firstWeekContainsDate)?C:1,A=null!=(O=null!=(P=null!=(M=null!=(k=null==n?void 0:n.weekStartsOn)?k:null==n||null==(u=n.locale)||null==(c=u.options)?void 0:c.weekStartsOn)?M:H.weekStartsOn)?P:null==(f=H.locale)||null==(h=f.options)?void 0:h.weekStartsOn)?O:0,j=(0,o.a)(e,null==n?void 0:n.in);if(!(0,_.f)(j))throw RangeError("Invalid time value");let W=t.match(E).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,y.m[t])(e,N.formatLong):e}).join("").match(S).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(x);return t?t[1].replace(D,"'"):e}(e)};if(p[t])return{isToken:!0,value:e};if(t.match(R))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});N.localize.preprocessor&&(W=N.localize.preprocessor(j,W));let z={firstWeekContainsDate:I,weekStartsOn:A,locale:N};return W.map(i=>{if(!i.isToken)return i.value;let r=i.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&(0,w.xM)(r)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&(0,w.ef)(r))&&(0,w.Ss)(r,t,String(e)),(0,p[r[0]])(j,r,N.localize,z)}).join("")}},16294:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});var i=n(23327);function r(e,t){return Math.trunc((0,i.a)(e,null==t?void 0:t.in).getMonth()/3)+1}},16946:(e,t,n)=>{"use strict";n.d(t,{fr:()=>u});let i={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}};var r=n(67356);let s={date:(0,r.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} '\xe0' {{time}}",long:"{{date}} '\xe0' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"eeee 'dernier \xe0' p",yesterday:"'hier \xe0' p",today:"'aujourd’hui \xe0' p",tomorrow:"'demain \xe0' p'",nextWeek:"eeee 'prochain \xe0' p",other:"P"};var o=n(58698);let l=["MMM","MMMM"],d={preprocessor:(e,t)=>1!==e.getDate()&&t.some(e=>e.isToken&&l.includes(e.value))?t.map(e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e):t,ordinalNumber:(e,t)=>{let n,i=Number(e),r=null==t?void 0:t.unit;return 0===i?"0":(n=1===i?r&&["year","week","hour","minute","second"].includes(r)?"\xe8re":"er":"\xe8me",i+n)},era:(0,o.o)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]},defaultWidth:"wide"}),quarter:(0,o.o)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2\xe8me trim.","3\xe8me trim.","4\xe8me trim."],wide:["1er trimestre","2\xe8me trimestre","3\xe8me trimestre","4\xe8me trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,o.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],wide:["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]},defaultWidth:"wide"}),day:(0,o.o)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,o.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"apr\xe8s-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’apr\xe8s-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})};var c=n(44008);let u={code:"fr",formatDistance:(e,t,n)=>{let r,s=i[e];if(r="string"==typeof s?s:1===t?s.one:s.other.replace("{{count}}",String(t)),null==n?void 0:n.addSuffix)if(n.comparison&&n.comparison>0)return"dans "+r;else return"il y a "+r;return r},formatLong:s,formatRelative:(e,t,n,i)=>a[e],localize:d,match:{ordinalNumber:(0,n(40972).K)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,c.A)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},17518:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var i=n(79447);function r(e,t,n){let[r,s]=(0,i.x)(null==n?void 0:n.in,e,t);return r.getFullYear()-s.getFullYear()}},17546:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var i=n(63039),r=n(23327);function s(e,t,n){let s=(0,r.a)(e,null==n?void 0:n.in);if(isNaN(t))return(0,i.w)((null==n?void 0:n.in)||e,NaN);if(!t)return s;let a=s.getDate(),o=(0,i.w)((null==n?void 0:n.in)||e,s.getTime());return(o.setMonth(s.getMonth()+t+1,0),a>=o.getDate())?o:(s.setFullYear(o.getFullYear(),o.getMonth(),a),s)}},20466:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}},20735:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});var i=n(50826),r=n(23327);function s(e,t){var n,s,a,o,l,d,c,u;let h=(0,i.q)(),f=null!=(u=null!=(c=null!=(d=null!=(l=null==t?void 0:t.weekStartsOn)?l:null==t||null==(s=t.locale)||null==(n=s.options)?void 0:n.weekStartsOn)?d:h.weekStartsOn)?c:null==(o=h.locale)||null==(a=o.options)?void 0:a.weekStartsOn)?u:0,g=(0,r.a)(e,null==t?void 0:t.in),p=g.getDay();return g.setDate(g.getDate()-(7*(p{"use strict";n.d(t,{O:()=>r});var i=n(23327);function r(e,t){return(0,i.a)(e,null==t?void 0:t.in).getMinutes()}},23327:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(63039);function r(e,t){return(0,i.w)(t||e,e)}},26503:(e,t,n)=>{"use strict";n.d(t,{d5:()=>I});var i,r,s,a,o=n(11936),l=0,d=[],c=[],u=o.fF.__b,h=o.fF.__r,f=o.fF.diffed,g=o.fF.__c,p=o.fF.unmount;function m(e,t){o.fF.__h&&o.fF.__h(r,e,l||t),l=0;var n=r.__H||(r.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:c}),n.__[e]}function v(){for(var e;e=d.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(y),e.__H.__h.forEach(w),e.__H.__h=[]}catch(t){e.__H.__h=[],o.fF.__e(t,e.__v)}}o.fF.__b=function(e){r=null,u&&u(e)},o.fF.__r=function(e){h&&h(e),i=0;var t=(r=e.__c).__H;t&&(s===r?(t.__h=[],r.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=c,e.__N=e.i=void 0})):(t.__h.forEach(y),t.__h.forEach(w),t.__h=[])),s=r},o.fF.diffed=function(e){f&&f(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==d.push(t)&&a===o.fF.requestAnimationFrame||((a=o.fF.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(i),b&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);b&&(t=requestAnimationFrame(n))})(v)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==c&&(e.__=e.__V),e.i=void 0,e.__V=c})),s=r=null},o.fF.__c=function(e,t){t.some(function(e){try{e.__h.forEach(y),e.__h=e.__h.filter(function(e){return!e.__||w(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],o.fF.__e(n,e.__v)}}),g&&g(e,t)},o.fF.unmount=function(e){p&&p(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{y(e)}catch(e){t=e}}),n.__H=void 0,t&&o.fF.__e(t,n.__v))};var b="function"==typeof requestAnimationFrame;function y(e){var t=r,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),r=t}function w(e){var t=r;e.__c=e.__(),r=t}function _(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function S(e,t){return"function"==typeof t?t(e):t}function E(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function x(e){this.props=e}(x.prototype=new o.uA).isPureReactComponent=!0,x.prototype.shouldComponentUpdate=function(e,t){return E(this.props,e)||E(this.state,t)};var D=o.fF.__b;o.fF.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),D&&D(e)},"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var R=function(e,t){return null==e?null:(0,o.v2)((0,o.v2)(e).map(t))},T=(o.v2,o.fF.__e);o.fF.__e=function(e,t,n,i){if(e.then){for(var r,s=t;s=s.__;)if((r=s.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}T(e,t,n,i)};var C=o.fF.unmount;function k(){this.__u=0,this.t=null,this.__b=null}function M(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function P(){this.u=null,this.o=null}o.fF.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),C&&C(e)},(k.prototype=new o.uA).__c=function(e,t){var n=t.__c,i=this;null==i.t&&(i.t=[]),i.t.push(n);var r=M(i.__v),s=!1,a=function(){s||(s=!0,n.__R=null,r?r(o):o())};n.__R=a;var o=function(){if(!--i.__u){if(i.state.__a){var e,t=i.state.__a;i.__v.__k[0]=function e(t,n,i){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,i)}),t.__c&&t.__c.__P===n&&(t.__e&&i.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=i)),t}(t,t.__c.__P,t.__c.__O)}for(i.setState({__a:i.__b=null});e=i.t.pop();)e.forceUpdate()}},l=!0===t.__h;i.__u++||l||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(a,a)},k.prototype.componentWillUnmount=function(){this.t=[]},k.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=function(e,t){for(var n in t)e[n]=t[n];return e}({},t)).__c&&(t.__c.__P===i&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,i)})),t}(this.__b,n,i.__O=i.__P)}this.__b=null}var r=t.__a&&(0,o.n)(o.FK,null,e.fallback);return r&&(r.__h=null),[(0,o.n)(o.FK,null,t.__a?null:e.children),r]};var O=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(e)}}),(0,o.XX)((0,o.n)(H,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function I(e,t){var n=(0,o.n)(N,{__v:e,i:t});return n.containerInfo=t,n}(P.prototype=new o.uA).__a=function(e){var t=this,n=M(t.__v),i=t.o.get(e);return i[0]++,function(r){var s=function(){t.props.revealOrder?(i.push(r),O(t,e,i)):r()};n?n(s):s()}},P.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,o.v2)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},P.prototype.componentDidUpdate=P.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){O(e,n,t)})};var A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,j=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,W="undefined"!=typeof document;o.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(o.uA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var z=o.fF.event;function F(){}function L(){return this.cancelBubble}function V(){return this.defaultPrevented}o.fF.event=function(e){return z&&(e=z(e)),e.persist=F,e.isPropagationStopped=L,e.isDefaultPrevented=V,e.nativeEvent=e};var Y,q={configurable:!0,get:function(){return this.class}},U=o.fF.vnode;o.fF.vnode=function(e){var t=e.type,n=e.props,i=n;if("string"==typeof t){var r=-1===t.indexOf("-");for(var s in i={},n){var a,l=n[s];W&&"children"===s&&"noscript"===t||"value"===s&&"defaultValue"in n&&null==l||("defaultValue"===s&&"value"in n&&null==n.value?s="value":"download"===s&&!0===l?l="":/ondoubleclick/i.test(s)?s="ondblclick":/^onchange(textarea|input)/i.test(s+t)&&(a=n.type,!("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(a))?s="oninput":/^onfocus$/i.test(s)?s="onfocusin":/^onblur$/i.test(s)?s="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(s)?s=s.toLowerCase():r&&j.test(s)?s=s.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===l&&(l=void 0),/^oninput$/i.test(s)&&i[s=s.toLowerCase()]&&(s="oninputCapture"),i[s]=l)}"select"==t&&i.multiple&&Array.isArray(i.value)&&(i.value=(0,o.v2)(n.children).forEach(function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)})),"select"==t&&null!=i.defaultValue&&(i.value=(0,o.v2)(n.children).forEach(function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value})),e.props=i,n.class!=n.className&&(q.enumerable="className"in n,null!=n.className&&(i.class=n.className),Object.defineProperty(i,"className",q))}e.$$typeof=A,U&&U(e)};var G=o.fF.__r;o.fF.__r=function(e){G&&G(e),e.__c};o.FK;o.n,o.q6,o._3,o.FK,o.uA},26565:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in),r=n.getMonth();return n.setMonth(r-r%3,1),n.setHours(0,0,0,0),n}},27528:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var i=n(79447),r=n(26565);function s(e,t,n){let[s,a]=(0,i.x)(null==n?void 0:n.in,e,t);return+(0,r.a)(s)==+(0,r.a)(a)}},31382:(e,t,n)=>{"use strict";n.d(t,{J:()=>r});var i=n(7954);function r(e,t,n){return(0,i.f)(e,7*t,n)}},33314:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});var i=n(79447),r=n(1599);function s(e,t,n){let[s,a]=(0,i.x)(null==n?void 0:n.in,e,t);return+(0,r.o)(s)==+(0,r.o)(a)}},33317:(e,t,n)=>{"use strict";n.d(t,{Ss:()=>l,ef:()=>a,xM:()=>o});let i=/^D+$/,r=/^Y+$/,s=["D","DD","YY","YYYY"];function a(e){return i.test(e)}function o(e){return r.test(e)}function l(e,t,n){let i=function(e,t,n){let i="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(i," to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(e,t,n);if(console.warn(i),s.includes(e))throw RangeError(i)}},33492:(e,t,n)=>{"use strict";n.d(t,{L:()=>s});var i=n(6455),r=n(44783);function s(e,t,n){return(0,i.A)(e,t*r.s0,n)}},34240:(e,t,n)=>{"use strict";n.d(t,{z:()=>r});var i=n(17546);function r(e,t,n){return(0,i.P)(e,3*t,n)}},34483:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var i={code:"fr",week:{dow:1,doy:4},buttonText:{prev:"Pr\xe9c\xe9dent",next:"Suivant",today:"Aujourd'hui",year:"Ann\xe9e",month:"Mois",week:"Semaine",day:"Jour",list:"Planning"},weekText:"Sem.",weekTextLong:"Semaine",allDayText:"Toute la journ\xe9e",moreLinkText:"en plus",noEventsText:"Aucun \xe9v\xe8nement \xe0 afficher"}},35279:()=>{},35307:(e,t,n)=>{"use strict";n.d(t,{h:()=>o});var i=n(50826),r=n(63039),s=n(20735),a=n(23327);function o(e,t){var n,o,l,d,c,u,h,f;let g=(0,a.a)(e,null==t?void 0:t.in),p=g.getFullYear(),m=(0,i.q)(),v=null!=(f=null!=(h=null!=(u=null!=(c=null==t?void 0:t.firstWeekContainsDate)?c:null==t||null==(o=t.locale)||null==(n=o.options)?void 0:n.firstWeekContainsDate)?u:m.firstWeekContainsDate)?h:null==(d=m.locale)||null==(l=d.options)?void 0:l.firstWeekContainsDate)?f:1,b=(0,r.w)((null==t?void 0:t.in)||e,0);b.setFullYear(p+1,0,v),b.setHours(0,0,0,0);let y=(0,s.k)(b,t),w=(0,r.w)((null==t?void 0:t.in)||e,0);w.setFullYear(p,0,v),w.setHours(0,0,0,0);let _=(0,s.k)(w,t);return+g>=+y?p+1:+g>=+_?p:p-1}},35460:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});var i=n(54954),r=n(23327);function s(e){return!(!(0,i.$)(e)&&"number"!=typeof e||isNaN(+(0,r.a)(e)))}},36909:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(31382);function r(e,t,n){return(0,i.J)(e,-t,n)}},38575:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var i=n(44783),r=n(52372),s=n(63039),a=n(90102),o=n(23327);function l(e,t){let n=(0,o.a)(e,null==t?void 0:t.in);return Math.round(((0,r.b)(n)-function(e,t){let n=(0,a.p)(e,void 0),i=(0,s.w)(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),(0,r.b)(i)}(n))/i.my)+1}},40679:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}},40972:(e,t,n)=>{"use strict";function i(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.match(e.matchPattern);if(!i)return null;let r=i[0],s=t.match(e.parsePattern);if(!s)return null;let a=e.valueCallback?e.valueCallback(s[0]):s[0];return{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(r.length)}}}n.d(t,{K:()=>i})},44008:(e,t,n)=>{"use strict";function i(e){return function(t){let n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.width,s=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(s);if(!a)return null;let o=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(l)?function(e,t){for(let n=0;ne.test(o)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(o));return n=e.valueCallback?e.valueCallback(d):d,{value:n=i.valueCallback?i.valueCallback(n):n,rest:t.slice(o.length)}}}n.d(t,{A:()=>i})},44396:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>C});var i=n(80053),r=n(35612);r.bI.touchMouseIgnoreWait=500;let s=0,a=0,o=!1;class l{constructor(e){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=e=>{if(!this.shouldIgnoreMouse()&&function(e){return 0===e.button&&!e.ctrlKey}(e)&&this.tryStart(e)){let t=this.createEventFromMouse(e,!0);this.emitter.trigger("pointerdown",t),this.initScrollWatch(t),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=e=>{let t=this.createEventFromMouse(e);this.recordCoords(t),this.emitter.trigger("pointermove",t)},this.handleMouseUp=e=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(e)),this.cleanup()},this.handleTouchStart=e=>{if(this.tryStart(e)){this.isTouchDragging=!0;let t=this.createEventFromTouch(e,!0);this.emitter.trigger("pointerdown",t),this.initScrollWatch(t);let n=e.target;this.shouldIgnoreMove||n.addEventListener("touchmove",this.handleTouchMove),n.addEventListener("touchend",this.handleTouchEnd),n.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=e=>{let t=this.createEventFromTouch(e);this.recordCoords(t),this.emitter.trigger("pointermove",t)},this.handleTouchEnd=e=>{if(this.isDragging){let t=e.target;t.removeEventListener("touchmove",this.handleTouchMove),t.removeEventListener("touchend",this.handleTouchEnd),t.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(e)),this.cleanup(),this.isTouchDragging=!1,s+=1,setTimeout(()=>{s-=1},r.bI.touchMouseIgnoreWait)}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=e=>{if(!this.shouldIgnoreMove){let t=window.scrollX-this.prevScrollX+this.prevPageX,n=window.scrollY-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:e,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:t,pageY:n,deltaX:t-this.origPageX,deltaY:n-this.origPageY})}},this.containerEl=e,this.emitter=new r.F,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),1===(a+=1)&&window.addEventListener("touchmove",d,{passive:!1})}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),(a-=1)||window.removeEventListener("touchmove",d,{passive:!1})}tryStart(e){let t=this.querySubjectEl(e),n=e.target;return!!(t&&(!this.handleSelector||(0,r.$)(n,this.handleSelector)))&&(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0)}cleanup(){o=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(e){return this.selector?(0,r.$)(e.target,this.selector):this.containerEl}shouldIgnoreMouse(){return s||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(o=!0)}initScrollWatch(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.scrollX,this.prevScrollY=window.scrollY)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(e,t){let n=0,i=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,i=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:i}}createEventFromTouch(e,t){let n,i,r=e.touches,s=0,a=0;return r&&r.length?(n=r[0].pageX,i=r[0].pageY):(n=e.pageX,i=e.pageY),t?(this.origPageX=n,this.origPageY=i):(s=n-this.origPageX,a=i-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:i,deltaX:s,deltaY:a}}}function d(e){o&&e.preventDefault()}class c{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.scrollX,this.origScreenY=n-window.scrollY,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(e,t){this.deltaX=e-window.scrollX-this.origScreenX,this.deltaY=t-window.scrollY-this.origScreenY,this.updateElPosition()}setIsVisible(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)}stop(e,t){let n=()=>{this.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(n,this.revertDuration):setTimeout(n,0)}doRevertAnimation(e,t){let n=this.mirrorEl,i=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",(0,r.aP)(n,{left:i.left,top:i.top}),(0,r.b2)(n,()=>{n.style.transition="",e()})}cleanup(){this.mirrorEl&&((0,r.aO)(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&(0,r.aP)(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).style.userSelect="none",t.style.webkitUserSelect="none",t.style.pointerEvents="none",t.classList.add("fc-event-dragging"),(0,r.aP)(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t}}class u extends r.bb{constructor(e,t){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=e,this.doesListening=t,this.scrollTop=this.origScrollTop=e.getScrollTop(),this.scrollLeft=this.origScrollLeft=e.getScrollLeft(),this.scrollWidth=e.getScrollWidth(),this.scrollHeight=e.getScrollHeight(),this.clientWidth=e.getClientWidth(),this.clientHeight=e.getClientHeight(),this.clientRect=this.computeClientRect(),this.doesListening&&this.getEventTarget().addEventListener("scroll",this.handleScroll)}destroy(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}getScrollTop(){return this.scrollTop}getScrollLeft(){return this.scrollLeft}setScrollTop(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}}class h extends u{constructor(e,t){super(new r.bc(e),t)}getEventTarget(){return this.scrollController.el}computeClientRect(){return(0,r.b3)(this.scrollController.el)}}class f extends u{constructor(e){super(new r.bd,e)}getEventTarget(){return window}computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}}let g="function"==typeof performance?performance.now:Date.now;class p{constructor(){this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=()=>{if(this.isAnimating){let e=this.computeBestEdge(this.pointerScreenX+window.scrollX,this.pointerScreenY+window.scrollY);if(e){let t=g();this.handleSide(e,(t-this.msSinceRequest)/1e3),this.requestAnimation(t)}else this.isAnimating=!1}}}start(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))}handleMove(e,t){if(this.isEnabled){let n=e-window.scrollX,i=t-window.scrollY,r=null===this.pointerScreenY?0:i-this.pointerScreenY,s=null===this.pointerScreenX?0:n-this.pointerScreenX;r<0?this.everMovedUp=!0:r>0&&(this.everMovedDown=!0),s<0?this.everMovedLeft=!0:s>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=i,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(g()))}}stop(){if(this.isEnabled){for(let e of(this.isAnimating=!1,this.scrollCaches))e.destroy();this.scrollCaches=null}}requestAnimation(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)}handleSide(e,t){let{scrollCache:n}=e,{edgeThreshold:i}=this,r=i-e.distance,s=r*r/(i*i)*this.maxVelocity*t,a=1;switch(e.name){case"left":a=-1;case"right":n.setScrollLeft(n.getScrollLeft()+s*a);break;case"top":a=-1;case"bottom":n.setScrollTop(n.getScrollTop()+s*a)}}computeBestEdge(e,t){let{edgeThreshold:n}=this,i=null;for(let r of this.scrollCaches||[]){let s=r.clientRect,a=e-s.left,o=s.right-e,l=t-s.top,d=s.bottom-t;a>=0&&o>=0&&l>=0&&d>=0&&(l<=n&&this.everMovedUp&&r.canScrollUp()&&(!i||i.distance>l)&&(i={scrollCache:r,name:"top",distance:l}),d<=n&&this.everMovedDown&&r.canScrollDown()&&(!i||i.distance>d)&&(i={scrollCache:r,name:"bottom",distance:d}),a<=n&&this.everMovedLeft&&r.canScrollLeft()&&(!i||i.distance>a)&&(i={scrollCache:r,name:"left",distance:a}),o<=n&&this.everMovedRight&&r.canScrollRight()&&(!i||i.distance>o)&&(i={scrollCache:r,name:"right",distance:o}))}return i}buildCaches(e){return this.queryScrollEls(e).map(e=>e===window?new f(!1):new h(e,!1))}queryScrollEls(e){let t=[];for(let n of this.scrollQuery)"object"==typeof n?t.push(n):t.push(...Array.prototype.slice.call(e.getRootNode().querySelectorAll(n)));return t}}class m extends r.bH{constructor(e,t){super(e),this.containerEl=e,this.delay=null,this.minDistance=0,this.touchScrollAllowed=!0,this.mirrorNeedsRevert=!1,this.isInteracting=!1,this.isDragging=!1,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.delayTimeoutId=null,this.onPointerDown=e=>{!this.isDragging&&(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,(0,r.ar)(document.body),(0,r.at)(document.body),e.isTouch||e.origEvent.preventDefault(),this.emitter.trigger("pointerdown",e),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(e.subjectEl,e.pageX,e.pageY),this.startDelay(e),this.minDistance||this.handleDistanceSurpassed(e)))},this.onPointerMove=e=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",e),!this.isDistanceSurpassed){let t=this.minDistance,{deltaX:n,deltaY:i}=e;n*n+i*i>=t*t&&this.handleDistanceSurpassed(e)}this.isDragging&&("scroll"!==e.origEvent.type&&(this.mirror.handleMove(e.pageX,e.pageY),this.autoScroller.handleMove(e.pageX,e.pageY)),this.emitter.trigger("dragmove",e))}},this.onPointerUp=e=>{this.isInteracting&&(this.isInteracting=!1,(0,r.as)(document.body),(0,r.au)(document.body),this.emitter.trigger("pointerup",e),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(e)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let n=this.pointer=new l(e);n.emitter.on("pointerdown",this.onPointerDown),n.emitter.on("pointermove",this.onPointerMove),n.emitter.on("pointerup",this.onPointerUp),t&&(n.selector=t),this.mirror=new c,this.autoScroller=new p}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(e){"number"==typeof this.delay?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(e)},this.delay):this.handleDelayEnd(e)}handleDelayEnd(e){this.isDelayEnded=!0,this.tryStartDrag(e)}handleDistanceSurpassed(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}tryStartDrag(e){this.isDelayEnded&&this.isDistanceSurpassed&&(!this.pointer.wasTouchScroll||this.touchScrollAllowed)&&(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll())}tryStopDrag(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}stopDrag(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}setIgnoreMove(e){this.pointer.shouldIgnoreMove=e}setMirrorIsVisible(e){this.mirror.setIsVisible(e)}setMirrorNeedsRevert(e){this.mirrorNeedsRevert=e}setAutoScrollEnabled(e){this.autoScroller.isEnabled=e}}class v{constructor(e){this.el=e,this.origRect=(0,r.b6)(e),this.scrollCaches=(0,r.b5)(e).map(e=>new h(e,!0))}destroy(){for(let e of this.scrollCaches)e.destroy()}computeLeft(){let e=this.origRect.left;for(let t of this.scrollCaches)e+=t.origScrollLeft-t.getScrollLeft();return e}computeTop(){let e=this.origRect.top;for(let t of this.scrollCaches)e+=t.origScrollTop-t.getScrollTop();return e}isWithinClipping(e,t){let n={left:e,top:t};for(let e of this.scrollCaches)if(!function(e){let t=e.tagName;return"HTML"===t||"BODY"===t}(e.getEventTarget())&&!(0,r.aF)(n,e.clientRect))return!1;return!0}}class b{constructor(e,t){this.useSubjectCenter=!1,this.requireInitial=!0,this.disablePointCheck=!1,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=e=>{let{dragging:t}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(e),this.initialHit||!this.requireInitial?(t.setIgnoreMove(!1),this.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=e=>{this.emitter.trigger("dragstart",e),this.handleMove(e,!0)},this.handleDragMove=e=>{this.emitter.trigger("dragmove",e),this.handleMove(e)},this.handlePointerUp=e=>{this.releaseHits(),this.emitter.trigger("pointerup",e)},this.handleDragEnd=e=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,e),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new r.F}processFirstCoord(e){let t,n={left:e.pageX,top:e.pageY},i=n,s=e.subjectEl;s instanceof HTMLElement&&(t=(0,r.b6)(s),i=(0,r.aG)(i,t));let a=this.initialHit=this.queryHitForOffset(i.left,i.top);if(a){if(this.useSubjectCenter&&t){let e=(0,r.aE)(t,a.rect);e&&(i=(0,r.aH)(e))}this.coordAdjust=(0,r.aI)(i,n)}else this.coordAdjust={left:0,top:0}}handleMove(e,t){let n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);(t||!y(this.movingHit,n))&&(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))}prepareHits(){this.offsetTrackers=(0,r.a)(this.droppableStore,e=>(e.component.prepareHits(),new v(e.el)))}releaseHits(){let{offsetTrackers:e}=this;for(let t in e)e[t].destroy();this.offsetTrackers={}}queryHitForOffset(e,t){let{droppableStore:n,offsetTrackers:i}=this,s=null;for(let a in n){let o=n[a].component,l=i[a];if(l&&l.isWithinClipping(e,t)){let n=l.computeLeft(),i=l.computeTop(),d=e-n,c=t-i,{origRect:u}=l,h=u.right-u.left,f=u.bottom-u.top;if(d>=0&&d=0&&cs.layer)&&(e.componentId=a,e.context=o.context,e.rect.left+=n,e.rect.right+=n,e.rect.top+=i,e.rect.bottom+=i,s=e)}}}return s}}function y(e,t){return!e&&!t||!!e==!!t&&(0,r.bf)(e.dateSpan,t.dateSpan)}function w(e,t){var n,i;let r={};for(let n of t.pluginHooks.datePointTransforms)Object.assign(r,n(e,t));return Object.assign(r,(n=e,{date:(i=t.dateEnv).toDate(n.range.start),dateStr:i.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),r}class _ extends r.Z{constructor(e){super(e),this.handlePointerDown=e=>{let{dragging:t}=this,n=e.origEvent.target;t.setIgnoreMove(!this.component.isValidDateDownEl(n))},this.handleDragEnd=e=>{let{component:t}=this,{pointer:n}=this.dragging;if(!n.wasTouchScroll){let{initialHit:n,finalHit:i}=this.hitDragging;if(n&&i&&y(n,i)){let{context:i}=t,r=Object.assign(Object.assign({},w(n.dateSpan,i)),{dayEl:n.dayEl,jsEvent:e.origEvent,view:i.viewApi||i.calendarApi.view});i.emitter.trigger("dateClick",r)}}},this.dragging=new m(e.el),this.dragging.autoScroller.isEnabled=!1;let t=this.hitDragging=new b(this.dragging,(0,r.bG)(e));t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}}class S extends r.Z{constructor(e){super(e),this.dragSelection=null,this.handlePointerDown=e=>{let{component:t,dragging:n}=this,{options:i}=t.context,r=i.selectable&&t.isValidDateDownEl(e.origEvent.target);n.setIgnoreMove(!r),n.delay=e.isTouch?function(e){let{options:t}=e.context,n=t.selectLongPressDelay;return null==n&&(n=t.longPressDelay),n}(t):null},this.handleDragStart=e=>{this.component.context.calendarApi.unselect(e)},this.handleHitUpdate=(e,t)=>{let{context:n}=this.component,i=null,s=!1;if(e){let t=this.hitDragging.initialHit;e.componentId===t.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(t,e)||(i=function(e,t,n){let i=e.dateSpan,s=t.dateSpan,a=[i.range.start,i.range.end,s.range.start,s.range.end];a.sort(r.av);let o={};for(let i of n){let n=i(e,t);if(!1===n)return null;n&&Object.assign(o,n)}return o.range={start:a[0],end:a[3]},o.allDay=i.allDay,o}(t,e,n.pluginHooks.dateSelectionTransformers)),i&&(0,r.b_)(i,e.dateProfile,n)||(s=!0,i=null)}i?n.dispatch({type:"SELECT_DATES",selection:i}):t||n.dispatch({type:"UNSELECT_DATES"}),s?(0,r.ax)():(0,r.aw)(),t||(this.dragSelection=i)},this.handlePointerUp=e=>{this.dragSelection&&((0,r.cu)(this.dragSelection,e,this.component.context),this.dragSelection=null)};let{component:t}=e,{options:n}=t.context,i=this.dragging=new m(e.el);i.touchScrollAllowed=!1,i.minDistance=n.selectMinDistance||0,i.autoScroller.isEnabled=n.dragScroll;let s=this.hitDragging=new b(this.dragging,(0,r.bG)(e));s.emitter.on("pointerdown",this.handlePointerDown),s.emitter.on("dragstart",this.handleDragStart),s.emitter.on("hitupdate",this.handleHitUpdate),s.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}}class E extends r.Z{constructor(e){super(e),this.subjectEl=null,this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=e=>{let t=e.origEvent.target,{component:n,dragging:i}=this,{mirror:s}=i,{options:a}=n.context,o=n.context;this.subjectEl=e.subjectEl;let l=this.subjectSeg=(0,r._)(e.subjectEl),d=(this.eventRange=l.eventRange).instance.instanceId;this.relevantEvents=(0,r.aV)(o.getCurrentData().eventStore,d),i.minDistance=e.isTouch?0:a.eventDragMinDistance,i.delay=e.isTouch&&d!==n.props.eventSelection?function(e){let{options:t}=e.context,n=t.eventLongPressDelay;return null==n&&(n=t.longPressDelay),n}(n):null,a.fixedMirrorParent?s.parentNode=a.fixedMirrorParent:s.parentNode=(0,r.$)(t,".fc"),s.revertDuration=a.dragRevertDuration;let c=n.isValidSegDownEl(t)&&!(0,r.$)(t,".fc-event-resizer");i.setIgnoreMove(!c),this.isDragging=c&&e.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=e=>{let t=this.component.context,n=this.eventRange,i=n.instance.instanceId;e.isTouch?i!==this.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:i}):t.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new r.a0(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},this.handleHitUpdate=(e,t)=>{if(!this.isDragging)return;let n=this.relevantEvents,i=this.hitDragging.initialHit,s=this.component.context,a=null,o=null,l=null,d=!1,c={affectedEvents:n,mutatedEvents:(0,r.I)(),isEvent:!0};if(e){let t=(a=e.context).options;s===a||t.editable&&t.droppable?(o=function(e,t,n,i){let s=e.dateSpan,a=t.dateSpan,o=s.range.start,l=a.range.start,d={};s.allDay!==a.allDay&&(d.allDay=a.allDay,d.hasEnd=t.context.options.allDayMaintainDuration,o=a.allDay?(0,r.q)(n):n);let c=(0,r.aA)(o,l,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);c.milliseconds&&(d.allDay=!1);let u={datesDelta:c,standardProps:d};for(let n of i)n(u,e,t);return u}(i,e,this.eventRange.instance.range.start,a.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(c.mutatedEvents=l=(0,r.bX)(n,a.getCurrentData().eventUiBases,o,a),(0,r.bZ)(c,e.dateProfile,a)||(d=!0,o=null,l=null,c.mutatedEvents=(0,r.I)())):a=null}this.displayDrag(a,c),d?(0,r.ax)():(0,r.aw)(),t||(s===a&&y(i,e)&&(o=null),this.dragging.setMirrorNeedsRevert(!o),this.dragging.setMirrorIsVisible(!e||!this.subjectEl.getRootNode().querySelector(".fc-event-mirror")),this.receivingContext=a,this.validMutation=o,this.mutatedRelevantEvents=l)},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=e=>{if(this.isDragging){let t=this.component.context,n=t.viewApi,{receivingContext:i,validMutation:s}=this,a=this.eventRange.def,o=this.eventRange.instance,l=new r.a0(t,a,o),d=this.relevantEvents,c=this.mutatedRelevantEvents,{finalHit:u}=this.hitDragging;if(this.clearDrag(),t.emitter.trigger("eventDragStop",{el:this.subjectEl,event:l,jsEvent:e.origEvent,view:n}),s){if(i===t){let i=new r.a0(t,c.defs[a.defId],o?c.instances[o.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:c});let u={oldEvent:l,event:i,relatedEvents:(0,r.w)(c,t,o),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:d})}},h={};for(let e of t.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(h,e(s,t));t.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},u),h),{el:e.subjectEl,delta:s.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",u)}else if(i){let s={event:l,relatedEvents:(0,r.w)(d,t,o),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:d})}};t.emitter.trigger("eventLeave",Object.assign(Object.assign({},s),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:d}),t.emitter.trigger("eventRemove",s);let h=c.defs[a.defId],f=c.instances[o.instanceId],g=new r.a0(i,h,f);i.dispatch({type:"MERGE_EVENTS",eventStore:c});let p={event:g,relatedEvents:(0,r.w)(c,i,f),revert(){i.dispatch({type:"REMOVE_EVENTS",eventStore:c})}};i.emitter.trigger("eventAdd",p),e.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:o.instanceId}),i.emitter.trigger("drop",Object.assign(Object.assign({},w(u.dateSpan,i)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:u.context.viewApi})),i.emitter.trigger("eventReceive",Object.assign(Object.assign({},p),{draggedEl:e.subjectEl,view:u.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}this.cleanup()};let{component:t}=this,{options:n}=t.context,i=this.dragging=new m(e.el);i.pointer.selector=E.SELECTOR,i.touchScrollAllowed=!1,i.autoScroller.isEnabled=n.dragScroll;let s=this.hitDragging=new b(this.dragging,r.a7);s.useSubjectCenter=e.useEventCenter,s.emitter.on("pointerdown",this.handlePointerDown),s.emitter.on("dragstart",this.handleDragStart),s.emitter.on("hitupdate",this.handleHitUpdate),s.emitter.on("pointerup",this.handlePointerUp),s.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(e,t){let n=this.component.context,i=this.receivingContext;i&&i!==e&&(i===n?i.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:(0,r.I)(),isEvent:!0}}):i.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}clearDrag(){let e=this.component.context,{receivingContext:t}=this;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})}cleanup(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}}E.SELECTOR=".fc-event-draggable, .fc-event-resizable";class x extends r.Z{constructor(e){super(e),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=e=>{let{component:t}=this,n=this.querySegEl(e),i=(0,r._)(n),s=this.eventRange=i.eventRange;this.dragging.minDistance=t.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&this.component.props.eventSelection!==s.instance.instanceId)},this.handleDragStart=e=>{let{context:t}=this.component,n=this.eventRange;this.relevantEvents=(0,r.aV)(t.getCurrentData().eventStore,this.eventRange.instance.instanceId);let i=this.querySegEl(e);this.draggingSegEl=i,this.draggingSeg=(0,r._)(i),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:i,event:new r.a0(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi})},this.handleHitUpdate=(e,t,n)=>{let{context:i}=this.component,s=this.relevantEvents,a=this.hitDragging.initialHit,o=this.eventRange.instance,l=null,d=null,c=!1,u={affectedEvents:s,mutatedEvents:(0,r.I)(),isEvent:!0};e&&(e.componentId===a.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(a,e)||(l=function(e,t,n,i){let s=e.context.dateEnv,a=e.dateSpan.range.start,o=t.dateSpan.range.start,l=(0,r.aA)(a,o,s,e.largeUnit);if(n){if(s.add(i.start,l)i.start)return{endDelta:l};return null}(a,e,n.subjectEl.classList.contains("fc-event-resizer-start"),o.range))),l&&(u.mutatedEvents=d=(0,r.bX)(s,i.getCurrentData().eventUiBases,l,i),(0,r.bZ)(u,e.dateProfile,i)||(c=!0,l=null,d=null,u.mutatedEvents=null)),d?i.dispatch({type:"SET_EVENT_RESIZE",state:u}):i.dispatch({type:"UNSET_EVENT_RESIZE"}),c?(0,r.ax)():(0,r.aw)(),t||(l&&y(a,e)&&(l=null),this.validMutation=l,this.mutatedRelevantEvents=d)},this.handleDragEnd=e=>{let{context:t}=this.component,n=this.eventRange.def,i=this.eventRange.instance,s=new r.a0(t,n,i),a=this.relevantEvents,o=this.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:s,jsEvent:e.origEvent,view:t.viewApi}),this.validMutation){let l=new r.a0(t,o.defs[n.defId],i?o.instances[i.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:o});let d={oldEvent:s,event:l,relatedEvents:(0,r.w)(o,t,i),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:a})}};t.emitter.trigger("eventResize",Object.assign(Object.assign({},d),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||(0,r.d)(0),endDelta:this.validMutation.endDelta||(0,r.d)(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",d)}else t.emitter.trigger("_noEventResize");this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};let{component:t}=e,n=this.dragging=new m(e.el);n.pointer.selector=".fc-event-resizer",n.touchScrollAllowed=!1,n.autoScroller.isEnabled=t.context.options.dragScroll;let i=this.hitDragging=new b(this.dragging,(0,r.bG)(e));i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(e){return(0,r.$)(e.subjectEl,".fc-event")}}class D{constructor(e){this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=e=>{e.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=e=>{let t=this.context.options.unselectCancel,n=(0,r.aR)(e.origEvent);this.matchesCancel=!!(0,r.$)(n,t),this.matchesEvent=!!(0,r.$)(n,E.SELECTOR)},this.onDocumentPointerUp=e=>{let{context:t}=this,{documentPointer:n}=this,i=t.getCurrentData();if(!n.wasTouchScroll){if(i.dateSelection&&!this.isRecentPointerDateSelect){let n=t.options.unselectAuto;!n||n&&this.matchesCancel||t.calendarApi.unselect(e)}i.eventSelection&&!this.matchesEvent&&t.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let t=this.documentPointer=new l(document);t.shouldIgnoreMove=!0,t.shouldWatchScroll=!1,t.emitter.on("pointerdown",this.onDocumentPointerDown),t.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}let R={fixedMirrorParent:r.n},T={dateClick:r.n,eventDragStart:r.n,eventDragStop:r.n,eventDrop:r.n,eventResizeStart:r.n,eventResizeStop:r.n,eventResize:r.n,drop:r.n,eventReceive:r.n,eventLeave:r.n};r.bI.dataAttrPrefix="",r.bH;var C=(0,i.i1)({name:"@fullcalendar/interaction",componentInteractions:[_,S,E,x],calendarInteractions:[D],elementDraggingImpl:m,optionRefiners:R,listenerRefiners:T})},44783:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>s,_P:()=>l,_m:()=>o,my:()=>i,s0:()=>a,w4:()=>r});let i=6048e5,r=864e5,s=6e4,a=36e5,o=1e3,l=Symbol.for("constructDateFrom")},45279:(e,t,n)=>{"use strict";n.d(t,{c:()=>d});let i={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function r(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let s={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function o(e){return(t,n)=>{let i;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):t;i=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;i=e.values[r]||e.values[t]}return i[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return function(t){let n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.width,s=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(s);if(!a)return null;let o=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(l)?function(e,t){for(let n=0;ne.test(o)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(l,e=>e.test(o));return n=e.valueCallback?e.valueCallback(d):d,{value:n=i.valueCallback?i.valueCallback(n):n,rest:t.slice(o.length)}}}let d={code:"en-US",formatDistance:(e,t,n)=>{let r,s=i[e];if(r="string"==typeof s?s:1===t?s.one:s.other.replace("{{count}}",t.toString()),null==n?void 0:n.addSuffix)if(n.comparison&&n.comparison>0)return"in "+r;else return r+" ago";return r},formatLong:s,formatRelative:(e,t,n,i)=>a[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:o({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:o({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:o({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:o({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=t.match(e.matchPattern);if(!i)return null;let r=i[0],s=t.match(e.parsePattern);if(!s)return null;let a=e.valueCallback?e.valueCallback(s[0]):s[0];return{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(r.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},46822:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var i=n(23327);function r(e,t){return+(0,i.a)(e)==+(0,i.a)(t)}},50826:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});let i={};function r(){return i}},51220:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});let i=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},s={p:r,P:(e,t)=>{let n,s=e.match(/(P+)(p+)?/)||[],a=s[1],o=s[2];if(!o)return i(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",i(a,t)).replace("{{time}}",r(o,t))}}},51314:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(80053),r=n(77883),s=(0,i.i1)({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:r.eu,dateProfileGeneratorClass:r.LH},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}})},52372:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var i=n(20735);function r(e,t){return(0,i.k)(e,{...t,weekStartsOn:1})}},52666:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});var i=n(63039),r=n(23327);function s(e,t){let n,s=null==t?void 0:t.in;return e.forEach(e=>{s||"object"!=typeof e||(s=i.w.bind(null,e));let t=(0,r.a)(e,s);(!n||n>t||isNaN(+t))&&(n=t)}),(0,i.w)(s,n||NaN)}},54954:(e,t,n)=>{"use strict";function i(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}n.d(t,{$:()=>i})},56464:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});var i=n(23327);function r(e,t,n){let r=+(0,i.a)(e,null==n?void 0:n.in),[s,a]=[+(0,i.a)(t.start,null==n?void 0:n.in),+(0,i.a)(t.end,null==n?void 0:n.in)].sort((e,t)=>e-t);return r>=s&&r<=a}},58698:(e,t,n)=>{"use strict";function i(e){return(t,n)=>{let i;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):t;i=e.formattingValues[r]||e.formattingValues[t]}else{let t=e.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;i=e.values[r]||e.values[t]}return i[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{o:()=>i})},63039:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});var i=n(44783);function r(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&i._P in e?e[i._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},63287:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});var i=n(23327);function r(e,t,n){let r=(0,i.a)(e,null==n?void 0:n.in);return r.setSeconds(t),r}},63998:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var i=n(44783),r=n(23327);function s(e,t,n){let s=(0,r.a)(e,null==n?void 0:n.in);return s.setTime(s.getTime()+t*i.Cg),s}},65637:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});var i=n(17546);function r(e,t,n){return(0,i.P)(e,12*t,n)}},67096:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}},67356:(e,t,n)=>{"use strict";function i(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{k:()=>i})},68514:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var i=n(50826),r=n(23327);function s(e,t){var n,s,a,o,l,d,c,u;let h=(0,i.q)(),f=null!=(u=null!=(c=null!=(d=null!=(l=null==t?void 0:t.weekStartsOn)?l:null==t||null==(s=t.locale)||null==(n=s.options)?void 0:n.weekStartsOn)?d:h.weekStartsOn)?c:null==(o=h.locale)||null==(a=o.options)?void 0:a.weekStartsOn)?u:0,g=(0,r.a)(e,null==t?void 0:t.in),p=g.getDay();return g.setDate(g.getDate()+((p{"use strict";n.d(t,{A:()=>i});let i=(0,n(19946).A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},70331:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var i=n(63039),r=n(23327);function s(e,t,n){let s=(0,r.a)(e,null==n?void 0:n.in);return isNaN(+s)?(0,i.w)((null==n?void 0:n.in)||e,NaN):(s.setFullYear(t),s)}},74251:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});var i=n(79447);function r(e,t,n){let[r,s]=(0,i.x)(null==n?void 0:n.in,e,t);return 12*(r.getFullYear()-s.getFullYear())+(r.getMonth()-s.getMonth())}},74266:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(12115),r=n(47650),s=n(80053),a=n(35612);let o=18>parseInt(String(i.version).split(".")[0]);class l extends i.Component{constructor(){super(...arguments),this.elRef=(0,i.createRef)(),this.isUpdating=!1,this.isUnmounting=!1,this.state={customRenderingMap:new Map},this.requestResize=()=>{this.isUnmounting||(this.cancelResize(),this.resizeId=requestAnimationFrame(()=>{this.doResize()}))}}render(){let e=[];for(let t of this.state.customRenderingMap.values())e.push(i.createElement(d,{key:t.id,customRendering:t}));return i.createElement("div",{ref:this.elRef},e)}componentDidMount(){let e;this.isUnmounting=!1;let t=new a.cy;this.handleCustomRendering=t.handle.bind(t),this.calendar=new s.Vv(this.elRef.current,Object.assign(Object.assign({},this.props),{handleCustomRendering:this.handleCustomRendering})),this.calendar.render(),this.calendar.on("_beforeprint",()=>{(0,r.flushSync)(()=>{})}),t.subscribe(t=>{let n=Date.now(),i=!e;(o||i||this.isUpdating||this.isUnmounting||n-e<100?c:r.flushSync)(()=>{this.setState({customRenderingMap:t},()=>{e=n,i?this.doResize():this.requestResize()})})})}componentDidUpdate(){this.isUpdating=!0,this.calendar.resetOptions(Object.assign(Object.assign({},this.props),{handleCustomRendering:this.handleCustomRendering})),this.isUpdating=!1}componentWillUnmount(){this.isUnmounting=!0,this.cancelResize(),this.calendar.destroy()}doResize(){this.calendar.updateSize()}cancelResize(){void 0!==this.resizeId&&(cancelAnimationFrame(this.resizeId),this.resizeId=void 0)}getApi(){return this.calendar}}l.act=c;class d extends i.PureComponent{render(){let{customRendering:e}=this.props,{generatorMeta:t}=e,n="function"==typeof t?t(e.renderProps):t;return(0,r.createPortal)(n,e.containerEl)}}function c(e){e()}},75935:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(17546);function r(e,t,n){return(0,i.P)(e,-t,n)}},76151:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});var i=n(23327);function r(e){return+(0,i.a)(e)}},76344:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var i=n(23327);function r(e,t){return(0,i.a)(e,null==t?void 0:t.in).getDay()}},76433:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var i=n(23327);function r(e,t){return(0,i.a)(e,null==t?void 0:t.in).getHours()}},77667:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var i=n(23327);function r(e){return(0,i.a)(e).getSeconds()}},77883:(e,t,n)=>{"use strict";n.d(t,{LH:()=>P,eu:()=>k,t7:()=>C});var i=n(35612),r=n(11936);class s extends i.be{constructor(){super(...arguments),this.headerElRef=(0,r._3)()}renderSimpleLayout(e,t){let{props:n,context:s}=this,a=[],o=(0,i.cc)(s.options);return e&&a.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),a.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),(0,r.n)(i.ct,{elClasses:["fc-daygrid"],viewSpec:s.viewSpec},(0,r.n)(i.b$,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:a}))}renderHScrollLayout(e,t,n,s){let a=this.context.pluginHooks.scrollGridImpl;if(!a)throw Error("No ScrollGrid implementation");let{props:o,context:l}=this,d=!o.forPrint&&(0,i.cc)(l.options),c=!o.forPrint&&(0,i.cb)(l.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:d,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),c&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:i.ca}]}),(0,r.n)(i.ct,{elClasses:["fc-daygrid"],viewSpec:l.viewSpec},(0,r.n)(a,{liquid:!o.isHeightAuto&&!o.forPrint,forPrint:o.forPrint,collapsibleWidth:o.forPrint,colGroups:[{cols:[{span:n,minWidth:s}]}],sections:u}))}}function a(e,t){let n=[];for(let e=0;e{let n=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return(0,r.n)(r.FK,null,t.map(t=>{let s=t.eventRange.instance.instanceId;return(0,r.n)("div",{className:"fc-daygrid-event-harness",key:s,style:{visibility:n[s]?"hidden":""}},c(t)?(0,r.n)(h,Object.assign({seg:t,isDragging:!1,isSelected:s===e.eventSelection,defaultDisplayEventEnd:!1},(0,i.bS)(t,e.todayRange))):(0,r.n)(u,Object.assign({seg:t,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:s===e.eventSelection,defaultDisplayEventEnd:!1},(0,i.bS)(t,e.todayRange))))}))}})}}function p(e){let t=[],n=[];for(let i of e)t.push(i.seg),i.isVisible||n.push(i.seg);return{allSegs:t,invisibleSegs:n}}let m=(0,i.x)({week:"narrow"});class v extends i.be{constructor(){super(...arguments),this.rootElRef=(0,r._3)(),this.state={dayNumberId:(0,i.a5)()},this.handleRootEl=e=>{(0,i.Y)(this.rootElRef,e),(0,i.Y)(this.props.elRef,e)}}render(){let{context:e,props:t,state:n,rootElRef:s}=this,{options:a,dateEnv:o}=e,{date:l,dateProfile:d}=t,c=t.showDayNumber&&function(e,t,n){let{start:r,end:s}=t,a=(0,i.bg)(s,-1),o=n.getYear(r),l=n.getMonth(r),d=n.getYear(a),c=n.getMonth(a);return(o!==d||l!==c)&&!!(e.valueOf()===r.valueOf()||1===n.getDay(e)&&e.valueOf()(0,r.n)("div",{ref:t.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:t.minHeight}},t.showWeekNumber&&(0,r.n)(i.cq,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:(0,i.b0)(e,l,"week"),date:l,defaultFormat:m}),!d.isDisabled&&(t.showDayNumber||(0,i.cm)(a)||t.forceDayTop)?(0,r.n)("div",{className:"fc-daygrid-day-top"},(0,r.n)(o,{elTag:"a",elClasses:["fc-daygrid-day-number",c&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},(0,i.b0)(e,l)),{id:n.dayNumberId})})):t.showDayNumber?(0,r.n)("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},(0,r.n)("a",{className:"fc-daygrid-day-number"},"\xa0")):void 0,(0,r.n)("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,(0,r.n)("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},(0,r.n)(g,{allDayDate:l,singlePlacements:t.singlePlacements,moreCnt:t.moreCnt,alignmentElRef:s,alignGridTop:!t.showDayNumber,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange}))),(0,r.n)("div",{className:"fc-daygrid-day-bg"},t.bgContent)))}}function b(e){return e.dayNumberText||(0,r.n)(r.FK,null,"\xa0")}function y(e){return e.eventRange.instance.instanceId+":"+e.firstCol}function w(e){return y(e)+":"+e.lastCol}function _(e,t,n,r){if(e.firstCol===t&&e.lastCol===n-1)return e;let s=e.eventRange,a=s.range,o=(0,i.o)(a,{start:r[t].date,end:(0,i.t)(r[n-1].date,1)});return Object.assign(Object.assign({},e),{firstCol:t,lastCol:n-1,eventRange:{def:s.def,ui:Object.assign(Object.assign({},s.ui),{durationEditable:!1}),instance:s.instance,range:o},isStart:e.isStart&&o.start.valueOf()===a.start.valueOf(),isEnd:e.isEnd&&o.end.valueOf()===a.end.valueOf()})}class S extends i.bA{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){let t=super.addSegs(e),{entriesByLevel:n}=this,r=e=>!this.forceHidden[(0,i.bB)(e)];for(let e=0;e{e&&this.updateSizing(!0)}}render(){let{props:e,state:t,context:n}=this,{options:s}=n,a=e.cells.length,l=o(e.businessHourSegs,a),d=o(e.bgEventSegs,a),c=o(this.getHighlightSegs(),a),u=o(this.getMirrorSegs(),a),{singleColPlacements:h,multiColPlacements:f,moreCnts:g,moreMarginTops:p}=function(e,t,n,i,r,s,a){let o=new S(t=>r[e[t.index].eventRange.instance.instanceId+":"+t.span.start+":"+(t.span.end-1)]||1);o.allowReslicing=!0,o.strictOrder=i,!0===t||!0===n?(o.maxCoord=s,o.hiddenConsumes=!0):"number"==typeof t?o.maxStackCnt=t:"number"==typeof n&&(o.maxStackCnt=n,o.hiddenConsumes=!0);let l=[],d=[];for(let t=0;t1,a=i.span.start===e;c+=i.levelCoord-d,d=i.levelCoord+i.thickness,s?(c+=i.thickness,a&&u.push({seg:_(r,i.span.start,i.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:i.levelCoord,marginTop:0})):a&&(u.push({seg:_(r,i.span.start,i.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:i.levelCoord,marginTop:c}),c=0)}r.push(l),s.push(u),a.push(c)}return{singleColPlacements:r,multiColPlacements:s,leftoverMargins:a}}(o.toRects(),e,a),g=[],p=[];for(let e of d){h[e.firstCol].push({seg:e,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let t=e.firstCol;t<=e.lastCol;t+=1)u[t].push({seg:_(e,t,t+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let e=0;e{let i=this.renderFgSegs(n,e.forPrint?h[n]:f[n],e.todayRange,m),s=this.renderFgSegs(n,function(e,t){if(!e.length)return[];let n=function(e){let t={};for(let n of e)for(let e of n)t[e.seg.eventRange.instance.instanceId]=e.absoluteTop;return t}(t);return e.map(e=>({seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}))}(u[n],f),e.todayRange,{},!!e.eventDrag,!!e.eventResize,!1);return(0,r.n)(v,{key:t.key,elRef:this.cellElRefs.createRef(t.key),innerElRef:this.frameElRefs.createRef(t.key),dateProfile:e.dateProfile,date:t.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&0===n,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:t.extraRenderProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,moreCnt:g[n],moreMarginTop:p[n],singlePlacements:h[n],fgContentElRef:this.fgElRefs.createRef(t.key),fgContent:(0,r.n)(r.FK,null,(0,r.n)(r.FK,null,i),(0,r.n)(r.FK,null,s)),bgContent:(0,r.n)(r.FK,null,this.renderFillSegs(c[n],"highlight"),this.renderFillSegs(l[n],"non-business"),this.renderFillSegs(d[n],"bg-event")),minHeight:e.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,t){let n=this.props;this.updateSizing(!(0,i.E)(e,n))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,t,n,s,a,o,l){let{context:d}=this,{eventSelection:f}=this.props,{framePositions:g}=this.state,p=1===this.props.cells.length,m=a||o||l,v=[];if(g)for(let e of t){let{seg:t}=e,{instanceId:b}=t.eventRange.instance,_=e.isVisible&&!s[b],S=e.isAbsolute,E="",x="";S&&(d.isRtl?(x=0,E=g.lefts[t.lastCol]-g.lefts[t.firstCol]):(E=0,x=g.rights[t.firstCol]-g.rights[t.lastCol])),v.push((0,r.n)("div",{className:"fc-daygrid-event-harness"+(S?" fc-daygrid-event-harness-abs":""),key:y(t),ref:m?null:this.segHarnessRefs.createRef(w(t)),style:{visibility:_?"":"hidden",marginTop:S?"":e.marginTop,top:S?e.absoluteTop:"",left:E,right:x}},c(t)?(0,r.n)(h,Object.assign({seg:t,isDragging:a,isSelected:b===f,defaultDisplayEventEnd:p},(0,i.bS)(t,n))):(0,r.n)(u,Object.assign({seg:t,isDragging:a,isResizing:o,isDateSelecting:l,isSelected:b===f,defaultDisplayEventEnd:p},(0,i.bS)(t,n)))))}return v}renderFillSegs(e,t){let{isRtl:n}=this.context,{todayRange:s}=this.props,{framePositions:a}=this.state,o=[];if(a)for(let l of e){let e=n?{right:0,left:a.lefts[l.lastCol]-a.lefts[l.firstCol]}:{left:0,right:a.rights[l.firstCol]-a.rights[l.lastCol]};o.push((0,r.n)("div",{key:(0,i.bT)(l.eventRange),className:"fc-daygrid-bg-harness",style:e},"bg-event"===t?(0,r.n)(i.cp,Object.assign({seg:l},(0,i.bS)(l,s))):(0,i.co)(t)))}return(0,r.n)(r.FK,{},...o)}updateSizing(e){let{props:t,state:n,frameElRefs:r}=this;if(!t.forPrint&&null!==t.clientWidth){if(e){let e=t.cells.map(e=>r.currentMap[e.key]);if(e.length){let t=this.rootElRef.current,r=new i.ba(t,e,!0,!1);n.framePositions&&n.framePositions.similarTo(r)||this.setState({framePositions:new i.ba(t,e,!0,!1)})}}let s=this.state.segHeights,a=this.querySegHeights(),o=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({segHeights:Object.assign(Object.assign({},s),a),maxContentHeight:o?this.computeMaxContentHeight():null})}}querySegHeights(){let e=this.segHarnessRefs.currentMap,t={};for(let n in e){let i=Math.round(e[n].getBoundingClientRect().height);t[n]=Math.max(t[n]||0,i)}return t}computeMaxContentHeight(){let e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map(t=>e[t.key])}}E.addStateEquality({segHeights:i.E});class x extends i.be{constructor(){super(...arguments),this.splitBusinessHourSegs=(0,i.z)(a),this.splitBgEventSegs=(0,i.z)(a),this.splitFgEventSegs=(0,i.z)(a),this.splitDateSelectionSegs=(0,i.z)(a),this.splitEventDrag=(0,i.z)(l),this.splitEventResize=(0,i.z)(l),this.rowRefs=new i.cf}render(){let{props:e,context:t}=this,n=e.cells.length,s=this.splitBusinessHourSegs(e.businessHourSegs,n),a=this.splitBgEventSegs(e.bgEventSegs,n),o=this.splitFgEventSegs(e.fgEventSegs,n),l=this.splitDateSelectionSegs(e.dateSelectionSegs,n),d=this.splitEventDrag(e.eventDrag,n),c=this.splitEventResize(e.eventResize,n),u=n>=7&&e.clientWidth?e.clientWidth/t.options.aspectRatio/6:null;return(0,r.n)(i.ch,{unit:"day"},(t,i)=>(0,r.n)(r.FK,null,e.cells.map((t,h)=>(0,r.n)(E,{ref:this.rowRefs.createRef(h),key:t.length?t[0].date.toISOString():h,showDayNumbers:n>1,showWeekNumbers:e.showWeekNumbers,todayRange:i,dateProfile:e.dateProfile,cells:t,renderIntro:e.renderRowIntro,businessHourSegs:s[h],eventSelection:e.eventSelection,bgEventSegs:a[h].filter(D),fgEventSegs:o[h],dateSelectionSegs:l[h],eventDrag:d[h],eventResize:c[h],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:u,forPrint:e.forPrint}))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){let e=this.rowRefs.currentMap[0].getCellEls()[0],t=e?e.closest(".fc-daygrid-body"):null;t&&(this.rootEl=t,this.context.registerInteractiveComponent(this,{el:t,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new i.ba(this.rootEl,this.rowRefs.collect().map(e=>e.getCellEls()[0]),!1,!0),this.colPositions=new i.ba(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,t){let{colPositions:n,rowPositions:i}=this,r=n.leftToIndex(e),s=i.topToIndex(t);if(null!=s&&null!=r){let e=this.props.cells[s][r];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(s,r),allDay:!0},e.extraDateSpan),dayEl:this.getCellEl(s,r),rect:{left:n.lefts[r],right:n.rights[r],top:i.tops[s],bottom:i.bottoms[s]},layer:0}}return null}getCellEl(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]}getCellRange(e,t){let n=this.props.cells[e][t].date,r=(0,i.t)(n,1);return{start:n,end:r}}}function D(e){return e.eventRange.def.allDay}class R extends i.be{constructor(){super(...arguments),this.elRef=(0,r._3)(),this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:t,dayMaxEvents:n,expandRows:i}=e,s=!0===n||!0===t;s&&!i&&(s=!1,t=null,n=null);let a=["fc-daygrid-body",s?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",i?"":"fc-daygrid-body-natural"];return(0,r.n)("div",{ref:this.elRef,className:a.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},(0,r.n)("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:i?e.clientHeight:""}},e.colGroupNode,(0,r.n)("tbody",{role:"presentation"},(0,r.n)(x,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:n,dayMaxEventRows:t,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){var e,t;let n,r=(e=this.elRef.current,(t=this.props.dateProfile).currentRangeUnit.match(/year|month/)&&(n=e.querySelector(`[data-date="${(0,i.bx)(t.currentDate)}-01"]`)),n||(n=e.querySelector(`[data-date="${(0,i.bv)(t.currentDate)}"]`)),n);if(r){let e=r.closest(".fc-daygrid-body"),t=e.closest(".fc-scroller"),n=r.getBoundingClientRect().top-e.getBoundingClientRect().top;t.scrollTop=n?n+1:0}this.needsScrollReset=!1}}}class T extends i.bW{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,t){return t.sliceRange(e)}}class C extends i.be{constructor(){super(...arguments),this.slicer=new T,this.tableRef=(0,r._3)()}render(){let{props:e,context:t}=this;return(0,r.n)(R,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))}}class k extends s{constructor(){super(...arguments),this.buildDayTableModel=(0,i.z)(M),this.headerRef=(0,r._3)(),this.tableRef=(0,r._3)()}render(){let{options:e,dateProfileGenerator:t}=this.context,{props:n}=this,s=this.buildDayTableModel(n.dateProfile,t),a=e.dayHeaders&&(0,r.n)(i.bK,{ref:this.headerRef,dateProfile:n.dateProfile,dates:s.headerDates,datesRepDistinctDays:1===s.rowCnt}),o=t=>(0,r.n)(C,{ref:this.tableRef,dateProfile:n.dateProfile,dayTableModel:s,businessHours:n.businessHours,dateSelection:n.dateSelection,eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!n.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:n.forPrint});return e.dayMinWidth?this.renderHScrollLayout(a,o,s.colCnt,e.dayMinWidth):this.renderSimpleLayout(a,o)}}function M(e,t){let n=new i.bO(e.renderRange,t);return new i.bV(n,/year|month|week/.test(e.currentRangeUnit))}class P extends i.U{buildRenderRange(e,t,n){let r=super.buildRenderRange(e,t,n),{props:s}=this;return function(e){let t,{dateEnv:n,currentRange:r}=e,{start:s,end:a}=r;if(e.snapToWeek&&(s=n.startOfWeek(s),(t=n.startOfWeek(a)).valueOf()!==a.valueOf()&&(a=(0,i.bh)(t,1))),e.fixedWeekCount){let e=n.startOfWeek(n.startOfMonth((0,i.t)(r.end,-1))),t=Math.ceil((0,i.bi)(e,a));a=(0,i.bh)(a,6-t)}return{start:s,end:a}}({currentRange:r,snapToWeek:/^(year|month)$/.test(t),fixedWeekCount:s.fixedWeekCount,dateEnv:s.dateEnv})}}(0,i.cw)(':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}')},78089:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var i=n(79447),r=n(8079);function s(e,t,n){let[s,o]=(0,i.x)(null==n?void 0:n.in,e,t),l=a(s,o),d=Math.abs((0,r.m)(s,o));s.setDate(s.getDate()-l*d);let c=Number(a(s,o)===-l),u=l*(d-c);return 0===u?0:u}function a(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}},78196:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(63039),r=n(23327);function s(e,t,n){let s=(0,r.a)(e,null==n?void 0:n.in),a=s.getFullYear(),o=s.getDate(),l=(0,i.w)((null==n?void 0:n.in)||e,0);l.setFullYear(a,t,15),l.setHours(0,0,0,0);let d=function(e,t){let n=(0,r.a)(e,void 0),s=n.getFullYear(),a=n.getMonth(),o=(0,i.w)(n,0);return o.setFullYear(s,a+1,0),o.setHours(0,0,0,0),o.getDate()}(l);return s.setMonth(t,Math.min(o,d)),s}},79003:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});var i=n(7954);function r(e,t,n){return(0,i.f)(e,-t,n)}},79447:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var i=n(63039);function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r"object"==typeof e));return n.map(s)}},79884:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var i=n(23327);function r(e,t){return(0,i.a)(e,null==t?void 0:t.in).getMonth()}},80053:(e,t,n)=>{"use strict";n.d(t,{Vv:()=>et,i1:()=>u});var i=n(35612),r=n(11936);n(26503);let s=[],a={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},o=Object.assign(Object.assign({},a),{buttonHints:{prev:"Previous $0",next:"Next $0",today:(e,t)=>"day"===t?"Today":`This ${e}`},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`});function l(e){let t=e.length>0?e[0].code:"en",n=s.concat(e),i={en:o};for(let e of n)i[e.code]=e;return{map:i,defaultCode:t}}function d(e,t){var n,i;let r,s;return"object"!=typeof e||Array.isArray(e)?(n=e,i=t,s=function(e,t){for(let n=0;n0;e-=1){let n=i.slice(0,e).join("-");if(t[n])return t[n]}}return null}(r=[].concat(n||[]),i)||o,c(n,r,s)):c(e.code,[e.code],e)}function c(e,t,n){let r=(0,i.m)([a,n],["buttonText"]);delete r.code;let{week:s}=r;return delete r.week,{codeArg:e,codes:t,week:s,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}function u(e){return{id:(0,i.g)(),name:e.name,premiumReleaseDate:e.premiumReleaseDate?new Date(e.premiumReleaseDate):void 0,deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}class h extends i.T{}function f(e,t,n,i){if(t[e])return t[e];let r=function(e,t,n,i){let r=n[e],s=i[e],a=e=>r&&null!==r[e]?r[e]:s&&null!==s[e]?s[e]:null,o=a("component"),l=a("superType"),d=null;if(l){if(l===e)throw Error("Can't have a custom view type that references itself");d=f(l,t,n,i)}return(!o&&d&&(o=d.component),o)?{type:e,component:o,defaults:Object.assign(Object.assign({},d?d.defaults:{}),r?r.rawOptions:{}),overrides:Object.assign(Object.assign({},d?d.overrides:{}),s?s.rawOptions:{})}:null}(e,t,n,i);return r&&(t[e]=r),r}h.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},h.prototype.baseIconClass="fc-icon",h.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},h.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},h.prototype.iconOverrideOption="buttonIcons",h.prototype.iconOverrideCustomButtonOption="icon",h.prototype.iconOverridePrefix="fc-icon-";function g(e){let t="function"==typeof e?{component:e}:e,{component:n}=t;return t.content?n=p(t):!n||n.prototype instanceof i.B||(n=p(Object.assign(Object.assign({},t),{content:n}))),{superType:t.type,component:n,rawOptions:t}}function p(e){return t=>(0,r.n)(i.V.Consumer,null,n=>(0,r.n)(i.C,{elTag:"div",elClasses:(0,i.b)(n.viewSpec),renderProps:Object.assign(Object.assign({},t),{nextDayThreshold:n.options.nextDayThreshold}),generatorName:void 0,customGenerator:e.content,classNameGenerator:e.classNames,didMount:e.didMount,willUnmount:e.willUnmount}))}function m(e,t,n,r){var s;let a=(0,i.a)(e,g),o=(s=t.views,(0,i.a)(s,g)),l=function(e,t){let n,i={};for(n in e)f(n,i,e,t);for(n in t)f(n,i,e,t);return i}(a,o);return(0,i.a)(l,e=>(function(e,t,n,r,s){var a;let o,l,d=e.overrides.duration||e.defaults.duration||r.duration||n.duration,c=null,u="",h="",f={};if(d&&(void 0===(l=v[o=JSON.stringify(a=d)])&&(l=(0,i.d)(a),v[o]=l),c=l)){let e=(0,i.c)(c);u=e.unit,1===e.value&&(h=u,f=t[u]?t[u].rawOptions:{})}let g=t=>{let n=t.buttonText||{},i=e.defaults.buttonTextKey;return null!=i&&null!=n[i]?n[i]:null!=n[e.type]?n[e.type]:null!=n[h]?n[h]:null},p=t=>{let n=t.buttonHints||{},i=e.defaults.buttonTextKey;return null!=i&&null!=n[i]?n[i]:null!=n[e.type]?n[e.type]:null!=n[h]?n[h]:null};return{type:e.type,component:e.component,duration:c,durationUnit:u,singleUnit:h,optionDefaults:e.defaults,optionOverrides:Object.assign(Object.assign({},f),e.overrides),buttonTextOverride:g(r)||g(n)||e.overrides.buttonText,buttonTextDefault:g(s)||e.defaults.buttonText||g(i.e)||e.type,buttonTitleOverride:p(r)||p(n)||e.overrides.buttonHint,buttonTitleDefault:p(s)||e.defaults.buttonHint||p(i.e)}})(e,o,t,n,r))}let v={};function b(e){for(let t in e)if(e[t].isFetching)return!0;return!1}function y(e,t,n,i){let r={};for(let e of t)r[e.sourceId]=e;return n&&(r=w(r,n,i)),Object.assign(Object.assign({},e),r)}function w(e,t,n){return _(e,(0,i.h)(e,e=>{var i,r,s;return i=e,r=t,E(i,s=n)?!s.options.lazyFetching||!i.fetchRange||i.isFetching||r.starti.fetchRange.end:!i.latestFetchId}),t,!1,n)}function _(e,t,n,r,s){let a={};for(let o in e){let l=e[o];t[o]?a[o]=function(e,t,n,r){let{options:s,calendarApi:a}=r,o=r.pluginHooks.eventSourceDefs[e.sourceDefId],l=(0,i.g)();return o.fetch({eventSource:e,range:t,isRefetch:n,context:r},n=>{let{rawEvents:i}=n;s.eventSourceSuccess&&(i=s.eventSourceSuccess.call(a,i,n.response)||i),e.success&&(i=e.success.call(a,i,n.response)||i),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:l,fetchRange:t,rawEvents:i})},n=>{let i=!1;s.eventSourceFailure&&(s.eventSourceFailure.call(a,n),i=!0),e.failure&&(e.failure(n),i=!0),i||console.warn(n.message,n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:l,fetchRange:t,error:n})}),Object.assign(Object.assign({},e),{isFetching:!0,latestFetchId:l})}(l,n,r,s):a[o]=l}return a}function S(e,t){return(0,i.h)(e,e=>E(e,t))}function E(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function x(e,t,n,i,r){return{header:e.headerToolbar?D(e.headerToolbar,e,t,n,i,r):null,footer:e.footerToolbar?D(e.footerToolbar,e,t,n,i,r):null}}function D(e,t,n,r,s,a){let o={},l=[],d=!1;for(let c in e){let u=function(e,t,n,r,s,a){let o="rtl"===t.direction,l=t.customButtons||{},d=n.buttonText||{},c=t.buttonText||{},u=n.buttonHints||{},h=t.buttonHints||{},f=e?e.split(" "):[],g=[],p=!1;return{widgets:f.map(e=>e.split(",").map(e=>{let n,f,m,v,b,y;if("title"===e)return p=!0,{buttonName:e};if(n=l[e])m=e=>{n.click&&n.click.call(e.target,e,e.target)},(v=r.getCustomButtonIconClass(n))||(v=r.getIconClass(e,o))||(b=n.text),y=n.hint||n.text;else if(f=s[e]){g.push(e),m=()=>{a.changeView(e)},(b=f.buttonTextOverride)||(v=r.getIconClass(e,o))||(b=f.buttonTextDefault);let n=f.buttonTextOverride||f.buttonTextDefault;y=(0,i.k)(f.buttonTitleOverride||f.buttonTitleDefault||t.viewHint,[n,e],n)}else if(a[e])if(m=()=>{a[e]()},(b=d[e])||(v=r.getIconClass(e,o))||(b=c[e]),"prevYear"===e||"nextYear"===e){let t="prevYear"===e?"prev":"next";y=(0,i.k)(u[t]||h[t],[c.year||"year","year"],c[e])}else y=t=>(0,i.k)(u[e]||h[e],[c[t]||t,t],c[e]);return{buttonName:e,buttonClick:m,buttonIcon:v,buttonText:b,buttonHint:y}})),viewsWithButtons:g,hasTitle:p}}(e[c],t,n,r,s,a);o[c]=u.widgets,l.push(...u.viewsWithButtons),d=d||u.hasTitle}return{sectionWidgets:o,viewsWithButtons:l,hasTitle:d}}class R{constructor(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}let T=u({name:"array-event-source",eventSourceDefs:[{ignoreRange:!0,parseMeta:e=>Array.isArray(e.events)?e.events:null,fetch(e,t){t({rawEvents:e.eventSource.meta})}}]}),C=u({name:"func-event-source",eventSourceDefs:[{parseMeta:e=>"function"==typeof e.events?e.events:null,fetch(e,t,n){let{dateEnv:r}=e.context,s=e.eventSource.meta;(0,i.u)(s.bind(null,(0,i.l)(e.range,r)),e=>t({rawEvents:e}),n)}}]}),k=u({name:"json-event-source",eventSourceRefiners:{method:String,extraParams:i.n,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:e=>e.url&&("json"===e.format||!e.format)?{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}:null,fetch(e,t,n){let{meta:r}=e.eventSource,s=function(e,t,n){let i,r,s,a,{dateEnv:o,options:l}=n,d={};return null==(i=e.startParam)&&(i=l.startParam),null==(r=e.endParam)&&(r=l.endParam),null==(s=e.timeZoneParam)&&(s=l.timeZoneParam),Object.assign(d,"function"==typeof e.extraParams?e.extraParams():e.extraParams||{}),d[i]=o.formatIso(t.start),d[r]=o.formatIso(t.end),"local"!==o.timeZone&&(d[s]=o.timeZone),d}(r,e.range,e.context);(0,i.r)(r.method,r.url,s).then(([e,n])=>{t({rawEvents:e,response:n})},n)}}]}),M={daysOfWeek:i.n,startTime:i.d,endTime:i.d,duration:i.d,startRecur:i.n,endRecur:i.n},P=u({name:"simple-recurring-event",recurringTypes:[{parse(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){let n,r={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null};return e.duration&&(n=e.duration),!n&&e.startTime&&e.endTime&&(n=(0,i.s)(e.endTime,e.startTime)),{allDayGuess:!!(!e.startTime&&!e.endTime),duration:n,typeData:r}}return null},expand(e,t,n){let r=(0,i.o)(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){let s=e?(0,i.f)(e):null,a=(0,i.q)(n.start),o=n.end,l=[];for(;ab(e.eventSources)],propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",Object.assign(Object.assign({},(0,i.l)(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){let{emitter:n}=t;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",(0,i.w)(e,t))}}})];class N{constructor(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new i.D(this.drain.bind(this))}request(e,t){this.queue.push(e),this.delayedRunner.request(t)}pause(e){this.delayedRunner.pause(e)}resume(e,t){this.delayedRunner.resume(e,t)}drain(){let{queue:e}=this;for(;e.length;){let t,n=[];for(;t=e.shift();)this.runTask(t),n.push(t);this.drained(n)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function I(e,t,n){let r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,(0,i.x)(t.titleFormat||function(e){let{currentRangeUnit:t}=e;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};let n=(0,i.y)(e.currentRange.start,e.currentRange.end);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}class A{constructor(e){this.computeCurrentViewData=(0,i.z)(this._computeCurrentViewData),this.organizeRawLocales=(0,i.z)(l),this.buildLocale=(0,i.z)(d),this.buildPluginHooks=function(){let e,t=[],n=[];return(r,s)=>(e&&(0,i.i)(r,t)&&(0,i.i)(s,n)||(e=function(e,t){let n={},i={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function r(e){for(let t of e){let e=t.name,s=n[e];void 0===s?(n[e]=t.id,r(t.deps),i=function(e,t){var n,i;return{premiumReleaseDate:(n=e.premiumReleaseDate,i=t.premiumReleaseDate,void 0===n?i:void 0===i?n:new Date(Math.max(n.valueOf(),i.valueOf()))),reducers:e.reducers.concat(t.reducers),isLoadingFuncs:e.isLoadingFuncs.concat(t.isLoadingFuncs),contextInit:e.contextInit.concat(t.contextInit),eventRefiners:Object.assign(Object.assign({},e.eventRefiners),t.eventRefiners),eventDefMemberAdders:e.eventDefMemberAdders.concat(t.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},e.eventSourceRefiners),t.eventSourceRefiners),isDraggableTransformers:e.isDraggableTransformers.concat(t.isDraggableTransformers),eventDragMutationMassagers:e.eventDragMutationMassagers.concat(t.eventDragMutationMassagers),eventDefMutationAppliers:e.eventDefMutationAppliers.concat(t.eventDefMutationAppliers),dateSelectionTransformers:e.dateSelectionTransformers.concat(t.dateSelectionTransformers),datePointTransforms:e.datePointTransforms.concat(t.datePointTransforms),dateSpanTransforms:e.dateSpanTransforms.concat(t.dateSpanTransforms),views:Object.assign(Object.assign({},e.views),t.views),viewPropsTransformers:e.viewPropsTransformers.concat(t.viewPropsTransformers),isPropsValid:t.isPropsValid||e.isPropsValid,externalDefTransforms:e.externalDefTransforms.concat(t.externalDefTransforms),viewContainerAppends:e.viewContainerAppends.concat(t.viewContainerAppends),eventDropTransformers:e.eventDropTransformers.concat(t.eventDropTransformers),calendarInteractions:e.calendarInteractions.concat(t.calendarInteractions),componentInteractions:e.componentInteractions.concat(t.componentInteractions),themeClasses:Object.assign(Object.assign({},e.themeClasses),t.themeClasses),eventSourceDefs:e.eventSourceDefs.concat(t.eventSourceDefs),cmdFormatter:t.cmdFormatter||e.cmdFormatter,recurringTypes:e.recurringTypes.concat(t.recurringTypes),namedTimeZonedImpl:t.namedTimeZonedImpl||e.namedTimeZonedImpl,initialView:e.initialView||t.initialView,elementDraggingImpl:e.elementDraggingImpl||t.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},e.optionChangeHandlers),t.optionChangeHandlers),scrollGridImpl:t.scrollGridImpl||e.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},e.listenerRefiners),t.listenerRefiners),optionRefiners:Object.assign(Object.assign({},e.optionRefiners),t.optionRefiners),propSetHandlers:Object.assign(Object.assign({},e.propSetHandlers),t.propSetHandlers)}}(i,t)):s!==t.id&&console.warn(`Duplicate plugin '${e}'`)}}return e&&r(e),r(t),i}(r,s)),t=r,n=s,e)}(),this.buildDateEnv=(0,i.z)(j),this.buildTheme=(0,i.z)(W),this.parseToolbars=(0,i.z)(x),this.buildViewSpecs=(0,i.z)(m),this.buildDateProfileGenerator=(0,i.A)(z),this.buildViewApi=(0,i.z)(F),this.buildViewUiProps=(0,i.A)(Y),this.buildEventUiBySource=(0,i.z)(L,i.E),this.buildEventUiBases=(0,i.z)(V),this.parseContextBusinessHours=(0,i.A)(U),this.buildTitle=(0,i.z)(I),this.emitter=new i.F,this.actionRunner=new N(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=e=>{this.actionRunner.request(e)},this.props=e,this.actionRunner.pause();let t={},n=this.computeOptionsData(e.optionOverrides,t,e.calendarApi),r=n.calendarOptions.initialView||n.pluginHooks.initialView,s=this.computeCurrentViewData(r,n,e.optionOverrides,t);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(s.options);let a=(0,i.G)(n.calendarOptions,n.dateEnv),o=s.dateProfileGenerator.build(a);(0,i.H)(o.activeRange,a)||(a=o.currentRange.start);let c={dateEnv:n.dateEnv,options:n.calendarOptions,pluginHooks:n.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(let e of n.pluginHooks.contextInit)e(c);let u=function(e,t,n){let r=t?t.activeRange:null;return y({},function(e,t){let n=(0,i.j)(t),r=[].concat(e.eventSources||[]),s=[];for(let a of(e.initialEvents&&r.unshift(e.initialEvents),e.events&&r.unshift(e.events),r)){let e=(0,i.p)(a,t,n);e&&s.push(e)}return s}(e,n),r,n)}(n.calendarOptions,o,c),h={dynamicOptionOverrides:t,currentViewType:r,currentDate:a,dateProfile:o,businessHours:this.parseContextBusinessHours(c),eventSources:u,eventUiBases:{},eventStore:(0,i.I)(),renderableEventStore:(0,i.I)(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(c).selectionConfig},f=Object.assign(Object.assign({},c),h);for(let e of n.pluginHooks.reducers)Object.assign(h,e(null,null,f));q(h,c)&&this.emitter.trigger("loading",!0),this.state=h,this.updateData(),this.actionRunner.resume()}resetOptions(e,t){let{props:n}=this;void 0===t?n.optionOverrides=e:(n.optionOverrides=Object.assign(Object.assign({},n.optionOverrides||{}),e),this.optionsForRefining.push(...t)),(void 0===t||t.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(e){var t,n;let{props:r,state:s,emitter:a}=this,o=(t=s.dynamicOptionOverrides,"SET_OPTION"===e.type?Object.assign(Object.assign({},t),{[e.optionName]:e.rawOptionValue}):t),l=this.computeOptionsData(r.optionOverrides,o,r.calendarApi),d=(n=s.currentViewType,"CHANGE_VIEW_TYPE"===e.type&&(n=e.viewType),n),c=this.computeCurrentViewData(d,l,r.optionOverrides,o);r.calendarApi.currentDataManager=this,a.setThisContext(r.calendarApi),a.setOptions(c.options);let u={dateEnv:l.dateEnv,options:l.calendarOptions,pluginHooks:l.pluginHooks,calendarApi:r.calendarApi,dispatch:this.dispatch,emitter:a,getCurrentData:this.getCurrentData},{currentDate:h,dateProfile:f}=s;this.data&&this.data.dateProfileGenerator!==c.dateProfileGenerator&&(f=c.dateProfileGenerator.build(h)),h=(0,i.J)(h,e),f=function(e,t,n,i){let r;switch(t.type){case"CHANGE_VIEW_TYPE":return i.build(t.dateMarker||n);case"CHANGE_DATE":return i.build(t.dateMarker);case"PREV":if((r=i.buildPrev(e,n)).isValid)return r;break;case"NEXT":if((r=i.buildNext(e,n)).isValid)return r}return e}(f,e,h,c.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&(0,i.H)(f.currentRange,h)||(h=f.currentRange.start);let g=function(e,t,n,r){var s,a,o,l,d,c;let u=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return y(e,t.sources,u,r);case"REMOVE_EVENT_SOURCE":return s=e,a=t.sourceId,(0,i.h)(s,e=>e.sourceId!==a);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":if(n)return w(e,u,r);return e;case"FETCH_EVENT_SOURCES":return _(e,t.sourceIds?(0,i.f)(t.sourceIds):S(e,r),u,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":let h;return o=e,l=t.sourceId,d=t.fetchId,c=t.fetchRange,(h=o[l])&&d===h.latestFetchId?Object.assign(Object.assign({},o),{[l]:Object.assign(Object.assign({},h),{isFetching:!1,fetchRange:c})}):o;case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}(s.eventSources,e,f,u),p=(0,i.K)(s.eventStore,e,g,f,u),m=b(g)&&!c.options.progressiveEventRendering&&s.renderableEventStore||p,{eventUiSingleBase:v,selectionConfig:E}=this.buildViewUiProps(u),x=this.buildEventUiBySource(g),D=this.buildEventUiBases(m.defs,v,x),R={dynamicOptionOverrides:o,currentViewType:d,currentDate:h,dateProfile:f,eventSources:g,eventStore:p,renderableEventStore:m,selectionConfig:E,eventUiBases:D,businessHours:this.parseContextBusinessHours(u),dateSelection:function(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}(s.dateSelection,e),eventSelection:function(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}(s.eventSelection,e),eventDrag:function(e,t){let n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}(s.eventDrag,e),eventResize:function(e,t){let n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}(s.eventResize,e)},T=Object.assign(Object.assign({},u),R);for(let t of l.pluginHooks.reducers)Object.assign(R,t(s,e,T));let C=q(s,u),k=q(R,u);!C&&k?a.trigger("loading",!0):C&&!k&&a.trigger("loading",!1),this.state=R,r.onAction&&r.onAction(e)}updateData(){let{props:e,state:t}=this,n=this.data,r=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),s=this.computeCurrentViewData(t.currentViewType,r,e.optionOverrides,t.dynamicOptionOverrides),a=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(t.dateProfile,s.options,r.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},r),s),t),o=r.pluginHooks.optionChangeHandlers,l=n&&n.calendarOptions,d=r.calendarOptions;if(l&&l!==d){if(l.timeZone!==d.timeZone){var c,u;let e;c=a.eventSources,u=t.dateProfile,e=u?u.activeRange:null,t.eventSources=a.eventSources=_(c,S(c,a),e,!0,a),t.eventStore=a.eventStore=(0,i.L)(a.eventStore,n.dateEnv,a.dateEnv),t.renderableEventStore=a.renderableEventStore=(0,i.L)(a.renderableEventStore,n.dateEnv,a.dateEnv)}for(let e in o)(-1!==this.optionsForHandling.indexOf(e)||l[e]!==d[e])&&o[e](d[e],a)}this.optionsForHandling=[],e.onData&&e.onData(a)}computeOptionsData(e,t,n){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&t===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:i,pluginHooks:r,localeDefaults:s,availableLocaleData:a,extra:o}=this.processRawCalendarOptions(e,t);G(o);let l=this.buildDateEnv(i.timeZone,i.locale,i.weekNumberCalculation,i.firstDay,i.weekText,r,a,i.defaultRangeSeparator),d=this.buildViewSpecs(r.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,s),c=this.buildTheme(i,r),u=this.parseToolbars(i,this.stableOptionOverrides,c,d,n);return this.stableCalendarOptionsData={calendarOptions:i,pluginHooks:r,dateEnv:l,viewSpecs:d,theme:c,toolbarConfig:u,localeDefaults:s,availableRawLocales:a.map}}processRawCalendarOptions(e,t){let{locales:n,locale:r}=(0,i.M)([i.e,e,t]),s=this.organizeRawLocales(n),a=s.map,o=this.buildLocale(r||s.defaultCode,a).options,l=this.buildPluginHooks(e.plugins||[],H),d=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i.N),i.O),i.P),l.listenerRefiners),l.optionRefiners),c={},u=(0,i.M)([i.e,o,e,t]),h={},f=this.currentCalendarOptionsInput,g=this.currentCalendarOptionsRefined,p=!1;for(let e in u)-1===this.optionsForRefining.indexOf(e)&&(u[e]===f[e]||i.Q[e]&&e in f&&i.Q[e](f[e],u[e]))?h[e]=g[e]:d[e]?(h[e]=d[e](u[e]),p=!0):c[e]=f[e];return p&&(this.currentCalendarOptionsInput=u,this.currentCalendarOptionsRefined=h,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=t),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:l,availableLocaleData:s,localeDefaults:o,extra:c}}_computeCurrentViewData(e,t,n,i){let r=t.viewSpecs[e];if(!r)throw Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:s,extra:a}=this.processRawViewOptions(r,t.pluginHooks,t.localeDefaults,n,i);G(a);let o=this.buildDateProfileGenerator({dateProfileGeneratorClass:r.optionDefaults.dateProfileGeneratorClass,duration:r.duration,durationUnit:r.durationUnit,usesMinMaxTime:r.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:s.slotMinTime,slotMaxTime:s.slotMaxTime,showNonCurrentDates:s.showNonCurrentDates,dayCount:s.dayCount,dateAlignment:s.dateAlignment,dateIncrement:s.dateIncrement,hiddenDays:s.hiddenDays,weekends:s.weekends,nowInput:s.now,validRangeInput:s.validRange,visibleRangeInput:s.visibleRange,fixedWeekCount:s.fixedWeekCount});return{viewSpec:r,options:s,dateProfileGenerator:o,viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}}processRawViewOptions(e,t,n,r,s){let a=(0,i.M)([i.e,e.optionDefaults,n,r,e.optionOverrides,s]),o=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},i.N),i.O),i.P),i.R),t.listenerRefiners),t.optionRefiners),l={},d=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,u=!1,h={};for(let e in a)a[e]===d[e]||i.Q[e]&&i.Q[e](a[e],d[e])?l[e]=c[e]:(a[e]===this.currentCalendarOptionsInput[e]||i.Q[e]&&i.Q[e](a[e],this.currentCalendarOptionsInput[e])?e in this.currentCalendarOptionsRefined&&(l[e]=this.currentCalendarOptionsRefined[e]):o[e]?l[e]=o[e](a[e]):h[e]=a[e],u=!0);return u&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:h}}}function j(e,t,n,r,s,a,o,l){let c=d(t||o.defaultCode,o.map);return new i.S({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:a.namedTimeZonedImpl,locale:c,weekNumberCalculation:n,firstDay:r,weekText:s,cmdFormatter:a.cmdFormatter,defaultSeparator:l})}function W(e,t){return new(t.themeClasses[e.themeSystem]||h)(e)}function z(e){return new(e.dateProfileGeneratorClass||i.U)(e)}function F(e,t,n){return new R(e,t,n)}function L(e){return(0,i.a)(e,e=>e.ui)}function V(e,t,n){let i={"":t};for(let t in e){let r=e[t];r.sourceId&&n[r.sourceId]&&(i[t]=n[r.sourceId])}return i}function Y(e){let{options:t}=e;return{eventUiSingleBase:(0,i.W)({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:(0,i.W)({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function q(e,t){for(let n of t.pluginHooks.isLoadingFuncs)if(n(e))return!0;return!1}function U(e){return(0,i.X)(e.options.businessHours,e)}function G(e,t){for(let n in e)console.warn(`Unknown option '${n}'`+(t?` for view '${t}'`:""))}class B extends i.B{render(){let e=this.props.widgetGroups.map(e=>this.renderWidgetGroup(e));return(0,r.n)("div",{className:"fc-toolbar-chunk"},...e)}renderWidgetGroup(e){let{props:t}=this,{theme:n}=this.context,i=[],s=!0;for(let a of e){let{buttonName:e,buttonClick:o,buttonText:l,buttonIcon:d,buttonHint:c}=a;if("title"===e)s=!1,i.push((0,r.n)("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{let s=e===t.activeButton,a=!t.isTodayEnabled&&"today"===e||!t.isPrevEnabled&&"prev"===e||!t.isNextEnabled&&"next"===e,u=[`fc-${e}-button`,n.getClass("button")];s&&u.push(n.getClass("buttonActive")),i.push((0,r.n)("button",{type:"button",title:"function"==typeof c?c(t.navUnit):c,disabled:a,"aria-pressed":s,className:u.join(" "),onClick:o},l||(d?(0,r.n)("span",{className:d,role:"img"}):"")))}}if(i.length>1){let e=s&&n.getClass("buttonGroup")||"";return(0,r.n)("div",{className:e},...i)}return i[0]}}class X extends i.B{render(){let e,t,{model:n,extraClassName:i}=this.props,s=!1,a=n.sectionWidgets,o=a.center;a.left?(s=!0,e=a.left):e=a.start,a.right?(s=!0,t=a.right):t=a.end;let l=[i||"","fc-toolbar",s?"fc-toolbar-ltr":""];return(0,r.n)("div",{className:l.join(" ")},this.renderSection("start",e||[]),this.renderSection("center",o||[]),this.renderSection("end",t||[]))}renderSection(e,t){let{props:n}=this;return(0,r.n)(B,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})}}class Q extends i.B{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,(0,i.Y)(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:t}=this,{aspectRatio:n}=e,i=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],s="",a="";return n?null!==t.availableWidth?s=t.availableWidth/n:a=`${1/n*100}%`:s=e.height||"",(0,r.n)("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:i.join(" "),style:{height:s,paddingBottom:a}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class Z extends i.Z{constructor(e){super(e),this.handleSegClick=(e,t)=>{let{component:n}=this,{context:r}=n,s=(0,i._)(t);if(s&&n.isValidSegDownEl(e.target)){let a=(0,i.$)(e.target,".fc-event-forced-url"),o=a?a.querySelector("a[href]").href:"";r.emitter.trigger("eventClick",{el:t,event:new i.a0(n.context,s.eventRange.def,s.eventRange.instance),jsEvent:e,view:r.viewApi}),o&&!e.defaultPrevented&&(window.location.href=o)}},this.destroy=(0,i.a1)(e.el,"click",".fc-event",this.handleSegClick)}}class $ extends i.Z{constructor(e){super(e),this.handleEventElRemove=e=>{e===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(e,t)=>{(0,i._)(t)&&(this.currentSegEl=t,this.triggerEvent("eventMouseEnter",e,t))},this.handleSegLeave=(e,t)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",e,t))},this.removeHoverListeners=(0,i.a2)(e.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,t,n){let{component:r}=this,{context:s}=r,a=(0,i._)(n);(!t||r.isValidSegDownEl(t.target))&&s.emitter.trigger(e,{el:n,event:new i.a0(s,a.eventRange.def,a.eventRange.instance),jsEvent:t,view:s.viewApi})}}class K extends i.a3{constructor(){super(...arguments),this.buildViewContext=(0,i.z)(i.a4),this.buildViewPropTransformers=(0,i.z)(ee),this.buildToolbarProps=(0,i.z)(J),this.headerRef=(0,r._3)(),this.footerRef=(0,r._3)(),this.interactionsStore={},this.state={viewLabelId:(0,i.a5)()},this.registerInteractiveComponent=(e,t)=>{let n=(0,i.a6)(e,t),r=[Z,$].concat(this.props.pluginHooks.componentInteractions).map(e=>new e(n));this.interactionsStore[e.uid]=r,i.a7[e.uid]=n},this.unregisterInteractiveComponent=e=>{let t=this.interactionsStore[e.uid];if(t){for(let e of t)e.destroy();delete this.interactionsStore[e.uid]}delete i.a7[e.uid]},this.resizeRunner=new i.D(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=e=>{let{options:t}=this.props;t.handleWindowResize&&e.target===window&&this.resizeRunner.request(t.windowResizeDelay)}}render(){let e,{props:t}=this,{toolbarConfig:n,options:s}=t,a=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,(0,i.a8)(t.options.now,t.dateEnv),t.viewTitle),o=!1,l="";t.isHeightAuto||t.forPrint?l="":null!=s.height?o=!0:null!=s.contentHeight?l=s.contentHeight:e=Math.max(s.aspectRatio,.5);let d=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),c=n.header&&n.header.hasTitle?this.state.viewLabelId:void 0;return(0,r.n)(i.V.Provider,{value:d},n.header&&(0,r.n)(X,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:c},a)),(0,r.n)(Q,{liquid:o,height:l,aspectRatio:e,labeledById:c},this.renderView(t),this.buildAppendContent()),n.footer&&(0,r.n)(X,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},a)))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map(t=>new t(e)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:t}=e.pluginHooks;for(let n in t)t[n](e[n],e)}componentDidUpdate(e){let{props:t}=this,{propSetHandlers:n}=t.pluginHooks;for(let i in n)t[i]!==e[i]&&n[i](t[i],t)}componentWillUnmount(){for(let e of(window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear(),this.calendarInteractions))e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this,t=e.pluginHooks.viewContainerAppends.map(t=>t(e));return(0,r.n)(r.FK,{},...t)}renderView(e){let{pluginHooks:t}=e,{viewSpec:n}=e,i={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint};for(let n of this.buildViewPropTransformers(t.viewPropsTransformers))Object.assign(i,n.transform(i,e));let s=n.component;return(0,r.n)(s,Object.assign({},i))}}function J(e,t,n,r,s,a){let o=n.build(s,void 0,!1),l=n.buildPrev(t,r,!1),d=n.buildNext(t,r,!1);return{title:a,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:o.isValid&&!(0,i.H)(t.currentRange,s),isPrevEnabled:l.isValid,isNextEnabled:d.isValid}}function ee(e){return e.map(e=>new e)}class et extends i.a9{constructor(e,t={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=e=>{switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=e=>{this.currentData=e,this.renderRunner.request(e.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:e}=this;(0,i.aa)(()=>{(0,r.XX)((0,r.n)(i.ab,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(t,n,s,a)=>(this.setClassNames(t),this.setHeight(n),(0,r.n)(i.ac.Provider,{value:this.customContentRenderId},(0,r.n)(K,Object.assign({isHeightAuto:s,forPrint:a},e))))),this.el)})}else this.isRendered&&(this.isRendered=!1,(0,r.XX)(null,this.el),this.setClassNames([]),this.setHeight(""))},(0,i.ad)(e),this.el=e,this.renderRunner=new i.D(this.handleRenderRequest),new A({optionOverrides:t,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){(0,i.aa)(()=>{super.updateSize()})}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,t){this.currentDataManager.resetOptions(e,t)}setClassNames(e){if(!(0,i.i)(e,this.currentClassNames)){let{classList:t}=this.el;for(let e of this.currentClassNames)t.remove(e);for(let n of e)t.add(n);this.currentClassNames=e}}setHeight(e){(0,i.ae)(this.el,"height",e)}}},80190:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var i=n(6455);function r(e,t,n){return(0,i.A)(e,1e3*t,n)}},83564:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in);return n.setHours(23,59,59,999),n}},83644:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n(23327);function r(e,t){return+(0,i.a)(e)>+(0,i.a)(t)}},85763:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var i=n(23327);function r(e,t){let n=(0,i.a)(e,null==t?void 0:t.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}},86577:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});var i=n(34240);function r(e,t,n){return(0,i.z)(e,-t,n)}},87292:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var i=n(23327);function r(e){let t=(0,i.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}},89225:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});var i=n(79447);function r(e,t,n){let[r,s]=(0,i.x)(null==n?void 0:n.in,e,t);return r.getFullYear()===s.getFullYear()}},90032:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var i=n(63039),r=n(23327);function s(e,t){let n,s=null==t?void 0:t.in;return e.forEach(e=>{s||"object"!=typeof e||(s=i.w.bind(null,e));let t=(0,r.a)(e,s);(!n||n{"use strict";n.d(t,{p:()=>a});var i=n(63039),r=n(52372),s=n(23327);function a(e,t){let n=(0,s.a)(e,null==t?void 0:t.in),a=n.getFullYear(),o=(0,i.w)(n,0);o.setFullYear(a+1,0,4),o.setHours(0,0,0,0);let l=(0,r.b)(o),d=(0,i.w)(n,0);d.setFullYear(a,0,4),d.setHours(0,0,0,0);let c=(0,r.b)(d);return n.getTime()>=l.getTime()?a+1:n.getTime()>=c.getTime()?a:a-1}},90940:(e,t,n)=>{"use strict";n.d(t,{A:()=>V});var i=n(80053),r=n(35612),s=n(11936),a=n(77883);class o extends r.aY{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(e){return e.allDay?["allDay"]:["timed"]}getKeysForEventDef(e){return e.allDay?(0,r.bP)(e)?["timed","allDay"]:["allDay"]:["timed"]}}let l=(0,r.x)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function d(e){let t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return(0,s.n)(r.V.Consumer,null,n=>{if(!e.isLabeled)return(0,s.n)("td",{className:t.join(" "),"data-time":e.isoTimeStr});let{dateEnv:i,options:a,viewApi:o}=n,d=null==a.slotLabelFormat?l:Array.isArray(a.slotLabelFormat)?(0,r.x)(a.slotLabelFormat[0]):(0,r.x)(a.slotLabelFormat),u={level:0,time:e.time,date:i.toDate(e.date),view:o,text:i.format(e.date,d)};return(0,s.n)(r.C,{elTag:"td",elClasses:t,elAttrs:{"data-time":e.isoTimeStr},renderProps:u,generatorName:"slotLabelContent",customGenerator:a.slotLabelContent,defaultGenerator:c,classNameGenerator:a.slotLabelClassNames,didMount:a.slotLabelDidMount,willUnmount:a.slotLabelWillUnmount},e=>(0,s.n)("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},(0,s.n)(e,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]})))})}function c(e){return e.text}class u extends r.B{render(){return this.props.slatMetas.map(e=>(0,s.n)("tr",{key:e.key},(0,s.n)(d,Object.assign({},e))))}}let h=(0,r.x)({week:"short"});class f extends r.be{constructor(){super(...arguments),this.allDaySplitter=new o,this.headerElRef=(0,s._3)(),this.rootElRef=(0,s._3)(),this.scrollerElRef=(0,s._3)(),this.state={slatCoords:null},this.handleScrollTopRequest=e=>{let t=this.scrollerElRef.current;t&&(t.scrollTop=e)},this.renderHeadAxis=(e,t="")=>{let{options:n}=this.context,{dateProfile:i}=this.props,a=i.renderRange,o=1===(0,r.bl)(a.start,a.end)?(0,r.b0)(this.context,a.start,"week"):{};return n.weekNumbers&&"day"===e?(0,s.n)(r.cq,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:a.start,defaultFormat:h},e=>(0,s.n)("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:t}},(0,s.n)(e,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:o}))):(0,s.n)("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},(0,s.n)("div",{className:"fc-timegrid-axis-frame",style:{height:t}}))},this.renderTableRowAxis=e=>{let{options:t,viewApi:n}=this.context,i={text:t.allDayText,view:n};return(0,s.n)(r.C,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:i,generatorName:"allDayContent",customGenerator:t.allDayContent,defaultGenerator:g,classNameGenerator:t.allDayClassNames,didMount:t.allDayDidMount,willUnmount:t.allDayWillUnmount},t=>(0,s.n)("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",null==e?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:e}},(0,s.n)(t,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]})))},this.handleSlatCoords=e=>{this.setState({slatCoords:e})}}renderSimpleLayout(e,t,n){let{context:i,props:a}=this,o=[],l=(0,r.cc)(i.options);return e&&o.push({type:"header",key:"header",isSticky:l,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(o.push({type:"body",key:"all-day",chunk:{content:t}}),o.push({type:"body",key:"all-day-divider",outerContent:(0,s.n)("tr",{role:"presentation",className:"fc-scrollgrid-section"},(0,s.n)("td",{className:"fc-timegrid-divider "+i.theme.getClass("tableCellShaded")}))})),o.push({type:"body",key:"body",liquid:!0,expandRows:!!i.options.expandRows,chunk:{scrollerElRef:this.scrollerElRef,content:n}}),(0,s.n)(r.ct,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:i.viewSpec},(0,s.n)(r.b$,{liquid:!a.isHeightAuto&&!a.forPrint,collapsibleWidth:a.forPrint,cols:[{width:"shrink"}],sections:o}))}renderHScrollLayout(e,t,n,i,a,o,l){let d=this.context.pluginHooks.scrollGridImpl;if(!d)throw Error("No ScrollGrid implementation");let{context:c,props:h}=this,f=!h.forPrint&&(0,r.cc)(c.options),g=!h.forPrint&&(0,r.cb)(c.options),p=[];e&&p.push({type:"header",key:"header",isSticky:f,syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>(0,s.n)("tr",{role:"presentation"},this.renderHeadAxis("day",e.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(p.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>(0,s.n)("tr",{role:"presentation"},this.renderTableRowAxis(e.rowSyncHeights[0]))},{key:"cols",content:t}]}),p.push({key:"all-day-divider",type:"body",outerContent:(0,s.n)("tr",{role:"presentation",className:"fc-scrollgrid-section"},(0,s.n)("td",{colSpan:2,className:"fc-timegrid-divider "+c.theme.getClass("tableCellShaded")}))}));let m=c.options.nowIndicator;return p.push({type:"body",key:"body",liquid:!0,expandRows:!!c.options.expandRows,chunks:[{key:"axis",content:e=>(0,s.n)("div",{className:"fc-timegrid-axis-chunk"},(0,s.n)("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,(0,s.n)("tbody",null,(0,s.n)(u,{slatMetas:o}))),(0,s.n)("div",{className:"fc-timegrid-now-indicator-container"},(0,s.n)(r.ch,{unit:m?"minute":"day"},e=>{let t=m&&l&&l.safeComputeTop(e);return"number"==typeof t?(0,s.n)(r.ck,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:t},isAxis:!0,date:e}):null})))},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),g&&p.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:r.ca},{key:"cols",content:r.ca}]}),(0,s.n)(r.ct,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:c.viewSpec},(0,s.n)(d,{liquid:!h.isHeightAuto&&!h.forPrint,forPrint:h.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:i,minWidth:a}]}],sections:p}))}getAllDayMaxEventProps(){let{dayMaxEvents:e,dayMaxEventRows:t}=this.context.options;return(!0===e||!0===t)&&(e=void 0,t=5),{dayMaxEvents:e,dayMaxEventRows:t}}}function g(e){return e.text}class p{constructor(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}safeComputeTop(e){let{dateProfile:t}=this;if((0,r.H)(t.currentRange,e)){let n=(0,r.q)(e),i=e.valueOf()-n.valueOf();if(i>=(0,r.bs)(t.slotMinTime)&&i<(0,r.bs)(t.slotMaxTime))return this.computeTimeTop((0,r.d)(i))}return null}computeDateTop(e,t){return t||(t=(0,r.q)(e)),this.computeTimeTop((0,r.d)(e.valueOf()-t.valueOf()))}computeTimeTop(e){let t,n,{positions:i,dateProfile:s}=this,a=i.els.length,o=(e.milliseconds-(0,r.bs)(s.slotMinTime))/(0,r.bs)(this.slotDuration);return t=Math.min(t=Math.floor(o=Math.min(a,o=Math.max(0,o))),a-1),n=o-t,i.tops[t]+i.getHeight(t)*n}}class m extends r.B{render(){let{props:e,context:t}=this,{options:n}=t,{slatElRefs:i}=e;return(0,s.n)("tbody",null,e.slatMetas.map((a,o)=>{let l={time:a.time,date:t.dateEnv.toDate(a.date),view:t.viewApi};return(0,s.n)("tr",{key:a.key,ref:i.createRef(a.key)},e.axis&&(0,s.n)(d,Object.assign({},a)),(0,s.n)(r.C,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!a.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":a.isoTimeStr},renderProps:l,generatorName:"slotLaneContent",customGenerator:n.slotLaneContent,classNameGenerator:n.slotLaneClassNames,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount}))}))}}class v extends r.B{constructor(){super(...arguments),this.rootElRef=(0,s._3)(),this.slatElRefs=new r.cf}render(){let{props:e,context:t}=this;return(0,s.n)("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},(0,s.n)("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,(0,s.n)(m,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){var e;let{context:t,props:n}=this;n.onCoords&&null!==n.clientWidth&&this.rootElRef.current.offsetHeight&&n.onCoords(new p(new r.ba(this.rootElRef.current,(e=this.slatElRefs.currentMap,n.slatMetas.map(t=>e[t.key])),!1,!0),this.props.dateProfile,t.options.slotDuration))}}function b(e,t){let n,i=[];for(n=0;nM(e.hiddenSegs,e),defaultGenerator:_,forceTimed:!0},e=>(0,s.n)(e,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]}))}}function _(e){return e.shortText}function S(e,t){if(!e)return[[],0];let{level:n,lateralStart:i,lateralEnd:r}=e,s=i,a=[];for(;s{let r=e(...i);return r in n?n[r]:n[r]=t(...i)}}function R(e,t,n=null,i=0){let r=[];if(n)for(let s=0;s(0,s.n)("div",{className:"fc-timegrid-col-frame"},(0,s.n)("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(e.businessHourSegs,"non-business"),this.renderFillSegs(e.bgEventSegs,"bg-event"),this.renderFillSegs(e.dateSelectionSegs,"highlight")),(0,s.n)("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(l,o,!1,!1,!1)),(0,s.n)("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(a,{},!!e.eventDrag,!!e.eventResize,!!i,"mirror")),(0,s.n)("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(e.nowIndicatorSegs)),(0,r.cm)(n)&&(0,s.n)(t,{elTag:"div",elClasses:["fc-timegrid-col-misc"]})))}renderFgSegs(e,t,n,i,r,s){let{props:a}=this;return a.forPrint?M(e,a):this.renderPositionedFgSegs(e,t,n,i,r,s)}renderPositionedFgSegs(e,t,n,i,a,o){let{eventMaxStack:l,eventShortHeight:d,eventOrderStrict:c,eventMinHeight:u}=this.context.options,{date:h,slatCoords:f,eventSelection:g,todayRange:p,nowDate:m}=this.props,v=n||i||a,b=R(e,h,f,u),{segPlacements:y,hiddenGroups:w}=function(e,t,n,i){let s,a,o,l,d=[],c=[];for(let n=0;n(0,r.bB)(e),(e,n,r)=>{let s=Object.assign(Object.assign({},e),{levelCoord:n,stackDepth:r,stackForward:0});return t.push(s),s.stackForward=i(e.nextLevelNodes,n+e.thickness,r+1)+1});function i(e,t,i){let r=0;for(let s of e)r=Math.max(n(s,t,i),r);return r}return i(e,0,0),t}(function(e,t){let n=D((e,t,n)=>(0,r.bB)(e),(e,t,i)=>{let r,{nextLevelNodes:s,thickness:a}=e,o=a+i,l=a/o,d=[];if(s.length)for(let e of s)if(void 0===r){let i=n(e,t,o);r=i[0],d.push(i[1])}else{let t=n(e,r,0);d.push(t[1])}else r=1;let c=(r-t)*l;return[r-c,Object.assign(Object.assign({},e),{thickness:c,nextLevelNodes:d})]});return e.map(e=>n(e,0,0)[1])}(function(e){let{entriesByLevel:t}=e,n=D((e,t)=>e+":"+t,(i,s)=>{let a=S(function(e,t,n){let{levelCoords:i,entriesByLevel:s}=e,a=s[t][n],o=i[t]+a.thickness,l=i.length,d=t;for(;d{let{seg:l,rect:c}=e,u=l.eventRange.instance.instanceId,h=v||!!(!t[u]&&c),f=P(c&&c.span),b=!v&&c?this.computeSegHStyle(c):{left:0,right:0},y=!!c&&c.stackForward>0,w=!!c&&c.span.end-c.span.start{var u,h;let f=P(e.span),g=(u=e.entries,h=t,u.map(e=>h[e.index]));return(0,s.n)(w,{key:(0,r.bw)((0,r.cs)(g)),hiddenSegs:g,top:f.top,bottom:f.bottom,extraDateSpan:n,dateProfile:i,todayRange:a,nowDate:o,eventSelection:l,eventDrag:d,eventResize:c})}))}renderFillSegs(e,t){let{props:n,context:i}=this,a=R(e,n.date,n.slatCoords,i.options.eventMinHeight).map((i,a)=>{let o=e[a];return(0,s.n)("div",{key:(0,r.bT)(o.eventRange),className:"fc-timegrid-bg-harness",style:P(i)},"bg-event"===t?(0,s.n)(r.cp,Object.assign({seg:o},(0,r.bS)(o,n.todayRange,n.nowDate))):(0,r.co)(t))});return(0,s.n)(s.FK,null,a)}renderNowIndicator(e){let{slatCoords:t,date:n}=this.props;return t?e.map((e,i)=>(0,s.n)(r.ck,{key:i,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:t.computeDateTop(e.start,n)},isAxis:!1,date:n})):null}computeSegHStyle(e){let t,n,{isRtl:i,options:r}=this.context,s=r.slotEventOverlap,a=e.levelCoord,o=e.levelCoord+e.thickness;s&&(o=Math.min(1,a+(o-a)*2)),i?(t=1-o,n=a):(t=a,n=1-o);let l={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return s&&!e.stackForward&&(l[i?"marginLeft":"marginRight"]=20),l}}function M(e,{todayRange:t,nowDate:n,eventSelection:i,eventDrag:a,eventResize:o}){let l=(a?a.affectedInstances:null)||(o?o.affectedInstances:null)||{};return(0,s.n)(s.FK,null,e.map(e=>{let a=e.eventRange.instance.instanceId;return(0,s.n)("div",{key:a,style:{visibility:l[a]?"hidden":""}},(0,s.n)(C,Object.assign({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:a===i,isShort:!1},(0,r.bS)(e,t,n))))}))}function P(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}class O extends r.B{constructor(){super(...arguments),this.splitFgEventSegs=(0,r.z)(b),this.splitBgEventSegs=(0,r.z)(b),this.splitBusinessHourSegs=(0,r.z)(b),this.splitNowIndicatorSegs=(0,r.z)(b),this.splitDateSelectionSegs=(0,r.z)(b),this.splitEventDrag=(0,r.z)(y),this.splitEventResize=(0,r.z)(y),this.rootElRef=(0,s._3)(),this.cellElRefs=new r.cf}render(){let{props:e,context:t}=this,n=t.options.nowIndicator&&e.slatCoords&&e.slatCoords.safeComputeTop(e.nowDate),i=e.cells.length,a=this.splitFgEventSegs(e.fgEventSegs,i),o=this.splitBgEventSegs(e.bgEventSegs,i),l=this.splitBusinessHourSegs(e.businessHourSegs,i),d=this.splitNowIndicatorSegs(e.nowIndicatorSegs,i),c=this.splitDateSelectionSegs(e.dateSelectionSegs,i),u=this.splitEventDrag(e.eventDrag,i),h=this.splitEventResize(e.eventResize,i);return(0,s.n)("div",{className:"fc-timegrid-cols",ref:this.rootElRef},(0,s.n)("table",{role:"presentation",style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,(0,s.n)("tbody",{role:"presentation"},(0,s.n)("tr",{role:"row"},e.axis&&(0,s.n)("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},(0,s.n)("div",{className:"fc-timegrid-col-frame"},(0,s.n)("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof n&&(0,s.n)(r.ck,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:n},isAxis:!0,date:e.nowDate})))),e.cells.map((t,n)=>(0,s.n)(k,{key:t.key,elRef:this.cellElRefs.createRef(t.key),dateProfile:e.dateProfile,date:t.date,nowDate:e.nowDate,todayRange:e.todayRange,extraRenderProps:t.extraRenderProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,fgEventSegs:a[n],bgEventSegs:o[n],businessHourSegs:l[n],nowIndicatorSegs:d[n],dateSelectionSegs:c[n],eventDrag:u[n],eventResize:h[n],slatCoords:e.slatCoords,eventSelection:e.eventSelection,forPrint:e.forPrint}))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){var e;let{props:t}=this;t.onColCoords&&null!==t.clientWidth&&t.onColCoords(new r.ba(this.rootElRef.current,(e=this.cellElRefs.currentMap,t.cells.map(t=>e[t.key])),!0,!1))}}class H extends r.be{constructor(){super(...arguments),this.processSlotOptions=(0,r.z)(N),this.state={slatCoords:null},this.handleRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=e=>{let{onScrollTopRequest:t}=this.props,{slatCoords:n}=this.state;if(t&&n){if(e.time){let i=n.computeTimeTop(e.time);(i=Math.ceil(i))&&(i+=1),t(i)}return!0}return!1},this.handleColCoords=e=>{this.colCoords=e},this.handleSlatCoords=e=>{this.setState({slatCoords:e}),this.props.onSlatCoords&&this.props.onSlatCoords(e)}}render(){let{props:e,state:t}=this;return(0,s.n)("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},(0,s.n)(v,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),(0,s.n)(O,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(e,t){let{dateEnv:n,options:i}=this.context,{colCoords:s}=this,{dateProfile:a}=this.props,{slatCoords:o}=this.state,{snapDuration:l,snapsPerSlot:d}=this.processSlotOptions(this.props.slotDuration,i.snapDuration),c=s.leftToIndex(e),u=o.positions.topToIndex(t);if(null!=c&&null!=u){let e=this.props.cells[c],i=o.positions.tops[u],h=o.positions.getHeight(u),f=Math.floor((t-i)/h*d),g=this.props.cells[c].date,p=(0,r.bp)(a.slotMinTime,(0,r.bo)(l,u*d+f)),m=n.add(g,p),v=n.add(m,l);return{dateProfile:a,dateSpan:Object.assign({range:{start:m,end:v},allDay:!1},e.extraDateSpan),dayEl:s.els[c],rect:{left:s.lefts[c],right:s.rights[c],top:i,bottom:i+h},layer:0}}return null}}function N(e,t){let n=t||e,i=(0,r.bt)(e,n);return null===i&&(n=e,i=1),{snapDuration:n,snapsPerSlot:i}}class I extends r.bW{sliceRange(e,t){let n=[];for(let i=0;i(0,s.n)(H,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(e,n,null,t,l),{forPrint:e.forPrint,axis:e.axis,dateProfile:n,slatMetas:e.slatMetas,slotDuration:e.slotDuration,cells:i.cells[0],tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,expandRows:e.expandRows,nowDate:r,nowIndicatorSegs:a&&this.slicer.sliceNowDate(r,n,o,t,l),todayRange:d,onScrollTopRequest:e.onScrollTopRequest,onSlatCoords:e.onSlatCoords})))}}function j(e,t,n){let i=[];for(let r of e.headerDates)i.push({start:n.add(r,t.slotMinTime),end:n.add(r,t.slotMaxTime)});return i}let W=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function z(e,t,n,i,s){let a=new Date(0),o=e,l=(0,r.d)(0),d=n||function(e){let t,n,i;for(t=W.length-1;t>=0;t-=1)if(n=(0,r.d)(W[t]),null!==(i=(0,r.bt)(n,e))&&i>1)return n;return e}(i),c=[];for(;(0,r.bs)(o)<(0,r.bs)(t);){let e=s.add(a,o),t=null!==(0,r.bt)(l,d);c.push({date:e,time:o,key:e.toISOString(),isoTimeStr:(0,r.bu)(e),isLabeled:t}),o=(0,r.bp)(o,i),l=(0,r.bp)(l,i)}return c}class F extends f{constructor(){super(...arguments),this.buildTimeColsModel=(0,r.z)(L),this.buildSlatMetas=(0,r.z)(z)}render(){let{options:e,dateEnv:t,dateProfileGenerator:n}=this.context,{props:i}=this,{dateProfile:o}=i,l=this.buildTimeColsModel(o,n),d=this.allDaySplitter.splitProps(i),c=this.buildSlatMetas(o.slotMinTime,o.slotMaxTime,e.slotLabelInterval,e.slotDuration,t),{dayMinWidth:u}=e,h=!u,f=e.dayHeaders&&(0,s.n)(r.bK,{dates:l.headerDates,dateProfile:o,datesRepDistinctDays:!0,renderIntro:h?this.renderHeadAxis:null}),g=!1!==e.allDaySlot&&(t=>(0,s.n)(a.t7,Object.assign({},d.allDay,{dateProfile:o,dayTableModel:l,nextDayThreshold:e.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:h?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:i.forPrint},this.getAllDayMaxEventProps()))),p=t=>(0,s.n)(A,Object.assign({},d.timed,{dayTableModel:l,dateProfile:o,axis:h,slotDuration:e.slotDuration,slatMetas:c,forPrint:i.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return u?this.renderHScrollLayout(f,g,p,l.colCnt,u,c,this.state.slatCoords):this.renderSimpleLayout(f,g,p)}}function L(e,t){let n=new r.bO(e.renderRange,t);return new r.bV(n,!1)}(0,r.cw)('.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-arrow,.fc .fc-timegrid-now-indicator-line{pointer-events:none}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}');var V=(0,i.i1)({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:F,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}})},95413:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(23327);function r(e,t,n){let r=(0,i.a)(e,null==n?void 0:n.in);return r.setHours(t),r}},96871:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var i=n(23327);function r(e,t){return(0,i.a)(e,null==t?void 0:t.in).getFullYear()}},98210:(e,t,n)=>{"use strict";n.d(t,{z:()=>s});var i=n(78196),r=n(23327);function s(e,t,n){let s=(0,r.a)(e,null==n?void 0:n.in),a=Math.trunc(s.getMonth()/3)+1;return(0,i.Z)(s,s.getMonth()+3*(t-a))}},98994:(e,t,n)=>{"use strict";n.d(t,{H:()=>a});var i=n(44783),r=n(63039),s=n(23327);function a(e,t){var n;let a,p,m=()=>(0,r.w)(null==t?void 0:t.in,NaN),v=null!=(n=null==t?void 0:t.additionalDigits)?n:2,b=function(e){let t,n={},i=e.split(o.dateTimeDelimiter);if(i.length>2)return n;if(/:/.test(i[0])?t=i[0]:(n.date=i[0],t=i[1],o.timeZoneDelimiter.test(n.date)&&(n.date=e.split(o.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){let e=o.timezone.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(b.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),i=e.match(n);if(!i)return{year:NaN,restDateString:""};let r=i[1]?parseInt(i[1]):null,s=i[2]?parseInt(i[2]):null;return{year:null===s?r:100*s,restDateString:e.slice((i[1]||i[2]).length)}}(b.date,v);a=function(e,t){var n,i,r,s,a,o,d,c;if(null===t)return new Date(NaN);let h=e.match(l);if(!h)return new Date(NaN);let p=!!h[4],m=u(h[1]),v=u(h[2])-1,b=u(h[3]),y=u(h[4]),w=u(h[5])-1;if(p){return(n=0,i=y,r=w,i>=1&&i<=53&&r>=0&&r<=6)?function(e,t,n){let i=new Date(0);i.setUTCFullYear(e,0,4);let r=i.getUTCDay()||7;return i.setUTCDate(i.getUTCDate()+((t-1)*7+n+1-r)),i}(t,y,w):new Date(NaN)}{let e=new Date(0);return(s=t,a=v,o=b,a>=0&&a<=11&&o>=1&&o<=(f[a]||(g(s)?29:28))&&(d=t,(c=m)>=1&&c<=(g(d)?366:365)))?(e.setUTCFullYear(t,v,Math.max(m,b)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!a||isNaN(+a))return m();let y=+a,w=0;if(b.time&&isNaN(w=function(e){var t,n,r;let s=e.match(d);if(!s)return NaN;let a=h(s[1]),o=h(s[2]),l=h(s[3]);return(t=a,n=o,r=l,24===t?0===n&&0===r:r>=0&&r<60&&n>=0&&n<60&&t>=0&&t<25)?a*i.s0+o*i.Cg+1e3*l:NaN}(b.time)))return m();if(b.timezone){if(isNaN(p=function(e){var t,n;if("Z"===e)return 0;let r=e.match(c);if(!r)return 0;let s="+"===r[1]?-1:1,a=parseInt(r[2]),o=r[3]&&parseInt(r[3])||0;return(t=0,(n=o)>=0&&n<=59)?s*(a*i.s0+o*i.Cg):NaN}(b.timezone)))return m()}else{let e=new Date(y+w),n=(0,s.a)(0,null==t?void 0:t.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return(0,s.a)(y+w+p,null==t?void 0:t.in)}let o={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},l=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,d=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,c=/^([+-])(\d{2})(?::?(\d{2}))?$/;function u(e){return e?parseInt(e):1}function h(e){return e&&parseFloat(e.replace(",","."))||0}let f=[31,null,31,30,31,30,31,31,30,31,30,31];function g(e){return e%400==0||e%4==0&&e%100!=0}},99518:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var i=n(23327);function r(e,t){return(0,i.a)(e,null==t?void 0:t.in).getDate()}}}]); \ No newline at end of file diff --git a/.next/static/chunks/7477.89fee76d41baa612.js b/.next/static/chunks/7477.89fee76d41baa612.js new file mode 100644 index 00000000..71c79bcd --- /dev/null +++ b/.next/static/chunks/7477.89fee76d41baa612.js @@ -0,0 +1,6 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7477],{1763:(t,e,r)=>{"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0});let n=r(46120),s=r(49231);!function(t){t.compose=function(t={},e={},r=!1){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});let i=n(e);for(let n in r||(i=Object.keys(i).reduce((t,e)=>(null!=i[e]&&(t[e]=i[e]),t),{})),t)void 0!==t[n]&&void 0===e[n]&&(i[n]=t[n]);return Object.keys(i).length>0?i:void 0},t.diff=function(t={},e={}){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});let r=Object.keys(t).concat(Object.keys(e)).reduce((r,i)=>(s(t[i],e[i])||(r[i]=void 0===e[i]?null:e[i]),r),{});return Object.keys(r).length>0?r:void 0},t.invert=function(t={},e={}){t=t||{};let r=Object.keys(e).reduce((r,i)=>(e[i]!==t[i]&&void 0!==t[i]&&(r[i]=e[i]),r),{});return Object.keys(t).reduce((r,i)=>(t[i]!==e[i]&&void 0===e[i]&&(r[i]=null),r),r)},t.transform=function(t,e,r=!1){if("object"!=typeof t)return e;if("object"!=typeof e)return;if(!r)return e;let i=Object.keys(e).reduce((r,i)=>(void 0===t[i]&&(r[i]=e[i]),r),{});return Object.keys(i).length>0?i:void 0}}(i||(i={})),e.default=i},20100:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});let i=r(55110);class n{constructor(t){this.ops=t,this.index=0,this.offset=0}hasNext(){return this.peekLength()<1/0}next(t){t||(t=1/0);let e=this.ops[this.index];if(!e)return{retain:1/0};{let r=this.offset,n=i.default.length(e);if(t>=n-r?(t=n-r,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};{let i={};return e.attributes&&(i.attributes=e.attributes),"number"==typeof e.retain?i.retain=t:"object"==typeof e.retain&&null!==e.retain?i.retain=e.retain:"string"==typeof e.insert?i.insert=e.insert.substr(r,t):i.insert=e.insert,i}}}peek(){return this.ops[this.index]}peekLength(){return this.ops[this.index]?i.default.length(this.ops[this.index])-this.offset:1/0}peekType(){let t=this.ops[this.index];if(t){if("number"==typeof t.delete)return"delete";else if("number"!=typeof t.retain&&("object"!=typeof t.retain||null===t.retain))return"insert"}return"retain"}rest(){if(!this.hasNext())return[];{if(0===this.offset)return this.ops.slice(this.index);let t=this.offset,e=this.index,r=this.next(),i=this.ops.slice(this.index);return this.offset=t,this.index=e,[r].concat(i)}}}e.default=n},27501:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AttributeMap=e.OpIterator=e.Op=void 0;let i=r(87311),n=r(46120),s=r(49231),l=r(1763);e.AttributeMap=l.default;let o=r(55110);e.Op=o.default;let a=r(20100);e.OpIterator=a.default;let c=(t,e)=>{if("object"!=typeof t||null===t)throw Error(`cannot retain a ${typeof t}`);if("object"!=typeof e||null===e)throw Error(`cannot retain a ${typeof e}`);let r=Object.keys(t)[0];if(!r||r!==Object.keys(e)[0])throw Error(`embed types not matched: ${r} != ${Object.keys(e)[0]}`);return[r,t[r],e[r]]};class h{constructor(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]}static registerEmbed(t,e){this.handlers[t]=e}static unregisterEmbed(t){delete this.handlers[t]}static getHandler(t){let e=this.handlers[t];if(!e)throw Error(`no handlers for embed type "${t}"`);return e}insert(t,e){let r={};return"string"==typeof t&&0===t.length?this:(r.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(r.attributes=e),this.push(r))}delete(t){return t<=0?this:this.push({delete:t})}retain(t,e){if("number"==typeof t&&t<=0)return this;let r={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(r.attributes=e),this.push(r)}push(t){let e=this.ops.length,r=this.ops[e-1];if(t=n(t),"object"==typeof r){if("number"==typeof t.delete&&"number"==typeof r.delete)return this.ops[e-1]={delete:r.delete+t.delete},this;if("number"==typeof r.delete&&null!=t.insert&&(e-=1,"object"!=typeof(r=this.ops[e-1])))return this.ops.unshift(t),this;if(s(t.attributes,r.attributes)){if("string"==typeof t.insert&&"string"==typeof r.insert)return this.ops[e-1]={insert:r.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;else if("number"==typeof t.retain&&"number"==typeof r.retain)return this.ops[e-1]={retain:r.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this}chop(){let t=this.ops[this.ops.length-1];return t&&"number"==typeof t.retain&&!t.attributes&&this.ops.pop(),this}filter(t){return this.ops.filter(t)}forEach(t){this.ops.forEach(t)}map(t){return this.ops.map(t)}partition(t){let e=[],r=[];return this.forEach(i=>{(t(i)?e:r).push(i)}),[e,r]}reduce(t,e){return this.ops.reduce(t,e)}changeLength(){return this.reduce((t,e)=>e.insert?t+o.default.length(e):e.delete?t-e.delete:t,0)}length(){return this.reduce((t,e)=>t+o.default.length(e),0)}slice(t=0,e=1/0){let r=[],i=new a.default(this.ops),n=0;for(;n0&&r.next(n.retain-t)}let o=new h(i);for(;e.hasNext()||r.hasNext();)if("insert"===r.peekType())o.push(r.next());else if("delete"===e.peekType())o.push(e.next());else{let t=Math.min(e.peekLength(),r.peekLength()),i=e.next(t),n=r.next(t);if(n.retain){let a={};if("number"==typeof i.retain)a.retain="number"==typeof n.retain?t:n.retain;else if("number"==typeof n.retain)null==i.retain?a.insert=i.insert:a.retain=i.retain;else{let t=null==i.retain?"insert":"retain",[e,r,s]=c(i[t],n.retain),l=h.getHandler(e);a[t]={[e]:l.compose(r,s,"retain"===t)}}let u=l.default.compose(i.attributes,n.attributes,"number"==typeof i.retain);if(u&&(a.attributes=u),o.push(a),!r.hasNext()&&s(o.ops[o.ops.length-1],a)){let t=new h(e.rest());return o.concat(t).chop()}}else"number"==typeof n.delete&&("number"==typeof i.retain||"object"==typeof i.retain&&null!==i.retain)&&o.push(n)}return o.chop()}concat(t){let e=new h(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e}diff(t,e){if(this.ops===t.ops)return new h;let r=[this,t].map(e=>e.map(r=>{if(null!=r.insert)return"string"==typeof r.insert?r.insert:"\0";throw Error("diff() called "+(e===t?"on":"with")+" non-document")}).join("")),n=new h,o=i(r[0],r[1],e,!0),c=new a.default(this.ops),u=new a.default(t.ops);return o.forEach(t=>{let e=t[1].length;for(;e>0;){let r=0;switch(t[0]){case i.INSERT:r=Math.min(u.peekLength(),e),n.push(u.next(r));break;case i.DELETE:r=Math.min(e,c.peekLength()),c.next(r),n.delete(r);break;case i.EQUAL:r=Math.min(c.peekLength(),u.peekLength(),e);let o=c.next(r),a=u.next(r);s(o.insert,a.insert)?n.retain(r,l.default.diff(o.attributes,a.attributes)):n.push(a).delete(r)}e-=r}}),n.chop()}eachLine(t,e="\n"){let r=new a.default(this.ops),i=new h,n=0;for(;r.hasNext();){if("insert"!==r.peekType())return;let s=r.peek(),l=o.default.length(s)-r.peekLength(),a="string"==typeof s.insert?s.insert.indexOf(e,l)-l:-1;if(a<0)i.push(r.next());else if(a>0)i.push(r.next(a));else{if(!1===t(i,r.next(1).attributes||{},n))return;n+=1,i=new h}}i.length()>0&&t(i,{},n)}invert(t){let e=new h;return this.reduce((r,i)=>{if(i.insert)e.delete(o.default.length(i));else if("number"==typeof i.retain&&null==i.attributes)return e.retain(i.retain),r+i.retain;else if(i.delete||"number"==typeof i.retain){let n=i.delete||i.retain;return t.slice(r,r+n).forEach(t=>{i.delete?e.push(t):i.retain&&i.attributes&&e.retain(o.default.length(t),l.default.invert(i.attributes,t.attributes))}),r+n}else if("object"==typeof i.retain&&null!==i.retain){let n=t.slice(r,r+1),s=new a.default(n.ops).next(),[o,u,d]=c(i.retain,s.insert),f=h.getHandler(o);return e.retain({[o]:f.invert(u,d)},l.default.invert(i.attributes,s.attributes)),r+1}return r},0),e.chop()}transform(t,e=!1){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);let r=new a.default(this.ops),i=new a.default(t.ops),n=new h;for(;r.hasNext()||i.hasNext();)if("insert"===r.peekType()&&(e||"insert"!==i.peekType()))n.retain(o.default.length(r.next()));else if("insert"===i.peekType())n.push(i.next());else{let t=Math.min(r.peekLength(),i.peekLength()),s=r.next(t),o=i.next(t);if(s.delete)continue;if(o.delete)n.push(o);else{let r=s.retain,i=o.retain,a="object"==typeof i&&null!==i?i:t;if("object"==typeof r&&null!==r&&"object"==typeof i&&null!==i){let t=Object.keys(r)[0];if(t===Object.keys(i)[0]){let n=h.getHandler(t);n&&(a={[t]:n.transform(r[t],i[t],e)})}}n.retain(a,l.default.transform(s.attributes,o.attributes,e))}}return n.chop()}transformPosition(t,e=!1){e=!!e;let r=new a.default(this.ops),i=0;for(;r.hasNext()&&i<=t;){let n=r.peekLength(),s=r.peekType();if(r.next(),"delete"===s){t-=Math.min(n,t-i);continue}"insert"===s&&(i{"use strict";var e=Object.prototype.hasOwnProperty,r="~";function i(){}function n(t,e,r){this.fn=t,this.context=e,this.once=r||!1}function s(t,e,i,s,l){if("function"!=typeof i)throw TypeError("The listener must be a function");var o=new n(i,s||t,l),a=r?r+e:e;return t._events[a]?t._events[a].fn?t._events[a]=[t._events[a],o]:t._events[a].push(o):(t._events[a]=o,t._eventsCount++),t}function l(t,e){0==--t._eventsCount?t._events=new i:delete t._events[e]}function o(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1)),o.prototype.eventNames=function(){var t,i,n=[];if(0===this._eventsCount)return n;for(i in t=this._events)e.call(t,i)&&n.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},o.prototype.listeners=function(t){var e=r?r+t:t,i=this._events[e];if(!i)return[];if(i.fn)return[i.fn];for(var n=0,s=i.length,l=Array(s);n{t=r.nmd(t);var i="__lodash_hash_undefined__",n="[object Arguments]",s="[object Boolean]",l="[object Date]",o="[object Function]",a="[object GeneratorFunction]",c="[object Map]",h="[object Number]",u="[object Object]",d="[object Promise]",f="[object RegExp]",p="[object Set]",g="[object String]",m="[object Symbol]",b="[object WeakMap]",y="[object ArrayBuffer]",v="[object DataView]",x="[object Float32Array]",N="[object Float64Array]",E="[object Int8Array]",A="[object Int16Array]",w="[object Int32Array]",q="[object Uint8Array]",k="[object Uint8ClampedArray]",_="[object Uint16Array]",L="[object Uint32Array]",O=/\w*$/,S=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,j={};j[n]=j["[object Array]"]=j[y]=j[v]=j[s]=j[l]=j[x]=j[N]=j[E]=j[A]=j[w]=j[c]=j[h]=j[u]=j[f]=j[p]=j[g]=j[m]=j[q]=j[k]=j[_]=j[L]=!0,j["[object Error]"]=j[o]=j[b]=!1;var C="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,R="object"==typeof self&&self&&self.Object===Object&&self,I=C||R||Function("return this")(),M=e&&!e.nodeType&&e,B=M&&t&&!t.nodeType&&t,D=B&&B.exports===M;function U(t,e){return t.set(e[0],e[1]),t}function P(t,e){return t.add(e),t}function z(t,e,r,i){var n=-1,s=t?t.length:0;for(i&&s&&(r=t[++n]);++n-1},tq.prototype.set=function(t,e){var r=this.__data__,i=tO(r,t);return i<0?r.push([t,e]):r[i][1]=e,this},tk.prototype.clear=function(){this.__data__={hash:new tw,map:new(td||tq),string:new tw}},tk.prototype.delete=function(t){return tj(this,t).delete(t)},tk.prototype.get=function(t){return tj(this,t).get(t)},tk.prototype.has=function(t){return tj(this,t).has(t)},tk.prototype.set=function(t,e){return tj(this,t).set(t,e),this},t_.prototype.clear=function(){this.__data__=new tq},t_.prototype.delete=function(t){return this.__data__.delete(t)},t_.prototype.get=function(t){return this.__data__.get(t)},t_.prototype.has=function(t){return this.__data__.has(t)},t_.prototype.set=function(t,e){var r=this.__data__;if(r instanceof tq){var i=r.__data__;if(!td||i.length<199)return i.push([t,e]),this;r=this.__data__=new tk(i)}return r.set(t,e),this};var tR=ta?H(ta,Object):function(){return[]},tI=function(t){return J.call(t)};function tM(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Z)}function tB(t){if(null!=t){try{return Y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function tD(t,e){return t===e||t!=t&&e!=e}(tu&&tI(new tu(new ArrayBuffer(1)))!=v||td&&tI(new td)!=c||tf&&tI(tf.resolve())!=d||tp&&tI(new tp)!=p||tg&&tI(new tg)!=b)&&(tI=function(t){var e=J.call(t),r=e==u?t.constructor:void 0,i=r?tB(r):void 0;if(i)switch(i){case tb:return v;case ty:return c;case tv:return d;case tx:return p;case tN:return b}return e});var tU=Array.isArray;function tP(t){var e;return null!=t&&"number"==typeof(e=t.length)&&e>-1&&e%1==0&&e<=0x1fffffffffffff&&!tF(t)}var tz=tc||function(){return!1};function tF(t){var e=t$(t)?J.call(t):"";return e==o||e==a}function t$(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function tH(t){return tP(t)?function(t,e){var r,i,s,l,o,a=tU(t)||(s=i=r=t)&&"object"==typeof s&&tP(i)&&Q.call(r,"callee")&&(!tl.call(r,"callee")||J.call(r)==n)?function(t,e){for(var r=-1,i=Array(t);++r-1&&l%1==0&&l{t=r.nmd(t);var i,n,s="__lodash_hash_undefined__",l="[object Arguments]",o="[object Array]",a="[object Boolean]",c="[object Date]",h="[object Error]",u="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",g="[object Promise]",m="[object RegExp]",b="[object Set]",y="[object String]",v="[object WeakMap]",x="[object ArrayBuffer]",N="[object DataView]",E=/^\[object .+?Constructor\]$/,A=/^(?:0|[1-9]\d*)$/,w={};w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w[l]=w[o]=w[x]=w[a]=w[N]=w[c]=w[h]=w[u]=w[d]=w[f]=w[p]=w[m]=w[b]=w[y]=w[v]=!1;var q="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,k="object"==typeof self&&self&&self.Object===Object&&self,_=q||k||Function("return this")(),L=e&&!e.nodeType&&e,O=L&&t&&!t.nodeType&&t,S=O&&O.exports===L,T=S&&q.process,j=function(){try{return T&&T.binding&&T.binding("util")}catch(t){}}(),C=j&&j.isTypedArray;function R(t){var e=-1,r=Array(t.size);return t.forEach(function(t,i){r[++e]=[i,t]}),r}function I(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var M=Array.prototype,B=Function.prototype,D=Object.prototype,U=_["__core-js_shared__"],P=B.toString,z=D.hasOwnProperty,F=function(){var t=/[^.]+$/.exec(U&&U.keys&&U.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),$=D.toString,H=RegExp("^"+P.call(z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),V=S?_.Buffer:void 0,K=_.Symbol,W=_.Uint8Array,Z=D.propertyIsEnumerable,G=M.splice,X=K?K.toStringTag:void 0,Y=Object.getOwnPropertySymbols,Q=V?V.isBuffer:void 0,J=(i=Object.keys,n=Object,function(t){return i(n(t))}),tt=tw(_,"DataView"),te=tw(_,"Map"),tr=tw(_,"Promise"),ti=tw(_,"Set"),tn=tw(_,"WeakMap"),ts=tw(Object,"create"),tl=t_(tt),to=t_(te),ta=t_(tr),tc=t_(ti),th=t_(tn),tu=K?K.prototype:void 0,td=tu?tu.valueOf:void 0;function tf(t){var e=-1,r=null==t?0:t.length;for(this.clear();++eo))return!1;var c=s.get(t);if(c&&s.get(e))return c==e;var h=-1,u=!0,d=2&r?new tm:void 0;for(s.set(t,e),s.set(e,t);++h-1},tp.prototype.set=function(t,e){var r=this.__data__,i=ty(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this},tg.prototype.clear=function(){this.size=0,this.__data__={hash:new tf,map:new(te||tp),string:new tf}},tg.prototype.delete=function(t){var e=tA(this,t).delete(t);return this.size-=!!e,e},tg.prototype.get=function(t){return tA(this,t).get(t)},tg.prototype.has=function(t){return tA(this,t).has(t)},tg.prototype.set=function(t,e){var r=tA(this,t),i=r.size;return r.set(t,e),this.size+=+(r.size!=i),this},tm.prototype.add=tm.prototype.push=function(t){return this.__data__.set(t,s),this},tm.prototype.has=function(t){return this.__data__.has(t)},tb.prototype.clear=function(){this.__data__=new tp,this.size=0},tb.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},tb.prototype.get=function(t){return this.__data__.get(t)},tb.prototype.has=function(t){return this.__data__.has(t)},tb.prototype.set=function(t,e){var r=this.__data__;if(r instanceof tp){var i=r.__data__;if(!te||i.length<199)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new tg(i)}return r.set(t,e),this.size=r.size,this};var tq=Y?function(t){return null==t?[]:function(t,e){for(var r=-1,i=null==t?0:t.length,n=0,s=[];++r-1&&t%1==0&&t<=0x1fffffffffffff}function tR(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function tI(t){return null!=t&&"object"==typeof t}var tM=C?function(t){return C(t)}:function(t){return tI(t)&&tC(t.length)&&!!w[tv(t)]};function tB(t){return null!=t&&tC(t.length)&&!tj(t)?function(t,e){var r,i,n=tS(t),s=!n&&tO(t),l=!n&&!s&&tT(t),o=!n&&!s&&!l&&tM(t),a=n||s||l||o,c=a?function(t,e){for(var r=-1,i=Array(t);++r-1&&r%1==0&&r{"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0}),(r||(r={})).length=function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"object"==typeof t.retain&&null!==t.retain?1:"string"==typeof t.insert?t.insert.length:1},e.default=r},57477:(t,e,r)=>{"use strict";r.r(e),r.d(e,{AttributeMap:()=>e_.AttributeMap,Delta:()=>e_,Module:()=>r3,Op:()=>e_.Op,OpIterator:()=>e_.OpIterator,Parchment:()=>i,Range:()=>rG,default:()=>sv});var i={};r.r(i),r.d(i,{Attributor:()=>t4,AttributorStore:()=>es,BlockBlot:()=>eb,ClassAttributor:()=>et,ContainerBlot:()=>ev,EmbedBlot:()=>eN,InlineBlot:()=>eg,LeafBlot:()=>ec,ParentBlot:()=>ef,Registry:()=>t8,Scope:()=>t5,ScrollBlot:()=>ew,StyleAttributor:()=>ei,TextBlot:()=>ek});let n=function(t,e){return t===e||t!=t&&e!=e},s=function(t,e){for(var r=t.length;r--;)if(n(t[r][0],e))return r;return -1};var l=Array.prototype.splice;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1},o.prototype.set=function(t,e){var r=this.__data__,i=s(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this};var a="object"==typeof global&&global&&global.Object===Object&&global,c="object"==typeof self&&self&&self.Object===Object&&self,h=a||c||Function("return this")(),u=h.Symbol,d=Object.prototype,f=d.hasOwnProperty,p=d.toString,g=u?u.toStringTag:void 0;let m=function(t){var e=f.call(t,g),r=t[g];try{t[g]=void 0;var i=!0}catch(t){}var n=p.call(t);return i&&(e?t[g]=r:delete t[g]),n};var b=Object.prototype.toString,y=u?u.toStringTag:void 0;let v=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":y&&y in Object(t)?m(t):b.call(t)},x=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},N=function(t){if(!x(t))return!1;var e=v(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};var E=h["__core-js_shared__"],A=function(){var t=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),w=Function.prototype.toString;let q=function(t){if(null!=t){try{return w.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var k=/^\[object .+?Constructor\]$/,_=Object.prototype,L=Function.prototype.toString,O=_.hasOwnProperty,S=RegExp("^"+L.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let T=function(t){return!!x(t)&&(!A||!(A in t))&&(N(t)?S:k).test(q(t))},j=function(t,e){var r=null==t?void 0:t[e];return T(r)?r:void 0};var C=j(h,"Map"),R=j(Object,"create"),I=Object.prototype.hasOwnProperty,M=Object.prototype.hasOwnProperty;function B(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t<=0x1fffffffffffff},tm=function(t){return null!=t&&tg(t.length)&&!N(t)};var tb="object"==typeof exports&&exports&&!exports.nodeType&&exports,ty=tb&&"object"==typeof module&&module&&!module.nodeType&&module,tv=ty&&ty.exports===tb?h.Buffer:void 0;let tx=(tv?tv.isBuffer:void 0)||function(){return!1};var tN=Object.prototype,tE=Function.prototype.toString,tA=tN.hasOwnProperty,tw=tE.call(Object);let tq=function(t){if(!ta(t)||"[object Object]"!=v(t))return!1;var e=tn(t);if(null===e)return!0;var r=tA.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&tE.call(r)==tw};var tk={};tk["[object Float32Array]"]=tk["[object Float64Array]"]=tk["[object Int8Array]"]=tk["[object Int16Array]"]=tk["[object Int32Array]"]=tk["[object Uint8Array]"]=tk["[object Uint8ClampedArray]"]=tk["[object Uint16Array]"]=tk["[object Uint32Array]"]=!0,tk["[object Arguments]"]=tk["[object Array]"]=tk["[object ArrayBuffer]"]=tk["[object Boolean]"]=tk["[object DataView]"]=tk["[object Date]"]=tk["[object Error]"]=tk["[object Function]"]=tk["[object Map]"]=tk["[object Number]"]=tk["[object Object]"]=tk["[object RegExp]"]=tk["[object Set]"]=tk["[object String]"]=tk["[object WeakMap]"]=!1;let t_=function(t){return function(e){return t(e)}};var tL="object"==typeof exports&&exports&&!exports.nodeType&&exports,tO=tL&&"object"==typeof module&&module&&!module.nodeType&&module,tS=tO&&tO.exports===tL&&a.process,tT=function(){try{var t=tO&&tO.require&&tO.require("util").types;if(t)return t;return tS&&tS.binding&&tS.binding("util")}catch(t){}}(),tj=tT&&tT.isTypedArray,tC=tj?t_(tj):function(t){return ta(t)&&tg(t.length)&&!!tk[v(t)]};let tR=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var tI=Object.prototype.hasOwnProperty;let tM=function(t,e,r){var i=t[e];tI.call(t,e)&&n(i,r)&&(void 0!==r||e in t)||$(t,e,r)},tB=function(t,e,r,i){var n=!r;r||(r={});for(var s=-1,l=e.length;++s-1&&t%1==0&&t0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(F?function(t,e){return F(t,"toString",{configurable:!0,enumerable:!1,value:function(){return e},writable:!0})}:tG);let t1=function(t,e){var r;return tJ((r=tY(void 0===(r=e)?t.length-1:r,0),function(){for(var e=arguments,i=-1,n=tY(e.length-r,0),s=Array(n);++i1?r[n-1]:void 0,l=n>2?r[2]:void 0;for(s=t.length>3&&"function"==typeof s?(n--,s):void 0,l&&t0(r[0],r[1],l)&&(s=n<3?void 0:s,n=1),e=Object(e);++i(t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY",t))(t5||{});class t4{constructor(t,e,r={}){this.attrName=t,this.keyName=e;let i=t5.TYPE&t5.ATTRIBUTE;this.scope=null!=r.scope?r.scope&t5.LEVEL|i:t5.ATTRIBUTE,null!=r.whitelist&&(this.whitelist=r.whitelist)}static keys(t){return Array.from(t.attributes).map(t=>t.name)}add(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)}canAdd(t,e){return null==this.whitelist||("string"==typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1)}remove(t){t.removeAttribute(this.keyName)}value(t){let e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""}}class t3 extends Error{constructor(t){super(t="[Parchment] "+t),this.message=t,this.name=this.constructor.name}}let t6=class t{constructor(){this.attributes={},this.classes={},this.tags={},this.types={}}static find(t,e=!1){if(null==t)return null;if(this.blots.has(t))return this.blots.get(t)||null;if(e){let r=null;try{r=t.parentNode}catch{return null}return this.find(r,e)}return null}create(e,r,i){let n=this.query(r);if(null==n)throw new t3(`Unable to create ${r} blot`);let s=r instanceof Node||r.nodeType===Node.TEXT_NODE?r:n.create(i),l=new n(e,s,i);return t.blots.set(l.domNode,l),l}find(e,r=!1){return t.find(e,r)}query(t,e=t5.ANY){let r;return"string"==typeof t?r=this.types[t]||this.attributes[t]:t instanceof Text||t.nodeType===Node.TEXT_NODE?r=this.types.text:"number"==typeof t?t&t5.LEVEL&t5.BLOCK?r=this.types.block:t&t5.LEVEL&t5.INLINE&&(r=this.types.inline):t instanceof Element&&((t.getAttribute("class")||"").split(/\s+/).some(t=>!!(r=this.classes[t])),r=r||this.tags[t.tagName]),null==r?null:"scope"in r&&e&t5.LEVEL&r.scope&&e&t5.TYPE&r.scope?r:null}register(...t){return t.map(t=>{let e="blotName"in t,r="attrName"in t;if(!e&&!r)throw new t3("Invalid definition");if(e&&"abstract"===t.blotName)throw new t3("Cannot register abstract class");let i=e?t.blotName:r?t.attrName:void 0;return this.types[i]=t,r?"string"==typeof t.keyName&&(this.attributes[t.keyName]=t):e&&(t.className&&(this.classes[t.className]=t),t.tagName&&(Array.isArray(t.tagName)?t.tagName=t.tagName.map(t=>t.toUpperCase()):t.tagName=t.tagName.toUpperCase(),(Array.isArray(t.tagName)?t.tagName:[t.tagName]).forEach(e=>{(null==this.tags[e]||null==t.className)&&(this.tags[e]=t)}))),t})}};t6.blots=new WeakMap;let t8=t6;function t9(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter(t=>0===t.indexOf(`${e}-`))}class t7 extends t4{static keys(t){return(t.getAttribute("class")||"").split(/\s+/).map(t=>t.split("-").slice(0,-1).join("-"))}add(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(`${this.keyName}-${e}`),!0)}remove(t){t9(t,this.keyName).forEach(e=>{t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute("class")}value(t){let e=(t9(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""}}let et=t7;function ee(t){let e=t.split("-"),r=e.slice(1).map(t=>t[0].toUpperCase()+t.slice(1)).join("");return e[0]+r}class er extends t4{static keys(t){return(t.getAttribute("style")||"").split(";").map(t=>t.split(":")[0].trim())}add(t,e){return!!this.canAdd(t,e)&&(t.style[ee(this.keyName)]=e,!0)}remove(t){t.style[ee(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")}value(t){let e=t.style[ee(this.keyName)];return this.canAdd(t,e)?e:""}}let ei=er;class en{constructor(t){this.attributes={},this.domNode=t,this.build()}attribute(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])}build(){this.attributes={};let t=t8.find(this.domNode);if(null==t)return;let e=t4.keys(this.domNode),r=et.keys(this.domNode),i=ei.keys(this.domNode);e.concat(r).concat(i).forEach(e=>{let r=t.scroll.query(e,t5.ATTRIBUTE);r instanceof t4&&(this.attributes[r.attrName]=r)})}copy(t){Object.keys(this.attributes).forEach(e=>{let r=this.attributes[e].value(this.domNode);t.format(e,r)})}move(t){this.copy(t),Object.keys(this.attributes).forEach(t=>{this.attributes[t].remove(this.domNode)}),this.attributes={}}values(){return Object.keys(this.attributes).reduce((t,e)=>(t[e]=this.attributes[e].value(this.domNode),t),{})}}let es=en,el=class{constructor(t,e){this.scroll=t,this.domNode=e,t8.blots.set(e,this),this.prev=null,this.next=null}static create(t){let e,r;if(null==this.tagName)throw new t3("Blot definition missing tagName");return Array.isArray(this.tagName)?("string"==typeof t?parseInt(r=t.toUpperCase(),10).toString()===r&&(r=parseInt(r,10)):"number"==typeof t&&(r=t),e="number"==typeof r?document.createElement(this.tagName[r-1]):r&&this.tagName.indexOf(r)>-1?document.createElement(r):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e}get statics(){return this.constructor}attach(){}clone(){let t=this.domNode.cloneNode(!1);return this.scroll.create(t)}detach(){null!=this.parent&&this.parent.removeChild(this),t8.blots.delete(this.domNode)}deleteAt(t,e){this.isolate(t,e).remove()}formatAt(t,e,r,i){let n=this.isolate(t,e);if(null!=this.scroll.query(r,t5.BLOT)&&i)n.wrap(r,i);else if(null!=this.scroll.query(r,t5.ATTRIBUTE)){let t=this.scroll.create(this.statics.scope);n.wrap(t),t.format(r,i)}}insertAt(t,e,r){let i=null==r?this.scroll.create("text",e):this.scroll.create(e,r),n=this.split(t);this.parent.insertBefore(i,n||void 0)}isolate(t,e){let r=this.split(t);if(null==r)throw Error("Attempt to isolate at end");return r.split(e),r}length(){return 1}offset(t=this.parent){return null==this.parent||this===t?0:this.parent.children.offset(this)+this.parent.offset(t)}optimize(t){!this.statics.requiredContainer||this.parent instanceof this.statics.requiredContainer||this.wrap(this.statics.requiredContainer.blotName)}remove(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()}replaceWith(t,e){let r="string"==typeof t?this.scroll.create(t,e):t;return null!=this.parent&&(this.parent.insertBefore(r,this.next||void 0),this.remove()),r}split(t,e){return 0===t?this:this.next}update(t,e){}wrap(t,e){let r="string"==typeof t?this.scroll.create(t,e):t;if(null!=this.parent&&this.parent.insertBefore(r,this.next||void 0),"function"!=typeof r.appendChild)throw new t3(`Cannot wrap ${t}`);return r.appendChild(this),r}};el.blotName="abstract";let eo=el,ea=class extends eo{static value(t){return!0}index(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1}position(t,e){let r=Array.from(this.parent.domNode.childNodes).indexOf(this.domNode);return t>0&&(r+=1),[this.parent.domNode,r]}value(){return{[this.statics.blotName]:this.statics.value(this.domNode)||!0}}};ea.scope=t5.INLINE_BLOT;let ec=ea;class eh{constructor(){this.head=null,this.tail=null,this.length=0}append(...t){if(this.insertBefore(t[0],null),t.length>1){let e=t.slice(1);this.append(...e)}}at(t){let e=this.iterator(),r=e();for(;r&&t>0;)t-=1,r=e();return r}contains(t){let e=this.iterator(),r=e();for(;r;){if(r===t)return!0;r=e()}return!1}indexOf(t){let e=this.iterator(),r=e(),i=0;for(;r;){if(r===t)return i;i+=1,r=e()}return -1}insertBefore(t,e){null!=t&&(this.remove(t),t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)}offset(t){let e=0,r=this.head;for(;null!=r;){if(r===t)return e;e+=r.length(),r=r.next}return -1}remove(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)}iterator(t=this.head){return()=>{let e=t;return null!=t&&(t=t.next),e}}find(t,e=!1){let r=this.iterator(),i=r();for(;i;){let n=i.length();if(ts?r(o,t-s,Math.min(e,s+i-t)):r(o,0,Math.min(i,t+e-s)),s+=i,o=l()}}map(t){return this.reduce((e,r)=>(e.push(t(r)),e),[])}reduce(t,e){let r=this.iterator(),i=r();for(;i;)e=t(e,i),i=r();return e}}function eu(t,e){let r=e.find(t);if(r)return r;try{return e.create(t)}catch{let r=e.create(t5.INLINE);return Array.from(t.childNodes).forEach(t=>{r.domNode.appendChild(t)}),t.parentNode&&t.parentNode.replaceChild(r.domNode,t),r.attach(),r}}let ed=class t extends eo{constructor(t,e){super(t,e),this.uiNode=null,this.build()}appendChild(t){this.insertBefore(t)}attach(){super.attach(),this.children.forEach(t=>{t.attach()})}attachUI(e){null!=this.uiNode&&this.uiNode.remove(),this.uiNode=e,t.uiClass&&this.uiNode.classList.add(t.uiClass),this.uiNode.setAttribute("contenteditable","false"),this.domNode.insertBefore(this.uiNode,this.domNode.firstChild)}build(){this.children=new eh,Array.from(this.domNode.childNodes).filter(t=>t!==this.uiNode).reverse().forEach(t=>{try{let e=eu(t,this.scroll);this.insertBefore(e,this.children.head||void 0)}catch(t){if(t instanceof t3)return;throw t}})}deleteAt(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,(t,e,r)=>{t.deleteAt(e,r)})}descendant(e,r=0){let[i,n]=this.children.find(r);return null==e.blotName&&e(i)||null!=e.blotName&&i instanceof e?[i,n]:i instanceof t?i.descendant(e,n):[null,-1]}descendants(e,r=0,i=Number.MAX_VALUE){let n=[],s=i;return this.children.forEachAt(r,i,(r,i,l)=>{(null==e.blotName&&e(r)||null!=e.blotName&&r instanceof e)&&n.push(r),r instanceof t&&(n=n.concat(r.descendants(e,i,s))),s-=l}),n}detach(){this.children.forEach(t=>{t.detach()}),super.detach()}enforceAllowedChildren(){let e=!1;this.children.forEach(r=>{e||this.statics.allowedChildren.some(t=>r instanceof t)||(r.statics.scope===t5.BLOCK_BLOT?(null!=r.next&&this.splitAfter(r),null!=r.prev&&this.splitAfter(r.prev),r.parent.unwrap(),e=!0):r instanceof t?r.unwrap():r.remove())})}formatAt(t,e,r,i){this.children.forEachAt(t,e,(t,e,n)=>{t.formatAt(e,n,r,i)})}insertAt(t,e,r){let[i,n]=this.children.find(t);if(i)i.insertAt(n,e,r);else{let t=null==r?this.scroll.create("text",e):this.scroll.create(e,r);this.appendChild(t)}}insertBefore(t,e){null!=t.parent&&t.parent.children.remove(t);let r=null;this.children.insertBefore(t,e||null),t.parent=this,null!=e&&(r=e.domNode),(this.domNode.parentNode!==t.domNode||this.domNode.nextSibling!==r)&&this.domNode.insertBefore(t.domNode,r),t.attach()}length(){return this.children.reduce((t,e)=>t+e.length(),0)}moveChildren(t,e){this.children.forEach(r=>{t.insertBefore(r,e)})}optimize(t){if(super.optimize(t),this.enforceAllowedChildren(),null!=this.uiNode&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),0===this.children.length)if(null!=this.statics.defaultChild){let t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t)}else this.remove()}path(e,r=!1){let[i,n]=this.children.find(e,r),s=[[this,e]];return i instanceof t?s.concat(i.path(n,r)):(null!=i&&s.push([i,n]),s)}removeChild(t){this.children.remove(t)}replaceWith(e,r){let i="string"==typeof e?this.scroll.create(e,r):e;return i instanceof t&&this.moveChildren(i),super.replaceWith(i)}split(t,e=!1){if(!e){if(0===t)return this;if(t===this.length())return this.next}let r=this.clone();return this.parent&&this.parent.insertBefore(r,this.next||void 0),this.children.forEachAt(t,this.length(),(t,i,n)=>{let s=t.split(i,e);null!=s&&r.appendChild(s)}),r}splitAfter(t){let e=this.clone();for(;null!=t.next;)e.appendChild(t.next);return this.parent&&this.parent.insertBefore(e,this.next||void 0),e}unwrap(){this.parent&&this.moveChildren(this.parent,this.next||void 0),this.remove()}update(t,e){let r=[],i=[];t.forEach(t=>{t.target===this.domNode&&"childList"===t.type&&(r.push(...t.addedNodes),i.push(...t.removedNodes))}),i.forEach(t=>{if(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)return;let e=this.scroll.find(t);null!=e&&(null==e.domNode.parentNode||e.domNode.parentNode===this.domNode)&&e.detach()}),r.filter(t=>t.parentNode===this.domNode&&t!==this.uiNode).sort((t,e)=>t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1).forEach(t=>{let e=null;null!=t.nextSibling&&(e=this.scroll.find(t.nextSibling));let r=eu(t,this.scroll);(r.next!==e||null==r.next)&&(null!=r.parent&&r.parent.removeChild(this),this.insertBefore(r,e||void 0))}),this.enforceAllowedChildren()}};ed.uiClass="";let ef=ed,ep=class t extends ef{static create(t){return super.create(t)}static formats(e,r){let i=r.query(t.blotName);if(null==i||e.tagName!==i.tagName){if("string"==typeof this.tagName)return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(t,e){super(t,e),this.attributes=new es(this.domNode)}format(e,r){if(e!==this.statics.blotName||r){let t=this.scroll.query(e,t5.INLINE);null!=t&&(t instanceof t4?this.attributes.attribute(t,r):r&&(e!==this.statics.blotName||this.formats()[e]!==r)&&this.replaceWith(e,r))}else this.children.forEach(e=>{e instanceof t||(e=e.wrap(t.blotName,!0)),this.attributes.copy(e)}),this.unwrap()}formats(){let t=this.attributes.values(),e=this.statics.formats(this.domNode,this.scroll);return null!=e&&(t[this.statics.blotName]=e),t}formatAt(t,e,r,i){null!=this.formats()[r]||this.scroll.query(r,t5.ATTRIBUTE)?this.isolate(t,e).format(r,i):super.formatAt(t,e,r,i)}optimize(e){super.optimize(e);let r=this.formats();if(0===Object.keys(r).length)return this.unwrap();let i=this.next;i instanceof t&&i.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(let r in t)if(t[r]!==e[r])return!1;return!0}(r,i.formats())&&(i.moveChildren(this),i.remove())}replaceWith(t,e){let r=super.replaceWith(t,e);return this.attributes.copy(r),r}update(t,e){super.update(t,e),t.some(t=>t.target===this.domNode&&"attributes"===t.type)&&this.attributes.build()}wrap(e,r){let i=super.wrap(e,r);return i instanceof t&&this.attributes.move(i),i}};ep.allowedChildren=[ep,ec],ep.blotName="inline",ep.scope=t5.INLINE_BLOT,ep.tagName="SPAN";let eg=ep,em=class t extends ef{static create(t){return super.create(t)}static formats(e,r){let i=r.query(t.blotName);if(null==i||e.tagName!==i.tagName){if("string"==typeof this.tagName)return!0;if(Array.isArray(this.tagName))return e.tagName.toLowerCase()}}constructor(t,e){super(t,e),this.attributes=new es(this.domNode)}format(e,r){let i=this.scroll.query(e,t5.BLOCK);null!=i&&(i instanceof t4?this.attributes.attribute(i,r):e!==this.statics.blotName||r?r&&(e!==this.statics.blotName||this.formats()[e]!==r)&&this.replaceWith(e,r):this.replaceWith(t.blotName))}formats(){let t=this.attributes.values(),e=this.statics.formats(this.domNode,this.scroll);return null!=e&&(t[this.statics.blotName]=e),t}formatAt(t,e,r,i){null!=this.scroll.query(r,t5.BLOCK)?this.format(r,i):super.formatAt(t,e,r,i)}insertAt(t,e,r){if(null==r||null!=this.scroll.query(e,t5.INLINE))super.insertAt(t,e,r);else{let i=this.split(t);if(null!=i){let t=this.scroll.create(e,r);i.parent.insertBefore(t,i)}else throw Error("Attempt to insertAt after block boundaries")}}replaceWith(t,e){let r=super.replaceWith(t,e);return this.attributes.copy(r),r}update(t,e){super.update(t,e),t.some(t=>t.target===this.domNode&&"attributes"===t.type)&&this.attributes.build()}};em.blotName="block",em.scope=t5.BLOCK_BLOT,em.tagName="P",em.allowedChildren=[eg,em,ec];let eb=em,ey=class extends ef{checkMerge(){return null!==this.next&&this.next.statics.blotName===this.statics.blotName}deleteAt(t,e){super.deleteAt(t,e),this.enforceAllowedChildren()}formatAt(t,e,r,i){super.formatAt(t,e,r,i),this.enforceAllowedChildren()}insertAt(t,e,r){super.insertAt(t,e,r),this.enforceAllowedChildren()}optimize(t){super.optimize(t),this.children.length>0&&null!=this.next&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}};ey.blotName="container",ey.scope=t5.BLOCK_BLOT;let ev=ey;class ex extends ec{static formats(t,e){}format(t,e){super.formatAt(0,this.length(),t,e)}formatAt(t,e,r,i){0===t&&e===this.length()?this.format(r,i):super.formatAt(t,e,r,i)}formats(){return this.statics.formats(this.domNode,this.scroll)}}let eN=ex,eE={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},eA=class extends ef{constructor(t,e){super(null,e),this.registry=t,this.scroll=this,this.build(),this.observer=new MutationObserver(t=>{this.update(t)}),this.observer.observe(this.domNode,eE),this.attach()}create(t,e){return this.registry.create(this,t,e)}find(t,e=!1){let r=this.registry.find(t,e);return r?r.scroll===this?r:e?this.find(r.scroll.domNode.parentNode,!0):null:null}query(t,e=t5.ANY){return this.registry.query(t,e)}register(...t){return this.registry.register(...t)}build(){null!=this.scroll&&super.build()}detach(){super.detach(),this.observer.disconnect()}deleteAt(t,e){this.update(),0===t&&e===this.length()?this.children.forEach(t=>{t.remove()}):super.deleteAt(t,e)}formatAt(t,e,r,i){this.update(),super.formatAt(t,e,r,i)}insertAt(t,e,r){this.update(),super.insertAt(t,e,r)}optimize(t=[],e={}){super.optimize(e);let r=e.mutationsMap||new WeakMap,i=Array.from(this.observer.takeRecords());for(;i.length>0;)t.push(i.pop());let n=(t,e=!0)=>{null==t||t===this||null!=t.domNode.parentNode&&(r.has(t.domNode)||r.set(t.domNode,[]),e&&n(t.parent))},s=t=>{r.has(t.domNode)&&(t instanceof ef&&t.children.forEach(s),r.delete(t.domNode),t.optimize(e))},l=t;for(let e=0;l.length>0;e+=1){if(e>=100)throw Error("[Parchment] Maximum optimize iterations reached");for(l.forEach(t=>{let e=this.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(n(this.find(t.previousSibling,!1)),Array.from(t.addedNodes).forEach(t=>{let e=this.find(t,!1);n(e,!1),e instanceof ef&&e.children.forEach(t=>{n(t,!1)})})):"attributes"===t.type&&n(e.prev)),n(e))}),this.children.forEach(s),i=(l=Array.from(this.observer.takeRecords())).slice();i.length>0;)t.push(i.pop())}}update(t,e={}){t=t||this.observer.takeRecords();let r=new WeakMap;t.map(t=>{let e=this.find(t.target,!0);return null==e?null:r.has(e.domNode)?(r.get(e.domNode).push(t),null):(r.set(e.domNode,[t]),e)}).forEach(t=>{null!=t&&t!==this&&r.has(t.domNode)&&t.update(r.get(t.domNode)||[],e)}),e.mutationsMap=r,r.has(this.domNode)&&super.update(r.get(this.domNode),e),this.optimize(t,e)}};eA.blotName="scroll",eA.defaultChild=eb,eA.allowedChildren=[eb,ev],eA.scope=t5.BLOCK_BLOT,eA.tagName="DIV";let ew=eA,eq=class t extends ec{static create(t){return document.createTextNode(t)}static value(t){return t.data}constructor(t,e){super(t,e),this.text=this.statics.value(this.domNode)}deleteAt(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)}index(t,e){return this.domNode===t?e:-1}insertAt(t,e,r){null==r?(this.text=this.text.slice(0,t)+e+this.text.slice(t),this.domNode.data=this.text):super.insertAt(t,e,r)}length(){return this.text.length}optimize(e){super.optimize(e),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())}position(t,e=!1){return[this.domNode,t]}split(t,e=!1){if(!e){if(0===t)return this;if(t===this.length())return this.next}let r=this.scroll.create(this.domNode.splitText(t));return this.parent.insertBefore(r,this.next||void 0),this.text=this.statics.value(this.domNode),r}update(t,e){t.some(t=>"characterData"===t.type&&t.target===this.domNode)&&(this.text=this.statics.value(this.domNode))}value(){return this.text}};eq.blotName="text",eq.scope=t5.INLINE_BLOT;let ek=eq;var e_=r(27501);let eL=function(t,e){for(var r=-1,i=null==t?0:t.length;++ro))return!1;var c=s.get(t),h=s.get(e);if(c&&h)return c==e&&h==t;var u=-1,d=!0,f=2&r?new rf:void 0;for(s.set(t,e),s.set(e,t);++u":">",'"':""","'":"'"};function rj(t){return t.replace(/[&<>"']/g,t=>rT[t])}class rC extends eg{static allowedChildren=[rC,rO,eN,rS];static order=["cursor","inline","link","underline","strike","italic","bold","script","code"];static compare(t,e){let r=rC.order.indexOf(t),i=rC.order.indexOf(e);return r>=0||i>=0?r-i:t===e?0:trC.compare(this.statics.blotName,r)&&this.scroll.query(r,t5.BLOT)){let n=this.isolate(t,e);i&&n.wrap(r,i)}else super.formatAt(t,e,r,i)}optimize(t){if(super.optimize(t),this.parent instanceof rC&&rC.compare(this.statics.blotName,this.parent.statics.blotName)>0){let t=this.parent.isolate(this.offset(),this.length());this.moveChildren(t),t.wrap(this)}}}let rR=rC;class rI extends eb{cache={};delta(){return null==this.cache.delta&&(this.cache.delta=rB(this)),this.cache.delta}deleteAt(t,e){super.deleteAt(t,e),this.cache={}}formatAt(t,e,r,i){e<=0||(this.scroll.query(r,t5.BLOCK)?t+e===this.length()&&this.format(r,i):super.formatAt(t,Math.min(e,this.length()-t-1),r,i),this.cache={})}insertAt(t,e,r){if(null!=r){super.insertAt(t,e,r),this.cache={};return}if(0===e.length)return;let i=e.split("\n"),n=i.shift();n.length>0&&(t((s=s.split(t,!0)).insertAt(0,e),e.length),t+n.length)}insertBefore(t,e){let{head:r}=this.children;super.insertBefore(t,e),r instanceof rO&&r.remove(),this.cache={}}length(){return null==this.cache.length&&(this.cache.length=super.length()+1),this.cache.length}moveChildren(t,e){super.moveChildren(t,e),this.cache={}}optimize(t){super.optimize(t),this.cache={}}path(t){return super.path(t,!0)}removeChild(t){super.removeChild(t),this.cache={}}split(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e&&(0===t||t>=this.length()-1)){let e=this.clone();return 0===t?(this.parent.insertBefore(e,this),this):(this.parent.insertBefore(e,this.next),e)}let r=super.split(t,e);return this.cache={},r}}rI.blotName="block",rI.tagName="P",rI.defaultChild=rO,rI.allowedChildren=[rO,rR,eN,rS];class rM extends eN{attach(){super.attach(),this.attributes=new es(this.domNode)}delta(){return new e_().insert(this.value(),{...this.formats(),...this.attributes.values()})}format(t,e){let r=this.scroll.query(t,t5.BLOCK_ATTRIBUTE);null!=r&&this.attributes.attribute(r,e)}formatAt(t,e,r,i){this.format(r,i)}insertAt(t,e,r){if(null!=r)return void super.insertAt(t,e,r);let i=e.split("\n"),n=i.pop(),s=i.map(t=>{let e=this.scroll.create(rI.blotName);return e.insertAt(0,t),e}),l=this.split(t);s.forEach(t=>{this.parent.insertBefore(t,l)}),n&&this.parent.insertBefore(this.scroll.create("text",n),l)}}function rB(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t.descendants(ec).reduce((t,r)=>0===r.length()?t:t.insert(r.value(),rD(r,{},e)),new e_).insert("\n",rD(t))}function rD(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return null==t||("formats"in t&&"function"==typeof t.formats&&(e={...e,...t.formats()},r&&delete e["code-token"]),null==t.parent||"scroll"===t.parent.statics.blotName||t.parent.statics.scope!==t.statics.scope)?e:rD(t.parent,e,r)}rM.scope=t5.BLOCK_BLOT;class rU extends eN{static blotName="cursor";static className="ql-cursor";static tagName="span";static CONTENTS="\uFEFF";static value(){}constructor(t,e,r){super(t,e),this.selection=r,this.textNode=document.createTextNode(rU.CONTENTS),this.domNode.appendChild(this.textNode),this.savedLength=0}detach(){null!=this.parent&&this.parent.removeChild(this)}format(t,e){if(0!==this.savedLength)return void super.format(t,e);let r=this,i=0;for(;null!=r&&r.statics.scope!==t5.BLOCK_BLOT;)i+=r.offset(r.parent),r=r.parent;null!=r&&(this.savedLength=rU.CONTENTS.length,r.optimize(),r.formatAt(i,rU.CONTENTS.length,t,e),this.savedLength=0)}index(t,e){return t===this.textNode?0:super.index(t,e)}length(){return this.savedLength}position(){return[this.textNode,this.textNode.data.length]}remove(){super.remove(),this.parent=null}restore(){let t;if(this.selection.composing||null==this.parent)return null;let e=this.selection.getNativeRange();for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);let r=this.prev instanceof rS?this.prev:null,i=r?r.length():0,n=this.next instanceof rS?this.next:null,s=n?n.text:"",{textNode:l}=this,o=l.data.split(rU.CONTENTS).join("");if(l.data=rU.CONTENTS,r)t=r,(o||n)&&(r.insertAt(r.length(),o+s),n&&n.remove());else if(n)t=n,n.insertAt(0,o);else{let e=document.createTextNode(o);t=this.scroll.create(e),this.parent.insertBefore(t,this)}if(this.remove(),e){let s=(t,e)=>r&&t===r.domNode?e:t===l?i+e-1:n&&t===n.domNode?i+o.length+e:null,a=s(e.start.node,e.start.offset),c=s(e.end.node,e.end.offset);if(null!==a&&null!==c)return{startNode:t.domNode,startOffset:a,endNode:t.domNode,endOffset:c}}return null}update(t,e){if(t.some(t=>"characterData"===t.type&&t.target===this.textNode)){let t=this.restore();t&&(e.range=t)}}optimize(t){super.optimize(t);let{parent:e}=this;for(;e;){if("A"===e.domNode.tagName){this.savedLength=rU.CONTENTS.length,e.isolate(this.offset(e),this.length()).unwrap(),this.savedLength=0;break}e=e.parent}}value(){return""}}var rP=r(29832);let rz=new WeakMap,rF=["error","warn","log","info"],r$="warn";function rH(t){if(r$&&rF.indexOf(t)<=rF.indexOf(r$)){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i(e[r]=rH.bind(console,r,t),e),{})}rV.level=t=>{r$=t},rH.level=rV.level;let rK=rV("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(t=>{document.addEventListener(t,function(){for(var t=arguments.length,e=Array(t),r=0;r{let r=rz.get(t);r&&r.emitter&&r.emitter.handleDOM(...e)})})});class rW extends rP{static events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_BLOT_MOUNT:"scroll-blot-mount",SCROLL_BLOT_UNMOUNT:"scroll-blot-unmount",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SCROLL_EMBED_UPDATE:"scroll-embed-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change",COMPOSITION_BEFORE_START:"composition-before-start",COMPOSITION_START:"composition-start",COMPOSITION_BEFORE_END:"composition-before-end",COMPOSITION_END:"composition-end"};static sources={API:"api",SILENT:"silent",USER:"user"};constructor(){super(),this.domListeners={},this.on("error",rK.error)}emit(){for(var t=arguments.length,e=Array(t),r=0;r1?e-1:0),i=1;i{let{node:i,handler:n}=e;(t.target===i||i.contains(t.target))&&n(t,...r)})}listenDOM(t,e,r){this.domListeners[t]||(this.domListeners[t]=[]),this.domListeners[t].push({node:e,handler:r})}}let rZ=rV("quill:selection");class rG{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.index=t,this.length=e}}class rX{constructor(t,e){this.emitter=e,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=this.scroll.create("cursor",this),this.savedRange=new rG(0,0),this.lastRange=this.savedRange,this.lastNative=null,this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,()=>{this.mouseDown||this.composing||setTimeout(this.update.bind(this,rW.sources.USER),1)}),this.emitter.on(rW.events.SCROLL_BEFORE_UPDATE,()=>{if(!this.hasFocus())return;let t=this.getNativeRange();null!=t&&t.start.node!==this.cursor.textNode&&this.emitter.once(rW.events.SCROLL_UPDATE,(e,r)=>{try{this.root.contains(t.start.node)&&this.root.contains(t.end.node)&&this.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset);let i=r.some(t=>"characterData"===t.type||"childList"===t.type||"attributes"===t.type&&t.target===this.root);this.update(i?rW.sources.SILENT:e)}catch(t){}})}),this.emitter.on(rW.events.SCROLL_OPTIMIZE,(t,e)=>{if(e.range){let{startNode:t,startOffset:r,endNode:i,endOffset:n}=e.range;this.setNativeRange(t,r,i,n),this.update(rW.sources.SILENT)}}),this.update(rW.sources.SILENT)}handleComposition(){this.emitter.on(rW.events.COMPOSITION_BEFORE_START,()=>{this.composing=!0}),this.emitter.on(rW.events.COMPOSITION_END,()=>{if(this.composing=!1,this.cursor.parent){let t=this.cursor.restore();t&&setTimeout(()=>{this.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)},1)}})}handleDragging(){this.emitter.listenDOM("mousedown",document.body,()=>{this.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,()=>{this.mouseDown=!1,this.update(rW.sources.USER)})}focus(){this.hasFocus()||(this.root.focus({preventScroll:!0}),this.setRange(this.savedRange))}format(t,e){this.scroll.update();let r=this.getNativeRange();if(!(null==r||!r.native.collapsed||this.scroll.query(t,t5.BLOCK))){if(r.start.node!==this.cursor.textNode){let t=this.scroll.find(r.start.node,!1);if(null==t)return;if(t instanceof ec){let e=t.split(r.start.offset);t.parent.insertBefore(this.cursor,e)}else t.insertBefore(this.cursor,r.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}getBounds(t){let e,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();i=Math.min((t=Math.min(t,n-1))+i,n-1)-t;let[s,l]=this.scroll.leaf(t);if(null==s)return null;if(i>0&&l===s.length()){let[e]=this.scroll.leaf(t+1);if(e){let[r]=this.scroll.line(t),[i]=this.scroll.line(t+1);r===i&&(s=e,l=0)}}[e,l]=s.position(l,!0);let o=document.createRange();if(i>0)return(o.setStart(e,l),[s,l]=this.scroll.leaf(t+i),null==s)?null:([e,l]=s.position(l,!0),o.setEnd(e,l),o.getBoundingClientRect());let a="left";if(e instanceof Text){if(!e.data.length)return null;l0&&(a="right")}return{bottom:r.top+r.height,height:r.height,left:r[a],right:r[a],top:r.top,width:0}}getNativeRange(){let t=document.getSelection();if(null==t||t.rangeCount<=0)return null;let e=t.getRangeAt(0);if(null==e)return null;let r=this.normalizeNative(e);return rZ.info("getNativeRange",r),r}getRange(){let t=this.scroll.domNode;if("isConnected"in t&&!t.isConnected)return[null,null];let e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}hasFocus(){return document.activeElement===this.root||null!=document.activeElement&&rY(this.root,document.activeElement)}normalizedToRange(t){let e=[[t.start.node,t.start.offset]];t.native.collapsed||e.push([t.end.node,t.end.offset]);let r=e.map(t=>{let[e,r]=t,i=this.scroll.find(e,!0),n=i.offset(this.scroll);return 0===r?n:i instanceof ec?n+i.index(e,r):n+i.length()}),i=Math.min(Math.max(...r),this.scroll.length()-1),n=Math.min(i,...r);return new rG(n,i-n)}normalizeNative(t){if(!rY(this.root,t.startContainer)||!t.collapsed&&!rY(this.root,t.endContainer))return null;let e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach(t=>{let{node:e,offset:r}=t;for(;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>r)e=e.childNodes[r],r=0;else if(e.childNodes.length===r)r=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length>0?e.childNodes.length:e.childNodes.length+1;else break;t.node=e,t.offset=r}),e}rangeToNative(t){let e=this.scroll.length(),r=(t,r)=>{t=Math.min(e-1,t);let[i,n]=this.scroll.leaf(t);return i?i.position(n,r):[null,-1]};return[...r(t.index,!1),...r(t.index+t.length,!0)]}setNativeRange(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,n=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(rZ.info("setNativeRange",t,e,r,i),null!=t&&(null==this.root.parentNode||null==t.parentNode||null==r.parentNode))return;let s=document.getSelection();if(null!=s)if(null!=t){this.hasFocus()||this.root.focus({preventScroll:!0});let{native:l}=this.getNativeRange()||{};if(null==l||n||t!==l.startContainer||e!==l.startOffset||r!==l.endContainer||i!==l.endOffset){t instanceof Element&&"BR"===t.tagName&&(e=Array.from(t.parentNode.childNodes).indexOf(t),t=t.parentNode),r instanceof Element&&"BR"===r.tagName&&(i=Array.from(r.parentNode.childNodes).indexOf(r),r=r.parentNode);let n=document.createRange();n.setStart(t,e),n.setEnd(r,i),s.removeAllRanges(),s.addRange(n)}}else s.removeAllRanges(),this.root.blur()}setRange(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:rW.sources.API;if("string"==typeof e&&(r=e,e=!1),rZ.info("setRange",t),null!=t){let r=this.rangeToNative(t);this.setNativeRange(...r,e)}else this.setNativeRange(null);this.update(r)}update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rW.sources.USER,e=this.lastRange,[r,i]=this.getRange();if(this.lastRange=r,this.lastNative=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!rL(e,this.lastRange)){if(!this.composing&&null!=i&&i.native.collapsed&&i.start.node!==this.cursor.textNode){let t=this.cursor.restore();t&&this.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}let r=[rW.events.SELECTION_CHANGE,rd(this.lastRange),rd(e),t];this.emitter.emit(rW.events.EDITOR_CHANGE,...r),t!==rW.sources.SILENT&&this.emitter.emit(...r)}}}function rY(t,e){try{e.parentNode}catch(t){return!1}return t.contains(e)}let rQ=/^[ -~]*$/;class rJ{constructor(t){this.scroll=t,this.delta=this.getDelta()}applyDelta(t){this.scroll.update();let e=this.scroll.length();this.scroll.batchStart();let r=r2(t),i=new e_;return(function(t){let e=[];return t.forEach(t=>{"string"==typeof t.insert?t.insert.split("\n").forEach((r,i)=>{i&&e.push({insert:"\n",attributes:t.attributes}),r&&e.push({insert:r,attributes:t.attributes})}):e.push(t)}),e})(r.ops.slice()).reduce((t,r)=>{let n=e_.Op.length(r),s=r.attributes||{},l=!1,o=!1;if(null!=r.insert){if(i.retain(n),"string"==typeof r.insert){let i=r.insert;o=!i.endsWith("\n")&&(e<=t||!!this.scroll.descendant(rM,t)[0]),this.scroll.insertAt(t,i);let[n,l]=this.scroll.line(t),a=t2({},rD(n));if(n instanceof rI){let[t]=n.descendant(ec,l);t&&(a=t2(a,rD(t)))}s=e_.AttributeMap.diff(a,s)||{}}else if("object"==typeof r.insert){let i=Object.keys(r.insert)[0];if(null==i)return t;let n=null!=this.scroll.query(i,t5.INLINE);if(n)(e<=t||this.scroll.descendant(rM,t)[0])&&(o=!0);else if(t>0){let[e,r]=this.scroll.descendant(ec,t-1);e instanceof rS?"\n"!==e.value()[r]&&(l=!0):e instanceof eN&&e.statics.scope===t5.INLINE_BLOT&&(l=!0)}if(this.scroll.insertAt(t,i,r.insert[i]),n){let[e]=this.scroll.descendant(ec,t);if(e){let t=t2({},rD(e));s=e_.AttributeMap.diff(t,s)||{}}}}e+=n}else if(i.push(r),null!==r.retain&&"object"==typeof r.retain){let e=Object.keys(r.retain)[0];if(null==e)return t;this.scroll.updateEmbedAt(t,e,r.retain[e])}Object.keys(s).forEach(e=>{this.scroll.formatAt(t,n,e,s[e])});let a=+!!l,c=+!!o;return e+=a+c,i.retain(a),i.delete(c),t+n+a+c},0),i.reduce((t,e)=>"number"==typeof e.delete?(this.scroll.deleteAt(t,e.delete),t):t+e_.Op.length(e),0),this.scroll.batchEnd(),this.scroll.optimize(),this.update(r)}deleteText(t,e){return this.scroll.deleteAt(t,e),this.update(new e_().retain(t).delete(e))}formatLine(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.scroll.update(),Object.keys(r).forEach(i=>{this.scroll.lines(t,Math.max(e,1)).forEach(t=>{t.format(i,r[i])})}),this.scroll.optimize();let i=new e_().retain(t).retain(e,rd(r));return this.update(i)}formatText(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object.keys(r).forEach(i=>{this.scroll.formatAt(t,e,i,r[i])});let i=new e_().retain(t).retain(e,rd(r));return this.update(i)}getContents(t,e){return this.delta.slice(t,t+e)}getDelta(){return this.scroll.lines().reduce((t,e)=>t.concat(e.delta()),new e_)}getFormat(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=[],i=[];0===e?this.scroll.path(t).forEach(t=>{let[e]=t;e instanceof rI?r.push(e):e instanceof ec&&i.push(e)}):(r=this.scroll.lines(t,e),i=this.scroll.descendants(ec,t,e));let[n,s]=[r,i].map(t=>{let e=t.shift();if(null==e)return{};let r=rD(e);for(;Object.keys(r).length>0;){let e=t.shift();if(null==e)break;r=function(t,e){return Object.keys(e).reduce((r,i)=>{if(null==t[i])return r;let n=e[i];return n===t[i]?r[i]=n:Array.isArray(n)?0>n.indexOf(t[i])?r[i]=n.concat([t[i]]):r[i]=n:r[i]=[n,t[i]],r},{})}(rD(e),r)}return r});return{...n,...s}}getHTML(t,e){let[r,i]=this.scroll.line(t);if(r){let n=r.length();return r.length()>=i+e&&(0!==i||e!==n)?r1(r,i,e,!0):r1(this.scroll,t,e,!0)}return""}getText(t,e){return this.getContents(t,e).filter(t=>"string"==typeof t.insert).map(t=>t.insert).join("")}insertContents(t,e){let r=r2(e),i=new e_().retain(t).concat(r);return this.scroll.insertContents(t,r),this.update(i)}insertEmbed(t,e,r){return this.scroll.insertAt(t,e,r),this.update(new e_().retain(t).insert({[e]:r}))}insertText(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(r).forEach(i=>{this.scroll.formatAt(t,e.length,i,r[i])}),this.update(new e_().retain(t).insert(e,rd(r)))}isBlank(){if(0===this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;let t=this.scroll.children.head;return t?.statics.blotName===rI.blotName&&!(t.children.length>1)&&t.children.head instanceof rO}removeFormat(t,e){let r=this.getText(t,e),[i,n]=this.scroll.line(t+e),s=0,l=new e_;null!=i&&(s=i.length()-n,l=i.delta().slice(n,n+s-1).insert("\n"));let o=this.getContents(t,e+s).diff(new e_().insert(r).concat(l)),a=new e_().retain(t).concat(o);return this.applyDelta(a)}update(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,i=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(rQ)&&this.scroll.find(e[0].target)){let n=this.scroll.find(e[0].target),s=rD(n),l=n.offset(this.scroll),o=e[0].oldValue.replace(rU.CONTENTS,""),a=new e_().insert(o),c=new e_().insert(n.value()),h=r&&{oldRange:r5(r.oldRange,-l),newRange:r5(r.newRange,-l)};t=new e_().retain(l).concat(a.diff(c,h)).reduce((t,e)=>e.insert?t.insert(e.insert,s):t.push(e),new e_),this.delta=i.compose(t)}else this.delta=this.getDelta(),t&&rL(i.compose(t),this.delta)||(t=i.diff(this.delta,r));return t}}function r1(t,e,r){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if("html"in t&&"function"==typeof t.html)return t.html(e,r);if(t instanceof rS)return rj(t.value().slice(e,e+r)).replaceAll(" "," ");if(t instanceof ef){if("list-container"===t.statics.blotName){let i=[];return t.children.forEachAt(e,r,(t,e,r)=>{let n="formats"in t&&"function"==typeof t.formats?t.formats():{};i.push({child:t,offset:e,length:r,indent:n.indent||0,type:n.list})}),function t(e,r,i){if(0===e.length){let[e]=r0(i.pop());return r<=0?``:`${t([],r-1,i)}`}let[{child:n,offset:s,length:l,indent:o,type:a},...c]=e,[h,u]=r0(a);if(o>r)return(i.push(a),o===r+1)?`<${h}>${r1(n,s,l)}${t(c,o,i)}`:`<${h}>
  • ${t(e,r+1,i)}`;let d=i[i.length-1];if(o===r&&a===d)return`
  • ${r1(n,s,l)}${t(c,o,i)}`;let[f]=r0(i.pop());return`${t(e,r-1,i)}`}(i,-1,[])}let n=[];if(t.children.forEachAt(e,r,(t,e,r)=>{n.push(r1(t,e,r))}),i||"list"===t.statics.blotName)return n.join("");let{outerHTML:s,innerHTML:l}=t.domNode,[o,a]=s.split(`>${l}<`);return"${n.join("")}<${a}`:`${o}>${n.join("")}<${a}`}return t.domNode instanceof Element?t.domNode.outerHTML:""}function r0(t){let e="ordered"===t?"ol":"ul";switch(t){case"checked":return[e,' data-list="checked"'];case"unchecked":return[e,' data-list="unchecked"'];default:return[e,""]}}function r2(t){return t.reduce((t,e)=>{if("string"==typeof e.insert){let r=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(r,e.attributes)}return t.push(e)},new e_)}function r5(t,e){let{index:r,length:i}=t;return new rG(r+e,i)}class r4{static DEFAULTS={};constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.quill=t,this.options=e}}let r3=r4;class r6 extends eN{constructor(t,e){super(t,e),this.contentNode=document.createElement("span"),this.contentNode.setAttribute("contenteditable","false"),Array.from(this.domNode.childNodes).forEach(t=>{this.contentNode.appendChild(t)}),this.leftGuard=document.createTextNode("\uFEFF"),this.rightGuard=document.createTextNode("\uFEFF"),this.domNode.appendChild(this.leftGuard),this.domNode.appendChild(this.contentNode),this.domNode.appendChild(this.rightGuard)}index(t,e){return t===this.leftGuard?0:t===this.rightGuard?1:super.index(t,e)}restore(t){let e,r=null,i=t.data.split("\uFEFF").join("");if(t===this.leftGuard)if(this.prev instanceof rS){let t=this.prev.length();this.prev.insertAt(t,i),r={startNode:this.prev.domNode,startOffset:t+i.length}}else e=document.createTextNode(i),this.parent.insertBefore(this.scroll.create(e),this),r={startNode:e,startOffset:i.length};else t===this.rightGuard&&(this.next instanceof rS?(this.next.insertAt(0,i),r={startNode:this.next.domNode,startOffset:i.length}):(e=document.createTextNode(i),this.parent.insertBefore(this.scroll.create(e),this.next),r={startNode:e,startOffset:i.length}));return t.data="\uFEFF",r}update(t,e){t.forEach(t=>{if("characterData"===t.type&&(t.target===this.leftGuard||t.target===this.rightGuard)){let r=this.restore(t.target);r&&(e.range=r)}})}}let r8=r6;class r9{isComposing=!1;constructor(t,e){this.scroll=t,this.emitter=e,this.setupListeners()}setupListeners(){this.scroll.domNode.addEventListener("compositionstart",t=>{this.isComposing||this.handleCompositionStart(t)}),this.scroll.domNode.addEventListener("compositionend",t=>{this.isComposing&&queueMicrotask(()=>{this.handleCompositionEnd(t)})})}handleCompositionStart(t){let e=t.target instanceof Node?this.scroll.find(t.target,!0):null;!e||e instanceof r8||(this.emitter.emit(rW.events.COMPOSITION_BEFORE_START,t),this.scroll.batchStart(),this.emitter.emit(rW.events.COMPOSITION_START,t),this.isComposing=!0)}handleCompositionEnd(t){this.emitter.emit(rW.events.COMPOSITION_BEFORE_END,t),this.scroll.batchEnd(),this.emitter.emit(rW.events.COMPOSITION_END,t),this.isComposing=!1}}class r7{static DEFAULTS={modules:{}};static themes={default:r7};modules={};constructor(t,e){this.quill=t,this.options=e}init(){Object.keys(this.options.modules).forEach(t=>{null==this.modules[t]&&this.addModule(t)})}addModule(t){let e=this.quill.constructor.import(`modules/${t}`);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}let it=r7,ie=t=>t.parentElement||t.getRootNode().host||null,ir=t=>{let e=t.getBoundingClientRect(),r="offsetWidth"in t&&Math.abs(e.width)/t.offsetWidth||1,i="offsetHeight"in t&&Math.abs(e.height)/t.offsetHeight||1;return{top:e.top,right:e.left+t.clientWidth*r,bottom:e.top+t.clientHeight*i,left:e.left}},ii=t=>{let e=parseInt(t,10);return Number.isNaN(e)?0:e},is=(t,e,r,i,n,s)=>ti?0:ti?e-t>i-r?t+n-r:e-i+s:0,il=(t,e)=>{let r=t.ownerDocument,i=e,n=t;for(;n;){let t=n===r.body,e=t?{top:0,right:window.visualViewport?.width??r.documentElement.clientWidth,bottom:window.visualViewport?.height??r.documentElement.clientHeight,left:0}:ir(n),s=getComputedStyle(n),l=is(i.left,i.right,e.left,e.right,ii(s.scrollPaddingLeft),ii(s.scrollPaddingRight)),o=is(i.top,i.bottom,e.top,e.bottom,ii(s.scrollPaddingTop),ii(s.scrollPaddingBottom));if(l||o)if(t)r.defaultView?.scrollBy(l,o);else{let{scrollLeft:t,scrollTop:e}=n;o&&(n.scrollTop+=o),l&&(n.scrollLeft+=l);let r=n.scrollLeft-t,s=n.scrollTop-e;i={left:i.left-r,top:i.top-s,right:i.right-r,bottom:i.bottom-s}}n=t||"fixed"===s.position?null:ie(n)}},io=["block","break","cursor","inline","scroll","text"],ia=(t,e,r)=>{let i=new t8;return io.forEach(t=>{let r=e.query(t);r&&i.register(r)}),t.forEach(t=>{let n=e.query(t);n||r.error(`Cannot register "${t}" specified in "formats" config. Are you sure it was registered?`);let s=0;for(;n;)if(i.register(n),n="blotName"in n?n.requiredContainer??null:null,(s+=1)>100){r.error(`Cycle detected in registering blot requiredContainer: "${t}"`);break}}),i},ic=rV("quill"),ih=new t8;ef.uiClass="ql-ui";class iu{static DEFAULTS={bounds:null,modules:{clipboard:!0,keyboard:!0,history:!0,uploader:!0},placeholder:"",readOnly:!1,registry:ih,theme:"default"};static events=rW.events;static sources=rW.sources;static version="2.0.3";static imports={delta:e_,parchment:i,"core/module":r3,"core/theme":it};static debug(t){!0===t&&(t="log"),rV.level(t)}static find(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return rz.get(t)||ih.find(t,e)}static import(t){return null==this.imports[t]&&ic.error(`Cannot import ${t}. Are you sure it was registered?`),this.imports[t]}static register(){if("string"!=typeof(arguments.length<=0?void 0:arguments[0])){let t=arguments.length<=0?void 0:arguments[0],e=!!(arguments.length<=1?void 0:arguments[1]),r="attrName"in t?t.attrName:t.blotName;"string"==typeof r?this.register(`formats/${r}`,t,e):Object.keys(t).forEach(r=>{this.register(r,t[r],e)})}else{let t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],r=!!(arguments.length<=2?void 0:arguments[2]);null==this.imports[t]||r||ic.warn(`Overwriting ${t} with`,e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&e&&"boolean"!=typeof e&&"abstract"!==e.blotName&&ih.register(e),"function"==typeof e.register&&e.register(ih)}}constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.options=function(t,e){let r=id(t);if(!r)throw Error("Invalid Quill container");let i=e.theme&&e.theme!==iu.DEFAULTS.theme?iu.import(`themes/${e.theme}`):it;if(!i)throw Error(`Invalid theme ${e.theme}. Did you register it?`);let{modules:n,...s}=iu.DEFAULTS,{modules:l,...o}=i.DEFAULTS,a=ip(e.modules);null!=a&&a.toolbar&&a.toolbar.constructor!==Object&&(a={...a,toolbar:{container:a.toolbar}});let c=t2({},ip(n),ip(l),a),h={...s,...ig(o),...ig(e)},u=e.registry;return u?e.formats&&ic.warn('Ignoring "formats" option because "registry" is specified'):u=e.formats?ia(e.formats,h.registry,ic):h.registry,{...h,registry:u,container:r,theme:i,modules:Object.entries(c).reduce((t,e)=>{let[r,i]=e;if(!i)return t;let n=iu.import(`modules/${r}`);return null==n?(ic.error(`Cannot load ${r} module. Are you sure you registered it?`),t):{...t,[r]:t2({},n.DEFAULTS||{},i)}},{}),bounds:id(h.bounds)}}(t,e),this.container=this.options.container,null==this.container)return void ic.error("Invalid Quill container",t);this.options.debug&&iu.debug(this.options.debug);let r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",rz.set(this.container,this),this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.emitter=new rW;let i=ew.blotName,n=this.options.registry.query(i);if(!n||!("blotName"in n))throw Error(`Cannot initialize Quill without "${i}" blot`);if(this.scroll=new n(this.options.registry,this.root,{emitter:this.emitter}),this.editor=new rJ(this.scroll),this.selection=new rX(this.scroll,this.emitter),this.composition=new r9(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.uploader=this.theme.addModule("uploader"),this.theme.addModule("input"),this.theme.addModule("uiNode"),this.theme.init(),this.emitter.on(rW.events.EDITOR_CHANGE,t=>{t===rW.events.TEXT_CHANGE&&this.root.classList.toggle("ql-blank",this.editor.isBlank())}),this.emitter.on(rW.events.SCROLL_UPDATE,(t,e)=>{let r=this.selection.lastRange,[i]=this.selection.getRange(),n=r&&i?{oldRange:r,newRange:i}:void 0;im.call(this,()=>this.editor.update(null,e,n),t)}),this.emitter.on(rW.events.SCROLL_EMBED_UPDATE,(t,e)=>{let r=this.selection.lastRange,[i]=this.selection.getRange(),n=r&&i?{oldRange:r,newRange:i}:void 0;im.call(this,()=>{let r=new e_().retain(t.offset(this)).retain({[t.statics.blotName]:e});return this.editor.update(r,[],n)},iu.sources.USER)}),r){let t=this.clipboard.convert({html:`${r}


    `,text:"\n"});this.setContents(t)}this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable(),this.allowReadOnlyEdits=!1}addContainer(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){let e=t;(t=document.createElement("div")).classList.add(e)}return this.container.insertBefore(t,e),t}blur(){this.selection.setRange(null)}deleteText(t,e,r){return[t,e,,r]=ib(t,e,r),im.call(this,()=>this.editor.deleteText(t,e),r,t,-1*e)}disable(){this.enable(!1)}editReadOnly(t){this.allowReadOnlyEdits=!0;let e=t();return this.allowReadOnlyEdits=!1,e}enable(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}focus(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.selection.focus(),t.preventScroll||this.scrollSelectionIntoView()}format(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:rW.sources.API;return im.call(this,()=>{let r=this.getSelection(!0),i=new e_;if(null==r)return i;if(this.scroll.query(t,t5.BLOCK))i=this.editor.formatLine(r.index,r.length,{[t]:e});else{if(0===r.length)return this.selection.format(t,e),i;i=this.editor.formatText(r.index,r.length,{[t]:e})}return this.setSelection(r,rW.sources.SILENT),i},r)}formatLine(t,e,r,i,n){let s;return[t,e,s,n]=ib(t,e,r,i,n),im.call(this,()=>this.editor.formatLine(t,e,s),n,t,0)}formatText(t,e,r,i,n){let s;return[t,e,s,n]=ib(t,e,r,i,n),im.call(this,()=>this.editor.formatText(t,e,s),n,t,0)}getBounds(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=null;if(!(r="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length)))return null;let i=this.container.getBoundingClientRect();return{bottom:r.bottom-i.top,height:r.height,left:r.left-i.left,right:r.right-i.left,top:r.top-i.top,width:r.width}}getContents(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t;return[t,e]=ib(t,e),this.editor.getContents(t,e)}getFormat(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}getIndex(t){return t.offset(this.scroll)}getLength(){return this.scroll.length()}getLeaf(t){return this.scroll.leaf(t)}getLine(t){return this.scroll.line(t)}getLines(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}getModule(t){return this.theme.modules[t]}getSelection(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&this.focus(),this.update(),this.selection.getRange()[0]}getSemanticHTML(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;return"number"==typeof t&&(e=e??this.getLength()-t),[t,e]=ib(t,e),this.editor.getHTML(t,e)}getText(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0;return"number"==typeof t&&(e=e??this.getLength()-t),[t,e]=ib(t,e),this.editor.getText(t,e)}hasFocus(){return this.selection.hasFocus()}insertEmbed(t,e,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:iu.sources.API;return im.call(this,()=>this.editor.insertEmbed(t,e,r),i,t)}insertText(t,e,r,i,n){let s;return[t,,s,n]=ib(t,0,r,i,n),im.call(this,()=>this.editor.insertText(t,e,s),n,t,e.length)}isEnabled(){return this.scroll.isEnabled()}off(){return this.emitter.off(...arguments)}on(){return this.emitter.on(...arguments)}once(){return this.emitter.once(...arguments)}removeFormat(t,e,r){return[t,e,,r]=ib(t,e,r),im.call(this,()=>this.editor.removeFormat(t,e),r,t)}scrollRectIntoView(t){il(this.root,t)}scrollIntoView(){console.warn("Quill#scrollIntoView() has been deprecated and will be removed in the near future. Please use Quill#scrollSelectionIntoView() instead."),this.scrollSelectionIntoView()}scrollSelectionIntoView(){let t=this.selection.lastRange,e=t&&this.selection.getBounds(t.index,t.length);e&&this.scrollRectIntoView(e)}setContents(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rW.sources.API;return im.call(this,()=>{t=new e_(t);let e=this.getLength(),r=this.editor.deleteText(0,e),i=this.editor.insertContents(0,t),n=this.editor.deleteText(this.getLength()-1,1);return r.compose(i).compose(n)},e)}setSelection(t,e,r){null==t?this.selection.setRange(null,e||iu.sources.API):([t,e,,r]=ib(t,e,r),this.selection.setRange(new rG(Math.max(0,t),e),r),r!==rW.sources.SILENT&&this.scrollSelectionIntoView())}setText(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rW.sources.API,r=new e_().insert(t);return this.setContents(r,e)}update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rW.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}updateContents(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rW.sources.API;return im.call(this,()=>(t=new e_(t),this.editor.applyDelta(t)),e,!0)}}function id(t){return"string"==typeof t?document.querySelector(t):t}function ip(t){return Object.entries(t??{}).reduce((t,e)=>{let[r,i]=e;return{...t,[r]:!0===i?{}:i}},{})}function ig(t){return Object.fromEntries(Object.entries(t).filter(t=>void 0!==t[1]))}function im(t,e,r,i){if(!this.isEnabled()&&e===rW.sources.USER&&!this.allowReadOnlyEdits)return new e_;let n=null==r?null:this.getSelection(),s=this.editor.delta,l=t();if(null!=n&&(!0===r&&(r=n.index),null==i?n=iy(n,l,e):0!==i&&(n=iy(n,r,i,e)),this.setSelection(n,rW.sources.SILENT)),l.length()>0){let t=[rW.events.TEXT_CHANGE,l,s,e];this.emitter.emit(rW.events.EDITOR_CHANGE,...t),e!==rW.sources.SILENT&&this.emitter.emit(...t)}return l}function ib(t,e,r,i,n){let s={};return"number"==typeof t.index&&"number"==typeof t.length?("number"!=typeof e&&(n=i,i=r,r=e),e=t.length,t=t.index):"number"!=typeof e&&(n=i,i=r,r=e,e=0),"object"==typeof r?(s=r,n=i):"string"==typeof r&&(null!=i?s[r]=i:n=r),[t,e,s,n=n||rW.sources.API]}function iy(t,e,r,i){let n,s,l="number"==typeof r?r:0;return null==t?null:(e&&"function"==typeof e.transformPosition?[n,s]=[t.index,t.index+t.length].map(t=>e.transformPosition(t,i!==rW.sources.USER)):[n,s]=[t.index,t.index+t.length].map(t=>t=0?t+l:Math.max(e,t+l)),new rG(n,s-n))}class iv extends ev{}let ix=iv;function iN(t){return t instanceof rI||t instanceof rM}function iE(t){return"function"==typeof t.updateContent}class iA extends ew{static blotName="scroll";static className="ql-editor";static tagName="DIV";static defaultChild=rI;static allowedChildren=[rI,rM,ix];constructor(t,e,r){let{emitter:i}=r;super(t,e),this.emitter=i,this.batch=!1,this.optimize(),this.enable(),this.domNode.addEventListener("dragstart",t=>this.handleDragStart(t))}batchStart(){Array.isArray(this.batch)||(this.batch=[])}batchEnd(){if(!this.batch)return;let t=this.batch;this.batch=!1,this.update(t)}emitMount(t){this.emitter.emit(rW.events.SCROLL_BLOT_MOUNT,t)}emitUnmount(t){this.emitter.emit(rW.events.SCROLL_BLOT_UNMOUNT,t)}emitEmbedUpdate(t,e){this.emitter.emit(rW.events.SCROLL_EMBED_UPDATE,t,e)}deleteAt(t,e){let[r,i]=this.line(t),[n]=this.line(t+e);if(super.deleteAt(t,e),null!=n&&r!==n&&i>0){if(r instanceof rM||n instanceof rM)return void this.optimize();let t=n.children.head instanceof rO?null:n.children.head;r.moveChildren(n,t),r.remove()}this.optimize()}enable(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this.domNode.setAttribute("contenteditable",t?"true":"false")}formatAt(t,e,r,i){super.formatAt(t,e,r,i),this.optimize()}insertAt(t,e,r){if(t>=this.length())if(null==r||null==this.scroll.query(e,t5.BLOCK)){let t=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(t),null==r&&e.endsWith("\n")?t.insertAt(0,e.slice(0,-1),r):t.insertAt(0,e,r)}else{let t=this.scroll.create(e,r);this.appendChild(t)}else super.insertAt(t,e,r);this.optimize()}insertBefore(t,e){if(t.statics.scope===t5.INLINE_BLOT){let r=this.scroll.create(this.statics.defaultChild.blotName);r.appendChild(t),super.insertBefore(r,e)}else super.insertBefore(t,e)}insertContents(t,e){let r=this.deltaToRenderBlocks(e.concat(new e_().insert("\n"))),i=r.pop();if(null==i)return;this.batchStart();let n=r.shift();if(n){let e="block"===n.type&&(0===n.delta.length()||!this.descendant(rM,t)[0]&&t{this.formatAt(s-1,1,t,o[t])}),t=s}let[s,l]=this.children.find(t);r.length&&(s&&(s=s.split(l),l=0),r.forEach(t=>{if("block"===t.type)iw(this.createBlock(t.attributes,s||void 0),0,t.delta);else{let e=this.create(t.key,t.value);this.insertBefore(e,s||void 0),Object.keys(t.attributes).forEach(r=>{e.format(r,t.attributes[r])})}})),"block"===i.type&&i.delta.length()&&iw(this,s?s.offset(s.scroll)+l:this.length(),i.delta),this.batchEnd(),this.optimize()}isEnabled(){return"true"===this.domNode.getAttribute("contenteditable")}leaf(t){let e=this.path(t).pop();if(!e)return[null,-1];let[r,i]=e;return r instanceof ec?[r,i]:[null,-1]}line(t){return t===this.length()?this.line(t-1):this.descendant(iN,t)}lines(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,r=(t,e,i)=>{let n=[],s=i;return t.children.forEachAt(e,i,(t,e,i)=>{iN(t)?n.push(t):t instanceof ev&&(n=n.concat(r(t,e,s))),s-=i}),n};return r(this,t,e)}optimize(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!this.batch&&(super.optimize(t,e),t.length>0&&this.emitter.emit(rW.events.SCROLL_OPTIMIZE,t,e))}path(t){return super.path(t).slice(1)}remove(){}update(t){if(this.batch){Array.isArray(t)&&(this.batch=this.batch.concat(t));return}let e=rW.sources.USER;"string"==typeof t&&(e=t),Array.isArray(t)||(t=this.observer.takeRecords()),(t=t.filter(t=>{let{target:e}=t,r=this.find(e,!0);return r&&!iE(r)})).length>0&&this.emitter.emit(rW.events.SCROLL_BEFORE_UPDATE,e,t),super.update(t.concat([])),t.length>0&&this.emitter.emit(rW.events.SCROLL_UPDATE,e,t)}updateEmbedAt(t,e,r){let[i]=this.descendant(t=>t instanceof rM,t);i&&i.statics.blotName===e&&iE(i)&&i.updateContent(r)}handleDragStart(t){t.preventDefault()}deltaToRenderBlocks(t){let e=[],r=new e_;return t.forEach(t=>{let i=t?.insert;if(i)if("string"==typeof i){let n=i.split("\n");n.slice(0,-1).forEach(i=>{r.insert(i,t.attributes),e.push({type:"block",delta:r,attributes:t.attributes??{}}),r=new e_});let s=n[n.length-1];s&&r.insert(s,t.attributes)}else{let n=Object.keys(i)[0];if(!n)return;this.query(n,t5.INLINE)?r.push(t):(r.length()&&e.push({type:"block",delta:r,attributes:{}}),r=new e_,e.push({type:"blockEmbed",key:n,value:i[n],attributes:t.attributes??{}}))}}),r.length()&&e.push({type:"block",delta:r,attributes:{}}),e}createBlock(t,e){let r,i={};Object.entries(t).forEach(t=>{let[e,n]=t;null!=this.query(e,t5.BLOCK&t5.BLOT)?r=e:i[e]=n});let n=this.create(r||this.statics.defaultChild.blotName,r?t[r]:void 0);this.insertBefore(n,e||void 0);let s=n.length();return Object.entries(i).forEach(t=>{let[e,r]=t;n.formatAt(0,s,e,r)}),n}}function iw(t,e,r){r.reduce((e,r)=>{let i=e_.Op.length(r),n=r.attributes||{};if(null!=r.insert){if("string"==typeof r.insert){let i=r.insert;t.insertAt(e,i);let[s]=t.descendant(ec,e),l=rD(s);n=e_.AttributeMap.diff(l,n)||{}}else if("object"==typeof r.insert){let i=Object.keys(r.insert)[0];if(null==i)return e;if(t.insertAt(e,i,r.insert[i]),null!=t.scroll.query(i,t5.INLINE)){let[r]=t.descendant(ec,e),i=rD(r);n=e_.AttributeMap.diff(i,n)||{}}}}return Object.keys(n).forEach(r=>{t.formatAt(e,i,r,n[r])}),e+i},e)}let iq={scope:t5.BLOCK,whitelist:["right","center","justify"]},ik=new t4("align","align",iq),i_=new et("align","ql-align",iq),iL=new ei("align","text-align",iq);class iO extends ei{value(t){let e=super.value(t);if(!e.startsWith("rgb("))return e;let r=(e=e.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"")).split(",").map(t=>`00${parseInt(t,10).toString(16)}`.slice(-2)).join("");return`#${r}`}}let iS=new et("color","ql-color",{scope:t5.INLINE}),iT=new iO("color","color",{scope:t5.INLINE}),ij=new et("background","ql-bg",{scope:t5.INLINE}),iC=new iO("background","background-color",{scope:t5.INLINE});class iR extends ix{static create(t){let e=super.create(t);return e.setAttribute("spellcheck","false"),e}code(t,e){return this.children.map(t=>1>=t.length()?"":t.domNode.innerText).join("\n").slice(t,t+e)}html(t,e){return`
    +${rj(this.code(t,e))}
    +
    `}}class iI extends rI{static TAB=" ";static register(){iu.register(iR)}}class iM extends rR{}iM.blotName="code",iM.tagName="CODE",iI.blotName="code-block",iI.className="ql-code-block",iI.tagName="DIV",iR.blotName="code-block-container",iR.className="ql-code-block-container",iR.tagName="DIV",iR.allowedChildren=[iI],iI.allowedChildren=[rS,rO,rU],iI.requiredContainer=iR;let iB={scope:t5.BLOCK,whitelist:["rtl"]},iD=new t4("direction","dir",iB),iU=new et("direction","ql-direction",iB),iP=new ei("direction","direction",iB),iz={scope:t5.INLINE,whitelist:["serif","monospace"]},iF=new et("font","ql-font",iz);class i$ extends ei{value(t){return super.value(t).replace(/["']/g,"")}}let iH=new i$("font","font-family",iz),iV=new et("size","ql-size",{scope:t5.INLINE,whitelist:["small","large","huge"]}),iK=new ei("size","font-size",{scope:t5.INLINE,whitelist:["10px","18px","32px"]}),iW=rV("quill:keyboard"),iZ=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey";class iG extends r3{static match(t,e){return!["altKey","ctrlKey","metaKey","shiftKey"].some(r=>!!e[r]!==t[r]&&null!==e[r])&&(e.key===t.key||e.key===t.which)}constructor(t,e){super(t,e),this.bindings={},Object.keys(this.options.bindings).forEach(t=>{this.options.bindings[t]&&this.addBinding(this.options.bindings[t])}),this.addBinding({key:"Enter",shiftKey:null},this.handleEnter),this.addBinding({key:"Enter",metaKey:null,ctrlKey:null,altKey:null},()=>{}),/Firefox/i.test(navigator.userAgent)?(this.addBinding({key:"Backspace"},{collapsed:!0},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0},this.handleDelete)):(this.addBinding({key:"Backspace"},{collapsed:!0,prefix:/^.?$/},this.handleBackspace),this.addBinding({key:"Delete"},{collapsed:!0,suffix:/^.?$/},this.handleDelete)),this.addBinding({key:"Backspace"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Delete"},{collapsed:!1},this.handleDeleteRange),this.addBinding({key:"Backspace",altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},this.handleBackspace),this.listen()}addBinding(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=function(t){if("string"==typeof t||"number"==typeof t)t={key:t};else{if("object"!=typeof t)return null;t=rd(t)}return t.shortKey&&(t[iZ]=t.shortKey,delete t.shortKey),t}(t);if(null==i)return void iW.warn("Attempted to add invalid keyboard binding",i);"function"==typeof e&&(e={handler:e}),"function"==typeof r&&(r={handler:r}),(Array.isArray(i.key)?i.key:[i.key]).forEach(t=>{let n={...i,key:t,...e,...r};this.bindings[n.key]=this.bindings[n.key]||[],this.bindings[n.key].push(n)})}listen(){this.quill.root.addEventListener("keydown",t=>{if(t.defaultPrevented||t.isComposing||229===t.keyCode&&("Enter"===t.key||"Backspace"===t.key))return;let e=(this.bindings[t.key]||[]).concat(this.bindings[t.which]||[]).filter(e=>iG.match(t,e));if(0===e.length)return;let r=iu.find(t.target,!0);if(r&&r.scroll!==this.quill.scroll)return;let i=this.quill.getSelection();if(null==i||!this.quill.hasFocus())return;let[n,s]=this.quill.getLine(i.index),[l,o]=this.quill.getLeaf(i.index),[a,c]=0===i.length?[l,o]:this.quill.getLeaf(i.index+i.length),h=l instanceof ek?l.value().slice(0,o):"",u=a instanceof ek?a.value().slice(c):"",d={collapsed:0===i.length,empty:0===i.length&&1>=n.length(),format:this.quill.getFormat(i),line:n,offset:s,prefix:h,suffix:u,event:t};e.some(t=>{if(null!=t.collapsed&&t.collapsed!==d.collapsed||null!=t.empty&&t.empty!==d.empty||null!=t.offset&&t.offset!==d.offset)return!1;if(Array.isArray(t.format)){if(t.format.every(t=>null==d.format[t]))return!1}else if("object"==typeof t.format&&!Object.keys(t.format).every(e=>!0===t.format[e]?null!=d.format[e]:!1===t.format[e]?null==d.format[e]:rL(t.format[e],d.format[e])))return!1;return(null==t.prefix||!!t.prefix.test(d.prefix))&&(null==t.suffix||!!t.suffix.test(d.suffix))&&!0!==t.handler.call(this,i,d,t)})&&t.preventDefault()})}handleBackspace(t,e){let r=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;if(0===t.index||1>=this.quill.getLength())return;let i={},[n]=this.quill.getLine(t.index),s=new e_().retain(t.index-r).delete(r);if(0===e.offset){let[e]=this.quill.getLine(t.index-1);if(e&&!("block"===e.statics.blotName&&1>=e.length())){let e=n.formats(),r=this.quill.getFormat(t.index-1,1);if(Object.keys(i=e_.AttributeMap.diff(e,r)||{}).length>0){let e=new e_().retain(t.index+n.length()-2).retain(1,i);s=s.compose(e)}}}this.quill.updateContents(s,iu.sources.USER),this.quill.focus()}handleDelete(t,e){let r=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(t.index>=this.quill.getLength()-r)return;let i={},[n]=this.quill.getLine(t.index),s=new e_().retain(t.index).delete(r);if(e.offset>=n.length()-1){let[e]=this.quill.getLine(t.index+1);if(e){let r=n.formats(),l=this.quill.getFormat(t.index,1);Object.keys(i=e_.AttributeMap.diff(r,l)||{}).length>0&&(s=s.retain(e.length()-1).retain(1,i))}}this.quill.updateContents(s,iu.sources.USER),this.quill.focus()}handleDeleteRange(t){i1({range:t,quill:this.quill}),this.quill.focus()}handleEnter(t,e){let r=Object.keys(e.format).reduce((t,r)=>(this.quill.scroll.query(r,t5.BLOCK)&&!Array.isArray(e.format[r])&&(t[r]=e.format[r]),t),{}),i=new e_().retain(t.index).delete(t.length).insert("\n",r);this.quill.updateContents(i,iu.sources.USER),this.quill.setSelection(t.index+1,iu.sources.SILENT),this.quill.focus()}}function iX(t){return{key:"Tab",shiftKey:!t,format:{"code-block":!0},handler(e,r){let{event:i}=r,{TAB:n}=this.quill.scroll.query("code-block");if(0===e.length&&!i.shiftKey){this.quill.insertText(e.index,n,iu.sources.USER),this.quill.setSelection(e.index+n.length,iu.sources.SILENT);return}let s=0===e.length?this.quill.getLines(e.index,1):this.quill.getLines(e),{index:l,length:o}=e;s.forEach((e,r)=>{t?(e.insertAt(0,n),0===r?l+=n.length:o+=n.length):e.domNode.textContent.startsWith(n)&&(e.deleteAt(0,n.length),0===r?l-=n.length:o-=n.length)}),this.quill.update(iu.sources.USER),this.quill.setSelection(l,o,iu.sources.SILENT)}}}function iY(t,e){return{key:t,shiftKey:e,altKey:null,["ArrowLeft"===t?"prefix":"suffix"]:/^$/,handler(r){let{index:i}=r;"ArrowRight"===t&&(i+=r.length+1);let[n]=this.quill.getLeaf(i);return!(n instanceof eN)||("ArrowLeft"===t?e?this.quill.setSelection(r.index-1,r.length+1,iu.sources.USER):this.quill.setSelection(r.index-1,iu.sources.USER):e?this.quill.setSelection(r.index,r.length+1,iu.sources.USER):this.quill.setSelection(r.index+r.length+1,iu.sources.USER),!1)}}}function iQ(t){return{key:t[0],shortKey:!0,handler(e,r){this.quill.format(t,!r.format[t],iu.sources.USER)}}}function iJ(t){return{key:t?"ArrowUp":"ArrowDown",collapsed:!0,format:["table"],handler(e,r){let i=t?"prev":"next",n=r.line,s=n.parent[i];if(null!=s){if("table-row"===s.statics.blotName){let t=s.children.head,e=n;for(;null!=e.prev;)e=e.prev,t=t.next;let i=t.offset(this.quill.scroll)+Math.min(r.offset,t.length()-1);this.quill.setSelection(i,0,iu.sources.USER)}}else{let e=n.table()[i];null!=e&&(t?this.quill.setSelection(e.offset(this.quill.scroll)+e.length()-1,0,iu.sources.USER):this.quill.setSelection(e.offset(this.quill.scroll),0,iu.sources.USER))}return!1}}}function i1(t){let{quill:e,range:r}=t,i=e.getLines(r),n={};if(i.length>1){let t=i[0].formats(),e=i[i.length-1].formats();n=e_.AttributeMap.diff(e,t)||{}}e.deleteText(r,iu.sources.USER),Object.keys(n).length>0&&e.formatLine(r.index,1,n,iu.sources.USER),e.setSelection(r.index,iu.sources.SILENT)}iG.DEFAULTS={bindings:{bold:iQ("bold"),italic:iQ("italic"),underline:iQ("underline"),indent:{key:"Tab",format:["blockquote","indent","list"],handler(t,e){return!!e.collapsed&&0!==e.offset||(this.quill.format("indent","+1",iu.sources.USER),!1)}},outdent:{key:"Tab",shiftKey:!0,format:["blockquote","indent","list"],handler(t,e){return!!e.collapsed&&0!==e.offset||(this.quill.format("indent","-1",iu.sources.USER),!1)}},"outdent backspace":{key:"Backspace",collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler(t,e){null!=e.format.indent?this.quill.format("indent","-1",iu.sources.USER):null!=e.format.list&&this.quill.format("list",!1,iu.sources.USER)}},"indent code-block":iX(!0),"outdent code-block":iX(!1),"remove tab":{key:"Tab",shiftKey:!0,collapsed:!0,prefix:/\t$/,handler(t){this.quill.deleteText(t.index-1,1,iu.sources.USER)}},tab:{key:"Tab",handler(t,e){if(e.format.table)return!0;this.quill.history.cutoff();let r=new e_().retain(t.index).delete(t.length).insert(" ");return this.quill.updateContents(r,iu.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,iu.sources.SILENT),!1}},"blockquote empty enter":{key:"Enter",collapsed:!0,format:["blockquote"],empty:!0,handler(){this.quill.format("blockquote",!1,iu.sources.USER)}},"list empty enter":{key:"Enter",collapsed:!0,format:["list"],empty:!0,handler(t,e){let r={list:!1};e.format.indent&&(r.indent=!1),this.quill.formatLine(t.index,t.length,r,iu.sources.USER)}},"checklist enter":{key:"Enter",collapsed:!0,format:{list:"checked"},handler(t){let[e,r]=this.quill.getLine(t.index),i={...e.formats(),list:"checked"},n=new e_().retain(t.index).insert("\n",i).retain(e.length()-r-1).retain(1,{list:"unchecked"});this.quill.updateContents(n,iu.sources.USER),this.quill.setSelection(t.index+1,iu.sources.SILENT),this.quill.scrollSelectionIntoView()}},"header enter":{key:"Enter",collapsed:!0,format:["header"],suffix:/^$/,handler(t,e){let[r,i]=this.quill.getLine(t.index),n=new e_().retain(t.index).insert("\n",e.format).retain(r.length()-i-1).retain(1,{header:null});this.quill.updateContents(n,iu.sources.USER),this.quill.setSelection(t.index+1,iu.sources.SILENT),this.quill.scrollSelectionIntoView()}},"table backspace":{key:"Backspace",format:["table"],collapsed:!0,offset:0,handler(){}},"table delete":{key:"Delete",format:["table"],collapsed:!0,suffix:/^$/,handler(){}},"table enter":{key:"Enter",shiftKey:null,format:["table"],handler(t){let e=this.quill.getModule("table");if(e){var r,i,n,s;let[l,o,a,c]=e.getTable(t),h=(r=0,i=o,n=a,s=c,null==i.prev&&null==i.next?null==n.prev&&null==n.next?0===s?-1:1:null==n.prev?-1:1:null==i.prev?-1:null==i.next?1:null);if(null==h)return;let u=l.offset();if(h<0){let e=new e_().retain(u).insert("\n");this.quill.updateContents(e,iu.sources.USER),this.quill.setSelection(t.index+1,t.length,iu.sources.SILENT)}else if(h>0){u+=l.length();let t=new e_().retain(u).insert("\n");this.quill.updateContents(t,iu.sources.USER),this.quill.setSelection(u,iu.sources.USER)}}}},"table tab":{key:"Tab",shiftKey:null,format:["table"],handler(t,e){let{event:r,line:i}=e,n=i.offset(this.quill.scroll);r.shiftKey?this.quill.setSelection(n-1,iu.sources.USER):this.quill.setSelection(n+i.length(),iu.sources.USER)}},"list autofill":{key:" ",shiftKey:null,collapsed:!0,format:{"code-block":!1,blockquote:!1,table:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler(t,e){let r;if(null==this.quill.scroll.query("list"))return!0;let{length:i}=e.prefix,[n,s]=this.quill.getLine(t.index);if(s>i)return!0;switch(e.prefix.trim()){case"[]":case"[ ]":r="unchecked";break;case"[x]":r="checked";break;case"-":case"*":r="bullet";break;default:r="ordered"}this.quill.insertText(t.index," ",iu.sources.USER),this.quill.history.cutoff();let l=new e_().retain(t.index-s).delete(i+1).retain(n.length()-2-s).retain(1,{list:r});return this.quill.updateContents(l,iu.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-i,iu.sources.SILENT),!1}},"code exit":{key:"Enter",collapsed:!0,format:["code-block"],prefix:/^$/,suffix:/^\s*$/,handler(t){let[e,r]=this.quill.getLine(t.index),i=2,n=e;for(;null!=n&&1>=n.length()&&n.formats()["code-block"];)if(n=n.prev,(i-=1)<=0){let i=new e_().retain(t.index+e.length()-r-2).retain(1,{"code-block":null}).delete(1);return this.quill.updateContents(i,iu.sources.USER),this.quill.setSelection(t.index-1,iu.sources.SILENT),!1}return!0}},"embed left":iY("ArrowLeft",!1),"embed left shift":iY("ArrowLeft",!0),"embed right":iY("ArrowRight",!1),"embed right shift":iY("ArrowRight",!0),"table down":iJ(!1),"table up":iJ(!0)}};let i0=/font-weight:\s*normal/,i2=["P","OL","UL"],i5=t=>t&&i2.includes(t.tagName),i4=t=>{Array.from(t.querySelectorAll("br")).filter(t=>i5(t.previousElementSibling)&&i5(t.nextElementSibling)).forEach(t=>{t.parentNode?.removeChild(t)})},i3=t=>{Array.from(t.querySelectorAll('b[style*="font-weight"]')).filter(t=>t.getAttribute("style")?.match(i0)).forEach(e=>{let r=t.createDocumentFragment();r.append(...e.childNodes),e.parentNode?.replaceChild(r,e)})},i6=/\bmso-list:[^;]*ignore/i,i8=/\bmso-list:[^;]*\bl(\d+)/i,i9=/\bmso-list:[^;]*\blevel(\d+)/i,i7=(t,e)=>{let r=t.getAttribute("style"),i=r?.match(i8);if(!i)return null;let n=Number(i[1]),s=r?.match(i9),l=s?Number(s[1]):1,o=RegExp(`@list l${n}:level${l}\\s*\\{[^\\}]*mso-level-number-format:\\s*([\\w-]+)`,"i"),a=e.match(o);return{id:n,indent:l,type:a&&"bullet"===a[1]?"bullet":"ordered",element:t}},nt=t=>{let e=Array.from(t.querySelectorAll("[style*=mso-list]")),r=[],i=[];e.forEach(t=>{(t.getAttribute("style")||"").match(i6)?r.push(t):i.push(t)}),r.forEach(t=>t.parentNode?.removeChild(t));let n=t.documentElement.innerHTML,s=i.map(t=>i7(t,n)).filter(t=>t);for(;s.length;){let t=[],e=s.shift();for(;e;)t.push(e),e=s.length&&s[0]?.element===e.element.nextElementSibling&&s[0].id===e.id?s.shift():null;let r=document.createElement("ul");t.forEach(t=>{let e=document.createElement("li");e.setAttribute("data-list",t.type),t.indent>1&&e.setAttribute("class",`ql-indent-${t.indent-1}`),e.innerHTML=t.element.innerHTML,r.appendChild(e)});let i=t[0]?.element,{parentNode:n}=i??{};i&&n?.replaceChild(r,i),t.slice(1).forEach(t=>{let{element:e}=t;n?.removeChild(e)})}},ne=[function(t){"urn:schemas-microsoft-com:office:word"===t.documentElement.getAttribute("xmlns:w")&&nt(t)},function(t){t.querySelector('[id^="docs-internal-guid-"]')&&(i3(t),i4(t))}],nr=t=>{t.documentElement&&ne.forEach(e=>{e(t)})},ni=rV("quill:clipboard"),nn=[[Node.TEXT_NODE,function(t,e,r){let i=t.data;if(t.parentElement?.tagName==="O:P")return e.insert(i.trim());if(!function t(e){return null!=e&&(nu.has(e)||("PRE"===e.tagName?nu.set(e,!0):nu.set(e,t(e.parentNode))),nu.get(e))}(t)){if(0===i.trim().length&&i.includes("\n")&&(!t.previousElementSibling||!t.nextElementSibling||nh(t.previousElementSibling,r)||nh(t.nextElementSibling,r)))return e;i=(i=i.replace(/[^\S\u00a0]/g," ")).replace(/ {2,}/g," "),(null==t.previousSibling&&null!=t.parentElement&&nh(t.parentElement,r)||t.previousSibling instanceof Element&&nh(t.previousSibling,r))&&(i=i.replace(/^ /,"")),(null==t.nextSibling&&null!=t.parentElement&&nh(t.parentElement,r)||t.nextSibling instanceof Element&&nh(t.nextSibling,r))&&(i=i.replace(/ $/,"")),i=i.replaceAll("\xa0"," ")}return e.insert(i)}],[Node.TEXT_NODE,np],["br",function(t,e){return nc(e,"\n")||e.insert("\n"),e}],[Node.ELEMENT_NODE,np],[Node.ELEMENT_NODE,function(t,e,r){let i=r.query(t);if(null==i)return e;if(i.prototype instanceof eN){let e={},n=i.value(t);if(null!=n)return e[i.blotName]=n,new e_().insert(e,i.formats(t,r))}else if(i.prototype instanceof eb&&!nc(e,"\n")&&e.insert("\n"),"blotName"in i&&"formats"in i&&"function"==typeof i.formats)return na(e,i.blotName,i.formats(t,r),r);return e}],[Node.ELEMENT_NODE,function(t,e,r){let i=t4.keys(t),n=et.keys(t),s=ei.keys(t),l={};return i.concat(n).concat(s).forEach(e=>{let i=r.query(e,t5.ATTRIBUTE);null!=i&&(l[i.attrName]=i.value(t),l[i.attrName])||(null!=(i=ns[e])&&(i.attrName===e||i.keyName===e)&&(l[i.attrName]=i.value(t)||void 0),null!=(i=nl[e])&&(i.attrName===e||i.keyName===e)&&(l[(i=nl[e]).attrName]=i.value(t)||void 0))}),Object.entries(l).reduce((t,e)=>{let[i,n]=e;return na(t,i,n,r)},e)}],[Node.ELEMENT_NODE,function(t,e,r){let i={},n=t.style||{};return("italic"===n.fontStyle&&(i.italic=!0),"underline"===n.textDecoration&&(i.underline=!0),"line-through"===n.textDecoration&&(i.strike=!0),(n.fontWeight?.startsWith("bold")||parseInt(n.fontWeight,10)>=700)&&(i.bold=!0),e=Object.entries(i).reduce((t,e)=>{let[i,n]=e;return na(t,i,n,r)},e),parseFloat(n.textIndent||0)>0)?new e_().insert(" ").concat(e):e}],["li",function(t,e,r){let i=r.query(t);if(null==i||"list"!==i.blotName||!nc(e,"\n"))return e;let n=-1,s=t.parentNode;for(;null!=s;)["OL","UL"].includes(s.tagName)&&(n+=1),s=s.parentNode;return n<=0?e:e.reduce((t,e)=>e.insert?e.attributes&&"number"==typeof e.attributes.indent?t.push(e):t.insert(e.insert,{indent:n,...e.attributes||{}}):t,new e_)}],["ol, ul",function(t,e,r){let i="OL"===t.tagName?"ordered":"bullet",n=t.getAttribute("data-checked");return n&&(i="true"===n?"checked":"unchecked"),na(e,"list",i,r)}],["pre",function(t,e,r){let i=r.query("code-block");return na(e,"code-block",!i||!("formats"in i)||"function"!=typeof i.formats||i.formats(t,r),r)}],["tr",function(t,e,r){let i=t.parentElement?.tagName==="TABLE"?t.parentElement:t.parentElement?.parentElement;return null!=i?na(e,"table",Array.from(i.querySelectorAll("tr")).indexOf(t)+1,r):e}],["b",nf("bold")],["i",nf("italic")],["strike",nf("strike")],["style",function(){return new e_}]],ns=[ik,iD].reduce((t,e)=>(t[e.keyName]=e,t),{}),nl=[iL,iC,iT,iP,iH,iK].reduce((t,e)=>(t[e.keyName]=e,t),{});class no extends r3{static DEFAULTS={matchers:[]};constructor(t,e){super(t,e),this.quill.root.addEventListener("copy",t=>this.onCaptureCopy(t,!1)),this.quill.root.addEventListener("cut",t=>this.onCaptureCopy(t,!0)),this.quill.root.addEventListener("paste",this.onCapturePaste.bind(this)),this.matchers=[],nn.concat(this.options.matchers??[]).forEach(t=>{let[e,r]=t;this.addMatcher(e,r)})}addMatcher(t,e){this.matchers.push([t,e])}convert(t){let{html:e,text:r}=t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i[iI.blotName])return new e_().insert(r||"",{[iI.blotName]:i[iI.blotName]});if(!e)return new e_().insert(r||"",i);let n=this.convertHTML(e);return nc(n,"\n")&&(null==n.ops[n.ops.length-1].attributes||i.table)?n.compose(new e_().retain(n.length()-1).delete(1)):n}normalizeHTML(t){nr(t)}convertHTML(t){let e=new DOMParser().parseFromString(t,"text/html");this.normalizeHTML(e);let r=e.body,i=new WeakMap,[n,s]=this.prepareMatching(r,i);return nd(this.quill.scroll,r,n,s,i)}dangerouslyPasteHTML(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:iu.sources.API;if("string"==typeof t){let r=this.convert({html:t,text:""});this.quill.setContents(r,e),this.quill.setSelection(0,iu.sources.SILENT)}else{let i=this.convert({html:e,text:""});this.quill.updateContents(new e_().retain(t).concat(i),r),this.quill.setSelection(t+i.length(),iu.sources.SILENT)}}onCaptureCopy(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t.defaultPrevented)return;t.preventDefault();let[r]=this.quill.selection.getRange();if(null==r)return;let{html:i,text:n}=this.onCopy(r,e);t.clipboardData?.setData("text/plain",n),t.clipboardData?.setData("text/html",i),e&&i1({range:r,quill:this.quill})}normalizeURIList(t){return t.split(/\r?\n/).filter(t=>"#"!==t[0]).join("\n")}onCapturePaste(t){if(t.defaultPrevented||!this.quill.isEnabled())return;t.preventDefault();let e=this.quill.getSelection(!0);if(null==e)return;let r=t.clipboardData?.getData("text/html"),i=t.clipboardData?.getData("text/plain");if(!r&&!i){let e=t.clipboardData?.getData("text/uri-list");e&&(i=this.normalizeURIList(e))}let n=Array.from(t.clipboardData?.files||[]);if(!r&&n.length>0)return void this.quill.uploader.upload(e,n);if(r&&n.length>0){let t=new DOMParser().parseFromString(r,"text/html");if(1===t.body.childElementCount&&t.body.firstElementChild?.tagName==="IMG")return void this.quill.uploader.upload(e,n)}this.onPaste(e,{html:r,text:i})}onCopy(t){let e=this.quill.getText(t);return{html:this.quill.getSemanticHTML(t),text:e}}onPaste(t,e){let{text:r,html:i}=e,n=this.quill.getFormat(t.index),s=this.convert({text:r,html:i},n);ni.log("onPaste",s,{text:r,html:i});let l=new e_().retain(t.index).delete(t.length).concat(s);this.quill.updateContents(l,iu.sources.USER),this.quill.setSelection(l.length()-t.length,iu.sources.SILENT),this.quill.scrollSelectionIntoView()}prepareMatching(t,e){let r=[],i=[];return this.matchers.forEach(n=>{let[s,l]=n;switch(s){case Node.TEXT_NODE:i.push(l);break;case Node.ELEMENT_NODE:r.push(l);break;default:Array.from(t.querySelectorAll(s)).forEach(t=>{if(e.has(t)){let r=e.get(t);r?.push(l)}else e.set(t,[l])})}}),[r,i]}}function na(t,e,r,i){return i.query(e)?t.reduce((t,i)=>i.insert?i.attributes&&i.attributes[e]?t.push(i):t.insert(i.insert,{...r?{[e]:r}:{},...i.attributes}):t,new e_):t}function nc(t,e){let r="";for(let i=t.ops.length-1;i>=0&&r.lengthi(e,r,t),new e_):e.nodeType===e.ELEMENT_NODE?Array.from(e.childNodes||[]).reduce((s,l)=>{let o=nd(t,l,r,i,n);return l.nodeType===e.ELEMENT_NODE&&(o=r.reduce((e,r)=>r(l,e,t),o),o=(n.get(l)||[]).reduce((e,r)=>r(l,e,t),o)),s.concat(o)},new e_):new e_}function nf(t){return(e,r,i)=>na(r,t,!0,i)}function np(t,e,r){if(!nc(e,"\n")){if(nh(t,r)&&(t.childNodes.length>0||t instanceof HTMLParagraphElement))return e.insert("\n");if(e.length()>0&&t.nextSibling){let i=t.nextSibling;for(;null!=i;){if(nh(i,r))return e.insert("\n");let t=r.query(i);if(t&&t.prototype instanceof rM)return e.insert("\n");i=i.firstChild}}}return e}class ng extends r3{static DEFAULTS={delay:1e3,maxStack:100,userOnly:!1};lastRecorded=0;ignoreChange=!1;stack={undo:[],redo:[]};currentRange=null;constructor(t,e){super(t,e),this.quill.on(iu.events.EDITOR_CHANGE,(t,e,r,i)=>{t===iu.events.SELECTION_CHANGE?e&&i!==iu.sources.SILENT&&(this.currentRange=e):t===iu.events.TEXT_CHANGE&&(this.ignoreChange||(this.options.userOnly&&i!==iu.sources.USER?this.transform(e):this.record(e,r)),this.currentRange=nb(this.currentRange,e))}),this.quill.keyboard.addBinding({key:"z",shortKey:!0},this.undo.bind(this)),this.quill.keyboard.addBinding({key:["z","Z"],shortKey:!0,shiftKey:!0},this.redo.bind(this)),/Win/i.test(navigator.platform)&&this.quill.keyboard.addBinding({key:"y",shortKey:!0},this.redo.bind(this)),this.quill.root.addEventListener("beforeinput",t=>{"historyUndo"===t.inputType?(this.undo(),t.preventDefault()):"historyRedo"===t.inputType&&(this.redo(),t.preventDefault())})}change(t,e){if(0===this.stack[t].length)return;let r=this.stack[t].pop();if(!r)return;let i=this.quill.getContents(),n=r.delta.invert(i);this.stack[e].push({delta:n,range:nb(r.range,n)}),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(r.delta,iu.sources.USER),this.ignoreChange=!1,this.restoreSelection(r)}clear(){this.stack={undo:[],redo:[]}}cutoff(){this.lastRecorded=0}record(t,e){if(0===t.ops.length)return;this.stack.redo=[];let r=t.invert(e),i=this.currentRange,n=Date.now();if(this.lastRecorded+this.options.delay>n&&this.stack.undo.length>0){let t=this.stack.undo.pop();t&&(r=r.compose(t.delta),i=t.range)}else this.lastRecorded=n;0!==r.length()&&(this.stack.undo.push({delta:r,range:i}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift())}redo(){this.change("redo","undo")}transform(t){nm(this.stack.undo,t),nm(this.stack.redo,t)}undo(){this.change("undo","redo")}restoreSelection(t){if(t.range)this.quill.setSelection(t.range,iu.sources.USER);else{let e=function(t,e){let r=e.reduce((t,e)=>t+(e.delete||0),0),i=e.length()-r;return function(t,e){let r=e.ops[e.ops.length-1];return null!=r&&(null!=r.insert?"string"==typeof r.insert&&r.insert.endsWith("\n"):null!=r.attributes&&Object.keys(r.attributes).some(e=>null!=t.query(e,t5.BLOCK)))}(t,e)&&(i-=1),i}(this.quill.scroll,t.delta);this.quill.setSelection(e,iu.sources.USER)}}}function nm(t,e){let r=e;for(let e=t.length-1;e>=0;e-=1){let i=t[e];t[e]={delta:r.transform(i.delta,!0),range:i.range&&nb(i.range,r)},r=i.delta.transform(r),0===t[e].delta.length()&&t.splice(e,1)}}function nb(t,e){if(!t)return t;let r=e.transformPosition(t.index);return{index:r,length:e.transformPosition(t.index+t.length)-r}}class ny extends r3{constructor(t,e){super(t,e),t.root.addEventListener("drop",e=>{e.preventDefault();let r=null;if(document.caretRangeFromPoint)r=document.caretRangeFromPoint(e.clientX,e.clientY);else if(document.caretPositionFromPoint){let t=document.caretPositionFromPoint(e.clientX,e.clientY);(r=document.createRange()).setStart(t.offsetNode,t.offset),r.setEnd(t.offsetNode,t.offset)}let i=r&&t.selection.normalizeNative(r);if(i){let r=t.selection.normalizedToRange(i);e.dataTransfer?.files&&this.upload(r,e.dataTransfer.files)}})}upload(t,e){let r=[];Array.from(e).forEach(t=>{t&&this.options.mimetypes?.includes(t.type)&&r.push(t)}),r.length>0&&this.options.handler.call(this,t,r)}}ny.DEFAULTS={mimetypes:["image/png","image/jpeg"],handler(t,e){this.quill.scroll.query("image")&&Promise.all(e.map(t=>new Promise(e=>{let r=new FileReader;r.onload=()=>{e(r.result)},r.readAsDataURL(t)}))).then(e=>{let r=e.reduce((t,e)=>t.insert({image:e}),new e_().retain(t.index).delete(t.length));this.quill.updateContents(r,rW.sources.USER),this.quill.setSelection(t.index+e.length,rW.sources.SILENT)})}};let nv=["insertText","insertReplacementText"];class nx extends r3{constructor(t,e){super(t,e),t.root.addEventListener("beforeinput",t=>{this.handleBeforeInput(t)}),/Android/i.test(navigator.userAgent)||t.on(iu.events.COMPOSITION_BEFORE_START,()=>{this.handleCompositionStart()})}deleteRange(t){i1({range:t,quill:this.quill})}replaceText(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(0===t.length)return!1;if(e){let r=this.quill.getFormat(t.index,1);this.deleteRange(t),this.quill.updateContents(new e_().retain(t.index).insert(e,r),iu.sources.USER)}else this.deleteRange(t);return this.quill.setSelection(t.index+e.length,0,iu.sources.SILENT),!0}handleBeforeInput(t){var e;if(this.quill.composition.isComposing||t.defaultPrevented||!nv.includes(t.inputType))return;let r=t.getTargetRanges?t.getTargetRanges()[0]:null;if(!r||!0===r.collapsed)return;let i="string"==typeof(e=t).data?e.data:e.dataTransfer?.types.includes("text/plain")?e.dataTransfer.getData("text/plain"):null;if(null==i)return;let n=this.quill.selection.normalizeNative(r),s=n?this.quill.selection.normalizedToRange(n):null;s&&this.replaceText(s,i)&&t.preventDefault()}handleCompositionStart(){let t=this.quill.getSelection();t&&this.replaceText(t)}}let nN=/Mac/i.test(navigator.platform),nE=t=>"ArrowLeft"===t.key||"ArrowRight"===t.key||"ArrowUp"===t.key||"ArrowDown"===t.key||"Home"===t.key||!!nN&&"a"===t.key&&!0===t.ctrlKey;class nA extends r3{isListening=!1;selectionChangeDeadline=0;constructor(t,e){super(t,e),this.handleArrowKeys(),this.handleNavigationShortcuts()}handleArrowKeys(){this.quill.keyboard.addBinding({key:["ArrowLeft","ArrowRight"],offset:0,shiftKey:null,handler(t,e){let{line:r,event:i}=e;if(!(r instanceof ef)||!r.uiNode)return!0;let n="rtl"===getComputedStyle(r.domNode).direction;return!!n&&"ArrowRight"!==i.key||!n&&"ArrowLeft"!==i.key||(this.quill.setSelection(t.index-1,t.length+ +!!i.shiftKey,iu.sources.USER),!1)}})}handleNavigationShortcuts(){this.quill.root.addEventListener("keydown",t=>{!t.defaultPrevented&&nE(t)&&this.ensureListeningToSelectionChange()})}ensureListeningToSelectionChange(){this.selectionChangeDeadline=Date.now()+100,this.isListening||(this.isListening=!0,document.addEventListener("selectionchange",()=>{this.isListening=!1,Date.now()<=this.selectionChangeDeadline&&this.handleSelectionChange()},{once:!0}))}handleSelectionChange(){let t=document.getSelection();if(!t)return;let e=t.getRangeAt(0);if(!0!==e.collapsed||0!==e.startOffset)return;let r=this.quill.scroll.find(e.startContainer);if(!(r instanceof ef)||!r.uiNode)return;let i=document.createRange();i.setStartAfter(r.uiNode),i.setEndAfter(r.uiNode),t.removeAllRanges(),t.addRange(i)}}iu.register({"blots/block":rI,"blots/block/embed":rM,"blots/break":rO,"blots/container":ix,"blots/cursor":rU,"blots/embed":r8,"blots/inline":rR,"blots/scroll":iA,"blots/text":rS,"modules/clipboard":no,"modules/history":ng,"modules/keyboard":iG,"modules/uploader":ny,"modules/input":nx,"modules/uiNode":nA});class nw extends et{add(t,e){let r=0;if("+1"===e||"-1"===e){let i=this.value(t)||0;r="+1"===e?i+1:i-1}else"number"==typeof e&&(r=e);return 0===r?(this.remove(t),!0):super.add(t,r.toString())}canAdd(t,e){return super.canAdd(t,e)||super.canAdd(t,parseInt(e,10))}value(t){return parseInt(super.value(t),10)||void 0}}let nq=new nw("indent","ql-indent",{scope:t5.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});class nk extends rI{static blotName="blockquote";static tagName="blockquote"}class n_ extends rI{static blotName="header";static tagName=["H1","H2","H3","H4","H5","H6"];static formats(t){return this.tagName.indexOf(t.tagName)+1}}class nL extends ix{}nL.blotName="list-container",nL.tagName="OL";class nO extends rI{static create(t){let e=super.create();return e.setAttribute("data-list",t),e}static formats(t){return t.getAttribute("data-list")||void 0}static register(){iu.register(nL)}constructor(t,e){super(t,e);let r=e.ownerDocument.createElement("span"),i=r=>{if(!t.isEnabled())return;let i=this.statics.formats(e,t);"checked"===i?(this.format("list","unchecked"),r.preventDefault()):"unchecked"===i&&(this.format("list","checked"),r.preventDefault())};r.addEventListener("mousedown",i),r.addEventListener("touchstart",i),this.attachUI(r)}format(t,e){t===this.statics.blotName&&e?this.domNode.setAttribute("data-list",e):super.format(t,e)}}nO.blotName="list",nO.tagName="LI",nL.allowedChildren=[nO],nO.requiredContainer=nL;class nS extends rR{static blotName="bold";static tagName=["STRONG","B"];static create(){return super.create()}static formats(){return!0}optimize(t){super.optimize(t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}let nT=nS;class nj extends nT{static blotName="italic";static tagName=["EM","I"]}class nC extends rR{static blotName="link";static tagName="A";static SANITIZED_URL="about:blank";static PROTOCOL_WHITELIST=["http","https","mailto","tel","sms"];static create(t){let e=super.create(t);return e.setAttribute("href",this.sanitize(t)),e.setAttribute("rel","noopener noreferrer"),e.setAttribute("target","_blank"),e}static formats(t){return t.getAttribute("href")}static sanitize(t){return nR(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}format(t,e){t===this.statics.blotName&&e?this.domNode.setAttribute("href",this.constructor.sanitize(e)):super.format(t,e)}}function nR(t,e){let r=document.createElement("a");r.href=t;let i=r.href.slice(0,r.href.indexOf(":"));return e.indexOf(i)>-1}class nI extends rR{static blotName="script";static tagName=["SUB","SUP"];static create(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):super.create(t)}static formats(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}class nM extends nT{static blotName="strike";static tagName=["S","STRIKE"]}class nB extends rR{static blotName="underline";static tagName="U"}class nD extends r8{static blotName="formula";static className="ql-formula";static tagName="SPAN";static create(t){if(null==window.katex)throw Error("Formula module requires KaTeX.");let e=super.create(t);return"string"==typeof t&&(window.katex.render(t,e,{throwOnError:!1,errorColor:"#f00"}),e.setAttribute("data-value",t)),e}static value(t){return t.getAttribute("data-value")}html(){let{formula:t}=this.value();return`${t}`}}let nU=["alt","height","width"];class nP extends eN{static blotName="image";static tagName="IMG";static create(t){let e=super.create(t);return"string"==typeof t&&e.setAttribute("src",this.sanitize(t)),e}static formats(t){return nU.reduce((e,r)=>(t.hasAttribute(r)&&(e[r]=t.getAttribute(r)),e),{})}static match(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}static sanitize(t){return nR(t,["http","https","data"])?t:"//:0"}static value(t){return t.getAttribute("src")}format(t,e){nU.indexOf(t)>-1?e?this.domNode.setAttribute(t,e):this.domNode.removeAttribute(t):super.format(t,e)}}let nz=["height","width"];class nF extends rM{static blotName="video";static className="ql-video";static tagName="IFRAME";static create(t){let e=super.create(t);return e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen","true"),e.setAttribute("src",this.sanitize(t)),e}static formats(t){return nz.reduce((e,r)=>(t.hasAttribute(r)&&(e[r]=t.getAttribute(r)),e),{})}static sanitize(t){return nC.sanitize(t)}static value(t){return t.getAttribute("src")}format(t,e){nz.indexOf(t)>-1?e?this.domNode.setAttribute(t,e):this.domNode.removeAttribute(t):super.format(t,e)}html(){let{video:t}=this.value();return`${t}`}}let n$=new et("code-token","hljs",{scope:t5.INLINE});class nH extends rR{static formats(t,e){for(;null!=t&&t!==e.domNode;){if(t.classList&&t.classList.contains(iI.className))return super.formats(t,e);t=t.parentNode}}constructor(t,e,r){super(t,e,r),n$.add(this.domNode,r)}format(t,e){t!==nH.blotName?super.format(t,e):e?n$.add(this.domNode,e):(n$.remove(this.domNode),this.domNode.classList.remove(this.statics.className))}optimize(){super.optimize(...arguments),n$.value(this.domNode)||this.unwrap()}}nH.blotName="code-token",nH.className="ql-token";class nV extends iI{static create(t){let e=super.create(t);return"string"==typeof t&&e.setAttribute("data-language",t),e}static formats(t){return t.getAttribute("data-language")||"plain"}static register(){}format(t,e){t===this.statics.blotName&&e?this.domNode.setAttribute("data-language",e):super.format(t,e)}replaceWith(t,e){return this.formatAt(0,this.length(),nH.blotName,!1),super.replaceWith(t,e)}}class nK extends iR{attach(){super.attach(),this.forceNext=!1,this.scroll.emitMount(this)}format(t,e){t===nV.blotName&&(this.forceNext=!0,this.children.forEach(r=>{r.format(t,e)}))}formatAt(t,e,r,i){r===nV.blotName&&(this.forceNext=!0),super.formatAt(t,e,r,i)}highlight(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==this.children.head)return;let r=Array.from(this.domNode.childNodes).filter(t=>t!==this.uiNode),i=`${r.map(t=>t.textContent).join("\n")} +`,n=nV.formats(this.children.head.domNode);if(e||this.forceNext||this.cachedText!==i){if(i.trim().length>0||null==this.cachedText){let e=this.children.reduce((t,e)=>t.concat(rB(e,!1)),new e_),r=t(i,n);e.diff(r).reduce((t,e)=>{let{retain:r,attributes:i}=e;return r?(i&&Object.keys(i).forEach(e=>{[nV.blotName,nH.blotName].includes(e)&&this.formatAt(t,r,e,i[e])}),t+r):t},0)}this.cachedText=i,this.forceNext=!1}}html(t,e){let[r]=this.children.find(t),i=r?nV.formats(r.domNode):"plain";return`
    +${rj(this.code(t,e))}
    +
    `}optimize(t){if(super.optimize(t),null!=this.parent&&null!=this.children.head&&null!=this.uiNode){let t=nV.formats(this.children.head.domNode);t!==this.uiNode.value&&(this.uiNode.value=t)}}}nK.allowedChildren=[nV],nV.requiredContainer=nK,nV.allowedChildren=[nH,rU,rS,rO];let nW=(t,e,r)=>"string"==typeof t.versionString&&parseInt(t.versionString.split(".")[0],10)>=11?t.highlight(r,{language:e}).value:t.highlight(e,r).value;class nZ extends r3{static register(){iu.register(nH,!0),iu.register(nV,!0),iu.register(nK,!0)}constructor(t,e){if(super(t,e),null==this.options.hljs)throw Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");this.languages=this.options.languages.reduce((t,e)=>{let{key:r}=e;return t[r]=!0,t},{}),this.highlightBlot=this.highlightBlot.bind(this),this.initListener(),this.initTimer()}initListener(){this.quill.on(iu.events.SCROLL_BLOT_MOUNT,t=>{if(!(t instanceof nK))return;let e=this.quill.root.ownerDocument.createElement("select");this.options.languages.forEach(t=>{let{key:r,label:i}=t,n=e.ownerDocument.createElement("option");n.textContent=i,n.setAttribute("value",r),e.appendChild(n)}),e.addEventListener("change",()=>{t.format(nV.blotName,e.value),this.quill.root.focus(),this.highlight(t,!0)}),null==t.uiNode&&(t.attachUI(e),t.children.head&&(e.value=nV.formats(t.children.head.domNode)))})}initTimer(){let t=null;this.quill.on(iu.events.SCROLL_OPTIMIZE,()=>{t&&clearTimeout(t),t=setTimeout(()=>{this.highlight(),t=null},this.options.interval)})}highlight(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.quill.selection.composing)return;this.quill.update(iu.sources.USER);let r=this.quill.getSelection();(null==t?this.quill.scroll.descendants(nK):[t]).forEach(t=>{t.highlight(this.highlightBlot,e)}),this.quill.update(iu.sources.SILENT),null!=r&&this.quill.setSelection(r,iu.sources.SILENT)}highlightBlot(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"plain";if("plain"===(e=this.languages[e]?e:"plain"))return rj(t).split("\n").reduce((t,r,i)=>(0!==i&&t.insert("\n",{[iI.blotName]:e}),t.insert(r)),new e_);let r=this.quill.root.ownerDocument.createElement("div");return r.classList.add(iI.className),r.innerHTML=nW(this.options.hljs,e,t),nd(this.quill.scroll,r,[(t,e)=>{let r=n$.value(t);return r?e.compose(new e_().retain(e.length(),{[nH.blotName]:r})):e}],[(t,r)=>t.data.split("\n").reduce((t,r,i)=>(0!==i&&t.insert("\n",{[iI.blotName]:e}),t.insert(r)),r)],new WeakMap)}}nZ.DEFAULTS={hljs:window.hljs,interval:1e3,languages:[{key:"plain",label:"Plain"},{key:"bash",label:"Bash"},{key:"cpp",label:"C++"},{key:"cs",label:"C#"},{key:"css",label:"CSS"},{key:"diff",label:"Diff"},{key:"xml",label:"HTML/XML"},{key:"java",label:"Java"},{key:"javascript",label:"JavaScript"},{key:"markdown",label:"Markdown"},{key:"php",label:"PHP"},{key:"python",label:"Python"},{key:"ruby",label:"Ruby"},{key:"sql",label:"SQL"}]};class nG extends rI{static blotName="table";static tagName="TD";static create(t){let e=super.create();return t?e.setAttribute("data-row",t):e.setAttribute("data-row",nJ()),e}static formats(t){if(t.hasAttribute("data-row"))return t.getAttribute("data-row")}cellOffset(){return this.parent?this.parent.children.indexOf(this):-1}format(t,e){t===nG.blotName&&e?this.domNode.setAttribute("data-row",e):super.format(t,e)}row(){return this.parent}rowOffset(){return this.row()?this.row().rowOffset():-1}table(){return this.row()&&this.row().table()}}class nX extends ix{static blotName="table-row";static tagName="TR";checkMerge(){if(super.checkMerge()&&null!=this.next.children.head){let t=this.children.head.formats(),e=this.children.tail.formats(),r=this.next.children.head.formats(),i=this.next.children.tail.formats();return t.table===e.table&&t.table===r.table&&t.table===i.table}return!1}optimize(t){super.optimize(t),this.children.forEach(t=>{if(null==t.next)return;let e=t.formats(),r=t.next.formats();if(e.table!==r.table){let e=this.splitAfter(t);e&&e.optimize(),this.prev&&this.prev.optimize()}})}rowOffset(){return this.parent?this.parent.children.indexOf(this):-1}table(){return this.parent&&this.parent.parent}}class nY extends ix{static blotName="table-body";static tagName="TBODY"}class nQ extends ix{static blotName="table-container";static tagName="TABLE";balanceCells(){let t=this.descendants(nX),e=t.reduce((t,e)=>Math.max(e.children.length,t),0);t.forEach(t=>{Array(e-t.children.length).fill(0).forEach(()=>{let e;null!=t.children.head&&(e=nG.formats(t.children.head.domNode));let r=this.scroll.create(nG.blotName,e);t.appendChild(r),r.optimize()})})}cells(t){return this.rows().map(e=>e.children.at(t))}deleteColumn(t){let[e]=this.descendant(nY);null!=e&&null!=e.children.head&&e.children.forEach(e=>{let r=e.children.at(t);null!=r&&r.remove()})}insertColumn(t){let[e]=this.descendant(nY);null!=e&&null!=e.children.head&&e.children.forEach(e=>{let r=e.children.at(t),i=nG.formats(e.children.head.domNode),n=this.scroll.create(nG.blotName,i);e.insertBefore(n,r)})}insertRow(t){let[e]=this.descendant(nY);if(null==e||null==e.children.head)return;let r=nJ(),i=this.scroll.create(nX.blotName);e.children.head.children.forEach(()=>{let t=this.scroll.create(nG.blotName,r);i.appendChild(t)});let n=e.children.at(t);e.insertBefore(i,n)}rows(){let t=this.children.head;return null==t?[]:t.children.map(t=>t)}}function nJ(){let t=Math.random().toString(36).slice(2,6);return`row-${t}`}nQ.allowedChildren=[nY],nY.requiredContainer=nQ,nY.allowedChildren=[nX],nX.requiredContainer=nY,nX.allowedChildren=[nG],nG.requiredContainer=nX;class n1 extends r3{static register(){iu.register(nG),iu.register(nX),iu.register(nY),iu.register(nQ)}constructor(){super(...arguments),this.listenBalanceCells()}balanceTables(){this.quill.scroll.descendants(nQ).forEach(t=>{t.balanceCells()})}deleteColumn(){let[t,,e]=this.getTable();null!=e&&(t.deleteColumn(e.cellOffset()),this.quill.update(iu.sources.USER))}deleteRow(){let[,t]=this.getTable();null!=t&&(t.remove(),this.quill.update(iu.sources.USER))}deleteTable(){let[t]=this.getTable();if(null==t)return;let e=t.offset();t.remove(),this.quill.update(iu.sources.USER),this.quill.setSelection(e,iu.sources.SILENT)}getTable(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.quill.getSelection();if(null==t)return[null,null,null,-1];let[e,r]=this.quill.getLine(t.index);if(null==e||e.statics.blotName!==nG.blotName)return[null,null,null,-1];let i=e.parent;return[i.parent.parent,i,e,r]}insertColumn(t){let e=this.quill.getSelection();if(!e)return;let[r,i,n]=this.getTable(e);if(null==n)return;let s=n.cellOffset();r.insertColumn(s+t),this.quill.update(iu.sources.USER);let l=i.rowOffset();0===t&&(l+=1),this.quill.setSelection(e.index+l,e.length,iu.sources.SILENT)}insertColumnLeft(){this.insertColumn(0)}insertColumnRight(){this.insertColumn(1)}insertRow(t){let e=this.quill.getSelection();if(!e)return;let[r,i,n]=this.getTable(e);if(null==n)return;let s=i.rowOffset();r.insertRow(s+t),this.quill.update(iu.sources.USER),t>0?this.quill.setSelection(e,iu.sources.SILENT):this.quill.setSelection(e.index+i.children.length,e.length,iu.sources.SILENT)}insertRowAbove(){this.insertRow(0)}insertRowBelow(){this.insertRow(1)}insertTable(t,e){let r=this.quill.getSelection();if(null==r)return;let i=Array(t).fill(0).reduce(t=>{let r=Array(e).fill("\n").join("");return t.insert(r,{table:nJ()})},new e_().retain(r.index));this.quill.updateContents(i,iu.sources.USER),this.quill.setSelection(r.index,iu.sources.SILENT),this.balanceTables()}listenBalanceCells(){this.quill.on(iu.events.SCROLL_OPTIMIZE,t=>{t.some(t=>!!["TD","TR","TBODY","TABLE"].includes(t.target.tagName)&&(this.quill.once(iu.events.TEXT_CHANGE,(t,e,r)=>{r===iu.sources.USER&&this.balanceTables()}),!0))})}}let n0=rV("quill:toolbar");class n2 extends r3{constructor(t,e){if(super(t,e),Array.isArray(this.options.container)){let e=document.createElement("div");e.setAttribute("role","toolbar"),function(t,e){Array.isArray(e[0])||(e=[e]),e.forEach(e=>{let r=document.createElement("span");r.classList.add("ql-formats"),e.forEach(t=>{if("string"==typeof t)n5(r,t);else{let e=Object.keys(t)[0],i=t[e];Array.isArray(i)?function(t,e,r){let i=document.createElement("select");i.classList.add(`ql-${e}`),r.forEach(t=>{let e=document.createElement("option");!1!==t?e.setAttribute("value",String(t)):e.setAttribute("selected","selected"),i.appendChild(e)}),t.appendChild(i)}(r,e,i):n5(r,e,i)}}),t.appendChild(r)})}(e,this.options.container),t.container?.parentNode?.insertBefore(e,t.container),this.container=e}else"string"==typeof this.options.container?this.container=document.querySelector(this.options.container):this.container=this.options.container;if(!(this.container instanceof HTMLElement))return void n0.error("Container required for toolbar",this.options);this.container.classList.add("ql-toolbar"),this.controls=[],this.handlers={},this.options.handlers&&Object.keys(this.options.handlers).forEach(t=>{let e=this.options.handlers?.[t];e&&this.addHandler(t,e)}),Array.from(this.container.querySelectorAll("button, select")).forEach(t=>{this.attach(t)}),this.quill.on(iu.events.EDITOR_CHANGE,()=>{let[t]=this.quill.selection.getRange();this.update(t)})}addHandler(t,e){this.handlers[t]=e}attach(t){let e=Array.from(t.classList).find(t=>0===t.indexOf("ql-"));if(!e)return;if(e=e.slice(3),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[e]&&null==this.quill.scroll.query(e))return void n0.warn("ignoring attaching to nonexistent format",e,t);let r="SELECT"===t.tagName?"change":"click";t.addEventListener(r,r=>{let i;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;let e=t.options[t.selectedIndex];i=!e.hasAttribute("selected")&&(e.value||!1)}else i=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),r.preventDefault();this.quill.focus();let[n]=this.quill.selection.getRange();if(null!=this.handlers[e])this.handlers[e].call(this,i);else if(this.quill.scroll.query(e).prototype instanceof eN){if(!(i=prompt(`Enter ${e}`)))return;this.quill.updateContents(new e_().retain(n.index).delete(n.length).insert({[e]:i}),iu.sources.USER)}else this.quill.format(e,i,iu.sources.USER);this.update(n)}),this.controls.push([e,t])}update(t){let e=null==t?{}:this.quill.getFormat(t);this.controls.forEach(r=>{let[i,n]=r;if("SELECT"===n.tagName){let r=null;if(null==t)r=null;else if(null==e[i])r=n.querySelector("option[selected]");else if(!Array.isArray(e[i])){let t=e[i];"string"==typeof t&&(t=t.replace(/"/g,'\\"')),r=n.querySelector(`option[value="${t}"]`)}null==r?(n.value="",n.selectedIndex=-1):r.selected=!0}else if(null==t)n.classList.remove("ql-active"),n.setAttribute("aria-pressed","false");else if(n.hasAttribute("value")){let t=e[i],r=t===n.getAttribute("value")||null!=t&&t.toString()===n.getAttribute("value")||null==t&&!n.getAttribute("value");n.classList.toggle("ql-active",r),n.setAttribute("aria-pressed",r.toString())}else{let t=null!=e[i];n.classList.toggle("ql-active",t),n.setAttribute("aria-pressed",t.toString())}})}}function n5(t,e,r){let i=document.createElement("button");i.setAttribute("type","button"),i.classList.add(`ql-${e}`),i.setAttribute("aria-pressed","false"),null!=r?(i.value=r,i.setAttribute("aria-label",`${e}: ${r}`)):i.setAttribute("aria-label",e),t.appendChild(i)}n2.DEFAULTS={},n2.DEFAULTS={container:null,handlers:{clean(){let t=this.quill.getSelection();null!=t&&(0===t.length?Object.keys(this.quill.getFormat()).forEach(t=>{null!=this.quill.scroll.query(t,t5.INLINE)&&this.quill.format(t,!1,iu.sources.USER)}):this.quill.removeFormat(t.index,t.length,iu.sources.USER))},direction(t){let{align:e}=this.quill.getFormat();"rtl"===t&&null==e?this.quill.format("align","right",iu.sources.USER):t||"right"!==e||this.quill.format("align",!1,iu.sources.USER),this.quill.format("direction",t,iu.sources.USER)},indent(t){let e=this.quill.getSelection(),r=this.quill.getFormat(e),i=parseInt(r.indent||0,10);if("+1"===t||"-1"===t){let e="+1"===t?1:-1;"rtl"===r.direction&&(e*=-1),this.quill.format("indent",i+e,iu.sources.USER)}},link(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,iu.sources.USER)},list(t){let e=this.quill.getSelection(),r=this.quill.getFormat(e);"check"===t?"checked"===r.list||"unchecked"===r.list?this.quill.format("list",!1,iu.sources.USER):this.quill.format("list","unchecked",iu.sources.USER):this.quill.format("list",t,iu.sources.USER)}}};let n4='',n3={align:{"":'',center:'',right:'',justify:''},background:'',blockquote:'',bold:'',clean:'',code:n4,"code-block":n4,color:'',direction:{"":'',rtl:''},formula:'',header:{1:'',2:'',3:'',4:'',5:'',6:''},italic:'',image:'',indent:{"+1":'',"-1":''},link:'',list:{bullet:'',check:'',ordered:''},script:{sub:'',super:''},strike:'',table:'',underline:'',video:''},n6=0;function n8(t,e){t.setAttribute(e,`${"true"!==t.getAttribute(e)}`)}class n9{constructor(t){this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",()=>{this.togglePicker()}),this.label.addEventListener("keydown",t=>{switch(t.key){case"Enter":this.togglePicker();break;case"Escape":this.escape(),t.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}togglePicker(){this.container.classList.toggle("ql-expanded"),n8(this.label,"aria-expanded"),n8(this.options,"aria-hidden")}buildItem(t){let e=document.createElement("span");e.tabIndex="0",e.setAttribute("role","button"),e.classList.add("ql-picker-item");let r=t.getAttribute("value");return r&&e.setAttribute("data-value",r),t.textContent&&e.setAttribute("data-label",t.textContent),e.addEventListener("click",()=>{this.selectItem(e,!0)}),e.addEventListener("keydown",t=>{switch(t.key){case"Enter":this.selectItem(e,!0),t.preventDefault();break;case"Escape":this.escape(),t.preventDefault()}}),e}buildLabel(){let t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML='',t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}buildOptions(){let t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id=`ql-picker-options-${n6}`,n6+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,Array.from(this.select.options).forEach(e=>{let r=this.buildItem(e);t.appendChild(r),!0===e.selected&&this.selectItem(r)}),this.container.appendChild(t)}buildPicker(){Array.from(this.select.attributes).forEach(t=>{this.container.setAttribute(t.name,t.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}escape(){this.close(),setTimeout(()=>this.label.focus(),1)}close(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}selectItem(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.container.querySelector(".ql-selected");t!==r&&(null!=r&&r.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=Array.from(t.parentNode.children).indexOf(t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e&&(this.select.dispatchEvent(new Event("change")),this.close())))}update(){let t;if(this.select.selectedIndex>-1){let e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);let e=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",e)}}let n7=n9;class st extends n7{constructor(t,e){super(t),this.label.innerHTML=e,this.container.classList.add("ql-color-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).slice(0,7).forEach(t=>{t.classList.add("ql-primary")})}buildItem(t){let e=super.buildItem(t);return e.style.backgroundColor=t.getAttribute("value")||"",e}selectItem(t,e){super.selectItem(t,e);let r=this.label.querySelector(".ql-color-label"),i=t&&t.getAttribute("data-value")||"";r&&("line"===r.tagName?r.style.stroke=i:r.style.fill=i)}}class se extends n7{constructor(t,e){super(t),this.container.classList.add("ql-icon-picker"),Array.from(this.container.querySelectorAll(".ql-picker-item")).forEach(t=>{t.innerHTML=e[t.getAttribute("data-value")||""]}),this.defaultItem=this.container.querySelector(".ql-selected"),this.selectItem(this.defaultItem)}selectItem(t,e){super.selectItem(t,e);let r=t||this.defaultItem;if(null!=r){if(this.label.innerHTML===r.innerHTML)return;this.label.innerHTML=r.innerHTML}}}let sr=t=>{let{overflowY:e}=getComputedStyle(t,null);return"visible"!==e&&"clip"!==e};class si{constructor(t,e){this.quill=t,this.boundsContainer=e||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,sr(this.quill.root)&&this.quill.root.addEventListener("scroll",()=>{this.root.style.marginTop=`${-1*this.quill.root.scrollTop}px`}),this.hide()}hide(){this.root.classList.add("ql-hidden")}position(t){let e=t.left+t.width/2-this.root.offsetWidth/2,r=t.bottom+this.quill.root.scrollTop;this.root.style.left=`${e}px`,this.root.style.top=`${r}px`,this.root.classList.remove("ql-flip");let i=this.boundsContainer.getBoundingClientRect(),n=this.root.getBoundingClientRect(),s=0;if(n.right>i.right&&(s=i.right-n.right,this.root.style.left=`${e+s}px`),n.lefti.bottom){let e=n.bottom-n.top,i=t.bottom-t.top+e;this.root.style.top=`${r-i}px`,this.root.classList.add("ql-flip")}return s}show(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}let sn=si,ss=[!1,"center","right","justify"],sl=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],so=[!1,"serif","monospace"],sa=["1","2","3",!1],sc=["small",!1,"large","huge"];class sh extends it{constructor(t,e){super(t,e);let r=e=>{if(!document.body.contains(t.root))return void document.body.removeEventListener("click",r);null==this.tooltip||this.tooltip.root.contains(e.target)||document.activeElement===this.tooltip.textbox||this.quill.hasFocus()||this.tooltip.hide(),null!=this.pickers&&this.pickers.forEach(t=>{t.container.contains(e.target)||t.close()})};t.emitter.listenDOM("click",document.body,r)}addModule(t){let e=super.addModule(t);return"toolbar"===t&&this.extendToolbar(e),e}buildButtons(t,e){Array.from(t).forEach(t=>{(t.getAttribute("class")||"").split(/\s+/).forEach(r=>{if(r.startsWith("ql-")&&null!=e[r=r.slice(3)])if("direction"===r)t.innerHTML=e[r][""]+e[r].rtl;else if("string"==typeof e[r])t.innerHTML=e[r];else{let i=t.value||"";null!=i&&e[r][i]&&(t.innerHTML=e[r][i])}})})}buildPickers(t,e){this.pickers=Array.from(t).map(t=>{if(t.classList.contains("ql-align")&&(null==t.querySelector("option")&&sd(t,ss),"object"==typeof e.align))return new se(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){let r=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&sd(t,sl,"background"===r?"#ffffff":"#000000"),new st(t,e[r])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?sd(t,so):t.classList.contains("ql-header")?sd(t,sa):t.classList.contains("ql-size")&&sd(t,sc)),new n7(t)}),this.quill.on(rW.events.EDITOR_CHANGE,()=>{this.pickers.forEach(t=>{t.update()})})}}sh.DEFAULTS=t2({},it.DEFAULTS,{modules:{toolbar:{handlers:{formula(){this.quill.theme.tooltip.edit("formula")},image(){let t=this.container.querySelector("input.ql-image[type=file]");null==t&&((t=document.createElement("input")).setAttribute("type","file"),t.setAttribute("accept",this.quill.uploader.options.mimetypes.join(", ")),t.classList.add("ql-image"),t.addEventListener("change",()=>{let e=this.quill.getSelection(!0);this.quill.uploader.upload(e,t.files),t.value=""}),this.container.appendChild(t)),t.click()},video(){this.quill.theme.tooltip.edit("video")}}}}});class su extends sn{constructor(t,e){super(t,e),this.textbox=this.root.querySelector('input[type="text"]'),this.listen()}listen(){this.textbox.addEventListener("keydown",t=>{"Enter"===t.key?(this.save(),t.preventDefault()):"Escape"===t.key&&(this.cancel(),t.preventDefault())})}cancel(){this.hide(),this.restoreFocus()}edit(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null==this.textbox)return;null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value="");let r=this.quill.getBounds(this.quill.selection.savedRange);null!=r&&this.position(r),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute(`data-${t}`)||""),this.root.setAttribute("data-mode",t)}restoreFocus(){this.quill.focus({preventScroll:!0})}save(){let{value:t}=this.textbox;switch(this.root.getAttribute("data-mode")){case"link":{let{scrollTop:e}=this.quill.root;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,rW.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,rW.sources.USER)),this.quill.root.scrollTop=e;break}case"video":var e;let r;t=(r=(e=t).match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/))?`${r[1]||"https"}://www.youtube.com/embed/${r[2]}?showinfo=0`:(r=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?`${r[1]||"https"}://player.vimeo.com/video/${r[2]}/`:e;case"formula":{if(!t)break;let e=this.quill.getSelection(!0);if(null!=e){let r=e.index+e.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),t,rW.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",rW.sources.USER),this.quill.setSelection(r+2,rW.sources.USER)}}}this.textbox.value="",this.hide()}}function sd(t,e){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach(e=>{let i=document.createElement("option");e===r?i.setAttribute("selected","selected"):i.setAttribute("value",String(e)),t.appendChild(i)})}let sf=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]];class sp extends su{static TEMPLATE='
    ';constructor(t,e){super(t,e),this.quill.on(rW.events.EDITOR_CHANGE,(t,e,r,i)=>{if(t===rW.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&i===rW.sources.USER){this.show(),this.root.style.left="0px",this.root.style.width="",this.root.style.width=`${this.root.offsetWidth}px`;let t=this.quill.getLines(e.index,e.length);if(1===t.length){let t=this.quill.getBounds(e);null!=t&&this.position(t)}else{let r=t[t.length-1],i=this.quill.getIndex(r),n=Math.min(r.length()-1,e.index+e.length-i),s=this.quill.getBounds(new rG(i,n));null!=s&&this.position(s)}}else document.activeElement!==this.textbox&&this.quill.hasFocus()&&this.hide()})}listen(){super.listen(),this.root.querySelector(".ql-close").addEventListener("click",()=>{this.root.classList.remove("ql-editing")}),this.quill.on(rW.events.SCROLL_OPTIMIZE,()=>{setTimeout(()=>{if(this.root.classList.contains("ql-hidden"))return;let t=this.quill.getSelection();if(null!=t){let e=this.quill.getBounds(t);null!=e&&this.position(e)}},1)})}cancel(){this.show()}position(t){let e=super.position(t),r=this.root.querySelector(".ql-tooltip-arrow");return r.style.marginLeft="",0!==e&&(r.style.marginLeft=`${-1*e-r.offsetWidth/2}px`),e}}class sg extends sh{constructor(t,e){null!=e.modules.toolbar&&null==e.modules.toolbar.container&&(e.modules.toolbar.container=sf),super(t,e),this.quill.container.classList.add("ql-bubble")}extendToolbar(t){this.tooltip=new sp(this.quill,this.options.bounds),null!=t.container&&(this.tooltip.root.appendChild(t.container),this.buildButtons(t.container.querySelectorAll("button"),n3),this.buildPickers(t.container.querySelectorAll("select"),n3))}}sg.DEFAULTS=t2({},sh.DEFAULTS,{modules:{toolbar:{handlers:{link(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1,iu.sources.USER)}}}}});let sm=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]];class sb extends su{static TEMPLATE='';preview=this.root.querySelector("a.ql-preview");listen(){super.listen(),this.root.querySelector("a.ql-action").addEventListener("click",t=>{this.root.classList.contains("ql-editing")?this.save():this.edit("link",this.preview.textContent),t.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",t=>{if(null!=this.linkRange){let t=this.linkRange;this.restoreFocus(),this.quill.formatText(t,"link",!1,rW.sources.USER),delete this.linkRange}t.preventDefault(),this.hide()}),this.quill.on(rW.events.SELECTION_CHANGE,(t,e,r)=>{if(null!=t){if(0===t.length&&r===rW.sources.USER){let[e,r]=this.quill.scroll.descendant(nC,t.index);if(null!=e){this.linkRange=new rG(t.index-r,e.length());let i=nC.formats(e.domNode);this.preview.textContent=i,this.preview.setAttribute("href",i),this.show();let n=this.quill.getBounds(this.linkRange);null!=n&&this.position(n);return}}else delete this.linkRange;this.hide()}})}show(){super.show(),this.root.removeAttribute("data-mode")}}class sy extends sh{constructor(t,e){null!=e.modules.toolbar&&null==e.modules.toolbar.container&&(e.modules.toolbar.container=sm),super(t,e),this.quill.container.classList.add("ql-snow")}extendToolbar(t){null!=t.container&&(t.container.classList.add("ql-snow"),this.buildButtons(t.container.querySelectorAll("button"),n3),this.buildPickers(t.container.querySelectorAll("select"),n3),this.tooltip=new sb(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"k",shortKey:!0},(e,r)=>{t.handlers.link.call(t,!r.format.link)}))}}sy.DEFAULTS=t2({},sh.DEFAULTS,{modules:{toolbar:{handlers:{link(t){if(t){let t=this.quill.getSelection();if(null==t||0===t.length)return;let e=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(e)&&0!==e.indexOf("mailto:")&&(e=`mailto:${e}`);let{tooltip:r}=this.quill.theme;r.edit("link",e)}else this.quill.format("link",!1,iu.sources.USER)}}}}}),iu.register({"attributors/attribute/direction":iD,"attributors/class/align":i_,"attributors/class/background":ij,"attributors/class/color":iS,"attributors/class/direction":iU,"attributors/class/font":iF,"attributors/class/size":iV,"attributors/style/align":iL,"attributors/style/background":iC,"attributors/style/color":iT,"attributors/style/direction":iP,"attributors/style/font":iH,"attributors/style/size":iK},!0),iu.register({"formats/align":i_,"formats/direction":iU,"formats/indent":nq,"formats/background":iC,"formats/color":iT,"formats/font":iF,"formats/size":iV,"formats/blockquote":nk,"formats/code-block":iI,"formats/header":n_,"formats/list":nO,"formats/bold":nT,"formats/code":iM,"formats/italic":nj,"formats/link":nC,"formats/script":nI,"formats/strike":nM,"formats/underline":nB,"formats/formula":nD,"formats/image":nP,"formats/video":nF,"modules/syntax":nZ,"modules/table":n1,"modules/toolbar":n2,"themes/bubble":sg,"themes/snow":sy,"ui/icons":n3,"ui/picker":n7,"ui/icon-picker":se,"ui/color-picker":st,"ui/tooltip":sn},!0);let sv=iu},87311:t=>{function e(t,d,f,p,g){if(t===d)return t?[[0,t]]:[];if(null!=f){var b=function(t,e,r){var i="number"==typeof r?{index:r,length:0}:r.oldRange,n="number"==typeof r?null:r.newRange,s=t.length,l=e.length;if(0===i.length&&(null===n||0===n.length)){var o=i.index,a=t.slice(0,o),c=t.slice(o),h=n?n.index:null;t:{var u=o+l-s;if(null!==h&&h!==u||u<0||u>l)break t;var d=e.slice(0,u),f=e.slice(u);if(f!==c)break t;var p=Math.min(o,u),g=a.slice(0,p),b=d.slice(0,p);if(g!==b)break t;var y=a.slice(p),v=d.slice(p);return m(g,y,v,c)}e:if(null===h||h===o){var d=e.slice(0,o),f=e.slice(o);if(d!==a)break e;var x=Math.min(s-o,l-o),N=c.slice(c.length-x),E=f.slice(f.length-x);if(N!==E)break e;var y=c.slice(0,c.length-x),v=f.slice(0,f.length-x);return m(a,y,v,N)}}if(i.length>0&&n&&0===n.length)r:{var g=t.slice(0,i.index),N=t.slice(i.index+i.length),p=g.length,x=N.length;if(ln.length?t:n,a=t.length>n.length?n:t,c=o.indexOf(a);if(-1!==c)return l=[[1,o.substring(0,c)],[0,a],[1,o.substring(c+a.length)]],t.length>n.length&&(l[0][0]=l[2][0]=-1),l;if(1===a.length)return[[-1,t],[1,n]];var h=function(t,e){var r,n,l,o,a,c=t.length>e.length?t:e,h=t.length>e.length?e:t;if(c.length<4||2*h.length=t.length?[n,l,o,a,u]:null}var d=u(c,h,Math.ceil(c.length/4)),f=u(c,h,Math.ceil(c.length/2));return d||f?(r=f?d&&d[4].length>f[4].length?d:f:d,t.length>e.length?(n=r[0],l=r[1],o=r[2],a=r[3]):(o=r[0],a=r[1],n=r[2],l=r[3]),[n,l,o,a,r[4]]):null}(t,n);if(h){var u=h[0],d=h[1],f=h[2],p=h[3],g=h[4],m=e(u,f),b=e(d,p);return m.concat([[0,g]],b)}return function(t,e){for(var i=t.length,n=e.length,s=Math.ceil((i+n)/2),l=2*s,o=Array(l),a=Array(l),c=0;ci)f+=2;else if(x>n)d+=2;else if(u){var N=s+h-b;if(N>=0&&N=E)return r(t,e,y,x)}}}for(var A=-m+p;A<=m-g;A+=2){for(var E,N=s+A,w=(E=A===-m||A!==m&&a[N-1]i)g+=2;else if(w>n)p+=2;else if(!u){var v=s+h-A;if(v>=0&&v=(E=i-E))return r(t,e,y,x)}}}}return[[-1,t],[1,e]]}(t,n)}(t=t.substring(0,t.length-y),d=d.substring(0,d.length-y));return v&&N.unshift([0,v]),x&&N.push([0,x]),u(N,g),p&&function(t){for(var e=!1,r=[],i=0,d=null,f=0,p=0,g=0,m=0,b=0;f0?r[i-1]:-1,p=0,g=0,m=0,b=0,d=null,e=!0)),f++;for(e&&u(t),function(t){function e(t,e){if(!t||!e)return 6;var r=t.charAt(t.length-1),i=e.charAt(0),n=r.match(l),s=i.match(l),u=n&&r.match(o),d=s&&i.match(o),f=u&&r.match(a),p=d&&i.match(a),g=f&&t.match(c),m=p&&e.match(h);if(g||m)return 5;if(f||p)return 4;if(n&&!u&&d)return 3;if(u||d)return 2;if(n||s)return 1;return 0}for(var r=1;r=b&&(b=y,p=i,g=n,m=u)}t[r-1][1]!=p&&(p?t[r-1][1]=p:(t.splice(r-1,1),r--),t[r][1]=g,m?t[r+1][1]=m:(t.splice(r+1,1),r--))}r++}}(t),f=1;f=N?(x>=y.length/2||x>=v.length/2)&&(t.splice(f,0,[0,v.substring(0,x)]),t[f-1][1]=y.substring(0,y.length-x),t[f+1][1]=v.substring(x),f++):(N>=y.length/2||N>=v.length/2)&&(t.splice(f,0,[0,y.substring(0,N)]),t[f-1][0]=1,t[f-1][1]=v.substring(0,v.length-N),t[f+1][0]=-1,t[f+1][1]=y.substring(N),f++),f++}f++}}(N),N}function r(t,r,i,n){var s=t.substring(0,i),l=r.substring(0,n),o=t.substring(i),a=r.substring(n),c=e(s,l),h=e(o,a);return c.concat(h)}function i(t,e){if(!t||!e||t.charAt(0)!==e.charAt(0))return 0;for(var r=0,i=Math.min(t.length,e.length),n=i,s=0;ri?t=t.substring(r-i):r=0&&g(t[h][1])){var d=t[h][1].slice(-1);if(t[h][1]=t[h][1].slice(0,-1),a=d+a,c=d+c,!t[h][1]){t.splice(h,1),n--;var f=h-1;t[f]&&1===t[f][0]&&(o++,c=t[f][1]+c,f--),t[f]&&-1===t[f][0]&&(l++,a=t[f][1]+a,f--),h=f}}if(p(t[n][1])){var d=t[n][1].charAt(0);t[n][1]=t[n][1].slice(1),a+=d,c+=d}}if(n0||c.length>0){a.length>0&&c.length>0&&(0!==(r=i(c,a))&&(h>=0?t[h][1]+=c.substring(0,r):(t.splice(0,0,[0,c.substring(0,r)]),n++),c=c.substring(r),a=a.substring(r)),0!==(r=s(c,a))&&(t[n][1]=c.substring(c.length-r)+t[n][1],c=c.substring(0,c.length-r),a=a.substring(0,a.length-r)));var m=o+l;0===a.length&&0===c.length?(t.splice(n-m,m),n-=m):0===a.length?(t.splice(n-m,m,[1,c]),n=n-m+1):0===c.length?(t.splice(n-m,m,[-1,a]),n=n-m+1):(t.splice(n-m,m,[-1,a],[1,c]),n=n-m+2)}0!==n&&0===t[n-1][0]?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,o=0,l=0,a="",c=""}}""===t[t.length-1][1]&&t.pop();var b=!1;for(n=1;n=55296&&t<=56319}function f(t){return t>=56320&&t<=57343}function p(t){return f(t.charCodeAt(0))}function g(t){return d(t.charCodeAt(t.length-1))}function m(t,e,r,i){if(g(t)||p(i))return null;for(var n=[[0,t],[-1,e],[1,r],[0,i]],s=[],l=0;l0&&s.push(n[l]);return s}function b(t,r,i,n){return e(t,r,i,n,!0)}b.INSERT=1,b.DELETE=-1,b.EQUAL=0,t.exports=b}}]); \ No newline at end of file diff --git a/.next/static/chunks/7570-f2ace4bd72c56d51.js b/.next/static/chunks/7570-f2ace4bd72c56d51.js new file mode 100644 index 00000000..f289862e --- /dev/null +++ b/.next/static/chunks/7570-f2ace4bd72c56d51.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7570],{4516:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},6101:(e,t,r)=>{r.d(t,{s:()=>s,t:()=>o});var n=r(12115);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{r.d(t,{A:()=>n});let n=(0,r(19946).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},14503:(e,t,r)=>{r.d(t,{dj:()=>f,oR:()=>c});var n=r(12115);let a=0,o=new Map,s=e=>{if(o.has(e))return;let t=setTimeout(()=>{o.delete(e),d({type:"REMOVE_TOAST",toastId:e})},1e6);o.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?s(r):e.toasts.forEach(e=>{s(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},l=[],u={toasts:[]};function d(e){u=i(u,e),l.forEach(e=>{e(u)})}function c(e){let{...t}=e,r=(a=(a+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>d({type:"DISMISS_TOAST",toastId:r});return d({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>d({type:"UPDATE_TOAST",toast:{...e,id:r}})}}function f(){let[e,t]=n.useState(u);return n.useEffect(()=>(l.push(t),()=>{let e=l.indexOf(t);e>-1&&l.splice(e,1)}),[e]),{...e,toast:c,dismiss:e=>d({type:"DISMISS_TOAST",toastId:e})}}},19946:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(12115);let a=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:a=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:u="",children:d,iconNode:c,...f}=e;return(0,n.createElement)("svg",{ref:t,...s,width:a,height:a,stroke:r,strokeWidth:l?24*Number(i)/Number(a):i,className:o("lucide",u),...f},[...c.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),l=(e,t)=>{let r=(0,n.forwardRef)((r,s)=>{let{className:l,...u}=r;return(0,n.createElement)(i,{ref:s,iconNode:t,className:o("lucide-".concat(a(e)),l),...u})});return r.displayName="".concat(e),r}},35695:(e,t,r)=>{var n=r(18999);r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}}),r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},47835:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("Languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]])},53999:(e,t,r)=>{r.d(t,{cn:()=>o});var n=r(52596),a=r(39688);function o(){for(var e=arguments.length,t=Array(e),r=0;r{r.d(t,{A:()=>n});let n=(0,r(19946).A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},70333:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]])},74466:(e,t,r)=>{r.d(t,{F:()=>s});var n=r(52596);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=n.$,s=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:s,defaultVariants:i}=t,l=Object.keys(s).map(e=>{let t=null==r?void 0:r[e],n=null==i?void 0:i[e];if(null===t)return null;let o=a(t)||a(n);return s[e][o]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,l,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...i,...u}[t]):({...i,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},97168:(e,t,r)=>{r.d(t,{$:()=>u,r:()=>l});var n=r(95155),a=r(12115),o=r(99708),s=r(74466),i=r(53999);let l=(0,s.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),u=a.forwardRef((e,t)=>{let{className:r,variant:a,size:s,asChild:u=!1,...d}=e,c=u?o.DX:"button";return(0,n.jsx)(c,{className:(0,i.cn)(l({variant:a,size:s,className:r})),ref:t,...d})});u.displayName="Button"},99708:(e,t,r)=>{r.d(t,{DX:()=>s});var n=r(12115),a=r(6101),o=r(95155),s=n.forwardRef((e,t)=>{let{children:r,...a}=e,s=n.Children.toArray(r),l=s.find(u);if(l){let e=l.props.children,r=s.map(t=>t!==l?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(i,{...a,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,o.jsx)(i,{...a,ref:t,children:r})});s.displayName="Slot";var i=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(r),s=function(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...e)=>{o(...e),a(...e)}:a&&(r[n]=a):"style"===n?r[n]={...a,...o}:"className"===n&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(s.ref=t?(0,a.t)(t,e):e),n.cloneElement(r,s)}return n.Children.count(r)>1?n.Children.only(null):null});i.displayName="SlotClone";var l=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function u(e){return n.isValidElement(e)&&e.type===l}},99890:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("File",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]])}}]); \ No newline at end of file diff --git a/.next/static/chunks/8067-50b1a9724ff35d36.js b/.next/static/chunks/8067-50b1a9724ff35d36.js new file mode 100644 index 00000000..14ec2279 --- /dev/null +++ b/.next/static/chunks/8067-50b1a9724ff35d36.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8067],{9428:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},13052:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},73447:(e,t,r)=>{r.d(t,{H_:()=>tq,UC:()=>tW,YJ:()=>tz,q7:()=>tY,VF:()=>t$,JU:()=>tV,ZL:()=>tH,z6:()=>tZ,hN:()=>tJ,bL:()=>tG,wv:()=>tQ,Pb:()=>t0,G5:()=>t5,ZP:()=>t1,l9:()=>tX});var n,o=r(12115),a=r(85185),l=r(6101),i=r(46081),u=r(5845),s=r(47650),d=r(99708),c=r(95155),f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=o.forwardRef((e,r)=>{let{asChild:n,...o}=e,a=n?d.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,c.jsx)(a,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function p(e,t){e&&s.flushSync(()=>e.dispatchEvent(t))}function v(e){let t=e+"CollectionProvider",[r,n]=(0,i.A)(t),[a,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:r}=e,n=o.useRef(null),l=o.useRef(new Map).current;return(0,c.jsx)(a,{scope:t,itemMap:l,collectionRef:n,children:r})};s.displayName=t;let f=e+"CollectionSlot",p=o.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=u(f,r),a=(0,l.s)(t,o.collectionRef);return(0,c.jsx)(d.DX,{ref:a,children:n})});p.displayName=f;let v=e+"CollectionItemSlot",m="data-radix-collection-item",h=o.forwardRef((e,t)=>{let{scope:r,children:n,...a}=e,i=o.useRef(null),s=(0,l.s)(t,i),f=u(v,r);return o.useEffect(()=>(f.itemMap.set(i,{ref:i,...a}),()=>void f.itemMap.delete(i))),(0,c.jsx)(d.DX,{...{[m]:""},ref:s,children:n})});return h.displayName=v,[{Provider:s,Slot:p,ItemSlot:h},function(t){let r=u(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}var m=r(94315),h=r(39033),g=r(51595),w="dismissableLayer.update",y=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),x=o.forwardRef((e,t)=>{var r,i;let{disableOutsidePointerEvents:u=!1,onEscapeKeyDown:s,onPointerDownOutside:d,onFocusOutside:p,onInteractOutside:v,onDismiss:m,...x}=e,E=o.useContext(y),[R,j]=o.useState(null),D=null!=(i=null==R?void 0:R.ownerDocument)?i:null==(r=globalThis)?void 0:r.document,[,M]=o.useState({}),P=(0,l.s)(t,e=>j(e)),S=Array.from(E.layers),[A]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),N=S.indexOf(A),k=R?S.indexOf(R):-1,I=E.layersWithOutsidePointerEventsDisabled.size>0,_=k>=N,T=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=(0,h.c)(e),a=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!a.current){let t=function(){C("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(r.removeEventListener("click",l.current),l.current=t,r.addEventListener("click",l.current,{once:!0})):t()}else r.removeEventListener("click",l.current);a.current=!1},t=window.setTimeout(()=>{r.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),r.removeEventListener("pointerdown",e),r.removeEventListener("click",l.current)}},[r,n]),{onPointerDownCapture:()=>a.current=!0}}(e=>{let t=e.target,r=[...E.branches].some(e=>e.contains(t));_&&!r&&(null==d||d(e),null==v||v(e),e.defaultPrevented||null==m||m())},D),L=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,n=(0,h.c)(e),a=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!a.current&&C("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return r.addEventListener("focusin",e),()=>r.removeEventListener("focusin",e)},[r,n]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}(e=>{let t=e.target;![...E.branches].some(e=>e.contains(t))&&(null==p||p(e),null==v||v(e),e.defaultPrevented||null==m||m())},D);return(0,g.U)(e=>{k===E.layers.size-1&&(null==s||s(e),!e.defaultPrevented&&m&&(e.preventDefault(),m()))},D),o.useEffect(()=>{if(R)return u&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(n=D.body.style.pointerEvents,D.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(R)),E.layers.add(R),b(),()=>{u&&1===E.layersWithOutsidePointerEventsDisabled.size&&(D.body.style.pointerEvents=n)}},[R,D,u,E]),o.useEffect(()=>()=>{R&&(E.layers.delete(R),E.layersWithOutsidePointerEventsDisabled.delete(R),b())},[R,E]),o.useEffect(()=>{let e=()=>M({});return document.addEventListener(w,e),()=>document.removeEventListener(w,e)},[]),(0,c.jsx)(f.div,{...x,ref:P,style:{pointerEvents:I?_?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.m)(e.onFocusCapture,L.onFocusCapture),onBlurCapture:(0,a.m)(e.onBlurCapture,L.onBlurCapture),onPointerDownCapture:(0,a.m)(e.onPointerDownCapture,T.onPointerDownCapture)})});function b(){let e=new CustomEvent(w);document.dispatchEvent(e)}function C(e,t,r,n){let{discrete:o}=n,a=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),o?p(a,l):a.dispatchEvent(l)}x.displayName="DismissableLayer",o.forwardRef((e,t)=>{let r=o.useContext(y),n=o.useRef(null),a=(0,l.s)(t,n);return o.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,c.jsx)(f.div,{...e,ref:a})}).displayName="DismissableLayerBranch";var E=r(92293),R="focusScope.autoFocusOnMount",j="focusScope.autoFocusOnUnmount",D={bubbles:!1,cancelable:!0},M=o.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...u}=e,[s,d]=o.useState(null),p=(0,h.c)(a),v=(0,h.c)(i),m=o.useRef(null),g=(0,l.s)(t,e=>d(e)),w=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(n){let e=function(e){if(w.paused||!s)return;let t=e.target;s.contains(t)?m.current=t:A(m.current,{select:!0})},t=function(e){if(w.paused||!s)return;let t=e.relatedTarget;null!==t&&(s.contains(t)||A(m.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&A(s)});return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,s,w.paused]),o.useEffect(()=>{if(s){N.add(w);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(R,D);s.addEventListener(R,p),s.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.activeElement;for(let n of e)if(A(n,{select:t}),document.activeElement!==r)return}(P(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&A(s))}return()=>{s.removeEventListener(R,p),setTimeout(()=>{let t=new CustomEvent(j,D);s.addEventListener(j,v),s.dispatchEvent(t),t.defaultPrevented||A(null!=e?e:document.body,{select:!0}),s.removeEventListener(j,v),N.remove(w)},0)}}},[s,p,v,w]);let y=o.useCallback(e=>{if(!r&&!n||w.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[n,a]=function(e){let t=P(e);return[S(t,e),S(t.reverse(),e)]}(t);n&&a?e.shiftKey||o!==a?e.shiftKey&&o===n&&(e.preventDefault(),r&&A(a,{select:!0})):(e.preventDefault(),r&&A(n,{select:!0})):o===t&&e.preventDefault()}},[r,n,w.paused]);return(0,c.jsx)(f.div,{tabIndex:-1,...u,ref:g,onKeyDown:y})});function P(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function S(e,t){for(let r of e)if(!function(e,t){let{upTo:r}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===r||e!==r);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function A(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}M.displayName="FocusScope";var N=function(){let e=[];return{add(t){let r=e[0];t!==r&&(null==r||r.pause()),(e=k(e,t)).unshift(t)},remove(t){var r;null==(r=(e=k(e,t))[0])||r.resume()}}}();function k(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var I=r(61285),_=r(84945),T=r(76492),L=o.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...a}=e;return(0,c.jsx)(f.svg,{...a,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,c.jsx)("polygon",{points:"0,0 30,0 15,10"})})});L.displayName="Arrow";var O=r(52712),F=r(11275),K="Popper",[B,U]=(0,i.A)(K),[G,X]=B(K),H=e=>{let{__scopePopper:t,children:r}=e,[n,a]=o.useState(null);return(0,c.jsx)(G,{scope:t,anchor:n,onAnchorChange:a,children:r})};H.displayName=K;var W="PopperAnchor",z=o.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...a}=e,i=X(W,r),u=o.useRef(null),s=(0,l.s)(t,u);return o.useEffect(()=>{i.onAnchorChange((null==n?void 0:n.current)||u.current)}),n?null:(0,c.jsx)(f.div,{...a,ref:s})});z.displayName=W;var V="PopperContent",[Y,q]=B(V),Z=o.forwardRef((e,t)=>{var r,n,a,i,u,s,d,p;let{__scopePopper:v,side:m="bottom",sideOffset:g=0,align:w="center",alignOffset:y=0,arrowPadding:x=0,avoidCollisions:b=!0,collisionBoundary:C=[],collisionPadding:E=0,sticky:R="partial",hideWhenDetached:j=!1,updatePositionStrategy:D="optimized",onPlaced:M,...P}=e,S=X(V,v),[A,N]=o.useState(null),k=(0,l.s)(t,e=>N(e)),[I,L]=o.useState(null),K=(0,F.X)(I),B=null!=(d=null==K?void 0:K.width)?d:0,U=null!=(p=null==K?void 0:K.height)?p:0,G="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},H=Array.isArray(C)?C:[C],W=H.length>0,z={padding:G,boundary:H.filter(ee),altBoundary:W},{refs:q,floatingStyles:Z,placement:J,isPositioned:$,middlewareData:Q}=(0,_.we)({strategy:"fixed",placement:m+("center"!==w?"-"+w:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r{let{elements:t,rects:r,availableWidth:n,availableHeight:o}=e,{width:a,height:l}=r.reference,i=t.floating.style;i.setProperty("--radix-popper-available-width","".concat(n,"px")),i.setProperty("--radix-popper-available-height","".concat(o,"px")),i.setProperty("--radix-popper-anchor-width","".concat(a,"px")),i.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),I&&(0,_.UE)({element:I,padding:x}),et({arrowWidth:B,arrowHeight:U}),j&&(0,_.jD)({strategy:"referenceHidden",...z})]}),[en,eo]=er(J),ea=(0,h.c)(M);(0,O.N)(()=>{$&&(null==ea||ea())},[$,ea]);let el=null==(r=Q.arrow)?void 0:r.x,ei=null==(n=Q.arrow)?void 0:n.y,eu=(null==(a=Q.arrow)?void 0:a.centerOffset)!==0,[es,ed]=o.useState();return(0,O.N)(()=>{A&&ed(window.getComputedStyle(A).zIndex)},[A]),(0,c.jsx)("div",{ref:q.setFloating,"data-radix-popper-content-wrapper":"",style:{...Z,transform:$?Z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:es,"--radix-popper-transform-origin":[null==(i=Q.transformOrigin)?void 0:i.x,null==(u=Q.transformOrigin)?void 0:u.y].join(" "),...(null==(s=Q.hide)?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,c.jsx)(Y,{scope:v,placedSide:en,onArrowChange:L,arrowX:el,arrowY:ei,shouldHideArrow:eu,children:(0,c.jsx)(f.div,{"data-side":en,"data-align":eo,...P,ref:k,style:{...P.style,animation:$?void 0:"none"}})})})});Z.displayName=V;var J="PopperArrow",$={top:"bottom",right:"left",bottom:"top",left:"right"},Q=o.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=q(J,r),a=$[o.placedSide];return(0,c.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,c.jsx)(L,{...n,ref:t,style:{...n.style,display:"block"}})})});function ee(e){return null!==e}Q.displayName=J;var et=e=>({name:"transformOrigin",options:e,fn(t){var r,n,o,a,l;let{placement:i,rects:u,middlewareData:s}=t,d=(null==(r=s.arrow)?void 0:r.centerOffset)!==0,c=d?0:e.arrowWidth,f=d?0:e.arrowHeight,[p,v]=er(i),m={start:"0%",center:"50%",end:"100%"}[v],h=(null!=(a=null==(n=s.arrow)?void 0:n.x)?a:0)+c/2,g=(null!=(l=null==(o=s.arrow)?void 0:o.y)?l:0)+f/2,w="",y="";return"bottom"===p?(w=d?m:"".concat(h,"px"),y="".concat(-f,"px")):"top"===p?(w=d?m:"".concat(h,"px"),y="".concat(u.floating.height+f,"px")):"right"===p?(w="".concat(-f,"px"),y=d?m:"".concat(g,"px")):"left"===p&&(w="".concat(u.floating.width+f,"px"),y=d?m:"".concat(g,"px")),{data:{x:w,y}}}});function er(e){let[t,r="center"]=e.split("-");return[t,r]}var en=o.forwardRef((e,t)=>{var r,n;let{container:a,...l}=e,[i,u]=o.useState(!1);(0,O.N)(()=>u(!0),[]);let d=a||i&&(null==(n=globalThis)||null==(r=n.document)?void 0:r.body);return d?s.createPortal((0,c.jsx)(f.div,{...l,ref:t}),d):null});en.displayName="Portal";var eo=r(28905),ea="rovingFocusGroup.onEntryFocus",el={bubbles:!1,cancelable:!0},ei="RovingFocusGroup",[eu,es,ed]=v(ei),[ec,ef]=(0,i.A)(ei,[ed]),[ep,ev]=ec(ei),em=o.forwardRef((e,t)=>(0,c.jsx)(eu.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,c.jsx)(eu.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,c.jsx)(eh,{...e,ref:t})})}));em.displayName=ei;var eh=o.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:n,loop:i=!1,dir:s,currentTabStopId:d,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:v,onEntryFocus:g,preventScrollOnEntryFocus:w=!1,...y}=e,x=o.useRef(null),b=(0,l.s)(t,x),C=(0,m.jH)(s),[E=null,R]=(0,u.i)({prop:d,defaultProp:p,onChange:v}),[j,D]=o.useState(!1),M=(0,h.c)(g),P=es(r),S=o.useRef(!1),[A,N]=o.useState(0);return o.useEffect(()=>{let e=x.current;if(e)return e.addEventListener(ea,M),()=>e.removeEventListener(ea,M)},[M]),(0,c.jsx)(ep,{scope:r,orientation:n,dir:C,loop:i,currentTabStopId:E,onItemFocus:o.useCallback(e=>R(e),[R]),onItemShiftTab:o.useCallback(()=>D(!0),[]),onFocusableItemAdd:o.useCallback(()=>N(e=>e+1),[]),onFocusableItemRemove:o.useCallback(()=>N(e=>e-1),[]),children:(0,c.jsx)(f.div,{tabIndex:j||0===A?-1:0,"data-orientation":n,...y,ref:b,style:{outline:"none",...e.style},onMouseDown:(0,a.m)(e.onMouseDown,()=>{S.current=!0}),onFocus:(0,a.m)(e.onFocus,e=>{let t=!S.current;if(e.target===e.currentTarget&&t&&!j){let t=new CustomEvent(ea,el);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=P().filter(e=>e.focusable);ex([e.find(e=>e.active),e.find(e=>e.id===E),...e].filter(Boolean).map(e=>e.ref.current),w)}}S.current=!1}),onBlur:(0,a.m)(e.onBlur,()=>D(!1))})})}),eg="RovingFocusGroupItem",ew=o.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:n=!0,active:l=!1,tabStopId:i,...u}=e,s=(0,I.B)(),d=i||s,p=ev(eg,r),v=p.currentTabStopId===d,m=es(r),{onFocusableItemAdd:h,onFocusableItemRemove:g}=p;return o.useEffect(()=>{if(n)return h(),()=>g()},[n,h,g]),(0,c.jsx)(eu.ItemSlot,{scope:r,id:d,focusable:n,active:l,children:(0,c.jsx)(f.span,{tabIndex:v?0:-1,"data-orientation":p.orientation,...u,ref:t,onMouseDown:(0,a.m)(e.onMouseDown,e=>{n?p.onItemFocus(d):e.preventDefault()}),onFocus:(0,a.m)(e.onFocus,()=>p.onItemFocus(d)),onKeyDown:(0,a.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return ey[o]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=m().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=p.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>ex(r))}})})})});ew.displayName=eg;var ey={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ex(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var eb=r(38168),eC=r(31114),eE=["Enter"," "],eR=["ArrowUp","PageDown","End"],ej=["ArrowDown","PageUp","Home",...eR],eD={ltr:[...eE,"ArrowRight"],rtl:[...eE,"ArrowLeft"]},eM={ltr:["ArrowLeft"],rtl:["ArrowRight"]},eP="Menu",[eS,eA,eN]=v(eP),[ek,eI]=(0,i.A)(eP,[eN,U,ef]),e_=U(),eT=ef(),[eL,eO]=ek(eP),[eF,eK]=ek(eP),eB=e=>{let{__scopeMenu:t,open:r=!1,children:n,dir:a,onOpenChange:l,modal:i=!0}=e,u=e_(t),[s,d]=o.useState(null),f=o.useRef(!1),p=(0,h.c)(l),v=(0,m.jH)(a);return o.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,c.jsx)(H,{...u,children:(0,c.jsx)(eL,{scope:t,open:r,onOpenChange:p,content:s,onContentChange:d,children:(0,c.jsx)(eF,{scope:t,onClose:o.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:v,modal:i,children:n})})})};eB.displayName=eP;var eU=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=e_(r);return(0,c.jsx)(z,{...o,...n,ref:t})});eU.displayName="MenuAnchor";var eG="MenuPortal",[eX,eH]=ek(eG,{forceMount:void 0}),eW=e=>{let{__scopeMenu:t,forceMount:r,children:n,container:o}=e,a=eO(eG,t);return(0,c.jsx)(eX,{scope:t,forceMount:r,children:(0,c.jsx)(eo.C,{present:r||a.open,children:(0,c.jsx)(en,{asChild:!0,container:o,children:n})})})};eW.displayName=eG;var ez="MenuContent",[eV,eY]=ek(ez),eq=o.forwardRef((e,t)=>{let r=eH(ez,e.__scopeMenu),{forceMount:n=r.forceMount,...o}=e,a=eO(ez,e.__scopeMenu),l=eK(ez,e.__scopeMenu);return(0,c.jsx)(eS.Provider,{scope:e.__scopeMenu,children:(0,c.jsx)(eo.C,{present:n||a.open,children:(0,c.jsx)(eS.Slot,{scope:e.__scopeMenu,children:l.modal?(0,c.jsx)(eZ,{...o,ref:t}):(0,c.jsx)(eJ,{...o,ref:t})})})})}),eZ=o.forwardRef((e,t)=>{let r=eO(ez,e.__scopeMenu),n=o.useRef(null),i=(0,l.s)(t,n);return o.useEffect(()=>{let e=n.current;if(e)return(0,eb.Eq)(e)},[]),(0,c.jsx)(e$,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,a.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),eJ=o.forwardRef((e,t)=>{let r=eO(ez,e.__scopeMenu);return(0,c.jsx)(e$,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),e$=o.forwardRef((e,t)=>{let{__scopeMenu:r,loop:n=!1,trapFocus:i,onOpenAutoFocus:u,onCloseAutoFocus:s,disableOutsidePointerEvents:f,onEntryFocus:p,onEscapeKeyDown:v,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:g,onDismiss:w,disableOutsideScroll:y,...b}=e,C=eO(ez,r),R=eK(ez,r),j=e_(r),D=eT(r),P=eA(r),[S,A]=o.useState(null),N=o.useRef(null),k=(0,l.s)(t,N,C.onContentChange),I=o.useRef(0),_=o.useRef(""),T=o.useRef(0),L=o.useRef(null),O=o.useRef("right"),F=o.useRef(0),K=y?eC.A:o.Fragment,B=y?{as:d.DX,allowPinchZoom:!0}:void 0,U=e=>{var t,r;let n=_.current+e,o=P().filter(e=>!e.disabled),a=document.activeElement,l=null==(t=o.find(e=>e.ref.current===a))?void 0:t.textValue,i=function(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=r?e.indexOf(r):-1,l=(n=Math.max(a,0),e.map((t,r)=>e[(n+r)%e.length]));1===o.length&&(l=l.filter(e=>e!==r));let i=l.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return i!==r?i:void 0}(o.map(e=>e.textValue),n,l),u=null==(r=o.find(e=>e.textValue===i))?void 0:r.ref.current;!function e(t){_.current=t,window.clearTimeout(I.current),""!==t&&(I.current=window.setTimeout(()=>e(""),1e3))}(n),u&&setTimeout(()=>u.focus())};o.useEffect(()=>()=>window.clearTimeout(I.current),[]),(0,E.Oh)();let G=o.useCallback(e=>{var t,r;return O.current===(null==(t=L.current)?void 0:t.side)&&function(e,t){return!!t&&function(e,t){let{x:r,y:n}=e,o=!1;for(let e=0,a=t.length-1;en!=s>n&&r<(u-l)*(n-i)/(s-i)+l&&(o=!o)}return o}({x:e.clientX,y:e.clientY},t)}(e,null==(r=L.current)?void 0:r.area)},[]);return(0,c.jsx)(eV,{scope:r,searchRef:_,onItemEnter:o.useCallback(e=>{G(e)&&e.preventDefault()},[G]),onItemLeave:o.useCallback(e=>{var t;G(e)||(null==(t=N.current)||t.focus(),A(null))},[G]),onTriggerLeave:o.useCallback(e=>{G(e)&&e.preventDefault()},[G]),pointerGraceTimerRef:T,onPointerGraceIntentChange:o.useCallback(e=>{L.current=e},[]),children:(0,c.jsx)(K,{...B,children:(0,c.jsx)(M,{asChild:!0,trapped:i,onMountAutoFocus:(0,a.m)(u,e=>{var t;e.preventDefault(),null==(t=N.current)||t.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,c.jsx)(x,{asChild:!0,disableOutsidePointerEvents:f,onEscapeKeyDown:v,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:g,onDismiss:w,children:(0,c.jsx)(em,{asChild:!0,...D,dir:R.dir,orientation:"vertical",loop:n,currentTabStopId:S,onCurrentTabStopIdChange:A,onEntryFocus:(0,a.m)(p,e=>{R.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,c.jsx)(Z,{role:"menu","aria-orientation":"vertical","data-state":th(C.open),"data-radix-menu-content":"",dir:R.dir,...j,...b,ref:k,style:{outline:"none",...b.style},onKeyDown:(0,a.m)(b.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!r&&n&&U(e.key));let o=N.current;if(e.target!==o||!ej.includes(e.key))return;e.preventDefault();let a=P().filter(e=>!e.disabled).map(e=>e.ref.current);eR.includes(e.key)&&a.reverse(),function(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}(a)}),onBlur:(0,a.m)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(I.current),_.current="")}),onPointerMove:(0,a.m)(e.onPointerMove,ty(e=>{let t=e.target,r=F.current!==e.clientX;e.currentTarget.contains(t)&&r&&(O.current=e.clientX>F.current?"right":"left",F.current=e.clientX)}))})})})})})})});eq.displayName=ez;var eQ=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,c.jsx)(f.div,{role:"group",...n,ref:t})});eQ.displayName="MenuGroup";var e0=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,c.jsx)(f.div,{...n,ref:t})});e0.displayName="MenuLabel";var e1="MenuItem",e5="menu.itemSelect",e9=o.forwardRef((e,t)=>{let{disabled:r=!1,onSelect:n,...i}=e,u=o.useRef(null),s=eK(e1,e.__scopeMenu),d=eY(e1,e.__scopeMenu),f=(0,l.s)(t,u),v=o.useRef(!1);return(0,c.jsx)(e2,{...i,ref:f,disabled:r,onClick:(0,a.m)(e.onClick,()=>{let e=u.current;if(!r&&e){let t=new CustomEvent(e5,{bubbles:!0,cancelable:!0});e.addEventListener(e5,e=>null==n?void 0:n(e),{once:!0}),p(e,t),t.defaultPrevented?v.current=!1:s.onClose()}}),onPointerDown:t=>{var r;null==(r=e.onPointerDown)||r.call(e,t),v.current=!0},onPointerUp:(0,a.m)(e.onPointerUp,e=>{var t;v.current||null==(t=e.currentTarget)||t.click()}),onKeyDown:(0,a.m)(e.onKeyDown,e=>{let t=""!==d.searchRef.current;r||t&&" "===e.key||eE.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});e9.displayName=e1;var e2=o.forwardRef((e,t)=>{let{__scopeMenu:r,disabled:n=!1,textValue:i,...u}=e,s=eY(e1,r),d=eT(r),p=o.useRef(null),v=(0,l.s)(t,p),[m,h]=o.useState(!1),[g,w]=o.useState("");return o.useEffect(()=>{let e=p.current;if(e){var t;w((null!=(t=e.textContent)?t:"").trim())}},[u.children]),(0,c.jsx)(eS.ItemSlot,{scope:r,disabled:n,textValue:null!=i?i:g,children:(0,c.jsx)(ew,{asChild:!0,...d,focusable:!n,children:(0,c.jsx)(f.div,{role:"menuitem","data-highlighted":m?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...u,ref:v,onPointerMove:(0,a.m)(e.onPointerMove,ty(e=>{n?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,a.m)(e.onPointerLeave,ty(e=>s.onItemLeave(e))),onFocus:(0,a.m)(e.onFocus,()=>h(!0)),onBlur:(0,a.m)(e.onBlur,()=>h(!1))})})})}),e3=o.forwardRef((e,t)=>{let{checked:r=!1,onCheckedChange:n,...o}=e;return(0,c.jsx)(tn,{scope:e.__scopeMenu,checked:r,children:(0,c.jsx)(e9,{role:"menuitemcheckbox","aria-checked":tg(r)?"mixed":r,...o,ref:t,"data-state":tw(r),onSelect:(0,a.m)(o.onSelect,()=>null==n?void 0:n(!!tg(r)||!r),{checkForDefaultPrevented:!1})})})});e3.displayName="MenuCheckboxItem";var e6="MenuRadioGroup",[e8,e4]=ek(e6,{value:void 0,onValueChange:()=>{}}),e7=o.forwardRef((e,t)=>{let{value:r,onValueChange:n,...o}=e,a=(0,h.c)(n);return(0,c.jsx)(e8,{scope:e.__scopeMenu,value:r,onValueChange:a,children:(0,c.jsx)(eQ,{...o,ref:t})})});e7.displayName=e6;var te="MenuRadioItem",tt=o.forwardRef((e,t)=>{let{value:r,...n}=e,o=e4(te,e.__scopeMenu),l=r===o.value;return(0,c.jsx)(tn,{scope:e.__scopeMenu,checked:l,children:(0,c.jsx)(e9,{role:"menuitemradio","aria-checked":l,...n,ref:t,"data-state":tw(l),onSelect:(0,a.m)(n.onSelect,()=>{var e;return null==(e=o.onValueChange)?void 0:e.call(o,r)},{checkForDefaultPrevented:!1})})})});tt.displayName=te;var tr="MenuItemIndicator",[tn,to]=ek(tr,{checked:!1}),ta=o.forwardRef((e,t)=>{let{__scopeMenu:r,forceMount:n,...o}=e,a=to(tr,r);return(0,c.jsx)(eo.C,{present:n||tg(a.checked)||!0===a.checked,children:(0,c.jsx)(f.span,{...o,ref:t,"data-state":tw(a.checked)})})});ta.displayName=tr;var tl=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e;return(0,c.jsx)(f.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});tl.displayName="MenuSeparator";var ti=o.forwardRef((e,t)=>{let{__scopeMenu:r,...n}=e,o=e_(r);return(0,c.jsx)(Q,{...o,...n,ref:t})});ti.displayName="MenuArrow";var tu="MenuSub",[ts,td]=ek(tu),tc=e=>{let{__scopeMenu:t,children:r,open:n=!1,onOpenChange:a}=e,l=eO(tu,t),i=e_(t),[u,s]=o.useState(null),[d,f]=o.useState(null),p=(0,h.c)(a);return o.useEffect(()=>(!1===l.open&&p(!1),()=>p(!1)),[l.open,p]),(0,c.jsx)(H,{...i,children:(0,c.jsx)(eL,{scope:t,open:n,onOpenChange:p,content:d,onContentChange:f,children:(0,c.jsx)(ts,{scope:t,contentId:(0,I.B)(),triggerId:(0,I.B)(),trigger:u,onTriggerChange:s,children:r})})})};tc.displayName=tu;var tf="MenuSubTrigger",tp=o.forwardRef((e,t)=>{let r=eO(tf,e.__scopeMenu),n=eK(tf,e.__scopeMenu),i=td(tf,e.__scopeMenu),u=eY(tf,e.__scopeMenu),s=o.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:f}=u,p={__scopeMenu:e.__scopeMenu},v=o.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return o.useEffect(()=>v,[v]),o.useEffect(()=>{let e=d.current;return()=>{window.clearTimeout(e),f(null)}},[d,f]),(0,c.jsx)(eU,{asChild:!0,...p,children:(0,c.jsx)(e2,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":i.contentId,"data-state":th(r.open),...e,ref:(0,l.t)(t,i.onTriggerChange),onClick:t=>{var n;null==(n=e.onClick)||n.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:(0,a.m)(e.onPointerMove,ty(t=>{u.onItemEnter(t),!t.defaultPrevented&&(e.disabled||r.open||s.current||(u.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{r.onOpenChange(!0),v()},100)))})),onPointerLeave:(0,a.m)(e.onPointerLeave,ty(e=>{var t,n;v();let o=null==(t=r.content)?void 0:t.getBoundingClientRect();if(o){let t=null==(n=r.content)?void 0:n.dataset.side,a="right"===t,l=o[a?"left":"right"],i=o[a?"right":"left"];u.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:l,y:o.top},{x:i,y:o.top},{x:i,y:o.bottom},{x:l,y:o.bottom}],side:t}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(e),e.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:(0,a.m)(e.onKeyDown,t=>{let o=""!==u.searchRef.current;if(!e.disabled&&(!o||" "!==t.key)&&eD[n.dir].includes(t.key)){var a;r.onOpenChange(!0),null==(a=r.content)||a.focus(),t.preventDefault()}})})})});tp.displayName=tf;var tv="MenuSubContent",tm=o.forwardRef((e,t)=>{let r=eH(ez,e.__scopeMenu),{forceMount:n=r.forceMount,...i}=e,u=eO(ez,e.__scopeMenu),s=eK(ez,e.__scopeMenu),d=td(tv,e.__scopeMenu),f=o.useRef(null),p=(0,l.s)(t,f);return(0,c.jsx)(eS.Provider,{scope:e.__scopeMenu,children:(0,c.jsx)(eo.C,{present:n||u.open,children:(0,c.jsx)(eS.Slot,{scope:e.__scopeMenu,children:(0,c.jsx)(e$,{id:d.contentId,"aria-labelledby":d.triggerId,...i,ref:p,align:"start",side:"rtl"===s.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;s.isUsingKeyboardRef.current&&(null==(t=f.current)||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,a.m)(e.onFocusOutside,e=>{e.target!==d.trigger&&u.onOpenChange(!1)}),onEscapeKeyDown:(0,a.m)(e.onEscapeKeyDown,e=>{s.onClose(),e.preventDefault()}),onKeyDown:(0,a.m)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),r=eM[s.dir].includes(e.key);if(t&&r){var n;u.onOpenChange(!1),null==(n=d.trigger)||n.focus(),e.preventDefault()}})})})})})});function th(e){return e?"open":"closed"}function tg(e){return"indeterminate"===e}function tw(e){return tg(e)?"indeterminate":e?"checked":"unchecked"}function ty(e){return t=>"mouse"===t.pointerType?e(t):void 0}tm.displayName=tv;var tx="DropdownMenu",[tb,tC]=(0,i.A)(tx,[eI]),tE=eI(),[tR,tj]=tb(tx),tD=e=>{let{__scopeDropdownMenu:t,children:r,dir:n,open:a,defaultOpen:l,onOpenChange:i,modal:s=!0}=e,d=tE(t),f=o.useRef(null),[p=!1,v]=(0,u.i)({prop:a,defaultProp:l,onChange:i});return(0,c.jsx)(tR,{scope:t,triggerId:(0,I.B)(),triggerRef:f,contentId:(0,I.B)(),open:p,onOpenChange:v,onOpenToggle:o.useCallback(()=>v(e=>!e),[v]),modal:s,children:(0,c.jsx)(eB,{...d,open:p,onOpenChange:v,dir:n,modal:s,children:r})})};tD.displayName=tx;var tM="DropdownMenuTrigger",tP=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,disabled:n=!1,...o}=e,i=tj(tM,r),u=tE(r);return(0,c.jsx)(eU,{asChild:!0,...u,children:(0,c.jsx)(f.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...o,ref:(0,l.t)(t,i.triggerRef),onPointerDown:(0,a.m)(e.onPointerDown,e=>{!n&&0===e.button&&!1===e.ctrlKey&&(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:(0,a.m)(e.onKeyDown,e=>{!n&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});tP.displayName=tM;var tS=e=>{let{__scopeDropdownMenu:t,...r}=e,n=tE(t);return(0,c.jsx)(eW,{...n,...r})};tS.displayName="DropdownMenuPortal";var tA="DropdownMenuContent",tN=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,l=tj(tA,r),i=tE(r),u=o.useRef(!1);return(0,c.jsx)(eq,{id:l.contentId,"aria-labelledby":l.triggerId,...i,...n,ref:t,onCloseAutoFocus:(0,a.m)(e.onCloseAutoFocus,e=>{var t;u.current||null==(t=l.triggerRef.current)||t.focus(),u.current=!1,e.preventDefault()}),onInteractOutside:(0,a.m)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;(!l.modal||n)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});tN.displayName=tA;var tk=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=tE(r);return(0,c.jsx)(eQ,{...o,...n,ref:t})});tk.displayName="DropdownMenuGroup";var tI=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=tE(r);return(0,c.jsx)(e0,{...o,...n,ref:t})});tI.displayName="DropdownMenuLabel";var t_=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=tE(r);return(0,c.jsx)(e9,{...o,...n,ref:t})});t_.displayName="DropdownMenuItem";var tT=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=tE(r);return(0,c.jsx)(e3,{...o,...n,ref:t})});tT.displayName="DropdownMenuCheckboxItem";var tL=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=tE(r);return(0,c.jsx)(e7,{...o,...n,ref:t})});tL.displayName="DropdownMenuRadioGroup";var tO=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=tE(r);return(0,c.jsx)(tt,{...o,...n,ref:t})});tO.displayName="DropdownMenuRadioItem";var tF=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=tE(r);return(0,c.jsx)(ta,{...o,...n,ref:t})});tF.displayName="DropdownMenuItemIndicator";var tK=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=tE(r);return(0,c.jsx)(tl,{...o,...n,ref:t})});tK.displayName="DropdownMenuSeparator",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=tE(r);return(0,c.jsx)(ti,{...o,...n,ref:t})}).displayName="DropdownMenuArrow";var tB=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=tE(r);return(0,c.jsx)(tp,{...o,...n,ref:t})});tB.displayName="DropdownMenuSubTrigger";var tU=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:r,...n}=e,o=tE(r);return(0,c.jsx)(tm,{...o,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});tU.displayName="DropdownMenuSubContent";var tG=tD,tX=tP,tH=tS,tW=tN,tz=tk,tV=tI,tY=t_,tq=tT,tZ=tL,tJ=tO,t$=tF,tQ=tK,t0=e=>{let{__scopeDropdownMenu:t,children:r,open:n,onOpenChange:o,defaultOpen:a}=e,l=tE(t),[i=!1,s]=(0,u.i)({prop:n,defaultProp:a,onChange:o});return(0,c.jsx)(tc,{...l,open:i,onOpenChange:s,children:r})},t1=tB,t5=tU}}]); \ No newline at end of file diff --git a/.next/static/chunks/8318a8be.bf5e5d6ca6da8e03.js b/.next/static/chunks/8318a8be.bf5e5d6ca6da8e03.js new file mode 100644 index 00000000..5c968734 --- /dev/null +++ b/.next/static/chunks/8318a8be.bf5e5d6ca6da8e03.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2079],{20136:(e,t,a)=>{a.d(t,{Iag:()=>x,LX9:()=>h,O0D:()=>p,SjM:()=>y,VrD:()=>l,Zts:()=>m,a$M:()=>u,pv0:()=>b,sX7:()=>w,t$n:()=>i});var s=a(77830),r=a(25711);a(76325);var n=a(59127),o=a(50373),d=a(56522),c=a(4494);let i=async(e,t)=>{let a,s=(0,r.lI)(e,t),o=(0,n.Tj)({},n.eU,{[t8]:e[to],[aT]:e[td],[af]:e[tm],[aM]:e[tu],[aj]:[()=>(0,n.eU)(e[F]),()=>e[F].toString()]});s.bp("/"),s.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let d=(0,n.Tj)({[tZ]:[,""]});return s.m("GET").h(o).q(d).b(a),s.build()},l=async(e,t)=>{let a,s=(0,r.lI)(e,t),o=(0,n.Tj)({},n.eU,{[al]:e[eP],[ak]:e[e8],[t2]:[()=>(0,n.eU)(e[_]),()=>e[_].toString()],[as]:e[eg],[tU]:e[eE],[ac]:[()=>(0,n.eU)(e[eI]),()=>(0,n.JV)(e[eI]).toString()],[ai]:[()=>(0,n.eU)(e[eB]),()=>e[eB].toString()]});s.bp("/{Key+}"),s.p("Bucket",()=>e.Bucket,"{Bucket}",!1),s.p("Key",()=>e.Key,"{Key+}",!0);let d=(0,n.Tj)({[aU]:[,"DeleteObject"],[t0]:[,e[tx]]});return s.m("DELETE").h(o).q(d).b(a),s.build()},u=async(e,t)=>{let a,s=(0,r.lI)(e,t),o=(0,n.Tj)({},n.eU,{[tU]:e[eE],[tN]:[()=>(0,n.eU)(e[eR]),()=>(0,n.JV)(e[eR]).toString()],[t$]:e[eA],[tq]:[()=>(0,n.eU)(e[eN]),()=>(0,n.JV)(e[eN]).toString()],[tV]:e[e0],[aK]:e[tc],[av]:e[ti],[aE]:e[tl],[ak]:e[e8],[as]:e[eg],[t6]:e[en]});s.bp("/{Key+}"),s.p("Bucket",()=>e.Bucket,"{Bucket}",!1),s.p("Key",()=>e.Key,"{Key+}",!0);let d=(0,n.Tj)({[aU]:[,"GetObject"],[tW]:[,e[e2]],[t_]:[,e[e1]],[tF]:[,e[e5]],[tH]:[,e[e7]],[tJ]:[,e[e6]],[tX]:[()=>void 0!==e.ResponseExpires,()=>(0,n.JV)(e[e4]).toString()],[t0]:[,e[tx]],[tL]:[()=>void 0!==e.PartNumber,()=>e[eQ].toString()]});return s.m("GET").h(o).q(d).b(a),s.build()},m=async(e,t)=>{let a,s=(0,r.lI)(e,t),o=(0,n.Tj)({},n.eU,{[ak]:e[e8],[as]:e[eg],[ab]:[()=>(0,n.eU)(e[eJ]),()=>(e[eJ]||[]).map(n.m9).join(", ")]});s.bp("/"),s.p("Bucket",()=>e.Bucket,"{Bucket}",!1);let d=(0,n.Tj)({[tP]:[,"2"],[tE]:[,e[ep]],[tB]:[,e[ez]],[tD]:[()=>void 0!==e.MaxKeys,()=>e[eD].toString()],[tY]:[,e[eX]],[tv]:[,e[eh]],[tO]:[()=>void 0!==e.FetchOwner,()=>e[eT].toString()],[tQ]:[,e[ts]]});return s.m("GET").h(o).q(d).b(a),s.build()},h=async(e,t)=>{let a,s=(0,r.lI)(e,t),o=(0,n.Tj)({},n.eU,{...void 0!==e.Metadata&&Object.keys(e.Metadata).reduce((t,a)=>(t[`x-amz-meta-${a.toLowerCase()}`]=e.Metadata[a],t),{}),[tK]:e[em]||"application/octet-stream",[t3]:e[L],[tz]:e[X],[tC]:e[et],[tS]:e[ea],[tT]:e[es],[tf]:[()=>(0,n.eU)(e[er]),()=>e[er].toString()],[tj]:e[eo],[aS]:e[J],[t1]:e[Z],[t5]:e[Q],[t7]:e[ee],[t4]:e[ei],[t9]:e[el],[tI]:[()=>(0,n.eU)(e[ew]),()=>(0,n.JV)(e[ew]).toString()],[tU]:e[eE],[t$]:e[eA],[ar]:e[ef],[an]:e[ej],[ao]:e[eM],[ad]:e[eK],[aA]:[()=>(0,n.eU)(e[tw]),()=>e[tw].toString()],[aT]:e[td],[aC]:e[tn],[aO]:e[tg],[aK]:e[tc],[av]:e[ti],[aE]:e[tl],[af]:e[tm],[aM]:e[tu],[aj]:[()=>(0,n.eU)(e[F]),()=>e[F].toString()],[ak]:e[e8],[aI]:e[tp],[ay]:e[eF],[ap]:[()=>(0,n.eU)(e[eH]),()=>(0,n.yI)(e[eH]).toString()],[ah]:e[e_],[as]:e[eg]});s.bp("/{Key+}"),s.p("Bucket",()=>e.Bucket,"{Bucket}",!1),s.p("Key",()=>e.Key,"{Key+}",!0);let d=(0,n.Tj)({[aU]:[,"PutObject"]});return void 0!==e.Body&&(a=e.Body),s.m("PUT").h(o).q(d).b(a),s.build()},y=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return g(e,t);let a=(0,n.Tj)({$metadata:D(e),[td]:[,e.headers[aT]],[tm]:[,e.headers[af]],[tu]:[,e.headers[aM]],[F]:[()=>void 0!==e.headers[aj],()=>(0,n.yG)(e.headers[aj])]}),r=(0,n.Y0)((0,n.Xk)(await (0,s.t_)(e.body,t)),"body");return null!=r[H]&&(a[H]=P(r[H],t)),a},p=async(e,t)=>{if(204!==e.statusCode&&e.statusCode>=300)return g(e,t);let a=(0,n.Tj)({$metadata:D(e),[eb]:[()=>void 0!==e.headers[at],()=>(0,n.yG)(e.headers[at])],[tx]:[,e.headers[aR]],[e3]:[,e.headers[ag]]});return await (0,n.Px)(e.body,t),a},b=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return g(e,t);let a=(0,n.Tj)({$metadata:D(e),[eb]:[()=>void 0!==e.headers[at],()=>(0,n.yG)(e.headers[at])],[V]:[,e.headers[tk]],[eS]:[,e.headers[aa]],[ta]:[,e.headers[aw]],[eG]:[()=>void 0!==e.headers[tG],()=>(0,n.Y0)((0,n.xE)(e.headers[tG]))],[er]:[()=>void 0!==e.headers[tf],()=>(0,n.V0)(e.headers[tf])],[eC]:[,e.headers[tR]],[Z]:[,e.headers[t1]],[Q]:[,e.headers[t5]],[ee]:[,e.headers[t7]],[ei]:[,e.headers[t4]],[el]:[,e.headers[t9]],[eu]:[,e.headers[ae]],[eL]:[()=>void 0!==e.headers[au],()=>(0,n.xW)(e.headers[au])],[tx]:[,e.headers[aR]],[X]:[,e.headers[tz]],[et]:[,e.headers[tC]],[ea]:[,e.headers[tS]],[es]:[,e.headers[tT]],[ec]:[,e.headers[tM]],[em]:[,e.headers[tK]],[ew]:[()=>void 0!==e.headers[tI],()=>(0,n.Y0)((0,n.xE)(e.headers[tI]))],[ek]:[,e.headers[tA]],[tg]:[,e.headers[aO]],[td]:[,e.headers[aT]],[tc]:[,e.headers[aK]],[tl]:[,e.headers[aE]],[tm]:[,e.headers[af]],[F]:[()=>void 0!==e.headers[aj],()=>(0,n.yG)(e.headers[aj])],[tn]:[,e.headers[aC]],[e3]:[,e.headers[ag]],[te]:[,e.headers[az]],[eZ]:[()=>void 0!==e.headers[am],()=>(0,n.xW)(e.headers[am])],[tb]:[()=>void 0!==e.headers[aB],()=>(0,n.xW)(e.headers[aB])],[eF]:[,e.headers[ay]],[eH]:[()=>void 0!==e.headers[ap],()=>(0,n.Y0)((0,n.t_)(e.headers[ap]))],[e_]:[,e.headers[ah]],Metadata:[,Object.keys(e.headers).filter(e=>e.startsWith("x-amz-meta-")).reduce((t,a)=>(t[a.substring(11)]=e.headers[a],t),{})]}),s=e.body;return t.sdkStreamMixin(s),a.Body=s,a},x=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return g(e,t);let a=(0,n.Tj)({$metadata:D(e),[e3]:[,e.headers[ag]]}),r=(0,n.Y0)((0,n.Xk)(await (0,s.t_)(e.body,t)),"body");return""===r.CommonPrefixes?a[ed]=[]:null!=r[ed]&&(a[ed]=U((0,n.Yd)(r[ed]),t)),""===r.Contents?a[ey]=[]:null!=r[ey]&&(a[ey]=$((0,n.Yd)(r[ey]),t)),null!=r[eh]&&(a[eh]=(0,n.lK)(r[eh])),null!=r[ep]&&(a[ep]=(0,n.lK)(r[ep])),null!=r[ez]&&(a[ez]=(0,n.lK)(r[ez])),null!=r[eU]&&(a[eU]=(0,n.yG)(r[eU])),null!=r[eq]&&(a[eq]=(0,n.xW)(r[eq])),null!=r[eD]&&(a[eD]=(0,n.xW)(r[eD])),null!=r[eY]&&(a[eY]=(0,n.lK)(r[eY])),null!=r[eV]&&(a[eV]=(0,n.lK)(r[eV])),null!=r[eX]&&(a[eX]=(0,n.lK)(r[eX])),null!=r[ts]&&(a[ts]=(0,n.lK)(r[ts])),a},w=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return g(e,t);let a=(0,n.Tj)({$metadata:D(e),[eS]:[,e.headers[aa]],[eC]:[,e.headers[tR]],[Z]:[,e.headers[t1]],[Q]:[,e.headers[t5]],[ee]:[,e.headers[t7]],[ei]:[,e.headers[t4]],[el]:[,e.headers[t9]],[eu]:[,e.headers[ae]],[td]:[,e.headers[aT]],[tx]:[,e.headers[aR]],[tc]:[,e.headers[aK]],[tl]:[,e.headers[aE]],[tm]:[,e.headers[af]],[tu]:[,e.headers[aM]],[F]:[()=>void 0!==e.headers[aj],()=>(0,n.yG)(e.headers[aj])],[ty]:[()=>void 0!==e.headers[ax],()=>(0,n.V0)(e.headers[ax])],[e3]:[,e.headers[ag]]});return await (0,n.Px)(e.body,t),a},g=async(e,t)=>{let a={...e,body:await (0,s.FI)(e.body,t)},r=(0,s.FZ)(e,a.body);switch(r){case"NoSuchUpload":case"com.amazonaws.s3#NoSuchUpload":throw await v(a,t);case"ObjectNotInActiveTierError":case"com.amazonaws.s3#ObjectNotInActiveTierError":throw await B(a,t);case"BucketAlreadyExists":case"com.amazonaws.s3#BucketAlreadyExists":throw await z(a,t);case"BucketAlreadyOwnedByYou":case"com.amazonaws.s3#BucketAlreadyOwnedByYou":throw await C(a,t);case"NoSuchBucket":case"com.amazonaws.s3#NoSuchBucket":throw await M(a,t);case"InvalidObjectState":case"com.amazonaws.s3#InvalidObjectState":throw await T(a,t);case"NoSuchKey":case"com.amazonaws.s3#NoSuchKey":throw await K(a,t);case"NotFound":case"com.amazonaws.s3#NotFound":throw await E(a,t);case"EncryptionTypeMismatch":case"com.amazonaws.s3#EncryptionTypeMismatch":throw await S(a,t);case"InvalidRequest":case"com.amazonaws.s3#InvalidRequest":throw await f(a,t);case"InvalidWriteOffset":case"com.amazonaws.s3#InvalidWriteOffset":throw await j(a,t);case"TooManyParts":case"com.amazonaws.s3#TooManyParts":throw await R(a,t);case"ObjectAlreadyInActiveTierError":case"com.amazonaws.s3#ObjectAlreadyInActiveTierError":throw await I(a,t);default:return k({output:e,parsedBody:a.body,errorCode:r})}},k=(0,n.jr)(c.H),z=async(e,t)=>{let a=(0,n.Tj)({});e.body;let s=new o.NM({$metadata:D(e),...a});return(0,n.Mw)(s,e.body)},C=async(e,t)=>{let a=(0,n.Tj)({});e.body;let s=new o.gq({$metadata:D(e),...a});return(0,n.Mw)(s,e.body)},S=async(e,t)=>{let a=(0,n.Tj)({});e.body;let s=new d.kD({$metadata:D(e),...a});return(0,n.Mw)(s,e.body)},T=async(e,t)=>{let a=(0,n.Tj)({}),s=e.body;null!=s[W]&&(a[W]=(0,n.lK)(s[W])),null!=s[tn]&&(a[tn]=(0,n.lK)(s[tn]));let r=new o.Af({$metadata:D(e),...a});return(0,n.Mw)(r,e.body)},f=async(e,t)=>{let a=(0,n.Tj)({});e.body;let s=new d.zh({$metadata:D(e),...a});return(0,n.Mw)(s,e.body)},j=async(e,t)=>{let a=(0,n.Tj)({});e.body;let s=new d.gH({$metadata:D(e),...a});return(0,n.Mw)(s,e.body)},M=async(e,t)=>{let a=(0,n.Tj)({});e.body;let s=new o.TQ({$metadata:D(e),...a});return(0,n.Mw)(s,e.body)},K=async(e,t)=>{let a=(0,n.Tj)({});e.body;let s=new o._k({$metadata:D(e),...a});return(0,n.Mw)(s,e.body)},v=async(e,t)=>{let a=(0,n.Tj)({});e.body;let s=new o.U7({$metadata:D(e),...a});return(0,n.Mw)(s,e.body)},E=async(e,t)=>{let a=(0,n.Tj)({});e.body;let s=new o.Mk({$metadata:D(e),...a});return(0,n.Mw)(s,e.body)},I=async(e,t)=>{let a=(0,n.Tj)({});e.body;let s=new d.pN({$metadata:D(e),...a});return(0,n.Mw)(s,e.body)},B=async(e,t)=>{let a=(0,n.Tj)({});e.body;let s=new o.Cw({$metadata:D(e),...a});return(0,n.Mw)(s,e.body)},R=async(e,t)=>{let a=(0,n.Tj)({});e.body;let s=new d.Go({$metadata:D(e),...a});return(0,n.Mw)(s,e.body)},A=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>(0,n.lK)(e)),O=(e,t)=>{let a={};return null!=e[eX]&&(a[eX]=(0,n.lK)(e[eX])),a},U=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>O(e,t)),N=(e,t)=>{let a={};return null!=e[e$]&&(a[e$]=(0,n.lK)(e[e$])),null!=e[eG]&&(a[eG]=(0,n.Y0)((0,n.t_)(e[eG]))),null!=e[eC]&&(a[eC]=(0,n.lK)(e[eC])),""===e.ChecksumAlgorithm?a[J]=[]:null!=e[J]&&(a[J]=A((0,n.Yd)(e[J]),t)),null!=e[eu]&&(a[eu]=(0,n.lK)(e[eu])),null!=e[ty]&&(a[ty]=(0,n.V0)(e[ty])),null!=e[tn]&&(a[tn]=(0,n.lK)(e[tn])),null!=e[eW]&&(a[eW]=q(e[eW],t)),null!=e[tt]&&(a[tt]=G(e[tt],t)),a},$=(e,t)=>(e||[]).filter(e=>null!=e).map(e=>N(e,t)),q=(e,t)=>{let a={};return null!=e[ex]&&(a[ex]=(0,n.lK)(e[ex])),null!=e[ev]&&(a[ev]=(0,n.lK)(e[ev])),a},G=(e,t)=>{let a={};return null!=e[eO]&&(a[eO]=(0,n.yG)(e[eO])),null!=e[e9]&&(a[e9]=(0,n.Y0)((0,n.t_)(e[e9]))),a},P=(e,t)=>{let a={};return null!=e[Y]&&(a[Y]=(0,n.lK)(e[Y])),null!=e[tr]&&(a[tr]=(0,n.lK)(e[tr])),null!=e[th]&&(a[th]=(0,n.lK)(e[th])),null!=e[eS]&&(a[eS]=(0,n.Y0)((0,n.t_)(e[eS]))),a},D=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),L="ACL",Y="AccessKeyId",V="AcceptRanges",W="AccessTier",_="BypassGovernanceRetention",F="BucketKeyEnabled",H="Credentials",J="ChecksumAlgorithm",X="CacheControl",Z="ChecksumCRC32",Q="ChecksumCRC32C",ee="ChecksumCRC64NVME",et="ContentDisposition",ea="ContentEncoding",es="ContentLanguage",er="ContentLength",en="ChecksumMode",eo="ContentMD5",ed="CommonPrefixes",ec="ContentRange",ei="ChecksumSHA1",el="ChecksumSHA256",eu="ChecksumType",em="ContentType",eh="ContinuationToken",ey="Contents",ep="Delimiter",eb="DeleteMarker",ex="DisplayName",ew="Expires",eg="ExpectedBucketOwner",ek="ExpiresString",ez="EncodingType",eC="ETag",eS="Expiration",eT="FetchOwner",ef="GrantFullControl",ej="GrantRead",eM="GrantReadACP",eK="GrantWriteACP",ev="ID",eE="IfMatch",eI="IfMatchLastModifiedTime",eB="IfMatchSize",eR="IfModifiedSince",eA="IfNoneMatch",eO="IsRestoreInProgress",eU="IsTruncated",eN="IfUnmodifiedSince",e$="Key",eq="KeyCount",eG="LastModified",eP="MFA",eD="MaxKeys",eL="MissingMeta",eY="Name",eV="NextContinuationToken",eW="Owner",e_="ObjectLockLegalHoldStatus",eF="ObjectLockMode",eH="ObjectLockRetainUntilDate",eJ="OptionalObjectAttributes",eX="Prefix",eZ="PartsCount",eQ="PartNumber",e0="Range",e3="RequestCharged",e2="ResponseCacheControl",e1="ResponseContentDisposition",e5="ResponseContentEncoding",e7="ResponseContentLanguage",e6="ResponseContentType",e4="ResponseExpires",e9="RestoreExpiryDate",e8="RequestPayer",te="ReplicationStatus",tt="RestoreStatus",ta="Restore",ts="StartAfter",tr="SecretAccessKey",tn="StorageClass",to="SessionMode",td="ServerSideEncryption",tc="SSECustomerAlgorithm",ti="SSECustomerKey",tl="SSECustomerKeyMD5",tu="SSEKMSEncryptionContext",tm="SSEKMSKeyId",th="SessionToken",ty="Size",tp="Tagging",tb="TagCount",tx="VersionId",tw="WriteOffsetBytes",tg="WebsiteRedirectLocation",tk="accept-ranges",tz="cache-control",tC="content-disposition",tS="content-encoding",tT="content-language",tf="content-length",tj="content-md5",tM="content-range",tK="content-type",tv="continuation-token",tE="delimiter",tI="expires",tB="encoding-type",tR="etag",tA="expiresstring",tO="fetch-owner",tU="if-match",tN="if-modified-since",t$="if-none-match",tq="if-unmodified-since",tG="last-modified",tP="list-type",tD="max-keys",tL="partNumber",tY="prefix",tV="range",tW="response-cache-control",t_="response-content-disposition",tF="response-content-encoding",tH="response-content-language",tJ="response-content-type",tX="response-expires",tZ="session",tQ="start-after",t0="versionId",t3="x-amz-acl",t2="x-amz-bypass-governance-retention",t1="x-amz-checksum-crc32",t5="x-amz-checksum-crc32c",t7="x-amz-checksum-crc64nvme",t6="x-amz-checksum-mode",t4="x-amz-checksum-sha1",t9="x-amz-checksum-sha256",t8="x-amz-create-session-mode",ae="x-amz-checksum-type",at="x-amz-delete-marker",aa="x-amz-expiration",as="x-amz-expected-bucket-owner",ar="x-amz-grant-full-control",an="x-amz-grant-read",ao="x-amz-grant-read-acp",ad="x-amz-grant-write-acp",ac="x-amz-if-match-last-modified-time",ai="x-amz-if-match-size",al="x-amz-mfa",au="x-amz-missing-meta",am="x-amz-mp-parts-count",ah="x-amz-object-lock-legal-hold",ay="x-amz-object-lock-mode",ap="x-amz-object-lock-retain-until-date",ab="x-amz-optional-object-attributes",ax="x-amz-object-size",aw="x-amz-restore",ag="x-amz-request-charged",ak="x-amz-request-payer",az="x-amz-replication-status",aC="x-amz-storage-class",aS="x-amz-sdk-checksum-algorithm",aT="x-amz-server-side-encryption",af="x-amz-server-side-encryption-aws-kms-key-id",aj="x-amz-server-side-encryption-bucket-key-enabled",aM="x-amz-server-side-encryption-context",aK="x-amz-server-side-encryption-customer-algorithm",av="x-amz-server-side-encryption-customer-key",aE="x-amz-server-side-encryption-customer-key-md5",aI="x-amz-tagging",aB="x-amz-tagging-count",aR="x-amz-version-id",aA="x-amz-write-offset-bytes",aO="x-amz-website-redirect-location",aU="x-id"}}]); \ No newline at end of file diff --git a/.next/static/chunks/8322.5427bbb8ba95c77f.js b/.next/static/chunks/8322.5427bbb8ba95c77f.js new file mode 100644 index 00000000..c162e600 --- /dev/null +++ b/.next/static/chunks/8322.5427bbb8ba95c77f.js @@ -0,0 +1,17 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8322],{1237:(e,t,r)=>{"use strict";r.d(t,{NC:()=>o,kv:()=>l});var n=r(76325),i=r(54354);function s(e,t){return new Request(e,t)}let a={supported:void 0};class o{static create(e){return"function"==typeof e?.handle?e:new o(e)}constructor(e){"function"==typeof e?this.configProvider=e().then(e=>e||{}):(this.config=e??{},this.configProvider=Promise.resolve(this.config)),void 0===a.supported&&(a.supported=!!("undefined"!=typeof Request&&"keepalive"in s("https://[::1]")))}destroy(){}async handle(e,{abortSignal:t}={}){this.config||(this.config=await this.configProvider);let r=this.config.requestTimeout,o=!0===this.config.keepAlive,u=this.config.credentials;if(t?.aborted){let e=Error("Request aborted");return e.name="AbortError",Promise.reject(e)}let l=e.path,c=function(e){let t=[];for(let r of Object.keys(e).sort()){let n=e[r];if(r=(0,i.o)(r),Array.isArray(n))for(let e=0,s=n.length;e{},b=[fetch(s(p,y)).then(e=>{let t=e.headers,r={};for(let e of t.entries())r[e[0]]=e[1];return void 0==e.body?e.blob().then(t=>({response:new n.cS({headers:r,reason:e.statusText,statusCode:e.status,body:t})})):{response:new n.cS({headers:r,reason:e.statusText,statusCode:e.status,body:e.body})}}),function(e=0){return new Promise((t,r)=>{e&&setTimeout(()=>{let t=Error(`Request did not complete within ${e} ms`);t.name="TimeoutError",r(t)},e)})}(r)];return t&&b.push(new Promise((e,r)=>{let n=()=>{let e=Error("Request aborted");e.name="AbortError",r(e)};"function"==typeof t.addEventListener?(t.addEventListener("abort",n,{once:!0}),m=()=>t.removeEventListener("abort",n)):t.onabort=n})),Promise.race(b).finally(m)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then(r=>(r[e]=t,r))}httpHandlerConfigs(){return this.config??{}}}var u=r(75964);let l=async e=>"function"==typeof Blob&&e instanceof Blob||e.constructor?.name==="Blob"?void 0!==Blob.prototype.arrayBuffer?new Uint8Array(await e.arrayBuffer()):c(e):f(e);async function c(e){var t;let r=await (t=e,new Promise((e,r)=>{let n=new FileReader;n.onloadend=()=>{if(2!==n.readyState)return r(Error("Reader aborted too early"));let t=n.result??"",i=t.indexOf(","),s=i>-1?i+1:t.length;e(t.substring(s))},n.onabort=()=>r(Error("Read aborted")),n.onerror=()=>r(n.error),n.readAsDataURL(t)}));return new Uint8Array((0,u.E)(r))}async function f(e){let t=[],r=e.getReader(),n=!1,i=0;for(;!n;){let{done:e,value:s}=await r.read();s&&(t.push(s),i+=s.length),n=e}let s=new Uint8Array(i),a=0;for(let e of t)s.set(e,a),a+=e.length;return s}},2548:(e,t,r)=>{"use strict";r.d(t,{BB:()=>z,dm:()=>q});var n,i=r(68021),s=r(30649);let a="X-Amz-Date",o="X-Amz-Signature",u="X-Amz-Security-Token",l="authorization",c=a.toLowerCase(),f=[l,c,"date"],d=o.toLowerCase(),h="x-amz-content-sha256",p=u.toLowerCase(),g={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},y=/^proxy-/,m=/^sec-/,b="AWS4-HMAC-SHA256",x="aws4_request",w={},v=[],S=(e,t,r)=>`${e}/${t}/${r}/${x}`,E=async(e,t,r,n,s)=>{let a=await A(e,t.secretAccessKey,t.accessKeyId),o=`${r}:${n}:${s}:${(0,i.n)(a)}:${t.sessionToken}`;if(o in w)return w[o];for(v.push(o);v.length>50;)delete w[v.shift()];let u=`AWS4${t.secretAccessKey}`;for(let t of[r,n,s,x])u=await A(e,u,t);return w[o]=u},A=(e,t,r)=>{let n=new e(t);return n.update((0,s.F)(r)),n.digest()},R=({headers:e},t,r)=>{let n={};for(let i of Object.keys(e).sort()){if(void 0==e[i])continue;let s=i.toLowerCase();(!(s in g||t?.has(s)||y.test(s)||m.test(s))||r&&(!r||r.has(s)))&&(n[s]=e[i].trim().replace(/\s+/g," "))}return n};var P=r(71950);let k=async({headers:e,body:t},r)=>{for(let t of Object.keys(e))if(t.toLowerCase()===h)return e[t];if(void 0==t)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof t||ArrayBuffer.isView(t)||(0,P.m)(t)){let e=new r;return e.update((0,s.F)(t)),(0,i.n)(await e.digest())}return"UNSIGNED-PAYLOAD"};var C=r(31204);class T{format(e){let t=[];for(let r of Object.keys(e)){let n=(0,C.a)(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}let r=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0)),n=0;for(let e of t)r.set(e,n),n+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([+!e.value]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let s=new DataView(new ArrayBuffer(3+e.value.byteLength));s.setUint8(0,6),s.setUint16(1,e.value.byteLength,!1);let a=new Uint8Array(s.buffer);return a.set(e.value,3),a;case"string":let o=(0,C.a)(e.value),u=new DataView(new ArrayBuffer(3+o.byteLength));u.setUint8(0,7),u.setUint16(1,o.byteLength,!1);let l=new Uint8Array(u.buffer);return l.set(o,3),l;case"timestamp":let c=new Uint8Array(9);return c[0]=8,c.set(O.fromNumber(e.value.valueOf()).bytes,1),c;case"uuid":if(!I.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let f=new Uint8Array(17);return f[0]=9,f.set((0,i.a)(e.value.replace(/\-/g,"")),1),f}}}!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(n||(n={}));let I=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class O{constructor(e){if(this.bytes=e,8!==e.byteLength)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&M(t),new O(t)}valueOf(){let e=this.bytes.slice(0),t=128&e[0];return t&&M(e),parseInt((0,i.n)(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function M(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}let N=(e,t)=>{for(let r of(e=e.toLowerCase(),Object.keys(t)))if(e===r.toLowerCase())return!0;return!1};var _=r(76325);let U=(e,t={})=>{let{headers:r,query:n={}}=_.Kd.clone(e);for(let e of Object.keys(r)){let i=e.toLowerCase();("x-amz-"===i.slice(0,6)&&!t.unhoistableHeaders?.has(i)||t.hoistableHeaders?.has(i))&&(n[e]=r[e],delete r[e])}return{...e,headers:r,query:n}},B=e=>{for(let t of Object.keys((e=_.Kd.clone(e)).headers))f.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e};var $=r(88294),L=r(54354);let D=({query:e={}})=>{let t=[],r={};for(let n of Object.keys(e)){if(n.toLowerCase()===d)continue;let i=(0,L.o)(n);t.push(i);let s=e[n];"string"==typeof s?r[i]=`${i}=${(0,L.o)(s)}`:Array.isArray(s)&&(r[i]=s.slice(0).reduce((e,t)=>e.concat([`${i}=${(0,L.o)(t)}`]),[]).sort().join("&"))}return t.sort().map(e=>r[e]).filter(e=>e).join("&")},F=e=>j(e).toISOString().replace(/\.\d{3}Z$/,"Z"),j=e=>"number"==typeof e?new Date(1e3*e):"string"==typeof e?new Date(Number(e)?1e3*Number(e):e):e;class H{constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:i,uriEscapePath:s=!0}){this.service=n,this.sha256=i,this.uriEscapePath=s,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=(0,$.t)(r),this.credentialProvider=(0,$.t)(t)}createCanonicalRequest(e,t,r){let n=Object.keys(t).sort();return`${e.method} +${this.getCanonicalPath(e)} +${D(e)} +${n.map(e=>`${e}:${t[e]}`).join("\n")} + +${n.join(";")} +${r}`}async createStringToSign(e,t,r,n){let a=new this.sha256;a.update((0,s.F)(r));let o=await a.digest();return`${n} +${e} +${t} +${(0,i.n)(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){let t=[];for(let r of e.split("/"))r?.length!==0&&"."!==r&&(".."===r?t.pop():t.push(r));let r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return(0,L.o)(r).replace(/%2F/g,"/")}return e}validateResolvedCredentials(e){if("object"!=typeof e||"string"!=typeof e.accessKeyId||"string"!=typeof e.secretAccessKey)throw Error("Resolved credential object is not valid")}formatDate(e){let t=F(e).replace(/[\-:]/g,"");return{longDate:t,shortDate:t.slice(0,8)}}getCanonicalHeaderList(e){return Object.keys(e).sort().join(";")}}class z extends H{constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:i,uriEscapePath:s=!0}){super({applyChecksum:e,credentials:t,region:r,service:n,sha256:i,uriEscapePath:s}),this.headerFormatter=new T}async presign(e,t={}){let{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:i,unhoistableHeaders:s,signableHeaders:l,hoistableHeaders:c,signingRegion:f,signingService:d}=t,h=await this.credentialProvider();this.validateResolvedCredentials(h);let p=f??await this.regionProvider(),{longDate:g,shortDate:y}=this.formatDate(r);if(n>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let m=S(y,p,d??this.service),x=U(B(e),{unhoistableHeaders:s,hoistableHeaders:c});h.sessionToken&&(x.query[u]=h.sessionToken),x.query["X-Amz-Algorithm"]=b,x.query["X-Amz-Credential"]=`${h.accessKeyId}/${m}`,x.query[a]=g,x.query["X-Amz-Expires"]=n.toString(10);let w=R(x,i,l);return x.query["X-Amz-SignedHeaders"]=this.getCanonicalHeaderList(w),x.query[o]=await this.getSignature(g,m,this.getSigningKey(h,p,y,d),this.createCanonicalRequest(x,w,await k(e,this.sha256))),x}async sign(e,t){return"string"==typeof e?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:s,signingService:a}){let o=s??await this.regionProvider(),{shortDate:u,longDate:l}=this.formatDate(r),c=S(u,o,a??this.service),f=await k({headers:{},body:t},this.sha256),d=new this.sha256;d.update(e);let h=["AWS4-HMAC-SHA256-PAYLOAD",l,c,n,(0,i.n)(await d.digest()),f].join("\n");return this.signString(h,{signingDate:r,signingRegion:o,signingService:a})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature}).then(t=>({message:e.message,signature:t}))}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let o=r??await this.regionProvider(),{shortDate:u}=this.formatDate(t),l=new this.sha256(await this.getSigningKey(a,o,u,n));return l.update((0,s.F)(e)),(0,i.n)(await l.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:i,signingService:s}={}){let a=await this.credentialProvider();this.validateResolvedCredentials(a);let o=i??await this.regionProvider(),u=B(e),{longDate:f,shortDate:d}=this.formatDate(t),g=S(d,o,s??this.service);u.headers[c]=f,a.sessionToken&&(u.headers[p]=a.sessionToken);let y=await k(u,this.sha256);!N(h,u.headers)&&this.applyChecksum&&(u.headers[h]=y);let m=R(u,n,r),x=await this.getSignature(f,g,this.getSigningKey(a,o,d,s),this.createCanonicalRequest(u,m,y));return u.headers[l]=`${b} Credential=${a.accessKeyId}/${g}, SignedHeaders=${this.getCanonicalHeaderList(m)}, Signature=${x}`,u}async getSignature(e,t,r,n){let a=await this.createStringToSign(e,t,n,b),o=new this.sha256(await r);return o.update((0,s.F)(a)),(0,i.n)(await o.digest())}getSigningKey(e,t,r,n){return E(this.sha256,e,r,t,n||this.service)}}let q={SignatureV4a:null}},3891:(e,t,r)=>{"use strict";r.d(t,{Hz:()=>s,s$:()=>a});var n=r(39249),i=r(70073),s=function(){function e(){this.crc32=new a}return e.prototype.update=function(e){(0,i.Kz)(e)||this.crc32.update((0,i.pP)(e))},e.prototype.digest=function(){return(0,n.sH)(this,void 0,void 0,function(){return(0,n.YH)(this,function(e){return[2,(0,i.yl)(this.crc32.digest())]})})},e.prototype.reset=function(){this.crc32=new a},e}(),a=function(){function e(){this.checksum=0xffffffff}return e.prototype.update=function(e){var t,r;try{for(var i=(0,n.Ju)(e),s=i.next();!s.done;s=i.next()){var a=s.value;this.checksum=this.checksum>>>8^o[(this.checksum^a)&255]}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(0xffffffff^this.checksum)>>>0},e}(),o=(0,i.zB)([0,0x77073096,0xee0e612c,0x990951ba,0x76dc419,0x706af48f,0xe963a535,0x9e6495a3,0xedb8832,0x79dcb8a4,0xe0d5e91e,0x97d2d988,0x9b64c2b,0x7eb17cbd,0xe7b82d07,0x90bf1d91,0x1db71064,0x6ab020f2,0xf3b97148,0x84be41de,0x1adad47d,0x6ddde4eb,0xf4d4b551,0x83d385c7,0x136c9856,0x646ba8c0,0xfd62f97a,0x8a65c9ec,0x14015c4f,0x63066cd9,0xfa0f3d63,0x8d080df5,0x3b6e20c8,0x4c69105e,0xd56041e4,0xa2677172,0x3c03e4d1,0x4b04d447,0xd20d85fd,0xa50ab56b,0x35b5a8fa,0x42b2986c,0xdbbbc9d6,0xacbcf940,0x32d86ce3,0x45df5c75,0xdcd60dcf,0xabd13d59,0x26d930ac,0x51de003a,0xc8d75180,0xbfd06116,0x21b4f4b5,0x56b3c423,0xcfba9599,0xb8bda50f,0x2802b89e,0x5f058808,0xc60cd9b2,0xb10be924,0x2f6f7c87,0x58684c11,0xc1611dab,0xb6662d3d,0x76dc4190,0x1db7106,0x98d220bc,0xefd5102a,0x71b18589,0x6b6b51f,0x9fbfe4a5,0xe8b8d433,0x7807c9a2,0xf00f934,0x9609a88e,0xe10e9818,0x7f6a0dbb,0x86d3d2d,0x91646c97,0xe6635c01,0x6b6b51f4,0x1c6c6162,0x856530d8,0xf262004e,0x6c0695ed,0x1b01a57b,0x8208f4c1,0xf50fc457,0x65b0d9c6,0x12b7e950,0x8bbeb8ea,0xfcb9887c,0x62dd1ddf,0x15da2d49,0x8cd37cf3,0xfbd44c65,0x4db26158,0x3ab551ce,0xa3bc0074,0xd4bb30e2,0x4adfa541,0x3dd895d7,0xa4d1c46d,0xd3d6f4fb,0x4369e96a,0x346ed9fc,0xad678846,0xda60b8d0,0x44042d73,0x33031de5,0xaa0a4c5f,0xdd0d7cc9,0x5005713c,0x270241aa,0xbe0b1010,0xc90c2086,0x5768b525,0x206f85b3,0xb966d409,0xce61e49f,0x5edef90e,0x29d9c998,0xb0d09822,0xc7d7a8b4,0x59b33d17,0x2eb40d81,0xb7bd5c3b,0xc0ba6cad,0xedb88320,0x9abfb3b6,0x3b6e20c,0x74b1d29a,0xead54739,0x9dd277af,0x4db2615,0x73dc1683,0xe3630b12,0x94643b84,0xd6d6a3e,0x7a6a5aa8,0xe40ecf0b,0x9309ff9d,0xa00ae27,0x7d079eb1,0xf00f9344,0x8708a3d2,0x1e01f268,0x6906c2fe,0xf762575d,0x806567cb,0x196c3671,0x6e6b06e7,0xfed41b76,0x89d32be0,0x10da7a5a,0x67dd4acc,0xf9b9df6f,0x8ebeeff9,0x17b7be43,0x60b08ed5,0xd6d6a3e8,0xa1d1937e,0x38d8c2c4,0x4fdff252,0xd1bb67f1,0xa6bc5767,0x3fb506dd,0x48b2364b,0xd80d2bda,0xaf0a1b4c,0x36034af6,0x41047a60,0xdf60efc3,0xa867df55,0x316e8eef,0x4669be79,0xcb61b38c,0xbc66831a,0x256fd2a0,0x5268e236,0xcc0c7795,0xbb0b4703,0x220216b9,0x5505262f,0xc5ba3bbe,0xb2bd0b28,0x2bb45a92,0x5cb36a04,0xc2d7ffa7,0xb5d0cf31,0x2cd99e8b,0x5bdeae1d,0x9b64c2b0,0xec63f226,0x756aa39c,0x26d930a,0x9c0906a9,0xeb0e363f,0x72076785,0x5005713,0x95bf4a82,0xe2b87a14,0x7bb12bae,0xcb61b38,0x92d28e9b,0xe5d5be0d,0x7cdcefb7,0xbdbdf21,0x86d3d2d4,0xf1d4e242,0x68ddb3f8,0x1fda836e,0x81be16cd,0xf6b9265b,0x6fb077e1,0x18b74777,0x88085ae6,0xff0f6a70,0x66063bca,0x11010b5c,0x8f659eff,0xf862ae69,0x616bffd3,0x166ccf45,0xa00ae278,0xd70dd2ee,0x4e048354,0x3903b3c2,0xa7672661,0xd06016f7,0x4969474d,0x3e6e77db,0xaed16a4a,0xd9d65adc,0x40df0b66,936918e3,0xa9bcae53,0xdebb9ec5,0x47b2cf7f,0x30b5ffe9,0xbdbdf21c,0xcabac28a,0x53b39330,0x24b4a3a6,0xbad03605,0xcdd70693,0x54de5729,0x23d967bf,0xb3667a2e,0xc4614ab8,0x5d681b02,0x2a6f2b94,0xb40bbe37,0xc30c8ea1,0x5a05df1b,0x2d02ef8d])},4494:(e,t,r)=>{"use strict";r.d(t,{H:()=>i});var n=r(59127);class i extends n.TJ{constructor(e){super(e),Object.setPrototypeOf(this,i.prototype)}}},7610:(e,t)=>{t.read=function(e,t,r,n,i){var s,a,o=8*i-n-1,u=(1<>1,c=-7,f=r?i-1:0,d=r?-1:1,h=e[t+f];for(f+=d,s=h&(1<<-c)-1,h>>=-c,c+=o;c>0;s=256*s+e[t+f],f+=d,c-=8);for(a=s&(1<<-c)-1,s>>=-c,c+=n;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===s)s=1-l;else{if(s===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),s-=l}return(h?-1:1)*a*Math.pow(2,s-n)},t.write=function(e,t,r,n,i,s){var a,o,u,l=8*s-i-1,c=(1<>1,d=5960464477539062e-23*(23===i),h=n?0:s-1,p=n?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(o=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?t+=d/u:t+=d*Math.pow(2,1-f),t*u>=2&&(a++,u/=2),a+f>=c?(o=0,a=c):a+f>=1?(o=(t*u-1)*Math.pow(2,i),a+=f):(o=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&o,h+=p,o/=256,i-=8);for(a=a<0;e[r+h]=255&a,h+=p,a/=256,l-=8);e[r+h-p]|=128*g}},9148:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});let n=e=>{let t;if("string"==typeof e)return n(new URL(e));let{hostname:r,pathname:i,port:s,protocol:a,search:o}=e;return o&&(t=function(e){let t={};if(e=e.replace(/^\?/,""))for(let r of e.split("&")){let[e,n=null]=r.split("=");e=decodeURIComponent(e),n&&(n=decodeURIComponent(n)),e in t?Array.isArray(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n}return t}(o)),{hostname:r,port:s?parseInt(s):void 0,protocol:a,path:i,query:t}}},13935:(e,t,r)=>{"use strict";var n;r.d(t,{cV:()=>n,Qm:()=>i});let i=(e,t,r)=>{if(t in e){if("true"===e[t])return!0;if("false"===e[t])return!1;throw Error(`Cannot load ${r} "${t}". Expected "true" or "false", got ${e[t]}.`)}};!function(e){e.ENV="env",e.CONFIG="shared config entry"}(n||(n={}))},20737:(e,t)=>{let r={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e}};t.buildOptions=function(e){return Object.assign({},r,e)},t.defaultOptions=r},21165:(e,t,r)=>{"use strict";let n=r(87289),i={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&"},{regex:RegExp(">","g"),val:">"},{regex:RegExp("<","g"),val:"<"},{regex:RegExp("'","g"),val:"'"},{regex:RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function s(e){this.options=Object.assign({},i,e),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=u),this.processTextOrObjNode=a,this.options.format?(this.indentate=o,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function a(e,t,r){let n=this.j2x(e,r+1);return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,n.attrStr,r):this.buildObjectNode(n.val,t,n.attrStr,r)}function o(e){return this.options.indentBy.repeat(e)}function u(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}s.prototype.build=function(e){return this.options.preserveOrder?n(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0).val)},s.prototype.j2x=function(e,t){let r="",n="";for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i))if(void 0===e[i])this.isAttribute(i)&&(n+="");else if(null===e[i])this.isAttribute(i)?n+="":"?"===i[0]?n+=this.indentate(t)+"<"+i+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+i+"/"+this.tagEndChar;else if(e[i]instanceof Date)n+=this.buildTextValNode(e[i],i,"",t);else if("object"!=typeof e[i]){let s=this.isAttribute(i);if(s)r+=this.buildAttrPairStr(s,""+e[i]);else if(i===this.options.textNodeName){let t=this.options.tagValueProcessor(i,""+e[i]);n+=this.replaceEntitiesValue(t)}else n+=this.buildTextValNode(e[i],i,"",t)}else if(Array.isArray(e[i])){let r=e[i].length,s="",a="";for(let o=0;o"+e+i:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===s.length?this.indentate(n)+``+this.newLine:this.indentate(n)+"<"+t+r+s+this.tagEndChar+e+this.indentate(n)+i}},s.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`>`+this.newLine;{if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(n)+``+this.newLine;if("?"===t[0])return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;let i=this.options.tagValueProcessor(t,e);return""===(i=this.replaceEntitiesValue(i))?this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(n)+"<"+t+r+">"+i+"0&&this.options.processEntities)for(let t=0;t{"use strict";r.d(t,{M6:()=>i});let n={name:"ssecMiddleware",step:"initialize",tags:["SSE"],override:!0},i=e=>({applyToStack:t=>{t.add(function(e){return t=>async r=>{let n={...r.input};for(let t of[{target:"SSECustomerKey",hash:"SSECustomerKeyMD5"},{target:"CopySourceSSECustomerKey",hash:"CopySourceSSECustomerKeyMD5"}]){let r=n[t.target];if(r){let i;"string"==typeof r?function(e,t){if(!/^(?:[A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e))return!1;try{let r=t.base64Decoder(e);return 32===r.length}catch{return!1}}(r,e)?i=e.base64Decoder(r):(i=e.utf8Decoder(r),n[t.target]=e.base64Encoder(i)):(i=ArrayBuffer.isView(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength):new Uint8Array(r),n[t.target]=e.base64Encoder(i));let s=new e.md5;s.update(i),n[t.hash]=e.base64Encoder(await s.digest())}}return t({...r,input:n})}}(e),n)}})},25711:(e,t,r)=>{"use strict";r.d(t,{h$:()=>m,e:()=>x,wB:()=>o,lW:()=>h,Qk:()=>d,OC:()=>b,K4:()=>w,te:()=>p,lI:()=>g.lI,J7:()=>y}),r(34398);var n=r(88294);let i=(e,t)=>{if(!t||0===t.length)return e;let r=[];for(let n of t)for(let t of e)t.schemeId.split("#")[1]===n&&r.push(t);for(let t of e)r.find(({schemeId:e})=>e===t.schemeId)||r.push(t);return r},s=(e,t)=>(r,s)=>async a=>{let o=i(e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,s,a.input)),e.authSchemePreference?await e.authSchemePreference():[]),u=function(e){let t=new Map;for(let r of e)t.set(r.schemeId,r);return t}(e.httpAuthSchemes),l=(0,n.u)(s),c=[];for(let r of o){let n=u.get(r.schemeId);if(!n){c.push(`HttpAuthScheme \`${r.schemeId}\` was not enabled for this service.`);continue}let i=n.identityProvider(await t.identityProviderConfigProvider(e));if(!i){c.push(`HttpAuthScheme \`${r.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:a={},signingProperties:o={}}=r.propertiesExtractor?.(e,s)||{};r.identityProperties=Object.assign(r.identityProperties||{},a),r.signingProperties=Object.assign(r.signingProperties||{},o),l.selectedHttpAuthScheme={httpAuthOption:r,identity:await i(r.identityProperties),signer:n.signer};break}if(!l.selectedHttpAuthScheme)throw Error(c.join("\n"));return r(a)},a={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},o=(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r})=>({applyToStack:n=>{n.addRelativeTo(s(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r}),a)}});r(48069).Ou.name;var u=r(76325);let l=e=>e=>{throw e},c=(e,t)=>{},f=e=>(e,t)=>async r=>{if(!u.Kd.isInstance(r.request))return e(r);let i=(0,n.u)(t).selectedHttpAuthScheme;if(!i)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:s={}},identity:a,signer:o}=i,f=await e({...r,request:await o.sign(r.request,a,s)}).catch((o.errorHandler||l)(s));return(o.successHandler||c)(f.response,s),f},d={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},h=e=>({applyToStack:t=>{t.addRelativeTo(f(e),d)}}),p=e=>{if("function"==typeof e)return e;let t=Promise.resolve(e);return()=>t};var g=r(61685);function y(e,t,r){e.__smithy_context?e.__smithy_context.features||(e.__smithy_context.features={}):e.__smithy_context={features:{}},e.__smithy_context.features[t]=r}class m{constructor(e){for(let[t,r]of(this.authSchemes=new Map,Object.entries(e)))void 0!==r&&this.authSchemes.set(t,r)}getIdentityProvider(e){return this.authSchemes.get(e)}}let b=e=>x(e)&&e.expiration.getTime()-Date.now()<3e5,x=e=>void 0!==e.expiration,w=(e,t,r)=>{let n,i,s;if(void 0===e)return;let a="function"!=typeof e?async()=>Promise.resolve(e):e,o=!1,u=async e=>{i||(i=a(e));try{n=await i,s=!0,o=!1}finally{i=void 0}return n};return void 0===t?async e=>((!s||e?.forceRefresh)&&(n=await u(e)),n):async e=>((!s||e?.forceRefresh)&&(n=await u(e)),o||(r(n)?t(n)&&await u(e):o=!0),n)}},27593:function(e){e.exports=function(){var e={17:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=r(18);t.default=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||""},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||""},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,r,n){void 0===n&&(n=!1);var i=e.getVersionPrecision(t),s=e.getVersionPrecision(r),a=Math.max(i,s),o=0,u=e.map([t,r],function(t){var r=a-e.getVersionPrecision(t),n=t+Array(r+1).join(".0");return e.map(n.split("."),function(e){return Array(20-e.length).join("0")+e}).reverse()});for(n&&(o=a-Math.min(i,s)),a-=1;a>=o;){if(u[0][a]>u[1][a])return 1;if(u[0][a]===u[1][a]){if(a===o)return 0;a-=1}else if(u[0][a]1?n-1:0),s=1;s0){var a=Object.keys(r),u=o.default.find(a,function(e){return t.isOS(e)});if(u){var l=this.satisfies(r[u]);if(void 0!==l)return l}var c=o.default.find(a,function(e){return t.isPlatform(e)});if(c){var f=this.satisfies(r[c]);if(void 0!==f)return f}}if(s>0){var d=Object.keys(i),h=o.default.find(d,function(e){return t.isBrowser(e,!0)});if(void 0!==h)return this.compareVersion(i[h])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),n=e.toLowerCase(),i=o.default.getBrowserTypeByAlias(n);return t&&i&&(n=i.toLowerCase()),n===r},t.compareVersion=function(e){var t=[0],r=e,n=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(r=e.substr(1),"="===e[1]?(n=!0,r=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?r=e.substr(1):"~"===e[0]&&(n=!0,r=e.substr(1)),t.indexOf(o.default.compareVersions(i,r,n))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some(function(e){return t.is(e)})},e}(),e.exports=t.default},92:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=/version\/(\d+(\.?_?\d+)+)/i;t.default=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},r=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},r=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},r=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},r=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},r=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},r=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},r=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},r=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},r=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},r=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},r=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},r=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},r=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},r=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},r=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},r=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},r=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},r=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},r=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},r=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},r=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},r=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},r=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},r=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},r=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},r=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:"Android Browser"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}],e.exports=t.default},93:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18);t.default=[{test:[/Roku\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:s.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=i.default.getWindowsVersionName(t);return{name:s.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:s.OS_MAP.iOS},r=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=i.default.getMacOSVersionName(t),n={name:s.OS_MAP.MacOS,version:t};return r&&(n.versionName=r),n}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:s.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=i.default.getAndroidVersionName(t),n={name:s.OS_MAP.Android,version:t};return r&&(n.versionName=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:s.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||i.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:s.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:s.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:s.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:s.OS_MAP.PlayStation4,version:t}}}],e.exports=t.default},94:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18);t.default=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:s.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:s.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}}],e.exports=t.default},95:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18);t.default=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:s.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:s.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:s.ENGINE_MAP.Trident},r=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:s.ENGINE_MAP.Presto},r=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:s.ENGINE_MAP.Gecko},r=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:s.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:s.ENGINE_MAP.WebKit},r=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}}],e.exports=t.default}},t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,(function(t){return e[t]}).bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=90)}()},27947:(e,t)=>{"use strict";let r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n="["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",i=RegExp("^"+n+"$");t.isExist=function(e){return void 0!==e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,r){if(t){let n=Object.keys(t),i=n.length;for(let s=0;s{"use strict";r.d(t,{F:()=>i});var n=r(31204);let i=e=>"string"==typeof e?(0,n.a)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)},31204:(e,t,r)=>{"use strict";r.d(t,{a:()=>n});let n=e=>new TextEncoder().encode(e)},34232:(e,t,r)=>{"use strict";let n,i;r.d(t,{Y:()=>sb});var s,a,o,u,l=r(76325);let c={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0},f=e=>({applyToStack:t=>{t.add(function(e){return t=>async r=>{let{request:n}=r;return l.Kd.isInstance(n)&&n.body&&"node"===e.runtime&&e.requestHandler?.constructor?.name!=="FetchHttpHandler"&&(n.headers={...n.headers,Expect:"100-continue"}),t({...r,request:n})}}(e),c)}});var d=r(54911);let h=e=>t=>async r=>{if(!l.Kd.isInstance(r.request))return t(r);let{request:n}=r,{handlerProtocol:i=""}=e.requestHandler.metadata||{};if(i.indexOf("h2")>=0&&!n.headers[":authority"])delete n.headers.host,n.headers[":authority"]=n.hostname+(n.port?":"+n.port:"");else if(!n.headers.host){let e=n.hostname;null!=n.port&&(e+=`:${n.port}`),n.headers.host=e}return t(r)},p={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},g=e=>({applyToStack:t=>{t.add(h(e),p)}}),y=()=>(e,t)=>async r=>{try{let n=await e(r),{clientName:i,commandName:s,logger:a,dynamoDbDocumentClientOptions:o={}}=t,{overrideInputFilterSensitiveLog:u,overrideOutputFilterSensitiveLog:l}=o,c=u??t.inputFilterSensitiveLog,f=l??t.outputFilterSensitiveLog,{$metadata:d,...h}=n.output;return a?.info?.({clientName:i,commandName:s,input:c(r.input),output:f(h),metadata:d}),n}catch(u){let{clientName:e,commandName:n,logger:i,dynamoDbDocumentClientOptions:s={}}=t,{overrideInputFilterSensitiveLog:a}=s,o=a??t.inputFilterSensitiveLog;throw i?.error?.({clientName:e,commandName:n,input:o(r.input),error:u,metadata:u.$metadata}),u}},m={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},b=e=>({applyToStack:e=>{e.add(y(),m)}});var x=r(49509);let w="X-Amzn-Trace-Id",v=e=>t=>async r=>{let{request:n}=r;if(!l.Kd.isInstance(n)||"node"!==e.runtime)return t(r);let i=Object.keys(n.headers??{}).find(e=>e.toLowerCase()===w.toLowerCase())??w;if(n.headers.hasOwnProperty(i))return t(r);let s=x.env.AWS_LAMBDA_FUNCTION_NAME,a=x.env._X_AMZN_TRACE_ID,o=e=>"string"==typeof e&&e.length>0;return o(s)&&o(a)&&(n.headers[w]=a),t({...r,request:n})},S={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},E=e=>({applyToStack:t=>{t.add(v(e),S)}});var A=r(78004),R=r(25711);let P=void 0;class k{constructor({size:e,params:t}){this.data=new Map,this.parameters=[],this.capacity=e??50,t&&(this.parameters=t)}get(e,t){let r=this.hash(e);if(!1===r)return t();if(!this.data.has(r)){if(this.data.size>this.capacity+10){let e=this.data.keys(),t=0;for(;;){let{value:r,done:n}=e.next();if(this.data.delete(r),n||++t>10)break}}this.data.set(r,t())}return this.data.get(r)}size(){return this.data.size}hash(e){let t="",{parameters:r}=this;if(0===r.length)return!1;for(let n of r){let r=String(e[n]??"");if(r.includes("|;"))return!1;t+=r+"|;"}return t}}let C=RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),T=e=>C.test(e)||e.startsWith("[")&&e.endsWith("]"),I=RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),O=(e,t=!1)=>{if(!t)return I.test(e);for(let t of e.split("."))if(!O(t))return!1;return!0},M={},N="endpoints";function _(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${_(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(_).join(", ")})`:JSON.stringify(e,null,2)}class U extends Error{constructor(e){super(e),this.name="EndpointError"}}let B=e=>{let t=e.split("."),r=[];for(let n of t){let t=n.indexOf("[");if(-1!==t){if(n.indexOf("]")!==n.length-1)throw new U(`Path: '${e}' does not end with ']'`);let i=n.slice(t+1,-1);if(Number.isNaN(parseInt(i)))throw new U(`Invalid array index: '${i}' in path: '${e}'`);0!==t&&r.push(n.slice(0,t)),r.push(i)}else r.push(n)}return r},$=(e,t)=>B(t).reduce((r,n)=>{if("object"!=typeof r)throw new U(`Index '${n}' in '${t}' not found in '${JSON.stringify(e)}'`);return Array.isArray(r)?r[parseInt(n)]:r[n]},e);var L=r(34398);let D={[L.Ue.HTTP]:80,[L.Ue.HTTPS]:443},F={booleanEquals:(e,t)=>e===t,getAttr:$,isSet:e=>null!=e,isValidHostLabel:O,not:e=>!e,parseURL:e=>{let t=(()=>{try{if(e instanceof URL)return e;if("object"==typeof e&&"hostname"in e){let{hostname:t,port:r,protocol:n="",path:i="",query:s={}}=e,a=new URL(`${n}//${t}${r?`:${r}`:""}${i}`);return a.search=Object.entries(s).map(([e,t])=>`${e}=${t}`).join("&"),a}return new URL(e)}catch(e){return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;let r=t.href,{host:n,hostname:i,pathname:s,protocol:a,search:o}=t;if(o)return null;let u=a.slice(0,-1);if(!Object.values(L.Ue).includes(u))return null;let l=T(i),c=r.includes(`${n}:${D[u]}`)||"string"==typeof e&&e.includes(`${n}:${D[u]}`),f=`${n}${c?`:${D[u]}`:""}`;return{scheme:u,authority:f,path:s,normalizedPath:s.endsWith("/")?s:`${s}/`,isIp:l}},stringEquals:(e,t)=>e===t,substring:(e,t,r,n)=>t>=r||e.lengthencodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},j=(e,t)=>{let r=[],n={...t.endpointParams,...t.referenceRecord},i=0;for(;i({...t.endpointParams,...t.referenceRecord})[e],z=(e,t,r)=>{if("string"==typeof e)return j(e,r);if(e.fn)return q(e,r);if(e.ref)return H(e,r);throw new U(`'${t}': ${String(e)} is not a string, function or reference.`)},q=({fn:e,argv:t},r)=>{let n=t.map(e=>["boolean","number"].includes(typeof e)?e:z(e,"arg",r)),i=e.split(".");return i[0]in M&&null!=i[1]?M[i[0]][i[1]](...n):F[e](...n)},V=({assign:e,...t},r)=>{if(e&&e in r.referenceRecord)throw new U(`'${e}' is already defined in Reference Record.`);let n=q(t,r);return r.logger?.debug?.(`${N} evaluateCondition: ${_(t)} = ${_(n)}`),{result:""===n||!!n,...null!=e&&{toAssign:{name:e,value:n}}}},K=(e=[],t)=>{let r={};for(let n of e){let{result:e,toAssign:i}=V(n,{...t,referenceRecord:{...t.referenceRecord,...r}});if(!e)return{result:e};i&&(r[i.name]=i.value,t.logger?.debug?.(`${N} assign: ${i.name} := ${_(i.value)}`))}return{result:!0,referenceRecord:r}},W=(e,t)=>Object.entries(e).reduce((e,[r,n])=>({...e,[r]:n.map(e=>{let n=z(e,"Header value entry",t);if("string"!=typeof n)throw new U(`Header '${r}' value '${n}' is not a string`);return n})}),{}),G=(e,t)=>{if(Array.isArray(e))return e.map(e=>G(e,t));switch(typeof e){case"string":return j(e,t);case"object":if(null===e)throw new U(`Unexpected endpoint property: ${e}`);return Z(e,t);case"boolean":return e;default:throw new U(`Unexpected endpoint property type: ${typeof e}`)}},Z=(e,t)=>Object.entries(e).reduce((e,[r,n])=>({...e,[r]:G(n,t)}),{}),J=(e,t)=>{let r=z(e,"Endpoint URL",t);if("string"==typeof r)try{return new URL(r)}catch(e){throw console.error(`Failed to construct URL with ${r}`,e),e}throw new U(`Endpoint URL must be a string, got ${typeof r}`)},Y=(e,t)=>{let{conditions:r,endpoint:n}=e,{result:i,referenceRecord:s}=K(r,t);if(!i)return;let a={...t,referenceRecord:{...t.referenceRecord,...s}},{url:o,properties:u,headers:l}=n;return t.logger?.debug?.(`${N} Resolving endpoint from template: ${_(n)}`),{...void 0!=l&&{headers:W(l,a)},...void 0!=u&&{properties:Z(u,a)},url:J(o,a)}},X=(e,t)=>{let{conditions:r,error:n}=e,{result:i,referenceRecord:s}=K(r,t);if(i)throw new U(z(n,"Error",{...t,referenceRecord:{...t.referenceRecord,...s}}))},Q=(e,t)=>{let{conditions:r,rules:n}=e,{result:i,referenceRecord:s}=K(r,t);if(i)return ee(n,{...t,referenceRecord:{...t.referenceRecord,...s}})},ee=(e,t)=>{for(let r of e)if("endpoint"===r.type){let e=Y(r,t);if(e)return e}else if("error"===r.type)X(r,t);else if("tree"===r.type){let e=Q(r,t);if(e)return e}else throw new U(`Unknown endpoint rule: ${r}`);throw new U("Rules evaluation failed")},et=(e,t)=>{let{endpointParams:r,logger:n}=t,{parameters:i,rules:s}=e;t.logger?.debug?.(`${N} Initial EndpointParams: ${_(r)}`);let a=Object.entries(i).filter(([,e])=>null!=e.default).map(([e,t])=>[e,t.default]);if(a.length>0)for(let[e,t]of a)r[e]=r[e]??t;for(let e of Object.entries(i).filter(([,e])=>e.required).map(([e])=>e))if(null==r[e])throw new U(`Missing required parameter: '${e}'`);let o=ee(s,{endpointParams:r,logger:n,referenceRecord:{}});return t.logger?.debug?.(`${N} Resolved endpoint: ${_(o)}`),o},er=(e,t=!1)=>{if(t){for(let t of e.split("."))if(!er(t))return!1;return!0}return!(!O(e)||e.length<3||e.length>63||e!==e.toLowerCase()||T(e))},en=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"ap-southeast-5":{"description":"Asia Pacific (Malaysia)"},"ap-southeast-7":{"description":"Asia Pacific (Thailand)"},"aws-global":{"description":"AWS Standard global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"mx-central-1":{"description":"Mexico (Central)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"AWS China global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"AWS GovCloud (US) global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"c2s.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"AWS ISO (US) global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"sc2s.sgov.gov","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"AWS ISOB (US) global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"cloud.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-e-global":{"description":"AWS ISOE (Europe) global region"},"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"csp.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-f-global":{"description":"AWS ISOF global region"},"us-isof-east-1":{"description":"US ISOF EAST"},"us-isof-south-1":{"description":"US ISOF SOUTH"}}},{"id":"aws-eusc","outputs":{"dnsSuffix":"amazonaws.eu","dualStackDnsSuffix":"amazonaws.eu","implicitGlobalRegion":"eusc-de-east-1","name":"aws-eusc","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eusc-de-east-1":{"description":"EU (Germany)"}}}],"version":"1.1"}'),ei=()=>"",es={isVirtualHostableS3Bucket:er,parseArn:e=>{let t=e.split(":");if(t.length<6)return null;let[r,n,i,s,a,...o]=t;return"arn"!==r||""===n||""===i||""===o.join(":")?null:{partition:n,service:i,region:s,accountId:a,resourceId:o.map(e=>e.split("/")).flat()}},partition:e=>{let{partitions:t}=en;for(let r of t){let{regions:t,outputs:n}=r;for(let[r,i]of Object.entries(t))if(r===e)return{...n,...i}}for(let r of t){let{regionRegex:t,outputs:n}=r;if(new RegExp(t).test(e))return{...n}}let r=t.find(e=>"aws"===e.id);if(!r)throw Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...r.outputs}}};M.aws=es;var ea=r(84638);let eo=/\d{12}\.ddb/;async function eu(e,t,r){let n=r.request;if(n?.headers?.["smithy-protocol"]==="rpc-v2-cbor"&&(0,ea.J)(e,"PROTOCOL_RPC_V2_CBOR","M"),"function"==typeof t.retryStrategy){let r=await t.retryStrategy();"function"==typeof r.acquireInitialRetryToken?r.constructor?.name?.includes("Adaptive")?(0,ea.J)(e,"RETRY_MODE_ADAPTIVE","F"):(0,ea.J)(e,"RETRY_MODE_STANDARD","E"):(0,ea.J)(e,"RETRY_MODE_LEGACY","D")}if("function"==typeof t.accountIdEndpointMode){let r=e.endpointV2;switch(String(r?.url?.hostname).match(eo)&&(0,ea.J)(e,"ACCOUNT_ID_ENDPOINT","O"),await t.accountIdEndpointMode?.()){case"disabled":(0,ea.J)(e,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":(0,ea.J)(e,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":(0,ea.J)(e,"ACCOUNT_ID_MODE_REQUIRED","R")}}let i=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(i?.$source)for(let[t,r]of(i.accountId&&(0,ea.J)(e,"RESOLVED_ACCOUNT_ID","T"),Object.entries(i.$source??{})))(0,ea.J)(e,t,r)}let el="user-agent",ec="x-amz-user-agent",ef=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,ed=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,eh=e=>(t,r)=>async n=>{let{request:i}=n;if(!l.Kd.isInstance(i))return t(n);let{headers:s}=i,a=r?.userAgent?.map(ep)||[],o=(await e.defaultUserAgentProvider()).map(ep);await eu(r,e,n),o.push(`m/${function(e){let t="";for(let r in e){let n=e[r];if(t.length+n.length+1<=1024){t.length?t+=","+n:t+=n;continue}break}return t}(Object.assign({},r.__smithy_context?.features,r.__aws_sdk_context?.features))}`);let u=e?.customUserAgent?.map(ep)||[],c=await e.userAgentAppId();c&&o.push(ep([`app/${c}`]));let f=ei(),d=(f?[f]:[]).concat([...o,...a,...u]).join(" "),h=[...o.filter(e=>e.startsWith("aws-sdk-")),...u].join(" ");return"browser"!==e.runtime?(h&&(s[ec]=s[ec]?`${s[el]} ${h}`:h),s[el]=d):s[ec]=d,t({...n,request:i})},ep=e=>{let t=e[0].split("/").map(e=>e.replace(ef,"-")).join("/"),r=e[1]?.replace(ed,"-"),n=t.indexOf("/"),i=t.substring(0,n),s=t.substring(n+1);return"api"===i&&(s=s.toLowerCase()),[i,s,r].filter(e=>e&&e.length>0).reduce((e,t,r)=>{switch(r){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},"")},eg={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},ey=e=>({applyToStack:t=>{t.add(eh(e),eg)}});r(13935);var em=r(88294);let eb=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips")),ex=e=>eb(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e,ew=e=>{let{region:t,useFipsEndpoint:r}=e;if(!t)throw Error("Region is missing");return Object.assign(e,{region:async()=>"string"==typeof t?ex(t):ex(await t()),useFipsEndpoint:async()=>!!eb("string"==typeof t?t:await t())||("function"!=typeof r?Promise.resolve(!!r):r())})},ev=e=>Object.assign(e,{eventStreamMarshaller:e.eventStreamSerdeProvider(e)}),eS="content-length",eE={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},eA=e=>({applyToStack:t=>{var r;t.add((r=e.bodyLengthChecker,e=>async t=>{let n=t.request;if(l.Kd.isInstance(n)){let{body:e,headers:t}=n;if(e&&-1===Object.keys(t).map(e=>e.toLowerCase()).indexOf(eS))try{let t=r(e);n.headers={...n.headers,[eS]:String(t)}}catch(e){}}return e({...t,request:n})}),eE)}});var eR=r(56666);!function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"}(o||(o={}));let eP=o.STANDARD,ek=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],eC=["TimeoutError","RequestTimeout","RequestTimeoutException"],eT=[500,502,503,504],eI=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],eO=e=>e.$metadata?.clockSkewCorrected,eM=e=>{let t=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);return!!(e&&e instanceof TypeError)&&t.has(e.message)},eN=e=>e.$metadata?.httpStatusCode===429||ek.includes(e.name)||e.$retryable?.throttling==!0,e_=(e,t=0)=>eO(e)||eC.includes(e.name)||eI.includes(e?.code||"")||eT.includes(e.$metadata?.httpStatusCode||0)||eM(e)||void 0!==e.cause&&t<=10&&e_(e.cause,t+1),eU=e=>{if(e.$metadata?.httpStatusCode!==void 0){let t=e.$metadata.httpStatusCode;if(500<=t&&t<=599&&!e_(e))return!0}return!1};class eB{constructor(e){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8;let t=this.getCurrentTimeInSeconds();this.lastThrottleTime=t,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(e){if(this.enabled){if(this.refillTokenBucket(),e>this.currentCapacity){let t=(e-this.currentCapacity)/this.fillRate*1e3;await new Promise(e=>eB.setTimeoutFn(e,t))}this.currentCapacity=this.currentCapacity-e}}refillTokenBucket(){let e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}let t=(e-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t),this.lastTimestamp=e}updateClientSendingRate(e){let t;if(this.updateMeasuredRate(),eN(e)){let e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());let r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){let e=Math.floor(2*this.getCurrentTimeInSeconds())/2;if(this.requestCount++,e>this.lastTxRateBucket){let t=this.requestCount/(e-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(t*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=e}}getPrecise(e){return parseFloat(e.toFixed(8))}}eB.setTimeoutFn=setTimeout;let e$=()=>{let e=100;return{computeNextBackoffDelay:t=>Math.floor(Math.min(2e4,Math.random()*2**t*e)),setDelayBase:t=>{e=t}}},eL=({retryDelay:e,retryCount:t,retryCost:r})=>({getRetryCount:()=>t,getRetryDelay:()=>Math.min(2e4,e),getRetryCost:()=>r});class eD{constructor(e){this.maxAttempts=e,this.mode=o.STANDARD,this.capacity=500,this.retryBackoffStrategy=e$(),this.maxAttemptsProvider="function"==typeof e?e:async()=>e}async acquireInitialRetryToken(e){return eL({retryDelay:100,retryCount:0})}async refreshRetryTokenForRetry(e,t){let r=await this.getMaxAttempts();if(this.shouldRetry(e,t,r)){let r=t.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===r?500:100);let n=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),i=t.retryAfterHint?Math.max(t.retryAfterHint.getTime()-Date.now()||0,n):n,s=this.getCapacityCost(r);return this.capacity-=s,eL({retryDelay:i,retryCount:e.getRetryCount()+1,retryCost:s})}throw Error("No retry token available")}recordSuccess(e){this.capacity=Math.max(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}shouldRetry(e,t,r){return e.getRetryCount()+1=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(e){return"TRANSIENT"===e?10:5}isRetryableError(e){return"THROTTLING"===e||"TRANSIENT"===e}}class eF{constructor(e,t){this.maxAttemptsProvider=e,this.mode=o.ADAPTIVE;let{rateLimiter:r}=t??{};this.rateLimiter=r??new eB,this.standardRetryStrategy=new eD(e)}async acquireInitialRetryToken(e){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(e)}async refreshRetryTokenForRetry(e,t){return this.rateLimiter.updateClientSendingRate(t),this.standardRetryStrategy.refreshRetryTokenForRetry(e,t)}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}}let ej={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},eH=new Uint8Array(16),ez=[];for(let e=0;e<256;++e)ez.push((e+256).toString(16).slice(1));let eq=function(e,t,r){if(ej.randomUUID&&!t&&!e)return ej.randomUUID();let i=(e=e||{}).random||(e.rng||function(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(eH)})();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=i[e];return t}return function(e,t=0){return ez[e[t+0]]+ez[e[t+1]]+ez[e[t+2]]+ez[e[t+3]]+"-"+ez[e[t+4]]+ez[e[t+5]]+"-"+ez[e[t+6]]+ez[e[t+7]]+"-"+ez[e[t+8]]+ez[e[t+9]]+"-"+ez[e[t+10]]+ez[e[t+11]]+ez[e[t+12]]+ez[e[t+13]]+ez[e[t+14]]+ez[e[t+15]]}(i)},eV=e=>e instanceof Error?e:e instanceof Object?Object.assign(Error(),e):"string"==typeof e?Error(e):Error(`AWS SDK error wrapper for ${e}`),eK=e=>{let{retryStrategy:t,retryMode:r,maxAttempts:n}=e,i=(0,em.t)(n??3);return Object.assign(e,{maxAttempts:i,retryStrategy:async()=>t||(await (0,em.t)(r)()===o.ADAPTIVE?new eF(i):new eD(i))})};var eW=r(59127);let eG=e=>e?.body instanceof ReadableStream,eZ=e=>(t,r)=>async n=>{let i=await e.retryStrategy(),s=await e.maxAttempts();if(!eJ(i))return i?.mode&&(r.userAgent=[...r.userAgent||[],["cfg/retry-mode",i.mode]]),i.retry(t,n);{let e=await i.acquireInitialRetryToken(r.partition_id),a=Error(),o=0,u=0,{request:c}=n,f=l.Kd.isInstance(c);for(f&&(c.headers["amz-sdk-invocation-id"]=eq());;)try{f&&(c.headers["amz-sdk-request"]=`attempt=${o+1}; max=${s}`);let{response:r,output:a}=await t(n);return i.recordSuccess(e),a.$metadata.attempts=o+1,a.$metadata.totalRetryDelay=u,{response:r,output:a}}catch(s){let t=eY(s);if(a=eV(s),f&&eG(c))throw(r.logger instanceof eW.N4?console:r.logger)?.warn("An error was encountered in a non-retryable streaming request."),a;try{e=await i.refreshRetryTokenForRetry(e,t)}catch(e){throw a.$metadata||(a.$metadata={}),a.$metadata.attempts=o+1,a.$metadata.totalRetryDelay=u,a}o=e.getRetryCount();let n=e.getRetryDelay();u+=n,await new Promise(e=>setTimeout(e,n))}}},eJ=e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess,eY=e=>{let t={error:e,errorType:eX(e)},r=e1(e.$response);return r&&(t.retryAfterHint=r),t},eX=e=>eN(e)?"THROTTLING":e_(e)?"TRANSIENT":eU(e)?"SERVER_ERROR":"CLIENT_ERROR",eQ={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},e0=e=>({applyToStack:t=>{t.add(eZ(e),eQ)}}),e1=e=>{if(!l.cS.isInstance(e))return;let t=Object.keys(e.headers).find(e=>"retry-after"===e.toLowerCase());if(!t)return;let r=e.headers[t],n=Number(r);return new Date(Number.isNaN(n)?r:1e3*n)};var e2=r(2548);let e3=e=>{let t,r,n=e.credentials,i=!!e.credentials;Object.defineProperty(e,"credentials",{set(r){r&&r!==n&&r!==t&&(i=!0);let s=function(e,{credentials:t,credentialDefaultProvider:r}){let n;return(n=t?t?.memoized?t:(0,R.K4)(t,R.OC,R.e):r?(0,R.te)(r(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")}).memoized=!0,n}(e,{credentials:n=r,credentialDefaultProvider:e.credentialDefaultProvider}),a=function(e,t){if(t.configBound)return t;let r=async r=>t({...r,callerClientConfig:e});return r.memoized=t.memoized,r.configBound=!0,r}(e,s);i&&!a.attributed?((t=async e=>a(e).then(e=>(e.$source||(e.$source={}),e.$source.CREDENTIALS_CODE="e",e))).memoized=a.memoized,t.configBound=a.configBound,t.attributed=!0):t=a},get:()=>t,enumerable:!0,configurable:!0}),e.credentials=n;let{signingEscapePath:s=!0,systemClockOffset:a=e.systemClockOffset||0,sha256:o}=e;return r=e.signer?(0,R.te)(e.signer):e.regionInfoProvider?()=>(0,R.te)(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,r])=>{let{signingRegion:n,signingService:i}=t;e.signingRegion=e.signingRegion||n||r,e.signingName=e.signingName||i||e.serviceId;let a={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:s};return new(e.signerConstructor||e2.BB)(a)}):async t=>{let r=(t=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await (0,R.te)(e.region)(),properties:{}},t)).signingRegion,n=t.signingName;e.signingRegion=e.signingRegion||r,e.signingName=e.signingName||n||e.serviceId;let i={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:s};return new(e.signerConstructor||e2.BB)(i)},Object.assign(e,{systemClockOffset:a,signingEscapePath:s,signer:r})},e6=(e,t,r)=>{let n,i,s,a=!1,o=async()=>{i||(i=e());try{n=await i,s=!0,a=!1}finally{i=void 0}return n};return void 0===t?async e=>((!s||e?.forceRefresh)&&(n=await o()),n):async e=>((!s||e?.forceRefresh)&&(n=await o()),a||(r&&!r(n)?a=!0:t(n)&&await o()),n)},e8=e=>(e.sigv4aSigningRegionSet=(0,R.te)(e.sigv4aSigningRegionSet),e),e4={CrtSignerV4:null};class e5{sigv4aSigner;sigv4Signer;signerOptions;constructor(e){this.sigv4Signer=new A.rQ(e),this.signerOptions=e}async sign(e,t={}){return"*"===t.signingRegion?this.getSigv4aSigner().sign(e,t):this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,r={}){if("*"===r.signingRegion){let n=this.getSigv4aSigner(),i=e4.CrtSignerV4;if(i&&n instanceof i)return n.signWithCredentials(e,t,r);throw Error('signWithCredentials with signingRegion \'*\' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt')}return this.sigv4Signer.signWithCredentials(e,t,r)}async presign(e,t={}){if("*"===t.signingRegion){let r=this.getSigv4aSigner(),n=e4.CrtSignerV4;if(n&&r instanceof n)return r.presign(e,t);throw Error('presign with signingRegion \'*\' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt')}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,r={}){if("*"===r.signingRegion)throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(e,t,r)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=e4.CrtSignerV4,t=e2.dm.SignatureV4a;if("node"===this.signerOptions.runtime){if(!e&&!t)throw Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(e&&"function"==typeof e)this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&"function"==typeof t)this.sigv4aSigner=new t({...this.signerOptions});else throw Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{if(!t||"function"!=typeof t)throw Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}}let e9="required",e7="type",te="rules",tt="conditions",tr="argv",tn="assign",ti="properties",ts="backend",ta="authSchemes",to="disableDoubleEncoding",tu="signingName",tl="signingRegion",tc="headers",tf="signingRegionSet",td="isSet",th="booleanEquals",tp="error",tg="aws.partition",ty="stringEquals",tm="getAttr",tb="name",tx="substring",tw="bucketSuffix",tv="parseURL",tS="endpoint",tE="tree",tA="aws.isVirtualHostableS3Bucket",tR="{url#scheme}://{Bucket}.{url#authority}{url#path}",tP="accessPointSuffix",tk="{url#scheme}://{url#authority}{url#path}",tC="hardwareType",tT="regionPrefix",tI="bucketAliasSuffix",tO="outpostId",tM="isValidHostLabel",tN="sigv4a",t_="s3-outposts",tU="{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}",tB="https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}",t$="https://{Bucket}.s3.{partitionResult#dnsSuffix}",tL="aws.parseArn",tD="bucketArn",tF="arnType",tj="s3-object-lambda",tH="accesspoint",tz="accessPointName",tq="{url#scheme}://{accessPointName}-{bucketArn#accountId}.{url#authority}{url#path}",tV="mrapPartition",tK="outpostType",tW="arnPrefix",tG="{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}",tZ="https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",tJ="https://s3.{partitionResult#dnsSuffix}",tY={[e9]:!1,[e7]:"String"},tX={[e9]:!0,default:!1,[e7]:"Boolean"},tQ={[e9]:!1,[e7]:"Boolean"},t0={fn:th,[tr]:[{ref:"Accelerate"},!0]},t1={fn:th,[tr]:[{ref:"UseFIPS"},!0]},t2={fn:th,[tr]:[{ref:"UseDualStack"},!0]},t3={fn:td,[tr]:[{ref:"Endpoint"}]},t6={fn:tg,[tr]:[{ref:"Region"}],[tn]:"partitionResult"},t8={fn:ty,[tr]:[{fn:tm,[tr]:[{ref:"partitionResult"},tb]},"aws-cn"]},t4={fn:td,[tr]:[{ref:"Bucket"}]},t5={ref:"Bucket"},t9={[tt]:[t2],[tp]:"S3Express does not support Dual-stack.",[e7]:tp},t7={[tt]:[t0],[tp]:"S3Express does not support S3 Accelerate.",[e7]:tp},re={[tt]:[t3,{fn:tv,[tr]:[{ref:"Endpoint"}],[tn]:"url"}],[te]:[{[tt]:[{fn:td,[tr]:[{ref:"DisableS3ExpressSessionAuth"}]},{fn:th,[tr]:[{ref:"DisableS3ExpressSessionAuth"},!0]}],[te]:[{[tt]:[{fn:th,[tr]:[{fn:tm,[tr]:[{ref:"url"},"isIp"]},!0]}],[te]:[{[tt]:[{fn:"uriEncode",[tr]:[t5],[tn]:"uri_encoded_bucket"}],[te]:[{[tS]:{url:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",[ti]:{[ts]:"S3Express",[ta]:[{[to]:!0,[tb]:"sigv4",[tu]:"s3express",[tl]:"{Region}"}]},[tc]:{}},[e7]:tS}],[e7]:tE}],[e7]:tE},{[tt]:[{fn:tA,[tr]:[t5,!1]}],[te]:[{[tS]:{url:tR,[ti]:{[ts]:"S3Express",[ta]:[{[to]:!0,[tb]:"sigv4",[tu]:"s3express",[tl]:"{Region}"}]},[tc]:{}},[e7]:tS}],[e7]:tE},{[tp]:"S3Express bucket name is not a valid virtual hostable name.",[e7]:tp}],[e7]:tE},{[tt]:[{fn:th,[tr]:[{fn:tm,[tr]:[{ref:"url"},"isIp"]},!0]}],[te]:[{[tt]:[{fn:"uriEncode",[tr]:[t5],[tn]:"uri_encoded_bucket"}],[te]:[{[tS]:{url:"{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}",[ti]:{[ts]:"S3Express",[ta]:[{[to]:!0,[tb]:"sigv4-s3express",[tu]:"s3express",[tl]:"{Region}"}]},[tc]:{}},[e7]:tS}],[e7]:tE}],[e7]:tE},{[tt]:[{fn:tA,[tr]:[t5,!1]}],[te]:[{[tS]:{url:tR,[ti]:{[ts]:"S3Express",[ta]:[{[to]:!0,[tb]:"sigv4-s3express",[tu]:"s3express",[tl]:"{Region}"}]},[tc]:{}},[e7]:tS}],[e7]:tE},{[tp]:"S3Express bucket name is not a valid virtual hostable name.",[e7]:tp}],[e7]:tE},rt={fn:tv,[tr]:[{ref:"Endpoint"}],[tn]:"url"},rr={fn:th,[tr]:[{fn:tm,[tr]:[{ref:"url"},"isIp"]},!0]},rn={ref:"url"},ri={fn:"uriEncode",[tr]:[t5],[tn]:"uri_encoded_bucket"},rs={[ts]:"S3Express",[ta]:[{[to]:!0,[tb]:"sigv4",[tu]:"s3express",[tl]:"{Region}"}]},ra={},ro={fn:tA,[tr]:[t5,!1]},ru={[tp]:"S3Express bucket name is not a valid virtual hostable name.",[e7]:tp},rl={fn:td,[tr]:[{ref:"UseS3ExpressControlEndpoint"}]},rc={fn:th,[tr]:[{ref:"UseS3ExpressControlEndpoint"},!0]},rf={fn:"not",[tr]:[t3]},rd={[tp]:"Unrecognized S3Express bucket name format.",[e7]:tp},rh={fn:"not",[tr]:[t4]},rp={ref:tC},rg={[tt]:[rf],[tp]:"Expected a endpoint to be specified but no endpoint was found",[e7]:tp},ry={[ta]:[{[to]:!0,[tb]:tN,[tu]:t_,[tf]:["*"]},{[to]:!0,[tb]:"sigv4",[tu]:t_,[tl]:"{Region}"}]},rm={fn:th,[tr]:[{ref:"ForcePathStyle"},!1]},rb={fn:th,[tr]:[{ref:"Accelerate"},!1]},rx={fn:ty,[tr]:[{ref:"Region"},"aws-global"]},rw={[ta]:[{[to]:!0,[tb]:"sigv4",[tu]:"s3",[tl]:"us-east-1"}]},rv={fn:"not",[tr]:[rx]},rS={fn:th,[tr]:[{ref:"UseGlobalEndpoint"},!0]},rE={url:"https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[ti]:{[ta]:[{[to]:!0,[tb]:"sigv4",[tu]:"s3",[tl]:"{Region}"}]},[tc]:{}},rA={[ta]:[{[to]:!0,[tb]:"sigv4",[tu]:"s3",[tl]:"{Region}"}]},rR={fn:th,[tr]:[{ref:"UseGlobalEndpoint"},!1]},rP={fn:th,[tr]:[{ref:"UseDualStack"},!1]},rk={url:"https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}",[ti]:rA,[tc]:{}},rC={fn:th,[tr]:[{ref:"UseFIPS"},!1]},rT={url:"https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}",[ti]:rA,[tc]:{}},rI={url:"https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[ti]:rA,[tc]:{}},rO={fn:th,[tr]:[{fn:tm,[tr]:[rn,"isIp"]},!1]},rM={url:tU,[ti]:rA,[tc]:{}},rN={url:tR,[ti]:rA,[tc]:{}},r_={[tS]:rN,[e7]:tS},rU={url:tB,[ti]:rA,[tc]:{}},rB={url:"https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}",[ti]:rA,[tc]:{}},r$={[tp]:"Invalid region: region was not a valid DNS name.",[e7]:tp},rL={ref:tD},rD={ref:tF},rF={fn:tm,[tr]:[rL,"service"]},rj={ref:tz},rH={[tt]:[t2],[tp]:"S3 Object Lambda does not support Dual-stack",[e7]:tp},rz={[tt]:[t0],[tp]:"S3 Object Lambda does not support S3 Accelerate",[e7]:tp},rq={[tt]:[{fn:td,[tr]:[{ref:"DisableAccessPoints"}]},{fn:th,[tr]:[{ref:"DisableAccessPoints"},!0]}],[tp]:"Access points are not supported for this operation",[e7]:tp},rV={[tt]:[{fn:td,[tr]:[{ref:"UseArnRegion"}]},{fn:th,[tr]:[{ref:"UseArnRegion"},!1]},{fn:"not",[tr]:[{fn:ty,[tr]:[{fn:tm,[tr]:[rL,"region"]},"{Region}"]}]}],[tp]:"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`",[e7]:tp},rK={fn:tm,[tr]:[{ref:"bucketPartition"},tb]},rW={fn:tm,[tr]:[rL,"accountId"]},rG={[ta]:[{[to]:!0,[tb]:"sigv4",[tu]:tj,[tl]:"{bucketArn#region}"}]},rZ={[tp]:"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName}`",[e7]:tp},rJ={[tp]:"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`",[e7]:tp},rY={[tp]:"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)",[e7]:tp},rX={[tp]:"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`",[e7]:tp},rQ={[tp]:"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`.",[e7]:tp},r0={[tp]:"Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided",[e7]:tp},r1={[ta]:[{[to]:!0,[tb]:"sigv4",[tu]:"s3",[tl]:"{bucketArn#region}"}]},r2={[ta]:[{[to]:!0,[tb]:tN,[tu]:t_,[tf]:["*"]},{[to]:!0,[tb]:"sigv4",[tu]:t_,[tl]:"{bucketArn#region}"}]},r3={fn:tL,[tr]:[t5]},r6={url:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ti]:rA,[tc]:{}},r8={url:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ti]:rA,[tc]:{}},r4={url:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ti]:rA,[tc]:{}},r5={url:tG,[ti]:rA,[tc]:{}},r9={url:"https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ti]:rA,[tc]:{}},r7={ref:"UseObjectLambdaEndpoint"},ne={[ta]:[{[to]:!0,[tb]:"sigv4",[tu]:tj,[tl]:"{Region}"}]},nt={url:"https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}",[ti]:rA,[tc]:{}},nr={url:"https://s3-fips.{Region}.{partitionResult#dnsSuffix}",[ti]:rA,[tc]:{}},nn={url:"https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}",[ti]:rA,[tc]:{}},ni={url:tk,[ti]:rA,[tc]:{}},ns={url:"https://s3.{Region}.{partitionResult#dnsSuffix}",[ti]:rA,[tc]:{}},na=[{ref:"Region"}],no=[t2],nu=[t0],nl=[t3,rt],nc=[{fn:td,[tr]:[{ref:"DisableS3ExpressSessionAuth"}]},{fn:th,[tr]:[{ref:"DisableS3ExpressSessionAuth"},!0]}],nf=[ro],nd=[t6],nh=[t1],np=[{fn:tx,[tr]:[t5,6,14,!0],[tn]:"s3expressAvailabilityZoneId"},{fn:tx,[tr]:[t5,14,16,!0],[tn]:"s3expressAvailabilityZoneDelim"},{fn:ty,[tr]:[{ref:"s3expressAvailabilityZoneDelim"},"--"]}],ng=[{[tt]:[t1],[tS]:{url:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}",[ti]:rs,[tc]:{}},[e7]:tS},{[tS]:{url:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}",[ti]:rs,[tc]:{}},[e7]:tS}],ny=[{fn:tx,[tr]:[t5,6,15,!0],[tn]:"s3expressAvailabilityZoneId"},{fn:tx,[tr]:[t5,15,17,!0],[tn]:"s3expressAvailabilityZoneDelim"},{fn:ty,[tr]:[{ref:"s3expressAvailabilityZoneDelim"},"--"]}],nm=[{fn:tx,[tr]:[t5,6,19,!0],[tn]:"s3expressAvailabilityZoneId"},{fn:tx,[tr]:[t5,19,21,!0],[tn]:"s3expressAvailabilityZoneDelim"},{fn:ty,[tr]:[{ref:"s3expressAvailabilityZoneDelim"},"--"]}],nb=[{fn:tx,[tr]:[t5,6,20,!0],[tn]:"s3expressAvailabilityZoneId"},{fn:tx,[tr]:[t5,20,22,!0],[tn]:"s3expressAvailabilityZoneDelim"},{fn:ty,[tr]:[{ref:"s3expressAvailabilityZoneDelim"},"--"]}],nx=[{fn:tx,[tr]:[t5,6,26,!0],[tn]:"s3expressAvailabilityZoneId"},{fn:tx,[tr]:[t5,26,28,!0],[tn]:"s3expressAvailabilityZoneDelim"},{fn:ty,[tr]:[{ref:"s3expressAvailabilityZoneDelim"},"--"]}],nw=[{[tt]:[t1],[tS]:{url:"https://{Bucket}.s3express-fips-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}",[ti]:{[ts]:"S3Express",[ta]:[{[to]:!0,[tb]:"sigv4-s3express",[tu]:"s3express",[tl]:"{Region}"}]},[tc]:{}},[e7]:tS},{[tS]:{url:"https://{Bucket}.s3express-{s3expressAvailabilityZoneId}.{Region}.{partitionResult#dnsSuffix}",[ti]:{[ts]:"S3Express",[ta]:[{[to]:!0,[tb]:"sigv4-s3express",[tu]:"s3express",[tl]:"{Region}"}]},[tc]:{}},[e7]:tS}],nv=[t5,0,7,!0],nS=[{fn:tx,[tr]:[t5,7,15,!0],[tn]:"s3expressAvailabilityZoneId"},{fn:tx,[tr]:[t5,15,17,!0],[tn]:"s3expressAvailabilityZoneDelim"},{fn:ty,[tr]:[{ref:"s3expressAvailabilityZoneDelim"},"--"]}],nE=[{fn:tx,[tr]:[t5,7,16,!0],[tn]:"s3expressAvailabilityZoneId"},{fn:tx,[tr]:[t5,16,18,!0],[tn]:"s3expressAvailabilityZoneDelim"},{fn:ty,[tr]:[{ref:"s3expressAvailabilityZoneDelim"},"--"]}],nA=[{fn:tx,[tr]:[t5,7,20,!0],[tn]:"s3expressAvailabilityZoneId"},{fn:tx,[tr]:[t5,20,22,!0],[tn]:"s3expressAvailabilityZoneDelim"},{fn:ty,[tr]:[{ref:"s3expressAvailabilityZoneDelim"},"--"]}],nR=[{fn:tx,[tr]:[t5,7,21,!0],[tn]:"s3expressAvailabilityZoneId"},{fn:tx,[tr]:[t5,21,23,!0],[tn]:"s3expressAvailabilityZoneDelim"},{fn:ty,[tr]:[{ref:"s3expressAvailabilityZoneDelim"},"--"]}],nP=[{fn:tx,[tr]:[t5,7,27,!0],[tn]:"s3expressAvailabilityZoneId"},{fn:tx,[tr]:[t5,27,29,!0],[tn]:"s3expressAvailabilityZoneDelim"},{fn:ty,[tr]:[{ref:"s3expressAvailabilityZoneDelim"},"--"]}],nk=[{fn:tM,[tr]:[{ref:tO},!1]}],nC=[{fn:ty,[tr]:[{ref:tT},"beta"]}],nT=[{fn:tM,[tr]:[{ref:"Region"},!1]}],nI=[{fn:ty,[tr]:[{ref:"Region"},"us-east-1"]}],nO=[{fn:ty,[tr]:[rD,tH]}],nM=[{fn:tm,[tr]:[rL,"resourceId[1]"],[tn]:tz},{fn:"not",[tr]:[{fn:ty,[tr]:[rj,""]}]}],nN=[{fn:"not",[tr]:[{fn:ty,[tr]:[{fn:tm,[tr]:[rL,"region"]},""]}]}],n_=[{fn:"not",[tr]:[{fn:td,[tr]:[{fn:tm,[tr]:[rL,"resourceId[2]"]}]}]}],nU=[{fn:tg,[tr]:[{fn:tm,[tr]:[rL,"region"]}],[tn]:"bucketPartition"}],nB=[{fn:ty,[tr]:[rK,{fn:tm,[tr]:[{ref:"partitionResult"},tb]}]}],n$=[{fn:tM,[tr]:[{fn:tm,[tr]:[rL,"region"]},!0]}],nL=[{fn:tM,[tr]:[rW,!1]}],nD=[{fn:tM,[tr]:[rj,!1]}],nF=[{fn:tM,[tr]:[{ref:"Region"},!0]}],nj={version:"1.0",parameters:{Bucket:tY,Region:tY,UseFIPS:tX,UseDualStack:tX,Endpoint:tY,ForcePathStyle:tX,Accelerate:tX,UseGlobalEndpoint:tX,UseObjectLambdaEndpoint:tQ,Key:tY,Prefix:tY,CopySource:tY,DisableAccessPoints:tQ,DisableMultiRegionAccessPoints:tX,UseArnRegion:tQ,UseS3ExpressControlEndpoint:tQ,DisableS3ExpressSessionAuth:tQ},[te]:[{[tt]:[{fn:td,[tr]:na}],[te]:[{[tt]:[t0,t1],error:"Accelerate cannot be used with FIPS",[e7]:tp},{[tt]:[t2,t3],error:"Cannot set dual-stack in combination with a custom endpoint.",[e7]:tp},{[tt]:[t3,t1],error:"A custom endpoint cannot be combined with FIPS",[e7]:tp},{[tt]:[t3,t0],error:"A custom endpoint cannot be combined with S3 Accelerate",[e7]:tp},{[tt]:[t1,t6,t8],error:"Partition does not support FIPS",[e7]:tp},{[tt]:[t4,{fn:tx,[tr]:[t5,0,6,!0],[tn]:tw},{fn:ty,[tr]:[{ref:tw},"--x-s3"]}],[te]:[t9,t7,re,{[tt]:[rl,rc],[te]:[{[tt]:nd,[te]:[{[tt]:[ri,rf],[te]:[{[tt]:nh,endpoint:{url:"https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ti]:rs,[tc]:ra},[e7]:tS},{endpoint:{url:"https://s3express-control.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ti]:rs,[tc]:ra},[e7]:tS}],[e7]:tE}],[e7]:tE}],[e7]:tE},{[tt]:nf,[te]:[{[tt]:nd,[te]:[{[tt]:nc,[te]:[{[tt]:np,[te]:ng,[e7]:tE},{[tt]:ny,[te]:ng,[e7]:tE},{[tt]:nm,[te]:ng,[e7]:tE},{[tt]:nb,[te]:ng,[e7]:tE},{[tt]:nx,[te]:ng,[e7]:tE},rd],[e7]:tE},{[tt]:np,[te]:nw,[e7]:tE},{[tt]:ny,[te]:nw,[e7]:tE},{[tt]:nm,[te]:nw,[e7]:tE},{[tt]:nb,[te]:nw,[e7]:tE},{[tt]:nx,[te]:nw,[e7]:tE},rd],[e7]:tE}],[e7]:tE},ru],[e7]:tE},{[tt]:[t4,{fn:tx,[tr]:nv,[tn]:tP},{fn:ty,[tr]:[{ref:tP},"--xa-s3"]}],[te]:[t9,t7,re,{[tt]:nf,[te]:[{[tt]:nd,[te]:[{[tt]:nc,[te]:[{[tt]:nS,[te]:ng,[e7]:tE},{[tt]:nE,[te]:ng,[e7]:tE},{[tt]:nA,[te]:ng,[e7]:tE},{[tt]:nR,[te]:ng,[e7]:tE},{[tt]:nP,[te]:ng,[e7]:tE},rd],[e7]:tE},{[tt]:nS,[te]:nw,[e7]:tE},{[tt]:nE,[te]:nw,[e7]:tE},{[tt]:nA,[te]:nw,[e7]:tE},{[tt]:nR,[te]:nw,[e7]:tE},{[tt]:nP,[te]:nw,[e7]:tE},rd],[e7]:tE}],[e7]:tE},ru],[e7]:tE},{[tt]:[rh,rl,rc],[te]:[{[tt]:nd,[te]:[{[tt]:nl,endpoint:{url:tk,[ti]:rs,[tc]:ra},[e7]:tS},{[tt]:nh,endpoint:{url:"https://s3express-control-fips.{Region}.{partitionResult#dnsSuffix}",[ti]:rs,[tc]:ra},[e7]:tS},{endpoint:{url:"https://s3express-control.{Region}.{partitionResult#dnsSuffix}",[ti]:rs,[tc]:ra},[e7]:tS}],[e7]:tE}],[e7]:tE},{[tt]:[t4,{fn:tx,[tr]:[t5,49,50,!0],[tn]:tC},{fn:tx,[tr]:[t5,8,12,!0],[tn]:tT},{fn:tx,[tr]:nv,[tn]:tI},{fn:tx,[tr]:[t5,32,49,!0],[tn]:tO},{fn:tg,[tr]:na,[tn]:"regionPartition"},{fn:ty,[tr]:[{ref:tI},"--op-s3"]}],[te]:[{[tt]:nk,[te]:[{[tt]:[{fn:ty,[tr]:[rp,"e"]}],[te]:[{[tt]:nC,[te]:[rg,{[tt]:nl,endpoint:{url:"https://{Bucket}.ec2.{url#authority}",[ti]:ry,[tc]:ra},[e7]:tS}],[e7]:tE},{endpoint:{url:"https://{Bucket}.ec2.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[ti]:ry,[tc]:ra},[e7]:tS}],[e7]:tE},{[tt]:[{fn:ty,[tr]:[rp,"o"]}],[te]:[{[tt]:nC,[te]:[rg,{[tt]:nl,endpoint:{url:"https://{Bucket}.op-{outpostId}.{url#authority}",[ti]:ry,[tc]:ra},[e7]:tS}],[e7]:tE},{endpoint:{url:"https://{Bucket}.op-{outpostId}.s3-outposts.{Region}.{regionPartition#dnsSuffix}",[ti]:ry,[tc]:ra},[e7]:tS}],[e7]:tE},{error:'Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"',[e7]:tp}],[e7]:tE},{error:"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`.",[e7]:tp}],[e7]:tE},{[tt]:[t4],[te]:[{[tt]:[t3,{fn:"not",[tr]:[{fn:td,[tr]:[{fn:tv,[tr]:[{ref:"Endpoint"}]}]}]}],error:"Custom endpoint `{Endpoint}` was not a valid URI",[e7]:tp},{[tt]:[rm,ro],[te]:[{[tt]:nd,[te]:[{[tt]:nT,[te]:[{[tt]:[t0,t8],error:"S3 Accelerate cannot be used in this region",[e7]:tp},{[tt]:[t2,t1,rb,rf,rx],endpoint:{url:"https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[t2,t1,rb,rf,rv,rS],[te]:[{endpoint:rE,[e7]:tS}],[e7]:tE},{[tt]:[t2,t1,rb,rf,rv,rR],endpoint:rE,[e7]:tS},{[tt]:[rP,t1,rb,rf,rx],endpoint:{url:"https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}",[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[rP,t1,rb,rf,rv,rS],[te]:[{endpoint:rk,[e7]:tS}],[e7]:tE},{[tt]:[rP,t1,rb,rf,rv,rR],endpoint:rk,[e7]:tS},{[tt]:[t2,rC,t0,rf,rx],endpoint:{url:"https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[t2,rC,t0,rf,rv,rS],[te]:[{endpoint:rT,[e7]:tS}],[e7]:tE},{[tt]:[t2,rC,t0,rf,rv,rR],endpoint:rT,[e7]:tS},{[tt]:[t2,rC,rb,rf,rx],endpoint:{url:"https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[t2,rC,rb,rf,rv,rS],[te]:[{endpoint:rI,[e7]:tS}],[e7]:tE},{[tt]:[t2,rC,rb,rf,rv,rR],endpoint:rI,[e7]:tS},{[tt]:[rP,rC,rb,t3,rt,rr,rx],endpoint:{url:tU,[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[rP,rC,rb,t3,rt,rO,rx],endpoint:{url:tR,[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[rP,rC,rb,t3,rt,rr,rv,rS],[te]:[{[tt]:nI,endpoint:rM,[e7]:tS},{endpoint:rM,[e7]:tS}],[e7]:tE},{[tt]:[rP,rC,rb,t3,rt,rO,rv,rS],[te]:[{[tt]:nI,endpoint:rN,[e7]:tS},r_],[e7]:tE},{[tt]:[rP,rC,rb,t3,rt,rr,rv,rR],endpoint:rM,[e7]:tS},{[tt]:[rP,rC,rb,t3,rt,rO,rv,rR],endpoint:rN,[e7]:tS},{[tt]:[rP,rC,t0,rf,rx],endpoint:{url:tB,[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[rP,rC,t0,rf,rv,rS],[te]:[{[tt]:nI,endpoint:rU,[e7]:tS},{endpoint:rU,[e7]:tS}],[e7]:tE},{[tt]:[rP,rC,t0,rf,rv,rR],endpoint:rU,[e7]:tS},{[tt]:[rP,rC,rb,rf,rx],endpoint:{url:t$,[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[rP,rC,rb,rf,rv,rS],[te]:[{[tt]:nI,endpoint:{url:t$,[ti]:rA,[tc]:ra},[e7]:tS},{endpoint:rB,[e7]:tS}],[e7]:tE},{[tt]:[rP,rC,rb,rf,rv,rR],endpoint:rB,[e7]:tS}],[e7]:tE},r$],[e7]:tE}],[e7]:tE},{[tt]:[t3,rt,{fn:ty,[tr]:[{fn:tm,[tr]:[rn,"scheme"]},"http"]},{fn:tA,[tr]:[t5,!0]},rm,rC,rP,rb],[te]:[{[tt]:nd,[te]:[{[tt]:nT,[te]:[r_],[e7]:tE},r$],[e7]:tE}],[e7]:tE},{[tt]:[rm,{fn:tL,[tr]:[t5],[tn]:tD}],[te]:[{[tt]:[{fn:tm,[tr]:[rL,"resourceId[0]"],[tn]:tF},{fn:"not",[tr]:[{fn:ty,[tr]:[rD,""]}]}],[te]:[{[tt]:[{fn:ty,[tr]:[rF,tj]}],[te]:[{[tt]:nO,[te]:[{[tt]:nM,[te]:[rH,rz,{[tt]:nN,[te]:[rq,{[tt]:n_,[te]:[rV,{[tt]:nU,[te]:[{[tt]:nd,[te]:[{[tt]:nB,[te]:[{[tt]:n$,[te]:[{[tt]:[{fn:ty,[tr]:[rW,""]}],error:"Invalid ARN: Missing account id",[e7]:tp},{[tt]:nL,[te]:[{[tt]:nD,[te]:[{[tt]:nl,endpoint:{url:tq,[ti]:rG,[tc]:ra},[e7]:tS},{[tt]:nh,endpoint:{url:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ti]:rG,[tc]:ra},[e7]:tS},{endpoint:{url:"https://{accessPointName}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ti]:rG,[tc]:ra},[e7]:tS}],[e7]:tE},rZ],[e7]:tE},rJ],[e7]:tE},rY],[e7]:tE},rX],[e7]:tE}],[e7]:tE}],[e7]:tE},rQ],[e7]:tE},{error:"Invalid ARN: bucket ARN is missing a region",[e7]:tp}],[e7]:tE},r0],[e7]:tE},{error:"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`",[e7]:tp}],[e7]:tE},{[tt]:nO,[te]:[{[tt]:nM,[te]:[{[tt]:nN,[te]:[{[tt]:nO,[te]:[{[tt]:nN,[te]:[rq,{[tt]:n_,[te]:[rV,{[tt]:nU,[te]:[{[tt]:nd,[te]:[{[tt]:[{fn:ty,[tr]:[rK,"{partitionResult#name}"]}],[te]:[{[tt]:n$,[te]:[{[tt]:[{fn:ty,[tr]:[rF,"s3"]}],[te]:[{[tt]:nL,[te]:[{[tt]:nD,[te]:[{[tt]:nu,error:"Access Points do not support S3 Accelerate",[e7]:tp},{[tt]:[t1,t2],endpoint:{url:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ti]:r1,[tc]:ra},[e7]:tS},{[tt]:[t1,rP],endpoint:{url:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ti]:r1,[tc]:ra},[e7]:tS},{[tt]:[rC,t2],endpoint:{url:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ti]:r1,[tc]:ra},[e7]:tS},{[tt]:[rC,rP,t3,rt],endpoint:{url:tq,[ti]:r1,[tc]:ra},[e7]:tS},{[tt]:[rC,rP],endpoint:{url:"https://{accessPointName}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ti]:r1,[tc]:ra},[e7]:tS}],[e7]:tE},rZ],[e7]:tE},rJ],[e7]:tE},{error:"Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}",[e7]:tp}],[e7]:tE},rY],[e7]:tE},rX],[e7]:tE}],[e7]:tE}],[e7]:tE},rQ],[e7]:tE}],[e7]:tE}],[e7]:tE},{[tt]:[{fn:tM,[tr]:[rj,!0]}],[te]:[{[tt]:no,error:"S3 MRAP does not support dual-stack",[e7]:tp},{[tt]:nh,error:"S3 MRAP does not support FIPS",[e7]:tp},{[tt]:nu,error:"S3 MRAP does not support S3 Accelerate",[e7]:tp},{[tt]:[{fn:th,[tr]:[{ref:"DisableMultiRegionAccessPoints"},!0]}],error:"Invalid configuration: Multi-Region Access Point ARNs are disabled.",[e7]:tp},{[tt]:[{fn:tg,[tr]:na,[tn]:tV}],[te]:[{[tt]:[{fn:ty,[tr]:[{fn:tm,[tr]:[{ref:tV},tb]},{fn:tm,[tr]:[rL,"partition"]}]}],[te]:[{endpoint:{url:"https://{accessPointName}.accesspoint.s3-global.{mrapPartition#dnsSuffix}",[ti]:{[ta]:[{[to]:!0,name:tN,[tu]:"s3",[tf]:["*"]}]},[tc]:ra},[e7]:tS}],[e7]:tE},{error:"Client was configured for partition `{mrapPartition#name}` but bucket referred to partition `{bucketArn#partition}`",[e7]:tp}],[e7]:tE}],[e7]:tE},{error:"Invalid Access Point Name",[e7]:tp}],[e7]:tE},r0],[e7]:tE},{[tt]:[{fn:ty,[tr]:[rF,t_]}],[te]:[{[tt]:no,error:"S3 Outposts does not support Dual-stack",[e7]:tp},{[tt]:nh,error:"S3 Outposts does not support FIPS",[e7]:tp},{[tt]:nu,error:"S3 Outposts does not support S3 Accelerate",[e7]:tp},{[tt]:[{fn:td,[tr]:[{fn:tm,[tr]:[rL,"resourceId[4]"]}]}],error:"Invalid Arn: Outpost Access Point ARN contains sub resources",[e7]:tp},{[tt]:[{fn:tm,[tr]:[rL,"resourceId[1]"],[tn]:tO}],[te]:[{[tt]:nk,[te]:[rV,{[tt]:nU,[te]:[{[tt]:nd,[te]:[{[tt]:nB,[te]:[{[tt]:n$,[te]:[{[tt]:nL,[te]:[{[tt]:[{fn:tm,[tr]:[rL,"resourceId[2]"],[tn]:tK}],[te]:[{[tt]:[{fn:tm,[tr]:[rL,"resourceId[3]"],[tn]:tz}],[te]:[{[tt]:[{fn:ty,[tr]:[{ref:tK},tH]}],[te]:[{[tt]:nl,endpoint:{url:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.{url#authority}",[ti]:r2,[tc]:ra},[e7]:tS},{endpoint:{url:"https://{accessPointName}-{bucketArn#accountId}.{outpostId}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}",[ti]:r2,[tc]:ra},[e7]:tS}],[e7]:tE},{error:"Expected an outpost type `accesspoint`, found {outpostType}",[e7]:tp}],[e7]:tE},{error:"Invalid ARN: expected an access point name",[e7]:tp}],[e7]:tE},{error:"Invalid ARN: Expected a 4-component resource",[e7]:tp}],[e7]:tE},rJ],[e7]:tE},rY],[e7]:tE},rX],[e7]:tE}],[e7]:tE}],[e7]:tE},{error:"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId}`",[e7]:tp}],[e7]:tE},{error:"Invalid ARN: The Outpost Id was not set",[e7]:tp}],[e7]:tE},{error:"Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})",[e7]:tp}],[e7]:tE},{error:"Invalid ARN: No ARN type specified",[e7]:tp}],[e7]:tE},{[tt]:[{fn:tx,[tr]:[t5,0,4,!1],[tn]:tW},{fn:ty,[tr]:[{ref:tW},"arn:"]},{fn:"not",[tr]:[{fn:td,[tr]:[r3]}]}],error:"Invalid ARN: `{Bucket}` was not a valid ARN",[e7]:tp},{[tt]:[{fn:th,[tr]:[{ref:"ForcePathStyle"},!0]},r3],error:"Path-style addressing cannot be used with ARN buckets",[e7]:tp},{[tt]:[ri],[te]:[{[tt]:nd,[te]:[{[tt]:[rb],[te]:[{[tt]:[t2,rf,t1,rx],endpoint:{url:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[t2,rf,t1,rv,rS],[te]:[{endpoint:r6,[e7]:tS}],[e7]:tE},{[tt]:[t2,rf,t1,rv,rR],endpoint:r6,[e7]:tS},{[tt]:[rP,rf,t1,rx],endpoint:{url:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[rP,rf,t1,rv,rS],[te]:[{endpoint:r8,[e7]:tS}],[e7]:tE},{[tt]:[rP,rf,t1,rv,rR],endpoint:r8,[e7]:tS},{[tt]:[t2,rf,rC,rx],endpoint:{url:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}",[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[t2,rf,rC,rv,rS],[te]:[{endpoint:r4,[e7]:tS}],[e7]:tE},{[tt]:[t2,rf,rC,rv,rR],endpoint:r4,[e7]:tS},{[tt]:[rP,t3,rt,rC,rx],endpoint:{url:tG,[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[rP,t3,rt,rC,rv,rS],[te]:[{[tt]:nI,endpoint:r5,[e7]:tS},{endpoint:r5,[e7]:tS}],[e7]:tE},{[tt]:[rP,t3,rt,rC,rv,rR],endpoint:r5,[e7]:tS},{[tt]:[rP,rf,rC,rx],endpoint:{url:tZ,[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[rP,rf,rC,rv,rS],[te]:[{[tt]:nI,endpoint:{url:tZ,[ti]:rA,[tc]:ra},[e7]:tS},{endpoint:r9,[e7]:tS}],[e7]:tE},{[tt]:[rP,rf,rC,rv,rR],endpoint:r9,[e7]:tS}],[e7]:tE},{error:"Path-style addressing cannot be used with S3 Accelerate",[e7]:tp}],[e7]:tE}],[e7]:tE}],[e7]:tE},{[tt]:[{fn:td,[tr]:[r7]},{fn:th,[tr]:[r7,!0]}],[te]:[{[tt]:nd,[te]:[{[tt]:nF,[te]:[rH,rz,{[tt]:nl,endpoint:{url:tk,[ti]:ne,[tc]:ra},[e7]:tS},{[tt]:nh,endpoint:{url:"https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}",[ti]:ne,[tc]:ra},[e7]:tS},{endpoint:{url:"https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}",[ti]:ne,[tc]:ra},[e7]:tS}],[e7]:tE},r$],[e7]:tE}],[e7]:tE},{[tt]:[rh],[te]:[{[tt]:nd,[te]:[{[tt]:nF,[te]:[{[tt]:[t1,t2,rf,rx],endpoint:{url:"https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[t1,t2,rf,rv,rS],[te]:[{endpoint:nt,[e7]:tS}],[e7]:tE},{[tt]:[t1,t2,rf,rv,rR],endpoint:nt,[e7]:tS},{[tt]:[t1,rP,rf,rx],endpoint:{url:"https://s3-fips.us-east-1.{partitionResult#dnsSuffix}",[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[t1,rP,rf,rv,rS],[te]:[{endpoint:nr,[e7]:tS}],[e7]:tE},{[tt]:[t1,rP,rf,rv,rR],endpoint:nr,[e7]:tS},{[tt]:[rC,t2,rf,rx],endpoint:{url:"https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}",[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[rC,t2,rf,rv,rS],[te]:[{endpoint:nn,[e7]:tS}],[e7]:tE},{[tt]:[rC,t2,rf,rv,rR],endpoint:nn,[e7]:tS},{[tt]:[rC,rP,t3,rt,rx],endpoint:{url:tk,[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[rC,rP,t3,rt,rv,rS],[te]:[{[tt]:nI,endpoint:ni,[e7]:tS},{endpoint:ni,[e7]:tS}],[e7]:tE},{[tt]:[rC,rP,t3,rt,rv,rR],endpoint:ni,[e7]:tS},{[tt]:[rC,rP,rf,rx],endpoint:{url:tJ,[ti]:rw,[tc]:ra},[e7]:tS},{[tt]:[rC,rP,rf,rv,rS],[te]:[{[tt]:nI,endpoint:{url:tJ,[ti]:rA,[tc]:ra},[e7]:tS},{endpoint:ns,[e7]:tS}],[e7]:tE},{[tt]:[rC,rP,rf,rv,rR],endpoint:ns,[e7]:tS}],[e7]:tE},r$],[e7]:tE}],[e7]:tE}],[e7]:tE},{error:"A region must be set when sending requests to S3.",[e7]:tp}]},nH=new k({size:50,params:["Accelerate","Bucket","DisableAccessPoints","DisableMultiRegionAccessPoints","DisableS3ExpressSessionAuth","Endpoint","ForcePathStyle","Region","UseArnRegion","UseDualStack","UseFIPS","UseGlobalEndpoint","UseObjectLambdaEndpoint","UseS3ExpressControlEndpoint"]}),nz=(e,t={})=>nH.get(e,()=>et(nj,{endpointParams:e,logger:t.logger}));M.aws=es;let nq=(i=async(e,t,r)=>({operation:(0,em.u)(t).operation,region:await (0,em.t)(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}),async(e,t,r)=>{if(!r)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let n=await i(e,t,r),s=(0,em.u)(t)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!s)throw Error(`getEndpointParameterInstructions() is not defined on \`${t.commandName}\``);return Object.assign(n,await (0,eR.xg)(r,{getEndpointParameterInstructions:s},e))});function nV(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"s3",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function nK(e){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"s3",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}let nW=(s=e=>{let t=[];return e.operation,t.push(nV(e)),t.push(nK(e)),t},a={"aws.auth#sigv4":nV,"aws.auth#sigv4a":nK},e=>{let t=nz(e),r=t.properties?.authSchemes;if(!r)return s(e);let n=[];for(let t of r){let i,{name:s,properties:o={},...u}=t,l=s.toLowerCase();if(s!==l&&console.warn(`HttpAuthScheme has been normalized with lowercasing: \`${s}\` to \`${l}\``),"sigv4a"===l){i="aws.auth#sigv4a";let e=r.find(e=>{let t=e.name.toLowerCase();return"sigv4a"!==t&&t.startsWith("sigv4")});if(!e4.CrtSignerV4&&e)continue}else if(l.startsWith("sigv4"))i="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in \`@smithy.rules#endpointRuleSet\`: \`${l}\``);let c=a[i];if(!c)throw Error(`Could not find HttpAuthOption create function for \`${i}\``);let f=c(e);f.schemeId=i,f.signingProperties={...f.signingProperties||{},...u,...o},n.push(f)}return n}),nG=e=>Object.assign(e8(e3(e)),{authSchemePreference:(0,em.t)(e.authSchemePreference??[])});var nZ=r(48069),nJ=r(78508),nY=r(50373),nX=r(20136);class nQ extends eW.uB.classBuilder().ep({...nJ.S,DisableS3ExpressSessionAuth:{type:"staticContextParams",value:!0},Bucket:{type:"contextParams",name:"Bucket"}}).m(function(e,t,r,n){return[(0,nZ.TM)(r,this.serialize,this.deserialize),(0,eR.rD)(r,e.getEndpointParameterInstructions()),(0,A.Cg)(r)]}).s("AmazonS3","CreateSession",{}).n("S3Client","CreateSessionCommand").f(nY.i6,nY.Y).ser(nX.t$n).de(nX.SjM).build(){}let n0={rE:"3.802.0"},n1=e=>new TextEncoder().encode(e);function n2(e){return"string"==typeof e?0===e.length:0===e.byteLength}var n3={name:"SHA-1"},n6={name:"HMAC",hash:n3},n8=new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9]);let n4={};function n5(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:n4}var n9=function(){function e(e){this.toHash=new Uint8Array(0),void 0!==e&&(this.key=new Promise(function(t,r){n5().crypto.subtle.importKey("raw",n7(e),n6,!1,["sign"]).then(t,r)}),this.key.catch(function(){}))}return e.prototype.update=function(e){if(!n2(e)){var t=n7(e),r=new Uint8Array(this.toHash.byteLength+t.byteLength);r.set(this.toHash,0),r.set(t,this.toHash.byteLength),this.toHash=r}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return n5().crypto.subtle.sign(n6,t,e.toHash).then(function(e){return new Uint8Array(e)})}):n2(this.toHash)?Promise.resolve(n8):Promise.resolve().then(function(){return n5().crypto.subtle.digest(n3,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){this.toHash=new Uint8Array(0)},e}();function n7(e){return"string"==typeof e?n1(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var ie=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function it(e){var t;return"object"==typeof(t=e)&&"object"==typeof t.crypto&&"function"==typeof t.crypto.getRandomValues&&"object"==typeof e.crypto.subtle&&function(e){return e&&ie.every(function(t){return"function"==typeof e[t]})}(e.crypto.subtle)}var ir=r(70073),ii=function(){function e(e){if(it(n5()))this.hash=new n9(e);else throw Error("SHA1 not supported")}return e.prototype.update=function(e,t){this.hash.update((0,ir.pP)(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}(),is={name:"SHA-256"},ia={name:"HMAC",hash:is},io=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]),iu=function(){function e(e){this.toHash=new Uint8Array(0),this.secret=e,this.reset()}return e.prototype.update=function(e){if(!(0,ir.Kz)(e)){var t=(0,ir.pP)(e),r=new Uint8Array(this.toHash.byteLength+t.byteLength);r.set(this.toHash,0),r.set(t,this.toHash.byteLength),this.toHash=r}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return n5().crypto.subtle.sign(ia,t,e.toHash).then(function(e){return new Uint8Array(e)})}):(0,ir.Kz)(this.toHash)?Promise.resolve(io):Promise.resolve().then(function(){return n5().crypto.subtle.digest(is,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){var e=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise(function(t,r){n5().crypto.subtle.importKey("raw",(0,ir.pP)(e.secret),ia,!1,["sign"]).then(t,r)}),this.key.catch(function(){}))},e}(),il=r(39249),ic=new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]),id=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19],ih=function(){function e(){this.state=Int32Array.from(id),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw Error("Attempted to update an already finished hash.");var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>0x1fffffffffffff)throw Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(t.setUint8(this.bufferLength++,128),r%64>=56){for(var n=this.bufferLength;n<64;n++)t.setUint8(n,0);this.hashBuffer(),this.bufferLength=0}for(var n=this.bufferLength;n<56;n++)t.setUint8(n,0);t.setUint32(56,Math.floor(e/0x100000000),!0),t.setUint32(60,e),this.hashBuffer(),this.finished=!0}for(var i=new Uint8Array(32),n=0;n<8;n++)i[4*n]=this.state[n]>>>24&255,i[4*n+1]=this.state[n]>>>16&255,i[4*n+2]=this.state[n]>>>8&255,i[4*n+3]=this.state[n]>>>0&255;return i},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],n=t[1],i=t[2],s=t[3],a=t[4],o=t[5],u=t[6],l=t[7],c=0;c<64;c++){if(c<16)this.temp[c]=(255&e[4*c])<<24|(255&e[4*c+1])<<16|(255&e[4*c+2])<<8|255&e[4*c+3];else{var f=this.temp[c-2],d=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,h=((f=this.temp[c-15])>>>7|f<<25)^(f>>>18|f<<14)^f>>>3;this.temp[c]=(d+this.temp[c-7]|0)+(h+this.temp[c-16]|0)}var p=(((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(a&o^~a&u)|0)+(l+(ic[c]+this.temp[c]|0)|0)|0,g=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&n^r&i^n&i)|0;l=u,u=o,o=a,a=s+p|0,s=i,i=n,n=r,r=p+g|0}t[0]+=r,t[1]+=n,t[2]+=i,t[3]+=s,t[4]+=a,t[5]+=o,t[6]+=u,t[7]+=l},e}(),ip=function(){function e(e){this.secret=e,this.hash=new ih,this.reset()}return e.prototype.update=function(e){if(!(0,ir.Kz)(e)&&!this.error)try{this.hash.update((0,ir.pP)(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return(0,il.sH)(this,void 0,void 0,function(){return(0,il.YH)(this,function(e){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new ih,this.secret){this.outer=new ih;var e=function(e){var t=(0,ir.pP)(e);if(t.byteLength>64){var r=new ih;r.update(t),t=r.digest()}var n=new Uint8Array(64);return n.set(t),n}(this.secret),t=new Uint8Array(64);t.set(e);for(var r=0;r<64;r++)e[r]^=54,t[r]^=92;this.hash.update(e),this.outer.update(t);for(var r=0;rasync r=>{let n="undefined"!=typeof window&&window?.navigator?.userAgent?im().parse(window.navigator.userAgent):void 0,i=[["aws-sdk-js",t],["ua","2.1"],[`os/${n?.os?.name||"other"}`,n?.os?.version],["lang/js"],["md/browser",`${n?.browser?.name??"unknown"}_${n?.browser?.version??"unknown"}`]];e&&i.push([`api/${e}`,t]);let s=await r?.userAgentAppId?.();return s&&i.push([`app/${s}`]),i};var ix=r(3891),iw=r(68021);class iv{constructor(e){if(this.bytes=e,8!==e.byteLength)throw Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);let t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&iS(t),new iv(t)}valueOf(){let e=this.bytes.slice(0),t=128&e[0];return t&&iS(e),parseInt((0,iw.n)(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function iS(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}class iE{constructor(e,t){this.toUtf8=e,this.fromUtf8=t}format(e){let t=[];for(let r of Object.keys(e)){let n=this.fromUtf8(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}let r=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0)),n=0;for(let e of t)r.set(e,n),n+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([+!e.value]);case"byte":return Uint8Array.from([2,e.value]);case"short":let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":let r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":let n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":let i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);let s=new Uint8Array(i.buffer);return s.set(e.value,3),s;case"string":let a=this.fromUtf8(e.value),o=new DataView(new ArrayBuffer(3+a.byteLength));o.setUint8(0,7),o.setUint16(1,a.byteLength,!1);let u=new Uint8Array(o.buffer);return u.set(a,3),u;case"timestamp":let l=new Uint8Array(9);return l[0]=8,l.set(iv.fromNumber(e.value.valueOf()).bytes,1),l;case"uuid":if(!iN.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let c=new Uint8Array(17);return c[0]=9,c.set((0,iw.a)(e.value.replace(/\-/g,"")),1),c}}parse(e){let t={},r=0;for(;re,isEndOfStream:()=>t}}getAvailableMessages(){let e=this.messageBuffer;this.messageBuffer=[];let t=this.isEndOfStream;return{getMessages:()=>e,isEndOfStream:()=>t}}encode({headers:e,body:t}){let r=this.headerMarshaller.format(e),n=r.byteLength+t.byteLength+16,i=new Uint8Array(n),s=new DataView(i.buffer,i.byteOffset,i.byteLength),a=new ix.s$;return s.setUint32(0,n,!1),s.setUint32(4,r.byteLength,!1),s.setUint32(8,a.update(i.subarray(0,8)).digest(),!1),i.set(r,12),i.set(t,r.byteLength+12),s.setUint32(n-4,a.update(i.subarray(8,n-4)).digest(),!1),i}decode(e){let{headers:t,body:r}=function({byteLength:e,byteOffset:t,buffer:r}){if(e{if("number"!=typeof e)throw Error("Attempted to allocate an event message where size was not a number: "+e);t=e,r=4,new DataView((n=new Uint8Array(e)).buffer).setUint32(0,e,!1)};return{[Symbol.asyncIterator]:async function*(){let a=e[Symbol.asyncIterator]();for(;;){let{value:e,done:o}=await a.next();if(o){if(t)if(t===r)yield n;else throw Error("Truncated event message received.");return}let u=e.length,l=0;for(;l({[Symbol.asyncIterator]:async function*(){let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}}),iH=e=>{let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){let{done:r,value:n}=await t.next();if(r)return e.close();e.enqueue(n)}})};class iz{constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new iF({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){let r=iq(e)?ij(e):e;return this.universalMarshaller.deserialize(r,t)}serialize(e,t){let r=this.universalMarshaller.serialize(e,t);return"function"==typeof ReadableStream?iH(r):r}}let iq=e=>"function"==typeof ReadableStream&&e instanceof ReadableStream,iV=e=>new iz(e);var iK=r(1237);async function iW(e,t,r=1048576){let n=e.size,i=0;for(;i{r.update(e)}),r.digest()},iZ=e=>()=>Promise.reject(e);var iJ=r(31204);let iY=[0x67452301,0xefcdab89,0x98badcfe,0x10325476];class iX{constructor(){this.reset()}update(e){var t,r;if("string"==typeof(t=e)?0===t.length:0===t.byteLength)return;if(this.finished)throw Error("Attempted to update an already finished hash.");let n="string"==typeof(r=e)?(0,iJ.a)(r):ArrayBuffer.isView(r)?new Uint8Array(r.buffer,r.byteOffset,r.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(r),i=0,{byteLength:s}=n;for(this.bytesHashed+=s;s>0;)this.buffer.setUint8(this.bufferLength++,n[i++]),s--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0)}async digest(){if(!this.finished){let{buffer:e,bufferLength:t,bytesHashed:r}=this,n=8*r;if(e.setUint8(this.bufferLength++,128),t%64>=56){for(let t=this.bufferLength;t<64;t++)e.setUint8(t,0);this.hashBuffer(),this.bufferLength=0}for(let t=this.bufferLength;t<56;t++)e.setUint8(t,0);e.setUint32(56,n>>>0,!0),e.setUint32(60,Math.floor(n/0x100000000),!0),this.hashBuffer(),this.finished=!0}let e=new DataView(new ArrayBuffer(16));for(let t=0;t<4;t++)e.setUint32(4*t,this.state[t],!0);return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}hashBuffer(){let{buffer:e,state:t}=this,r=t[0],n=t[1],i=t[2],s=t[3];r=i0(r,n,i,s,e.getUint32(0,!0),7,0xd76aa478),s=i0(s,r,n,i,e.getUint32(4,!0),12,0xe8c7b756),i=i0(i,s,r,n,e.getUint32(8,!0),17,0x242070db),n=i0(n,i,s,r,e.getUint32(12,!0),22,0xc1bdceee),r=i0(r,n,i,s,e.getUint32(16,!0),7,0xf57c0faf),s=i0(s,r,n,i,e.getUint32(20,!0),12,0x4787c62a),i=i0(i,s,r,n,e.getUint32(24,!0),17,0xa8304613),n=i0(n,i,s,r,e.getUint32(28,!0),22,0xfd469501),r=i0(r,n,i,s,e.getUint32(32,!0),7,0x698098d8),s=i0(s,r,n,i,e.getUint32(36,!0),12,0x8b44f7af),i=i0(i,s,r,n,e.getUint32(40,!0),17,0xffff5bb1),n=i0(n,i,s,r,e.getUint32(44,!0),22,0x895cd7be),r=i0(r,n,i,s,e.getUint32(48,!0),7,0x6b901122),s=i0(s,r,n,i,e.getUint32(52,!0),12,0xfd987193),i=i0(i,s,r,n,e.getUint32(56,!0),17,0xa679438e),n=i0(n,i,s,r,e.getUint32(60,!0),22,0x49b40821),r=i1(r,n,i,s,e.getUint32(4,!0),5,0xf61e2562),s=i1(s,r,n,i,e.getUint32(24,!0),9,0xc040b340),i=i1(i,s,r,n,e.getUint32(44,!0),14,0x265e5a51),n=i1(n,i,s,r,e.getUint32(0,!0),20,0xe9b6c7aa),r=i1(r,n,i,s,e.getUint32(20,!0),5,0xd62f105d),s=i1(s,r,n,i,e.getUint32(40,!0),9,0x2441453),i=i1(i,s,r,n,e.getUint32(60,!0),14,0xd8a1e681),n=i1(n,i,s,r,e.getUint32(16,!0),20,0xe7d3fbc8),r=i1(r,n,i,s,e.getUint32(36,!0),5,0x21e1cde6),s=i1(s,r,n,i,e.getUint32(56,!0),9,0xc33707d6),i=i1(i,s,r,n,e.getUint32(12,!0),14,0xf4d50d87),n=i1(n,i,s,r,e.getUint32(32,!0),20,0x455a14ed),r=i1(r,n,i,s,e.getUint32(52,!0),5,0xa9e3e905),s=i1(s,r,n,i,e.getUint32(8,!0),9,0xfcefa3f8),i=i1(i,s,r,n,e.getUint32(28,!0),14,0x676f02d9),n=i1(n,i,s,r,e.getUint32(48,!0),20,0x8d2a4c8a),r=i2(r,n,i,s,e.getUint32(20,!0),4,0xfffa3942),s=i2(s,r,n,i,e.getUint32(32,!0),11,0x8771f681),i=i2(i,s,r,n,e.getUint32(44,!0),16,0x6d9d6122),n=i2(n,i,s,r,e.getUint32(56,!0),23,0xfde5380c),r=i2(r,n,i,s,e.getUint32(4,!0),4,0xa4beea44),s=i2(s,r,n,i,e.getUint32(16,!0),11,0x4bdecfa9),i=i2(i,s,r,n,e.getUint32(28,!0),16,0xf6bb4b60),n=i2(n,i,s,r,e.getUint32(40,!0),23,0xbebfbc70),r=i2(r,n,i,s,e.getUint32(52,!0),4,0x289b7ec6),s=i2(s,r,n,i,e.getUint32(0,!0),11,0xeaa127fa),i=i2(i,s,r,n,e.getUint32(12,!0),16,0xd4ef3085),n=i2(n,i,s,r,e.getUint32(24,!0),23,0x4881d05),r=i2(r,n,i,s,e.getUint32(36,!0),4,0xd9d4d039),s=i2(s,r,n,i,e.getUint32(48,!0),11,0xe6db99e5),i=i2(i,s,r,n,e.getUint32(60,!0),16,0x1fa27cf8),n=i2(n,i,s,r,e.getUint32(8,!0),23,0xc4ac5665),r=i3(r,n,i,s,e.getUint32(0,!0),6,0xf4292244),s=i3(s,r,n,i,e.getUint32(28,!0),10,0x432aff97),i=i3(i,s,r,n,e.getUint32(56,!0),15,0xab9423a7),n=i3(n,i,s,r,e.getUint32(20,!0),21,0xfc93a039),r=i3(r,n,i,s,e.getUint32(48,!0),6,0x655b59c3),s=i3(s,r,n,i,e.getUint32(12,!0),10,0x8f0ccc92),i=i3(i,s,r,n,e.getUint32(40,!0),15,0xffeff47d),n=i3(n,i,s,r,e.getUint32(4,!0),21,0x85845dd1),r=i3(r,n,i,s,e.getUint32(32,!0),6,0x6fa87e4f),s=i3(s,r,n,i,e.getUint32(60,!0),10,0xfe2ce6e0),i=i3(i,s,r,n,e.getUint32(24,!0),15,0xa3014314),n=i3(n,i,s,r,e.getUint32(52,!0),21,0x4e0811a1),r=i3(r,n,i,s,e.getUint32(16,!0),6,0xf7537e82),s=i3(s,r,n,i,e.getUint32(44,!0),10,0xbd3af235),i=i3(i,s,r,n,e.getUint32(8,!0),15,0x2ad7d2bb),n=i3(n,i,s,r,e.getUint32(36,!0),21,0xeb86d391),t[0]=r+t[0]|0,t[1]=n+t[1]|0,t[2]=i+t[2]|0,t[3]=s+t[3]|0}reset(){this.state=Uint32Array.from(iY),this.buffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}}function iQ(e,t,r,n,i,s){return((t=(t+e|0)+(n+s|0)|0)<>>32-i)+r|0}function i0(e,t,r,n,i,s,a){return iQ(t&r|~t&n,e,t,i,s,a)}function i1(e,t,r,n,i,s,a){return iQ(t&n|r&~n,e,t,i,s,a)}function i2(e,t,r,n,i,s,a){return iQ(t^r^n,e,t,i,s,a)}function i3(e,t,r,n,i,s,a){return iQ(r^(t|~n),e,t,i,s,a)}let i6="function"==typeof TextEncoder?new TextEncoder:null,i8=e=>{if("string"==typeof e){if(i6)return i6.encode(e).byteLength;let t=e.length;for(let r=t-1;r>=0;r--){let n=e.charCodeAt(r);n>127&&n<=2047?t++:n>2047&&n<=65535&&(t+=2),n>=56320&&n<=57343&&r--}return t}if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.size)return e.size;throw Error(`Body Length computation failed for ${e}`)},i4=e=>new Date(Date.now()+e),i5=e=>l.cS.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,i9=(e,t)=>Math.abs(i4(t).getTime()-e)>=3e5,i7=(e,t)=>{let r=Date.parse(e);return i9(r,t)?r-Date.now():t},se=(e,t)=>{if(!t)throw Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t},st=async e=>{let t=se("context",e.context),r=se("config",e.config),n=t.endpointV2?.properties?.authSchemes?.[0],i=se("signer",r.signer),s=await i(n),a=e?.signingRegion;return{config:r,signer:s,signingRegion:a,signingRegionSet:e?.signingRegionSet,signingName:e?.signingName}};class sr{async sign(e,t,r){if(!l.Kd.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let n=await st(r),{config:i,signer:s}=n,{signingRegion:a,signingName:o}=n,u=r.context;if(u?.authSchemes?.length){let[e,t]=u.authSchemes;e?.name==="sigv4a"&&t?.name==="sigv4"&&(a=t?.signingRegion??a,o=t?.signingName??o)}return await s.sign(e,{signingDate:i4(i.systemClockOffset),signingRegion:a,signingService:o})}errorHandler(e){return t=>{let r=t.ServerTime??i5(t.$response);if(r){let n=se("config",e.config),i=n.systemClockOffset;n.systemClockOffset=i7(r,n.systemClockOffset),n.systemClockOffset!==i&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}throw t}}successHandler(e,t){let r=i5(e);if(r){let e=se("config",t.config);e.systemClockOffset=i7(r,e.systemClockOffset)}}}class sn extends sr{async sign(e,t,r){if(!l.Kd.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let{config:n,signer:i,signingRegion:s,signingRegionSet:a,signingName:o}=await st(r),u=(await n.sigv4aSigningRegionSet?.()??a??[s]).join(",");return await i.sign(e,{signingDate:i4(n.systemClockOffset),signingRegion:u,signingService:o})}}var si=r(9148),ss=r(75964),sa=r(82582),so=r(81265);let su=e=>({apiVersion:"2006-03-01",base64Decoder:e?.base64Decoder??ss.E,base64Encoder:e?.base64Encoder??ss.n,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??nz,extensions:e?.extensions??[],getAwsChunkedEncodingStream:e?.getAwsChunkedEncodingStream??sa.Bk,httpAuthSchemeProvider:e?.httpAuthSchemeProvider??nW,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new sr},{schemeId:"aws.auth#sigv4a",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4a"),signer:new sn}],logger:e?.logger??new eW.N4,sdkStreamMixin:e?.sdkStreamMixin??sa.c9,serviceId:e?.serviceId??"S3",signerConstructor:e?.signerConstructor??e5,signingEscapePath:e?.signingEscapePath??!1,urlParser:e?.urlParser??si.D,useArnRegion:e?.useArnRegion??!1,utf8Decoder:e?.utf8Decoder??iJ.a,utf8Encoder:e?.utf8Encoder??so.P}),sl=["in-region","cross-region","mobile","standard","legacy"],sc=({defaultsMode:e}={})=>e6(async()=>{let t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve(sf()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw Error(`Invalid parameter for "defaultsMode", expect ${sl.join(", ")}, got ${t}`)}}),sf=()=>{let e="undefined"!=typeof window&&window?.navigator?.userAgent?im().parse(window.navigator.userAgent):void 0,t=e?.platform?.type;return"tablet"===t||"mobile"===t},sd=e=>{let t=sc(e),r=()=>t().then(eW.lT),n=su(e);return{...n,...e,runtime:"browser",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??i8,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??ib({serviceId:n.serviceId,clientVersion:n0.rE}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??iV,maxAttempts:e?.maxAttempts??3,md5:e?.md5??iX,region:e?.region??iZ("Region is missing"),requestHandler:iK.NC.create(e?.requestHandler??r),retryMode:e?.retryMode??(async()=>(await r()).retryMode||eP),sha1:e?.sha1??ii,sha256:e?.sha256??ig,streamCollector:e?.streamCollector??iK.kv,streamHasher:e?.streamHasher??iG,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},sh=e=>({setRegion(t){e.region=t},region:()=>e.region}),sp=e=>({region:e.region()}),sg=e=>{let t=e.httpAuthSchemes,r=e.httpAuthSchemeProvider,n=e.credentials;return{setHttpAuthScheme(e){let r=t.findIndex(t=>t.schemeId===e.schemeId);-1===r?t.push(e):t.splice(r,1,e)},httpAuthSchemes:()=>t,setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider:()=>r,setCredentials(e){n=e},credentials:()=>n}},sy=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),sm=(e,t)=>{let r=Object.assign(sh(e),(0,eW.xA)(e),(0,l.eS)(e),sg(e));return t.forEach(e=>e.configure(r)),Object.assign(e,sp(r),(0,eW.uv)(r),(0,l.jt)(r),sy(r))};class sb extends eW.Kj{config;constructor(...[e]){let t=sd(e||{});super(t),this.initConfig=t;let r=function(e){let t=(0,R.te)(e.userAgentAppId??P),{customUserAgent:r}=e;return Object.assign(e,{customUserAgent:"string"==typeof r?[[r]]:r,userAgentAppId:async()=>{let r=await t();if(!(void 0===r||"string"==typeof r&&r.length<=50)){let t=e.logger?.constructor?.name!=="NoOpLogger"&&e.logger?e.logger:console;"string"!=typeof r?t?.warn("userAgentAppId must be a string or undefined."):r.length>50&&t?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}return r}})}((0,nJ.v)(t)),n=ew(eK((0,d.M4)(r))),i=nG(ev((0,eR.Co)(n))),s=sm((0,A.ri)(i,{session:[()=>this,nQ]}),e?.extensions||[]);this.config=s,this.middlewareStack.use(ey(this.config)),this.middlewareStack.use(e0(this.config)),this.middlewareStack.use(eA(this.config)),this.middlewareStack.use(g(this.config)),this.middlewareStack.use(b(this.config)),this.middlewareStack.use(E(this.config)),this.middlewareStack.use((0,R.wB)(this.config,{httpAuthSchemeParametersProvider:nq,identityProviderConfigProvider:async e=>new R.h$({"aws.auth#sigv4":e.credentials,"aws.auth#sigv4a":e.credentials})})),this.middlewareStack.use((0,R.lW)(this.config)),this.middlewareStack.use((0,A.Br)(this.config)),this.middlewareStack.use(f(this.config)),this.middlewareStack.use((0,A._W)(this.config)),this.middlewareStack.use((0,A.GE)(this.config)),this.middlewareStack.use((0,A.Zu)(this.config))}destroy(){super.destroy()}}},34398:(e,t,r)=>{"use strict";var n,i,s,a,o,u,l;r.d(t,{dB:()=>a,Ue:()=>s,Vf:()=>c}),function(e){e.HEADER="header",e.QUERY="query"}(n||(n={})),function(e){e.HEADER="header",e.QUERY="query"}(i||(i={})),function(e){e.HTTP="http",e.HTTPS="https"}(s||(s={})),function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"}(a||(a={})),function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"}(o||(o={}));let c="__smithy_context";!function(e){e.PROFILE="profile",e.SSO_SESSION="sso-session",e.SERVICES="services"}(u||(u={})),function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"}(l||(l={}))},41734:e=>{let t=/^[-+]?0x[a-fA-F0-9]+$/,r=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,n={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};e.exports=function(e,i={}){if(i=Object.assign({},n,i),!e||"string"!=typeof e)return e;let s=e.trim();if(void 0!==i.skipLike&&i.skipLike.test(s))return e;if("0"===e)return 0;if(i.hex&&t.test(s)){var a,o=s,u=16;if(parseInt)return parseInt(o,16);if(Number.parseInt)return Number.parseInt(o,u);if(window&&window.parseInt)return window.parseInt(o,u);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}if(-1!==s.search(/[eE]/)){let t=s.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(!t)return e;if(i.leadingZeros)s=(t[1]||"")+t[3];else if("0"!==t[2]||"."!==t[3][0])return e;return i.eNotation?Number(s):e}{let t=r.exec(s);if(!t)return e;{let r=t[1],n=t[2],o=((a=t[3])&&-1!==a.indexOf(".")&&("."===(a=a.replace(/0+$/,""))?a="0":"."===a[0]?a="0"+a:"."===a[a.length-1]&&(a=a.substr(0,a.length-1))),a);if(!i.leadingZeros&&n.length>0&&r&&"."!==s[2])return e;{if(!i.leadingZeros&&n.length>0&&!r&&"."!==s[1])return e;if(i.leadingZeros&&n===e)return 0;let t=Number(s),a=""+t;if(-1!==a.search(/[eE]/))if(i.eNotation)return t;else return e;if(-1!==s.indexOf("."))if("0"===a&&""===o)return t;else if(a===o)return t;else if(r&&a==="-"+o)return t;else return e;return n?o===a||r+o===a?t:e:s===a||s===r+a?t:e}}}}},43933:(e,t,r)=>{"use strict";r.d(t,{u:()=>l});var n=r(78004),i=r(56666),s=r(48069),a=r(59127),o=r(78508),u=r(20136);class l extends a.uB.classBuilder().ep({...o.S,Bucket:{type:"contextParams",name:"Bucket"},Prefix:{type:"contextParams",name:"Prefix"}}).m(function(e,t,r,a){return[(0,s.TM)(r,this.serialize,this.deserialize),(0,i.rD)(r,e.getEndpointParameterInstructions()),(0,n.Cg)(r)]}).s("AmazonS3","ListObjectsV2",{}).n("S3Client","ListObjectsV2Command").f(void 0,void 0).ser(u.Zts).de(u.Iag).build(){}},44134:(e,t,r)=>{"use strict";let n=r(57719),i=r(7610),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,o.prototype),t}function o(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!o.isEncoding(i))throw TypeError("Unknown encoding: "+i);let r=0|p(n,i),s=a(r),u=s.write(n,i);return u!==r&&(s=s.slice(0,u)),s}if(ArrayBuffer.isView(e)){var s=e;if($(s,Uint8Array)){let e=new Uint8Array(s);return d(e.buffer,e.byteOffset,e.byteLength)}return f(s)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if($(e,ArrayBuffer)||e&&$(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return d(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let u=e.valueOf&&e.valueOf();if(null!=u&&u!==e)return o.from(u,t,r);let l=function(e){if(o.isBuffer(e)){let t=0|h(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(l)return l;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function l(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return l(e),a(e<0?0:0|h(e))}function f(e){let t=e.length<0?0:0|h(e.length),r=a(t);for(let n=0;n=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||$(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return _(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(i)return n?-1:_(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,r){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let i="";for(let n=t;n0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(s=r*=1)!=s&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=o.from(t,n)),o.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return b(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){let s,a=1,o=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,o/=2,u/=2,r/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let n=-1;for(s=r;so&&(r=o-u),s=r;s>=0;s--){let r=!0;for(let n=0;n239?4:t>223?3:t>191?2:1;if(i+a<=r){let r,n,o,u;switch(a){case 1:t<128&&(s=t);break;case 2:(192&(r=e[i+1]))==128&&(u=(31&t)<<6|63&r)>127&&(s=u);break;case 3:r=e[i+1],n=e[i+2],(192&r)==128&&(192&n)==128&&(u=(15&t)<<12|(63&r)<<6|63&n)>2047&&(u<55296||u>57343)&&(s=u);break;case 4:r=e[i+1],n=e[i+2],o=e[i+3],(192&r)==128&&(192&n)==128&&(192&o)==128&&(u=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&o)>65535&&u<1114112&&(s=u)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=a}var s=n;let a=s.length;if(a<=4096)return String.fromCharCode.apply(String,s);let o="",u=0;for(;ur)throw RangeError("Trying to access beyond buffer length")}function v(e,t,r,n,i,s){if(!o.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function S(e,t,r,n,i){I(t,n,i,e,r,7);let s=Number(t&BigInt(0xffffffff));e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s,s>>=8,e[r++]=s;let a=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function E(e,t,r,n,i){I(t,n,i,e,r,7);let s=Number(t&BigInt(0xffffffff));e[r+7]=s,s>>=8,e[r+6]=s,s>>=8,e[r+5]=s,s>>=8,e[r+4]=s;let a=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function A(e,t,r,n,i,s){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function R(e,t,r,n,s){return t*=1,r>>>=0,s||A(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function P(e,t,r,n,s){return t*=1,r>>>=0,s||A(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.hp=o,t.IS=50,o.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),o.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),o.poolSize=8192,o.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array),o.alloc=function(e,t,r){return(l(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},o.allocUnsafe=function(e){return c(e)},o.allocUnsafeSlow=function(e){return c(e)},o.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==o.prototype},o.compare=function(e,t){if($(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),$(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(e)||!o.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let i=0,s=Math.min(r,n);in.length?(o.isBuffer(t)||(t=o.from(t)),t.copy(n,i)):Uint8Array.prototype.set.call(n,t,i);else if(o.isBuffer(t))t.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return n},o.byteLength=p,o.prototype._isBuffer=!0,o.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tr&&(e+=" ... "),""},s&&(o.prototype[s]=o.prototype.inspect),o.prototype.compare=function(e,t,r,n,i){if($(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;let s=i-n,a=r-t,u=Math.min(s,a),l=this.slice(n,i),c=e.slice(t,r);for(let e=0;e>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let h=!1;for(;;)switch(n){case"hex":return function(e,t,r,n){let i;r=Number(r)||0;let s=e.length-r;n?(n=Number(n))>s&&(n=s):n=s;let a=t.length;for(n>a/2&&(n=a/2),i=0;i>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,f);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],i=1,s=0;for(;++s>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e+--t],i=1;for(;t>0&&(i*=256);)n+=this[e+--t]*i;return n},o.prototype.readUint8=o.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readBigUInt64LE=D(function(e){O(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&M(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*r;return BigInt(n)+(BigInt(i)<>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&M(e,this.length-8);let n=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],i=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<>>=0,t>>>=0,r||w(e,t,this.length);let n=this[e],i=1,s=0;for(;++s=(i*=128)&&(n-=Math.pow(2,8*t)),n},o.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);let n=t,i=1,s=this[e+--n];for(;n>0&&(i*=256);)s+=this[e+--n]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},o.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},o.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readBigInt64LE=D(function(e){O(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&M(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24))<>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&M(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},o.prototype.writeUintLE=o.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;v(this,e,t,r,n,0)}let i=1,s=0;for(this[t]=255&e;++s>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;v(this,e,t,r,n,0)}let i=r-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+r},o.prototype.writeUint8=o.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeBigUInt64LE=D(function(e,t=0){return S(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=D(function(e,t=0){return E(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){let n=Math.pow(2,8*r-1);v(this,e,t,r,n-1,-n)}let i=0,s=1,a=0;for(this[t]=255&e;++i>>=0,!n){let n=Math.pow(2,8*r-1);v(this,e,t,r,n-1,-n)}let i=r-1,s=1,a=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+r},o.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||v(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeBigInt64LE=D(function(e,t=0){return S(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=D(function(e,t=0){return E(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeFloatLE=function(e,t,r){return R(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){return R(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){return P(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){return P(this,e,t,!1,r)},o.prototype.copy=function(e,t,r,n){if(!o.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function I(e,t,r,n,i,s){if(e>r||e3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(s+1)*8}${i}`:`>= -(2${i} ** ${(s+1)*8-1}${i}) and < 2 ** ${(s+1)*8-1}${i}`:`>= ${t}${i} and <= ${r}${i}`,new k.ERR_OUT_OF_RANGE("value",n,e)}O(i,"offset"),(void 0===n[i]||void 0===n[i+s])&&M(i,n.length-(s+1))}function O(e,t){if("number"!=typeof e)throw new k.ERR_INVALID_ARG_TYPE(t,"number",e)}function M(e,t,r){if(Math.floor(e)!==e)throw O(e,r),new k.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new k.ERR_BUFFER_OUT_OF_BOUNDS;throw new k.ERR_OUT_OF_RANGE(r||"offset",`>= ${+!!r} and <= ${t}`,e)}C("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),C("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),C("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,i=r;return Number.isInteger(r)&&Math.abs(r)>0x100000000?i=T(String(r)):"bigint"==typeof r&&(i=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(i=T(i)),i+="n"),n+=` It must be ${t}. Received ${i}`},RangeError);let N=/[^+/0-9A-Za-z-_]/g;function _(e,t){let r;t=t||1/0;let n=e.length,i=null,s=[];for(let a=0;a55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return s}function U(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,r,n){let i;for(i=0;i=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function $(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let L=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let i=0;i<16;++i)t[n+i]=e[r]+e[i]}return t}();function D(e){return"undefined"==typeof BigInt?F:e}function F(){throw Error("BigInt not supported")}},48069:(e,t,r)=>{"use strict";r.d(t,{TM:()=>o,Ou:()=>a});let n=(e,t)=>(r,n)=>async i=>{let{response:s}=await r(i);try{let r=await t(s,e);return{response:s,output:r}}catch(e){if(Object.defineProperty(e,"$response",{value:s}),!("$metadata"in e)){let t="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";try{e.message+="\n "+t}catch(e){n.logger&&n.logger?.constructor?.name!=="NoOpLogger"?n.logger?.warn?.(t):console.warn(t)}void 0!==e.$responseBodyText&&e.$response&&(e.$response.body=e.$responseBodyText)}throw e}},i=(e,t)=>(r,n)=>async i=>{let s=n.endpointV2?.url&&e.urlParser?async()=>e.urlParser(n.endpointV2.url):e.endpoint;if(!s)throw Error("No valid endpoint provider available.");let a=await t(i.input,{...e,endpoint:s});return r({...i,request:a})},s={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},a={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function o(e,t,r){return{applyToStack:o=>{o.add(n(e,r),s),o.add(i(e,t),a)}}}},50373:(e,t,r)=>{"use strict";r.d(t,{Af:()=>d,Cw:()=>u,DL:()=>x,Mk:()=>p,NM:()=>l,TQ:()=>f,U7:()=>o,Y:()=>y,_k:()=>h,f$:()=>b,gq:()=>c,i6:()=>m});var n,i,s=r(59127),a=r(4494);class o extends a.H{name="NoSuchUpload";$fault="client";constructor(e){super({name:"NoSuchUpload",$fault:"client",...e}),Object.setPrototypeOf(this,o.prototype)}}class u extends a.H{name="ObjectNotInActiveTierError";$fault="client";constructor(e){super({name:"ObjectNotInActiveTierError",$fault:"client",...e}),Object.setPrototypeOf(this,u.prototype)}}class l extends a.H{name="BucketAlreadyExists";$fault="client";constructor(e){super({name:"BucketAlreadyExists",$fault:"client",...e}),Object.setPrototypeOf(this,l.prototype)}}class c extends a.H{name="BucketAlreadyOwnedByYou";$fault="client";constructor(e){super({name:"BucketAlreadyOwnedByYou",$fault:"client",...e}),Object.setPrototypeOf(this,c.prototype)}}class f extends a.H{name="NoSuchBucket";$fault="client";constructor(e){super({name:"NoSuchBucket",$fault:"client",...e}),Object.setPrototypeOf(this,f.prototype)}}(n||(n={})).visit=(e,t)=>void 0!==e.Prefix?t.Prefix(e.Prefix):void 0!==e.Tag?t.Tag(e.Tag):void 0!==e.And?t.And(e.And):t._(e.$unknown[0],e.$unknown[1]),(i||(i={})).visit=(e,t)=>void 0!==e.Prefix?t.Prefix(e.Prefix):void 0!==e.Tag?t.Tag(e.Tag):void 0!==e.AccessPointArn?t.AccessPointArn(e.AccessPointArn):void 0!==e.And?t.And(e.And):t._(e.$unknown[0],e.$unknown[1]);class d extends a.H{name="InvalidObjectState";$fault="client";StorageClass;AccessTier;constructor(e){super({name:"InvalidObjectState",$fault:"client",...e}),Object.setPrototypeOf(this,d.prototype),this.StorageClass=e.StorageClass,this.AccessTier=e.AccessTier}}class h extends a.H{name="NoSuchKey";$fault="client";constructor(e){super({name:"NoSuchKey",$fault:"client",...e}),Object.setPrototypeOf(this,h.prototype)}}class p extends a.H{name="NotFound";$fault="client";constructor(e){super({name:"NotFound",$fault:"client",...e}),Object.setPrototypeOf(this,p.prototype)}}let g=e=>({...e,...e.SecretAccessKey&&{SecretAccessKey:s.$H},...e.SessionToken&&{SessionToken:s.$H}}),y=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:s.$H},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:s.$H},...e.Credentials&&{Credentials:g(e.Credentials)}}),m=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:s.$H},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:s.$H}}),b=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:s.$H}}),x=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:s.$H}})},54354:(e,t,r)=>{"use strict";r.d(t,{o:()=>n});let n=e=>encodeURIComponent(e).replace(/[!'()*]/g,i),i=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`},54911:(e,t,r)=>{"use strict";r.d(t,{R9:()=>z,M4:()=>V});let n={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},i=n.WHEN_SUPPORTED,s={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},a=n.WHEN_SUPPORTED;!function(e){e.MD5="MD5",e.CRC32="CRC32",e.CRC32C="CRC32C",e.CRC64NVME="CRC64NVME",e.SHA1="SHA1",e.SHA256="SHA256"}(l||(l={})),function(e){e.HEADER="header",e.TRAILER="trailer"}(c||(c={}));let o=l.CRC32;!function(e){e.ENV="env",e.CONFIG="shared config entry"}(f||(f={}));let u={CrtCrc64Nvme:null};var l,c,f,d=r(84638),h=r(76325),p=r(82582);let g=[l.CRC32,l.CRC32C,l.CRC64NVME,l.SHA1,l.SHA256],y=[l.SHA256,l.SHA1,l.CRC32,l.CRC32C,l.CRC64NVME],m=(e,{requestChecksumRequired:t,requestAlgorithmMember:r,requestChecksumCalculation:i})=>{if(!r)return i===n.WHEN_SUPPORTED||t?o:void 0;if(!e[r])return;let s=e[r];if(!g.includes(s))throw Error(`The checksum algorithm "${s}" is not supported by the client. Select one of ${g}.`);return s},b=e=>e===l.MD5?"content-md5":`x-amz-checksum-${e.toLowerCase()}`,x=(e,t)=>{let r=e.toLowerCase();for(let e of Object.keys(t))if(r===e.toLowerCase())return!0;return!1},w=(e,t)=>{let r=e.toLowerCase();for(let e of Object.keys(t))if(e.toLowerCase().startsWith(r))return!0;return!1};var v=r(71950);let S=e=>void 0!==e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&!(0,v.m)(e);var E=r(39249),A=r(70073),R=function(){function e(){this.crc32c=new P}return e.prototype.update=function(e){(0,A.Kz)(e)||this.crc32c.update((0,A.pP)(e))},e.prototype.digest=function(){return(0,E.sH)(this,void 0,void 0,function(){return(0,E.YH)(this,function(e){return[2,(0,A.yl)(this.crc32c.digest())]})})},e.prototype.reset=function(){this.crc32c=new P},e}(),P=function(){function e(){this.checksum=0xffffffff}return e.prototype.update=function(e){var t,r;try{for(var n=(0,E.Ju)(e),i=n.next();!i.done;i=n.next()){var s=i.value;this.checksum=this.checksum>>>8^k[(this.checksum^s)&255]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(0xffffffff^this.checksum)>>>0},e}(),k=(0,A.zB)([0,0xf26b8303,0xe13b70f7,0x1350f3f4,0xc79a971f,0x35f1141c,0x26a1e7e8,0xd4ca64eb,0x8ad958cf,0x78b2dbcc,0x6be22838,0x9989ab3b,0x4d43cfd0,0xbf284cd3,0xac78bf27,0x5e133c24,0x105ec76f,0xe235446c,0xf165b798,0x30e349b,0xd7c45070,0x25afd373,0x36ff2087,0xc494a384,0x9a879fa0,0x68ec1ca3,0x7bbcef57,0x89d76c54,0x5d1d08bf,0xaf768bbc,0xbc267848,0x4e4dfb4b,0x20bd8ede,0xd2d60ddd,0xc186fe29,0x33ed7d2a,0xe72719c1,0x154c9ac2,0x61c6936,0xf477ea35,0xaa64d611,0x580f5512,0x4b5fa6e6,0xb93425e5,0x6dfe410e,0x9f95c20d,0x8cc531f9,0x7eaeb2fa,0x30e349b1,0xc288cab2,0xd1d83946,0x23b3ba45,0xf779deae,0x5125dad,0x1642ae59,0xe4292d5a,0xba3a117e,0x4851927d,0x5b016189,0xa96ae28a,0x7da08661,0x8fcb0562,0x9c9bf696,0x6ef07595,0x417b1dbc,0xb3109ebf,0xa0406d4b,0x522bee48,0x86e18aa3,0x748a09a0,0x67dafa54,0x95b17957,0xcba24573,0x39c9c670,0x2a993584,0xd8f2b687,0xc38d26c,0xfe53516f,0xed03a29b,0x1f682198,0x5125dad3,0xa34e59d0,0xb01eaa24,0x42752927,0x96bf4dcc,0x64d4cecf,0x77843d3b,0x85efbe38,0xdbfc821c,0x2997011f,0x3ac7f2eb,0xc8ac71e8,0x1c661503,0xee0d9600,0xfd5d65f4,0xf36e6f7,0x61c69362,0x93ad1061,0x80fde395,0x72966096,0xa65c047d,0x5437877e,0x4767748a,0xb50cf789,0xeb1fcbad,0x197448ae,0xa24bb5a,0xf84f3859,0x2c855cb2,0xdeeedfb1,0xcdbe2c45,0x3fd5af46,0x7198540d,0x83f3d70e,0x90a324fa,0x62c8a7f9,0xb602c312,0x44694011,0x5739b3e5,0xa55230e6,0xfb410cc2,0x92a8fc1,0x1a7a7c35,0xe811ff36,0x3cdb9bdd,0xceb018de,0xdde0eb2a,0x2f8b6829,0x82f63b78,0x709db87b,0x63cd4b8f,0x91a6c88c,0x456cac67,0xb7072f64,0xa457dc90,0x563c5f93,0x82f63b7,0xfa44e0b4,0xe9141340,0x1b7f9043,0xcfb5f4a8,0x3dde77ab,0x2e8e845f,0xdce5075c,0x92a8fc17,0x60c37f14,0x73938ce0,0x81f80fe3,0x55326b08,0xa759e80b,0xb4091bff,0x466298fc,0x1871a4d8,0xea1a27db,0xf94ad42f,0xb21572c,0xdfeb33c7,0x2d80b0c4,0x3ed04330,0xccbbc033,0xa24bb5a6,0x502036a5,0x4370c551,0xb11b4652,0x65d122b9,0x97baa1ba,0x84ea524e,0x7681d14d,0x2892ed69,0xdaf96e6a,0xc9a99d9e,0x3bc21e9d,0xef087a76,0x1d63f975,0xe330a81,0xfc588982,0xb21572c9,0x407ef1ca,0x532e023e,0xa145813d,0x758fe5d6,0x87e466d5,0x94b49521,0x66df1622,0x38cc2a06,0xcaa7a905,0xd9f75af1,0x2b9cd9f2,0xff56bd19,0xd3d3e1a,0x1e6dcdee,0xec064eed,0xc38d26c4,0x31e6a5c7,0x22b65633,0xd0ddd530,0x417b1db,0xf67c32d8,0xe52cc12c,0x1747422f,0x49547e0b,0xbb3ffd08,0xa86f0efc,0x5a048dff,0x8ecee914,0x7ca56a17,0x6ff599e3,0x9d9e1ae0,0xd3d3e1ab,0x21b862a8,0x32e8915c,0xc083125f,0x144976b4,0xe622f5b7,0xf5720643,0x7198540,0x590ab964,0xab613a67,0xb831c993,0x4a5a4a90,0x9e902e7b,0x6cfbad78,0x7fab5e8c,0x8dc0dd8f,0xe330a81a,0x115b2b19,0x20bd8ed,0xf0605bee,0x24aa3f05,0xd6c1bc06,0xc5914ff2,0x37faccf1,0x69e9f0d5,0x9b8273d6,0x88d28022,0x7ab90321,0xae7367ca,0x5c18e4c9,0x4f48173d,0xbd23943e,0xf36e6f75,0x105ec76,0x12551f82,0xe03e9c81,0x34f4f86a,0xc69f7b69,0xd5cf889d,0x27a40b9e,0x79b737ba,0x8bdcb4b9,0x988c474d,0x6ae7c44e,0xbe2da0a5,0x4c4623a6,0x5f16d052,0xad7d5351]),C=r(3891);let T=()=>C.Hz,I=(e,t)=>{switch(e){case l.MD5:return t.md5;case l.CRC32:return T();case l.CRC32C:return R;case l.CRC64NVME:if("function"!=typeof u.CrtCrc64Nvme)throw Error(`Please check whether you have installed the "@aws-sdk/crc64-nvme-crt" package explicitly. +You must also register the package by calling [require("@aws-sdk/crc64-nvme-crt");] or an ESM equivalent such as [import "@aws-sdk/crc64-nvme-crt";]. +For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);return u.CrtCrc64Nvme;case l.SHA1:return t.sha1;case l.SHA256:return t.sha256;default:throw Error(`Unsupported checksum algorithm: ${e}`)}};var O=r(30649);let M=(e,t)=>{let r=new e;return r.update((0,O.F)(t||"")),r.digest()},N={name:"flexibleChecksumsMiddleware",step:"build",tags:["BODY_CHECKSUM"],override:!0},_=(e,t)=>(r,i)=>async s=>{if(!h.Kd.isInstance(s.request)||w("x-amz-checksum-",s.request.headers))return r(s);let{request:a,input:u}=s,{body:c,headers:f}=a,{base64Encoder:g,streamHasher:y}=e,{requestChecksumRequired:v,requestAlgorithmMember:E}=t,A=await e.requestChecksumCalculation(),R=E?.name,P=E?.httpHeader;R&&!u[R]&&(A===n.WHEN_SUPPORTED||v)&&(u[R]=o,P&&(f[P]=o));let k=m(u,{requestChecksumRequired:v,requestAlgorithmMember:E?.name,requestChecksumCalculation:A}),C=c,T=f;if(k){switch(k){case l.CRC32:(0,d.J)(i,"FLEXIBLE_CHECKSUMS_REQ_CRC32","U");break;case l.CRC32C:(0,d.J)(i,"FLEXIBLE_CHECKSUMS_REQ_CRC32C","V");break;case l.CRC64NVME:(0,d.J)(i,"FLEXIBLE_CHECKSUMS_REQ_CRC64","W");break;case l.SHA1:(0,d.J)(i,"FLEXIBLE_CHECKSUMS_REQ_SHA1","X");break;case l.SHA256:(0,d.J)(i,"FLEXIBLE_CHECKSUMS_REQ_SHA256","Y")}let t=b(k),r=I(k,e);if(S(c)){let{getAwsChunkedEncodingStream:n,bodyLengthChecker:s}=e;C=n("number"==typeof e.requestStreamBufferSize&&e.requestStreamBufferSize>=8192?(0,p.M2)(c,e.requestStreamBufferSize,i.logger):c,{base64Encoder:g,bodyLengthChecker:s,checksumLocationName:t,checksumAlgorithmFn:r,streamHasher:y}),T={...f,"content-encoding":f["content-encoding"]?`${f["content-encoding"]},aws-chunked`:"aws-chunked","transfer-encoding":"chunked","x-amz-decoded-content-length":f["content-length"],"x-amz-content-sha256":"STREAMING-UNSIGNED-PAYLOAD-TRAILER","x-amz-trailer":t},delete T["content-length"]}else if(!x(t,f)){let e=await M(r,c);T={...f,[t]:g(e)}}}return await r({...s,request:{...a,headers:T,body:C}})},U={name:"flexibleChecksumsInputMiddleware",toMiddleware:"serializerMiddleware",relation:"before",tags:["BODY_CHECKSUM"],override:!0},B=(e,t)=>(r,i)=>async a=>{let o=a.input,{requestValidationModeMember:u}=t,l=await e.requestChecksumCalculation(),c=await e.responseChecksumValidation();switch(l){case n.WHEN_REQUIRED:(0,d.J)(i,"FLEXIBLE_CHECKSUMS_REQ_WHEN_REQUIRED","a");break;case n.WHEN_SUPPORTED:(0,d.J)(i,"FLEXIBLE_CHECKSUMS_REQ_WHEN_SUPPORTED","Z")}switch(c){case s.WHEN_REQUIRED:(0,d.J)(i,"FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED","c");break;case s.WHEN_SUPPORTED:(0,d.J)(i,"FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED","b")}return u&&!o[u]&&c===s.WHEN_SUPPORTED&&(o[u]="ENABLED"),r(a)},$=(e=[])=>{let t=[];for(let r of y)e.includes(r)&&g.includes(r)&&t.push(r);return t},L=e=>{let t=e.lastIndexOf("-");if(-1!==t){let r=e.slice(t+1);if(!r.startsWith("0")){let e=parseInt(r,10);if(!isNaN(e)&&e>=1&&e<=1e4)return!0}}return!1},D=async(e,{checksumAlgorithmFn:t,base64Encoder:r})=>r(await M(t,e)),F=async(e,{config:t,responseAlgorithms:r,logger:n})=>{let i=$(r),{body:s,headers:a}=e;for(let r of i){let i=b(r),o=a[i];if(o){let a;try{a=I(r,t)}catch(e){if(r===l.CRC64NVME){n?.warn(`Skipping ${l.CRC64NVME} checksum validation: ${e.message}`);continue}throw e}let{base64Encoder:u}=t;if(S(s)){e.body=(0,p.Of)({expectedChecksum:o,checksumSourceLocation:i,checksum:new a,source:s,base64Encoder:u});return}let c=await D(s,{checksumAlgorithmFn:a,base64Encoder:u});if(c===o)break;throw Error(`Checksum mismatch: expected "${c}" but received "${o}" in response header "${i}".`)}}},j={name:"flexibleChecksumsResponseMiddleware",toMiddleware:"deserializerMiddleware",relation:"after",tags:["BODY_CHECKSUM"],override:!0},H=(e,t)=>(r,n)=>async i=>{if(!h.Kd.isInstance(i.request))return r(i);let s=i.input,a=await r(i),o=a.response,{requestValidationModeMember:u,responseAlgorithms:l}=t;if(u&&"ENABLED"===s[u]){let{clientName:t,commandName:r}=n;if("S3Client"===t&&"GetObjectCommand"===r&&$(l).every(e=>{let t=b(e),r=o.headers[t];return!r||L(r)}))return a;await F(o,{config:e,responseAlgorithms:l,logger:n.logger})}return a},z=(e,t)=>({applyToStack:r=>{r.add(_(e,t),N),r.addRelativeTo(B(e,t),U),r.addRelativeTo(H(e,t),j)}});var q=r(88294);let V=e=>{let{requestChecksumCalculation:t,responseChecksumValidation:r,requestStreamBufferSize:n}=e;return Object.assign(e,{requestChecksumCalculation:(0,q.t)(t??i),responseChecksumValidation:(0,q.t)(r??a),requestStreamBufferSize:Number(n??0)})}},56522:(e,t,r)=>{"use strict";r.d(t,{Go:()=>l,Kr:()=>d,gH:()=>u,kD:()=>a,pN:()=>c,sH:()=>f,zh:()=>o});var n,i=r(59127),s=r(4494);class a extends s.H{name="EncryptionTypeMismatch";$fault="client";constructor(e){super({name:"EncryptionTypeMismatch",$fault:"client",...e}),Object.setPrototypeOf(this,a.prototype)}}class o extends s.H{name="InvalidRequest";$fault="client";constructor(e){super({name:"InvalidRequest",$fault:"client",...e}),Object.setPrototypeOf(this,o.prototype)}}class u extends s.H{name="InvalidWriteOffset";$fault="client";constructor(e){super({name:"InvalidWriteOffset",$fault:"client",...e}),Object.setPrototypeOf(this,u.prototype)}}class l extends s.H{name="TooManyParts";$fault="client";constructor(e){super({name:"TooManyParts",$fault:"client",...e}),Object.setPrototypeOf(this,l.prototype)}}class c extends s.H{name="ObjectAlreadyInActiveTierError";$fault="client";constructor(e){super({name:"ObjectAlreadyInActiveTierError",$fault:"client",...e}),Object.setPrototypeOf(this,c.prototype)}}(n||(n={})).visit=(e,t)=>void 0!==e.Records?t.Records(e.Records):void 0!==e.Stats?t.Stats(e.Stats):void 0!==e.Progress?t.Progress(e.Progress):void 0!==e.Cont?t.Cont(e.Cont):void 0!==e.End?t.End(e.End):t._(e.$unknown[0],e.$unknown[1]);let f=e=>({...e,...e.SSEKMSKeyId&&{SSEKMSKeyId:i.$H},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:i.$H}}),d=e=>({...e,...e.SSECustomerKey&&{SSECustomerKey:i.$H},...e.SSEKMSKeyId&&{SSEKMSKeyId:i.$H},...e.SSEKMSEncryptionContext&&{SSEKMSEncryptionContext:i.$H}})},56666:(e,t,r)=>{"use strict";r.d(t,{rD:()=>x,Co:()=>w,xg:()=>p});let n=async e=>{let t=e?.Bucket||"";if("string"==typeof e.Bucket&&(e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),u(t)){if(!0===e.ForcePathStyle)throw Error("Path-style addressing cannot be used with ARN buckets")}else o(t)&&(-1===t.indexOf(".")||String(e.Endpoint).startsWith("http:"))&&t.toLowerCase()===t&&!(t.length<3)||(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e},i=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,s=/(\d+\.){3}\d+/,a=/\.\./,o=e=>i.test(e)&&!s.test(e)&&!a.test(e),u=e=>{let[t,r,n,,,i]=e.split(":"),s="arn"===t&&e.split(":").length>=6,a=!!(s&&r&&n&&i);if(s&&!a)throw Error(`Invalid ARN: ${e} was an invalid ARN.`);return a},l=(e,t,r)=>{let n=async()=>{let n=r[e]??r[t];return"function"==typeof n?n():n};return"credentialScope"===e||"CredentialScope"===t?async()=>{let e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.credentialScope??e?.CredentialScope}:"accountId"===e||"AccountId"===t?async()=>{let e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.accountId??e?.AccountId}:"endpoint"===e||"endpoint"===t?async()=>{let e=await n();if(e&&"object"==typeof e){if("url"in e)return e.url.href;if("hostname"in e){let{protocol:t,hostname:r,port:n,path:i}=e;return`${t}//${r}${n?":"+n:""}${i}`}}return e}:n},c=async e=>void 0;var f=r(9148);let d=e=>"object"==typeof e?"url"in e?(0,f.D)(e.url):e:(0,f.D)(e),h=async(e,t,r,n)=>{if(!r.endpoint){let e;(e=r.serviceConfiguredEndpoint?await r.serviceConfiguredEndpoint():await c(r.serviceId))&&(r.endpoint=()=>Promise.resolve(d(e)))}let i=await p(e,t,r);if("function"!=typeof r.endpointProvider)throw Error("config.endpointProvider is not set.");return r.endpointProvider(i,n)},p=async(e,t,r)=>{let i={},s=t?.getEndpointParameterInstructions?.()||{};for(let[t,n]of Object.entries(s))switch(n.type){case"staticContextParams":i[t]=n.value;break;case"contextParams":i[t]=e[n.name];break;case"clientContextParams":case"builtInParams":i[t]=await l(n.name,t,r)();break;case"operationContextParams":i[t]=n.get(e);break;default:throw Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(n))}return 0===Object.keys(s).length&&Object.assign(i,r),"s3"===String(r.serviceId).toLowerCase()&&await n(i),i};var g=r(25711),y=r(88294);let m=({config:e,instructions:t})=>(r,n)=>async i=>{e.endpoint&&(0,g.J7)(n,"ENDPOINT_OVERRIDE","N");let s=await h(i.input,{getEndpointParameterInstructions:()=>t},{...e},n);n.endpointV2=s,n.authSchemes=s.properties?.authSchemes;let a=n.authSchemes?.[0];if(a){n.signing_region=a.signingRegion,n.signing_service=a.signingName;let e=(0,y.u)(n),t=e?.selectedHttpAuthScheme?.httpAuthOption;t&&(t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:a.signingRegion,signingRegion:a.signingRegion,signing_service:a.signingName,signingName:a.signingName,signingRegionSet:a.signingRegionSet},a.properties))}return r({...i})},b={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:r(48069).Ou.name},x=(e,t)=>({applyToStack:r=>{r.addRelativeTo(m({config:e,instructions:t}),b)}}),w=e=>{let t,r=e.tls??!0,{endpoint:n,useDualstackEndpoint:i,useFipsEndpoint:s}=e,a=Object.assign(e,{endpoint:null!=n?async()=>d(await (0,y.t)(n)()):void 0,tls:r,isCustomEndpoint:!!n,useDualstackEndpoint:(0,y.t)(i??!1),useFipsEndpoint:(0,y.t)(s??!1)});return a.serviceConfiguredEndpoint=async()=>(e.serviceId&&!t&&(t=c(e.serviceId)),t),a}},56848:(e,t)=>{"use strict";t.prettify=function(e,t){return function e(t,r,n){let i,s={};for(let a=0;a0&&(s[r.textNodeName]=i):void 0!==i&&(s[r.textNodeName]=i),s}(e,t)}},57309:e=>{"use strict";class t{constructor(e){this.tagname=e,this.child=[],this[":@"]={}}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child})}}e.exports=t},57661:(e,t,r)=>{let n=r(27947);function i(e,t){return"!"===e[t+1]&&"-"===e[t+2]&&"-"===e[t+3]}e.exports=function(e,t){let r={};if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let h=1,p=!1,g=!1,y="";for(;t"===e[t]){if(g?"-"===e[t-1]&&"-"===e[t-2]&&(g=!1,h--):h--,0===h)break}else"["===e[t]?p=!0:e[t];else{var s,a,o,u,l,c,f,d;if(p&&"!"===(s=e)[(a=t)+1]&&"E"===s[a+2]&&"N"===s[a+3]&&"T"===s[a+4]&&"I"===s[a+5]&&"T"===s[a+6]&&"Y"===s[a+7])t+=7,[entityName,val,t]=function(e,t){let r="";for(;t{"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,s=u(e),a=s[0],o=s[1],l=new i((a+o)*3/4-o),c=0,f=o>0?a-4:a;for(r=0;r>16&255,l[c++]=t>>8&255,l[c++]=255&t;return 2===o&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,l[c++]=255&t),1===o&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t),l},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,s=[],a=0,o=n-i;a>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return s.join("")}(e,a,a+16383>o?o:a+16383));return 1===i?s.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&s.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),s.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=s.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},59127:(e,t,r)=>{"use strict";r.d(t,{Kj:()=>u,uB:()=>f,N4:()=>eb,$H:()=>h,TJ:()=>er,Px:()=>l.Px,JV:()=>L,Mw:()=>en,Y0:()=>A,Xk:()=>R,lK:()=>P,Yd:()=>ep,xA:()=>ed,rm:()=>eg,eU:()=>ey,lT:()=>eo,Tj:()=>ex,yG:()=>p,t_:()=>F,xE:()=>q,m9:()=>eA,uv:()=>eh,yI:()=>eR,xW:()=>O,V0:()=>I,jr:()=>es});let n=(e,t)=>{let r=[];if(e&&r.push(e),t)for(let e of t)r.push(e);return r},i=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,s=()=>{let e=[],t=[],r=!1,u=new Set,l=e=>e.sort((e,t)=>a[t.step]-a[e.step]||o[t.priority||"normal"]-o[e.priority||"normal"]),c=r=>{let i=!1,s=e=>{let t=n(e.name,e.aliases);if(t.includes(r)){for(let e of(i=!0,t))u.delete(e);return!1}return!0};return e=e.filter(s),t=t.filter(s),i},f=r=>{let i=!1,s=e=>{if(e.middleware===r){for(let t of(i=!0,n(e.name,e.aliases)))u.delete(t);return!1}return!0};return e=e.filter(s),t=t.filter(s),i},d=r=>(e.forEach(e=>{r.add(e.middleware,{...e})}),t.forEach(e=>{r.addRelativeTo(e.middleware,{...e})}),r.identifyOnResolve?.(g.identifyOnResolve()),r),h=e=>{let t=[];return e.before.forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...h(e))}),t.push(e),e.after.reverse().forEach(e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...h(e))}),t},p=(r=!1)=>{let s=[],a=[],o={};return e.forEach(e=>{let t={...e,before:[],after:[]};for(let e of n(t.name,t.aliases))o[e]=t;s.push(t)}),t.forEach(e=>{let t={...e,before:[],after:[]};for(let e of n(t.name,t.aliases))o[e]=t;a.push(t)}),a.forEach(e=>{if(e.toMiddleware){let t=o[e.toMiddleware];if(void 0===t){if(r)return;throw Error(`${e.toMiddleware} is not found when adding ${i(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}}),l(s).map(h).reduce((e,t)=>(e.push(...t),e),[])},g={add:(t,r={})=>{let{name:s,override:a,aliases:o}=r,l={step:"initialize",priority:"normal",middleware:t,...r},c=n(s,o);if(c.length>0){if(c.some(e=>u.has(e))){if(!a)throw Error(`Duplicate middleware name '${i(s,o)}'`);for(let t of c){let r=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(-1===r)continue;let n=e[r];if(n.step!==l.step||l.priority!==n.priority)throw Error(`"${i(n.name,n.aliases)}" middleware with ${n.priority} priority in ${n.step} step cannot be overridden by "${i(s,o)}" middleware with ${l.priority} priority in ${l.step} step.`);e.splice(r,1)}}for(let e of c)u.add(e)}e.push(l)},addRelativeTo:(e,r)=>{let{name:s,override:a,aliases:o}=r,l={middleware:e,...r},c=n(s,o);if(c.length>0){if(c.some(e=>u.has(e))){if(!a)throw Error(`Duplicate middleware name '${i(s,o)}'`);for(let e of c){let r=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(-1===r)continue;let n=t[r];if(n.toMiddleware!==l.toMiddleware||n.relation!==l.relation)throw Error(`"${i(n.name,n.aliases)}" middleware ${n.relation} "${n.toMiddleware}" middleware cannot be overridden by "${i(s,o)}" middleware ${l.relation} "${l.toMiddleware}" middleware.`);t.splice(r,1)}}for(let e of c)u.add(e)}t.push(l)},clone:()=>d(s()),use:e=>{e.applyToStack(g)},remove:e=>"string"==typeof e?c(e):f(e),removeByTag:r=>{let i=!1,s=e=>{let{tags:t,name:s,aliases:a}=e;if(t&&t.includes(r)){for(let e of n(s,a))u.delete(e);return i=!0,!1}return!0};return e=e.filter(s),t=t.filter(s),i},concat:e=>{let t=d(s());return t.use(e),t.identifyOnResolve(r||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:d,identify:()=>p(!0).map(e=>{let t=e.step??e.relation+" "+e.toMiddleware;return i(e.name,e.aliases)+" - "+t}),identifyOnResolve:e=>("boolean"==typeof e&&(r=e),r),resolve:(e,t)=>{for(let r of p().map(e=>e.middleware).reverse())e=r(e,t);return r&&console.log(g.identify()),e}};return g},a={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},o={high:3,normal:2,low:1};class u{constructor(e){this.config=e,this.middlewareStack=s()}send(e,t,r){let n,i="function"!=typeof t?t:void 0,s="function"==typeof t?t:r;if(void 0===i&&!0===this.config.cacheMiddleware){this.handlers||(this.handlers=new WeakMap);let t=this.handlers;t.has(e.constructor)?n=t.get(e.constructor):(n=e.resolveMiddleware(this.middlewareStack,this.config,i),t.set(e.constructor,n))}else delete this.handlers,n=e.resolveMiddleware(this.middlewareStack,this.config,i);if(!s)return n(e).then(e=>e.output);n(e).then(e=>s(null,e.output),e=>s(e)).catch(()=>{})}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}}var l=r(61685),c=r(34398);class f{constructor(){this.middlewareStack=s()}static classBuilder(){return new d}resolveMiddlewareWithContext(e,t,r,{middlewareFn:n,clientName:i,commandName:s,inputFilterSensitiveLog:a,outputFilterSensitiveLog:o,smithyContext:u,additionalContext:l,CommandCtor:f}){for(let i of n.bind(this)(f,e,t,r))this.middlewareStack.use(i);let d=e.concat(this.middlewareStack),{logger:h}=t,p={logger:h,clientName:i,commandName:s,inputFilterSensitiveLog:a,outputFilterSensitiveLog:o,[c.Vf]:{commandInstance:this,...u},...l},{requestHandler:g}=t;return d.resolve(e=>g.handle(e.request,r||{}),p)}}class d{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=e=>e,this._outputFilterSensitiveLog=e=>e,this._serializer=null,this._deserializer=null}init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,r={}){return this._smithyContext={service:e,operation:t,...r},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}build(){let e,t=this;return e=class extends f{static getEndpointParameterInstructions(){return t._ep}constructor(...[e]){super(),this.serialize=t._serializer,this.deserialize=t._deserializer,this.input=e??{},t._init(this)}resolveMiddleware(r,n,i){return this.resolveMiddlewareWithContext(r,n,i,{CommandCtor:e,middlewareFn:t._middlewareFn,clientName:t._clientName,commandName:t._commandName,inputFilterSensitiveLog:t._inputFilterSensitiveLog,outputFilterSensitiveLog:t._outputFilterSensitiveLog,smithyContext:t._smithyContext,additionalContext:t._additionalContext})}}}}let h="***SensitiveInformation***",p=e=>{switch(e){case"true":return!0;case"false":return!1;default:throw Error(`Unable to parse boolean value "${e}"`)}},g=e=>{if(null!=e){if("string"==typeof e){let t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&U.warn(_(`Expected number but observed string: ${e}`)),t}if("number"==typeof e)return e;throw TypeError(`Expected number, got ${typeof e}: ${e}`)}},y=Math.ceil(17014118346046923e22*(2-11920928955078125e-23)),m=e=>{let t=g(e);if(void 0!==t&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>y)throw TypeError(`Expected 32-bit float, got ${e}`);return t},b=e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw TypeError(`Expected integer, got ${typeof e}: ${e}`)}},x=e=>S(e,32),w=e=>S(e,16),v=e=>S(e,8),S=(e,t)=>{let r=b(e);if(void 0!==r&&E(r,t)!==r)throw TypeError(`Expected ${t}-bit integer, got ${e}`);return r},E=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},A=(e,t)=>{if(null==e){if(t)throw TypeError(`Expected a non-null value for ${t}`);throw TypeError("Expected a non-null value")}return e},R=e=>{if(null==e)return;if("object"==typeof e&&!Array.isArray(e))return e;let t=Array.isArray(e)?"array":typeof e;throw TypeError(`Expected object, got ${t}: ${e}`)},P=e=>{if(null!=e){if("string"==typeof e)return e;if(["boolean","number","bigint"].includes(typeof e))return U.warn(_(`Expected string, got ${typeof e}: ${e}`)),String(e);throw TypeError(`Expected string, got ${typeof e}: ${e}`)}},k=e=>"string"==typeof e?m(T(e)):m(e),C=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,T=e=>{let t=e.match(C);if(null===t||t[0].length!==e.length)throw TypeError("Expected real number, got implicit NaN");return parseFloat(e)},I=e=>"string"==typeof e?b(T(e)):b(e),O=e=>"string"==typeof e?x(T(e)):x(e),M=e=>"string"==typeof e?w(T(e)):w(e),N=e=>"string"==typeof e?v(T(e)):v(e),_=e=>String(TypeError(e).stack||e).split("\n").slice(0,5).filter(e=>!e.includes("stackTraceWarning")).join("\n"),U={warn:console.warn},B=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],$=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function L(e){let t=e.getUTCFullYear(),r=e.getUTCMonth(),n=e.getUTCDay(),i=e.getUTCDate(),s=e.getUTCHours(),a=e.getUTCMinutes(),o=e.getUTCSeconds(),u=i<10?`0${i}`:`${i}`,l=s<10?`0${s}`:`${s}`,c=a<10?`0${a}`:`${a}`,f=o<10?`0${o}`:`${o}`;return`${B[n]}, ${u} ${$[r]} ${t} ${l}:${c}:${f} GMT`}let D=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),F=e=>{if(null==e)return;if("string"!=typeof e)throw TypeError("RFC-3339 date-times must be expressed as strings");let t=D.exec(e);if(!t)throw TypeError("Invalid RFC-3339 date-time value");let[r,n,i,s,a,o,u,l,c]=t,f=M(et(n)),d=V(f,X(i,"month",1,12),X(s,"day",1,31),{hours:a,minutes:o,seconds:u,fractionalMilliseconds:l});return"Z"!=c.toUpperCase()&&d.setTime(d.getTime()-ee(c)),d},j=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),H=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),z=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),q=e=>{if(null==e)return;if("string"!=typeof e)throw TypeError("RFC-7231 date-times must be expressed as strings");let t=j.exec(e);if(t){let[e,r,n,i,s,a,o,u]=t;return V(M(et(i)),G(n),X(r,"day",1,31),{hours:s,minutes:a,seconds:o,fractionalMilliseconds:u})}if(t=H.exec(e)){let[e,r,n,i,s,a,o,u]=t;return W(V(K(i),G(n),X(r,"day",1,31),{hours:s,minutes:a,seconds:o,fractionalMilliseconds:u}))}if(t=z.exec(e)){let[e,r,n,i,s,a,o,u]=t;return V(M(et(u)),G(r),X(n.trimLeft(),"day",1,31),{hours:i,minutes:s,seconds:a,fractionalMilliseconds:o})}throw TypeError("Invalid RFC-7231 date-time value")},V=(e,t,r,n)=>{let i=t-1;return J(e,i,r),new Date(Date.UTC(e,i,r,X(n.hours,"hour",0,23),X(n.minutes,"minute",0,59),X(n.seconds,"seconds",0,60),Q(n.fractionalMilliseconds)))},K=e=>{let t=new Date().getUTCFullYear(),r=100*Math.floor(t/100)+M(et(e));return re.getTime()-new Date().getTime()>15768e8?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,G=e=>{let t=$.indexOf(e);if(t<0)throw TypeError(`Invalid month: ${e}`);return t+1},Z=[31,28,31,30,31,30,31,31,30,31,30,31],J=(e,t,r)=>{let n=Z[t];if(1===t&&Y(e)&&(n=29),r>n)throw TypeError(`Invalid day for ${$[t]} in ${e}: ${r}`)},Y=e=>e%4==0&&(e%100!=0||e%400==0),X=(e,t,r,n)=>{let i=N(et(e));if(in)throw TypeError(`${t} must be between ${r} and ${n}, inclusive`);return i},Q=e=>null==e?0:1e3*k("0."+e),ee=e=>{let t=e[0],r=1;if("+"==t)r=1;else if("-"==t)r=-1;else throw TypeError(`Offset direction, ${t}, must be "+" or "-"`);return r*(60*Number(e.substring(1,3))+Number(e.substring(4,6)))*6e4},et=e=>{let t=0;for(;t{Object.entries(t).filter(([,e])=>void 0!==e).forEach(([t,r])=>{(void 0==e[t]||""===e[t])&&(e[t]=r)});let r=e.message||e.Message||"UnknownError";return e.message=r,delete e.Message,e},ei=({output:e,parsedBody:t,exceptionCtor:r,errorCode:n})=>{let i=ea(e),s=i.httpStatusCode?i.httpStatusCode+"":void 0;throw en(new r({name:t?.code||t?.Code||n||s||"UnknownError",$fault:"client",$metadata:i}),t)},es=e=>({output:t,parsedBody:r,errorCode:n})=>{ei({output:t,parsedBody:r,exceptionCtor:e,errorCode:n})},ea=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),eo=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},eu=e=>{let t=[];for(let r in c.dB){let n=c.dB[r];void 0!==e[n]&&t.push({algorithmId:()=>n,checksumConstructor:()=>e[n]})}return{addChecksumAlgorithm(e){t.push(e)},checksumAlgorithms:()=>t}},el=e=>{let t={};return e.checksumAlgorithms().forEach(e=>{t[e.algorithmId()]=e.checksumConstructor()}),t},ec=e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy:()=>e.retryStrategy}),ef=e=>{let t={};return t.retryStrategy=e.retryStrategy(),t},ed=e=>Object.assign(eu(e),ec(e)),eh=e=>Object.assign(el(e),ef(e)),ep=e=>Array.isArray(e)?e:[e],eg=e=>{let t="#text";for(let r in e)e.hasOwnProperty(r)&&void 0!==e[r][t]?e[r]=e[r][t]:"object"==typeof e[r]&&null!==e[r]&&(e[r]=eg(e[r]));return e},ey=e=>null!=e,em=function(e){return Object.assign(new String(e),{deserializeJSON:()=>JSON.parse(String(e)),toString:()=>String(e),toJSON:()=>String(e)})};em.from=e=>e&&"object"==typeof e&&(e instanceof em||"deserializeJSON"in e)?e:"string"==typeof e||Object.getPrototypeOf(e)===String.prototype?em(String(e)):em(JSON.stringify(e)),em.fromObject=em.from;class eb{trace(){}debug(){}info(){}warn(){}error(){}}function ex(e,t,r){let n,i;if(void 0===t&&void 0===r)n={},i=e;else{if(n=e,"function"==typeof t)return ew(n,t,i=r);i=t}for(let e of Object.keys(i)){if(!Array.isArray(i[e])){n[e]=i[e];continue}ev(n,null,i,e)}return n}let ew=(e,t,r)=>ex(e,Object.entries(r).reduce((e,[r,n])=>(Array.isArray(n)?e[r]=n:"function"==typeof n?e[r]=[t,n()]:e[r]=[t,n],e),{})),ev=(e,t,r,n)=>{if(null!==t){let i=r[n];"function"==typeof i&&(i=[,i]);let[s=eS,a=eE,o=n]=i;("function"==typeof s&&s(t[o])||"function"!=typeof s&&s)&&(e[n]=a(t[o]));return}let[i,s]=r[n];if("function"==typeof s){let t,r=void 0===i&&null!=(t=s()),a="function"==typeof i&&!!i(void 0)||"function"!=typeof i&&!!i;r?e[n]=t:a&&(e[n]=s())}else{let t=void 0===i&&null!=s,r="function"==typeof i&&!!i(s)||"function"!=typeof i&&!!i;(t||r)&&(e[n]=s)}},eS=e=>null!=e,eE=e=>e;function eA(e){return(e.includes(",")||e.includes('"'))&&(e=`"${e.replace(/"/g,'\\"')}"`),e}let eR=e=>e.toISOString().replace(".000Z","Z")},61685:(e,t,r)=>{"use strict";r.d(t,{Px:()=>i,lI:()=>u});var n=r(82582);let i=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return n.Mu.mutate(e);if(!e)return n.Mu.mutate(new Uint8Array);let r=t.streamCollector(e);return n.Mu.mutate(await r)};var s=r(76325);function a(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}let o=(e,t,r,n,i,s)=>{if(null!=t&&void 0!==t[r]){let t=n();if(t.length<=0)throw Error("Empty value provided for input HTTP label: "+r+".");e=e.replace(i,s?t.split("/").map(e=>a(e)).join("/"):a(t))}else throw Error("No value provided for input HTTP label: "+r+".");return e};function u(e,t){return new l(e,t)}class l{constructor(e,t){this.input=e,this.context=t,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){let{hostname:e,protocol:t="https",port:r,path:n}=await this.context.endpoint();for(let e of(this.path=n,this.resolvePathStack))e(this.path);return new s.Kd({protocol:t,hostname:this.hostname||e,port:r,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(e){return this.hostname=e,this}bp(e){return this.resolvePathStack.push(t=>{this.path=`${t?.endsWith("/")?t.slice(0,-1):t||""}`+e}),this}p(e,t,r,n){return this.resolvePathStack.push(i=>{this.path=o(i,this.input,e,t,r,n)}),this}h(e){return this.headers=e,this}q(e){return this.query=e,this}b(e){return this.body=e,this}m(e){return this.method=e,this}}},65677:(e,t,r)=>{"use strict";r.d(t,{k:()=>l});var n=r(78004),i=r(56666),s=r(48069),a=r(59127),o=r(78508),u=r(20136);class l extends a.uB.classBuilder().ep({...o.S,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,r,a){return[(0,s.TM)(r,this.serialize,this.deserialize),(0,i.rD)(r,e.getEndpointParameterInstructions()),(0,n.Cg)(r)]}).s("AmazonS3","DeleteObject",{}).n("S3Client","DeleteObjectCommand").f(void 0,void 0).ser(u.VrD).de(u.O0D).build(){}},68021:(e,t,r)=>{"use strict";r.d(t,{a:()=>s,n:()=>a});let n={},i={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),n[e]=t,i[t]=e}function s(e){if(e.length%2!=0)throw Error("Hex encoded strings must have an even number length");let t=new Uint8Array(e.length/2);for(let r=0;r{"use strict";r.d(t,{pP:()=>s,Kz:()=>a,yl:()=>o,zB:()=>u});var n=r(44134).hp,i=void 0!==n&&n.from?function(e){return n.from(e,"utf8")}:e=>new TextEncoder().encode(e);function s(e){return e instanceof Uint8Array?e:"string"==typeof e?i(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function a(e){return"string"==typeof e?0===e.length:0===e.byteLength}function o(e){return new Uint8Array([(0xff000000&e)>>24,(0xff0000&e)>>16,(65280&e)>>8,255&e])}function u(e){if(!Uint32Array.from){for(var t=new Uint32Array(e.length),r=0;r{"use strict";r.d(t,{m:()=>n});let n=e=>"function"==typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e)},75539:(e,t,r)=>{"use strict";let n=r(27947),i={allowBooleanAttributes:!1,unpairedTags:[]};function s(e){return" "===e||" "===e||"\n"===e||"\r"===e}function a(e,t){let r=t;for(;t5&&"xml"===n)return c("InvalidXml","XML declaration allowed only at the start of the document.",f(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function o(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t"===e[t+2]){t+=2;break}}return t}t.validate=function(e,t){t=Object.assign({},i,t);let r=[],u=!1,d=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let i=0;i"!==e[i]&&" "!==e[i]&&" "!==e[i]&&"\n"!==e[i]&&"\r"!==e[i];i++)y+=e[i];if("/"===(y=y.trim())[y.length-1]&&(y=y.substring(0,y.length-1),i--),h=y,!n.isName(h)){let t;return c("InvalidTag",0===y.trim().length?"Invalid space after '<'.":"Tag '"+y+"' is an invalid name.",f(e,i))}let m=function(e,t){let r="",n="",i=!1;for(;t"===e[t]&&""===n){i=!0;break}r+=e[t]}return""===n&&{value:r,index:t,tagClosed:i}}(e,i);if(!1===m)return c("InvalidAttr","Attributes for '"+y+"' have open quote.",f(e,i));let b=m.value;if(i=m.index,"/"===b[b.length-1]){let r=i-b.length,n=l(b=b.substring(0,b.length-1),t);if(!0!==n)return c(n.err.code,n.err.msg,f(e,r+n.err.line));u=!0}else if(g)if(!m.tagClosed)return c("InvalidTag","Closing tag '"+y+"' doesn't have proper closing.",f(e,i));else{if(b.trim().length>0)return c("InvalidTag","Closing tag '"+y+"' can't have attributes or invalid starting.",f(e,p));if(0===r.length)return c("InvalidTag","Closing tag '"+y+"' has not been opened.",f(e,p));let t=r.pop();if(y!==t.tagName){let r=f(e,t.tagStartPos);return c("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+y+"'.",f(e,p))}0==r.length&&(d=!0)}else{let n=l(b,t);if(!0!==n)return c(n.err.code,n.err.msg,f(e,i-b.length+n.err.line));if(!0===d)return c("InvalidXml","Multiple possible root nodes found.",f(e,i));-1!==t.unpairedTags.indexOf(y)||r.push({tagName:y,tagStartPos:p}),u=!0}for(i++;i0)||c("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):c("InvalidXml","Start tag expected.",1)};let u=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function l(e,t){let r=n.getAllMatches(e,u),i={};for(let e=0;e{"use strict";r.d(t,{E:()=>s,n:()=>o});let n={},i=Array(64);for(let e=0;e+65<=90;e++){let t=String.fromCharCode(e+65);n[t]=e,i[e]=t}for(let e=0;e+97<=122;e++){let t=String.fromCharCode(e+97),r=e+26;n[t]=r,i[r]=t}for(let e=0;e<10;e++){n[e.toString(10)]=e+52;let t=e.toString(10),r=e+52;n[t]=r,i[r]=t}n["+"]=62,i[62]="+",n["/"]=63,i[63]="/";let s=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;let r=new ArrayBuffer(t),i=new DataView(r);for(let t=0;t>=6;let a=t/4*3;r>>=s%8;let o=Math.floor(s/8);for(let e=0;e>t)}}return new Uint8Array(r)};var a=r(31204);function o(e){let t,r="object"==typeof(t="string"==typeof e?(0,a.a)(e):e)&&"number"==typeof t.length,n="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!n)throw Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let s="";for(let e=0;e>t]}s+="==".slice(0,4-a)}return s}},76325:(e,t,r)=>{"use strict";r.d(t,{Kd:()=>s,cS:()=>a,eS:()=>n,jt:()=>i});let n=e=>({setHttpHandler(t){e.httpHandler=t},httpHandler:()=>e.httpHandler,updateHttpClientConfig(t,r){e.httpHandler?.updateHttpClientConfig(t,r)},httpHandlerConfigs:()=>e.httpHandler.httpHandlerConfigs()}),i=e=>({httpHandler:e.httpHandler()});r(34398);class s{constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){var t;let r=new s({...e,headers:{...e.headers}});return r.query&&(r.query=Object.keys(t=r.query).reduce((e,r)=>{let n=t[r];return{...e,[r]:Array.isArray(n)?[...n]:n}},{})),r}static isInstance(e){return!!e&&"method"in e&&"protocol"in e&&"hostname"in e&&"path"in e&&"object"==typeof e.query&&"object"==typeof e.headers}clone(){return s.clone(this)}}class a{constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){return!!e&&"number"==typeof e.statusCode&&"object"==typeof e.headers}}},77830:(e,t,r)=>{"use strict";r.d(t,{FZ:()=>u,t_:()=>a,FI:()=>o});var n=r(59127),i=r(96347);let s=(e,t)=>(0,n.Px)(e,t).then(e=>t.utf8Encoder(e)),a=(e,t)=>s(e,t).then(e=>{if(e.length){let t,r=new i.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(e,t)=>""===t.trim()&&t.includes("\n")?"":void 0});r.addEntity("#xD","\r"),r.addEntity("#10","\n");try{t=r.parse(e,!0)}catch(t){throw t&&"object"==typeof t&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}let s="#text",a=Object.keys(t)[0],o=t[a];return o[s]&&(o[a]=o[s],delete o[s]),(0,n.rm)(o)}return{}}),o=async(e,t)=>{let r=await a(e,t);return r.Error&&(r.Error.message=r.Error.message??r.Error.Message),r},u=(e,t)=>t?.Error?.Code!==void 0?t.Error.Code:t?.Code!==void 0?t.Code:404==e.statusCode?"NotFound":void 0},78004:(e,t,r)=>{"use strict";r.d(t,{rQ:()=>w,GS:()=>a,_W:()=>c,kH:()=>h,Zu:()=>N,GE:()=>P,Cg:()=>F,Br:()=>q,ri:()=>_});var n=r(76325),i=r(59127);let s={step:"finalizeRequest",tags:["CHECK_CONTENT_LENGTH_HEADER"],name:"getCheckContentLengthHeaderPlugin",override:!0},a=e=>({applyToStack:e=>{e.add((e,t)=>async r=>{let{request:s}=r;if(n.Kd.isInstance(s)&&!("content-length"in s.headers)&&!("x-amz-decoded-content-length"in s.headers)){let e="Are you using a Stream of unknown length as the Body of a PutObject request? Consider using Upload instead from @aws-sdk/lib-storage.";"function"!=typeof t?.logger?.warn||t.logger instanceof i.N4?console.warn(e):t.logger.warn(e)}return e({...r})},s)}}),o=e=>(t,r)=>async n=>{let i=await e.region(),s=e.region,a=()=>{};r.__s3RegionRedirect&&(Object.defineProperty(e,"region",{writable:!1,value:async()=>r.__s3RegionRedirect}),a=()=>Object.defineProperty(e,"region",{writable:!0,value:s}));try{let s=await t(n);if(r.__s3RegionRedirect){a();let t=await e.region();if(i!==t)throw Error("Region was not restored following S3 region redirect.")}return s}catch(e){throw a(),e}},u={tags:["REGION_REDIRECT","S3"],name:"regionRedirectEndpointMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},l={step:"initialize",tags:["REGION_REDIRECT","S3"],name:"regionRedirectMiddleware",override:!0},c=e=>({applyToStack:t=>{t.add(function(e){return(t,r)=>async n=>{try{return await t(n)}catch(i){if(e.followRegionRedirects&&(i?.$metadata?.httpStatusCode===301||i?.$metadata?.httpStatusCode===400&&i?.name==="IllegalLocationConstraintException")){try{let t=i.$response.headers["x-amz-bucket-region"];r.logger?.debug(`Redirecting from ${await e.region()} to ${t}`),r.__s3RegionRedirect=t}catch(e){throw Error("Region redirect failed: "+e)}return t(n)}throw i}}}(e),l),t.addRelativeTo(o(e),u)}}),f=e=>(e,t)=>async r=>{let s=await e(r),{response:a}=s;if(n.cS.isInstance(a)&&a.headers.expires){a.headers.expiresstring=a.headers.expires;try{(0,i.xE)(a.headers.expires)}catch(e){t.logger?.warn(`AWS SDK Warning for ${t.clientName}::${t.commandName} response parsing (${a.headers.expires}): ${e}`),delete a.headers.expires}}return s},d={tags:["S3"],name:"s3ExpiresMiddleware",override:!0,relation:"after",toMiddleware:"deserializerMiddleware"},h=e=>({applyToStack:t=>{t.addRelativeTo(f(e),d)}});class p{data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;constructor(e={}){this.data=e}get(e){let t=this.data[e];if(t)return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){let e=Date.now();if(!(this.lastPurgeTime+p.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>e))for(let t in this.data){let r=this.data[t];if(!r.isRefreshing){let n=await r.identity;n.expiration&&n.expiration.getTime()(e.expiration?.getTime()??0){n.set(r,new g(Promise.resolve(e)))})),e)):n.set(r,new g(this.getIdentity(r))).identity}async getIdentity(e){await this.cache.purgeExpired().catch(e=>{console.warn("Error while clearing expired entries in S3ExpressIdentityCache: \n"+e)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error("s3#createSession response credential missing AccessKeyId or SecretAccessKey.");return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}}var m=r(2548);r(13935);let b="X-Amz-S3session-Token",x=b.toLowerCase();class w extends m.BB{async signWithCredentials(e,t,r){let n=v(t);return e.headers[x]=t.sessionToken,S(this,n),this.signRequest(e,r??{})}async presignWithCredentials(e,t,r){let n=v(t);return delete e.headers[x],e.headers[b]=t.sessionToken,e.query=e.query??{},e.query[b]=t.sessionToken,S(this,n),this.presign(e,r)}}function v(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function S(e,t){let r=setTimeout(()=>{throw Error("SignatureV4S3Express credential override was created but not called.")},10),n=e.credentialProvider;e.credentialProvider=()=>(clearTimeout(r),e.credentialProvider=n,Promise.resolve(t))}var E=r(84638);let A=e=>(t,r)=>async i=>{if(r.endpointV2){let t=r.endpointV2,s=t.properties?.authSchemes?.[0]?.name==="sigv4-s3express";if((t.properties?.backend==="S3Express"||t.properties?.bucketType==="Directory")&&((0,E.J)(r,"S3_EXPRESS_BUCKET","J"),r.isS3ExpressBucket=!0),s){let t=i.input.Bucket;if(t){let s=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:t});r.s3ExpressIdentity=s,n.Kd.isInstance(i.request)&&s.sessionToken&&(i.request.headers[x]=s.sessionToken)}}}return t(i)},R={name:"s3ExpressMiddleware",step:"build",tags:["S3","S3_EXPRESS"],override:!0},P=e=>({applyToStack:t=>{t.add(A(e),R)}});var k=r(25711);r(34398);var C=r(88294);let T=async(e,t,r,n)=>{let i=await n.signWithCredentials(r,e,{});if(i.headers["X-Amz-Security-Token"]||i.headers["x-amz-security-token"])throw Error("X-Amz-Security-Token must not be set for s3-express requests.");return i},I=e=>e=>{throw e},O=(e,t)=>{},M=e=>(t,r)=>async i=>{let s;if(!n.Kd.isInstance(i.request))return t(i);let a=(0,C.u)(r).selectedHttpAuthScheme;if(!a)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:o={}},identity:u,signer:l}=a;s=r.s3ExpressIdentity?await T(r.s3ExpressIdentity,o,i.request,await e.signer()):await l.sign(i.request,u,o);let c=await t({...i,request:s}).catch((l.errorHandler||I)(o));return(l.successHandler||O)(c.response,o),c},N=e=>({applyToStack:t=>{t.addRelativeTo(M(e),k.Qk)}}),_=(e,{session:t})=>{let[r,n]=t,{forcePathStyle:i,useAccelerateEndpoint:s,disableMultiregionAccessPoints:a,followRegionRedirects:o,s3ExpressIdentityProvider:u,bucketEndpoint:l}=e;return Object.assign(e,{forcePathStyle:i??!1,useAccelerateEndpoint:s??!1,disableMultiregionAccessPoints:a??!1,followRegionRedirects:o??!1,s3ExpressIdentityProvider:u??new y(async e=>r().send(new n({Bucket:e}))),bucketEndpoint:l??!1})};var U=r(82582);let B={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},$=e=>(t,r)=>async i=>{let s=await t(i),{response:a}=s;if(!n.cS.isInstance(a))return s;let{statusCode:o,body:u}=a;if(o<200||o>=300||"function"!=typeof u?.stream&&"function"!=typeof u?.pipe&&"function"!=typeof u?.tee)return s;let l=u,c=u;!u||"object"!=typeof u||u instanceof Uint8Array||([l,c]=await (0,U.LA)(u)),a.body=c;let f=await L(l,{streamCollector:async e=>(0,U.z8)(e,3e3)});"function"==typeof l?.destroy&&l.destroy();let d=e.utf8Encoder(f.subarray(f.length-16));if(0===f.length&&B[r.commandName]){let e=Error("S3 aborted request");throw e.name="InternalError",e}return d&&d.endsWith("")&&(a.statusCode=400),s},L=(e=new Uint8Array,t)=>e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array),D={relation:"after",toMiddleware:"deserializerMiddleware",tags:["THROW_200_EXCEPTIONS","S3"],name:"throw200ExceptionsMiddleware",override:!0},F=e=>({applyToStack:t=>{t.addRelativeTo($(e),D)}}),j=e=>"string"==typeof e&&0===e.indexOf("arn:")&&e.split(":").length>=6,H={name:"bucketEndpointMiddleware",override:!0,relation:"after",toMiddleware:"endpointV2Middleware"},z={step:"initialize",tags:["VALIDATE_BUCKET_NAME"],name:"validateBucketNameMiddleware",override:!0},q=e=>({applyToStack:t=>{t.add(function({bucketEndpoint:e}){return t=>async r=>{let{input:{Bucket:n}}=r;if(!e&&"string"==typeof n&&!j(n)&&n.indexOf("/")>=0){let e=Error(`Bucket name shouldn't contain '/', received '${n}'`);throw e.name="InvalidBucketName",e}return t({...r})}}(e),z),t.addRelativeTo((t,r)=>async n=>{if(e.bucketEndpoint){let e=r.endpointV2;if(e){let t=n.input.Bucket;if("string"==typeof t)try{let n=new URL(t);r.endpointV2={...e,url:n}}catch(n){let e=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${t} could not be parsed as URL.`;throw r.logger?.constructor?.name==="NoOpLogger"?console.warn(e):r.logger?.warn?.(e),n}}}return t(n)},H)}})},78508:(e,t,r)=>{"use strict";r.d(t,{S:()=>i,v:()=>n});let n=e=>Object.assign(e,{useFipsEndpoint:e.useFipsEndpoint??!1,useDualstackEndpoint:e.useDualstackEndpoint??!1,forcePathStyle:e.forcePathStyle??!1,useAccelerateEndpoint:e.useAccelerateEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,disableMultiregionAccessPoints:e.disableMultiregionAccessPoints??!1,defaultSigningName:"s3"}),i={ForcePathStyle:{type:"clientContextParams",name:"forcePathStyle"},UseArnRegion:{type:"clientContextParams",name:"useArnRegion"},DisableMultiRegionAccessPoints:{type:"clientContextParams",name:"disableMultiregionAccessPoints"},Accelerate:{type:"clientContextParams",name:"useAccelerateEndpoint"},DisableS3ExpressSessionAuth:{type:"clientContextParams",name:"disableS3ExpressSessionAuth"},UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}},81265:(e,t,r)=>{"use strict";r.d(t,{P:()=>n});let n=e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)}},82582:(e,t,r)=>{"use strict";r.d(t,{Mu:()=>a,M2:()=>h,Of:()=>c,Bk:()=>y,z8:()=>m,c9:()=>v,LA:()=>E});var n=r(75964),i=r(81265),s=r(31204);class a extends Uint8Array{static fromString(e,t="utf-8"){if("string"==typeof e)return"base64"===t?a.mutate((0,n.E)(e)):a.mutate((0,s.a)(e));throw Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,a.prototype),e}transformToString(e="utf-8"){return function(e,t="utf-8"){return"base64"===t?(0,n.n)(e):(0,i.P)(e)}(this,e)}}let o="function"==typeof ReadableStream?ReadableStream:function(){};class u extends o{}let l=e=>"function"==typeof ReadableStream&&(e?.constructor?.name===ReadableStream.name||e instanceof ReadableStream),c=({expectedChecksum:e,checksum:t,source:r,checksumSourceLocation:i,base64Encoder:s})=>{if(!l(r))throw Error(`@smithy/util-stream: unsupported source type ${r?.constructor?.name??r} in ChecksumStream.`);let a=s??n.n;if("function"!=typeof TransformStream)throw Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.");let o=new TransformStream({start(){},async transform(e,r){t.update(e),r.enqueue(e)},async flush(r){let n=a(await t.digest());if(e!==n){let t=Error(`Checksum mismatch: expected "${e}" but received "${n}" in response header "${i}".`);r.error(t)}else r.terminate()}});r.pipeThrough(o);let c=o.readable;return Object.setPrototypeOf(c,u.prototype),c};class f{constructor(e){this.allocByteArray=e,this.byteLength=0,this.byteArrays=[]}push(e){this.byteArrays.push(e),this.byteLength+=e.byteLength}flush(){if(1===this.byteArrays.length){let e=this.byteArrays[0];return this.reset(),e}let e=this.allocByteArray(this.byteLength),t=0;for(let r=0;rnew Uint8Array(e))],o=-1,u=async e=>{let{value:l,done:c}=await n.read();if(c){if(-1!==o){let t=p(a,o);g(t)>0&&e.enqueue(t)}e.close()}else{let n=function(e,t=!0){return t&&void 0!==d&&e instanceof d?2:e instanceof Uint8Array?1:"string"==typeof e?0:-1}(l,!1);if(o!==n&&(o>=0&&e.enqueue(p(a,o)),o=n),-1===o)return void e.enqueue(l);let c=g(l);s+=c;let f=g(a[o]);if(c>=t&&0===f)e.enqueue(l);else{let n=function(e,t,r){switch(t){case 0:return e[0]+=r,g(e[0]);case 1:case 2:return e[t].push(r),g(e[t])}}(a,o,l);!i&&s>2*t&&(i=!0,r?.warn(`@smithy/util-stream - stream chunk size ${c} is below threshold of ${t}, automatically buffering.`)),n>=t?e.enqueue(p(a,o)):await u(e)}}};return new ReadableStream({pull:u})};function p(e,t){switch(t){case 0:let r=e[0];return e[0]="",r;case 1:case 2:return e[t].flush()}throw Error(`@smithy/util-stream - invalid index ${t} given to flush()`)}function g(e){return e?.byteLength??e?.length??0}let y=(e,t)=>{let{base64Encoder:r,bodyLengthChecker:n,checksumAlgorithmFn:i,checksumLocationName:s,streamHasher:a}=t,o=void 0!==r&&void 0!==n&&void 0!==i&&void 0!==s&&void 0!==a,u=o?a(i,e):void 0,l=e.getReader();return new ReadableStream({async pull(e){let{value:t,done:i}=await l.read();if(i){if(e.enqueue(`0\r +`),o){let t=r(await u);e.enqueue(`${s}:${t}\r +`),e.enqueue(`\r +`)}e.close()}else e.enqueue(`${(n(t)||0).toString(16)}\r +${t}\r +`)}})};async function m(e,t){let r=0,n=[],i=e.getReader(),s=!1;for(;!s;){let{done:e,value:a}=await i.read();if(a&&(n.push(a),r+=a?.byteLength??0),r>=t)break;s=e}i.releaseLock();let a=new Uint8Array(Math.min(t,r)),o=0;for(let e of n){if(e.byteLength>a.byteLength-o){a.set(e.subarray(0,a.byteLength-o),o);break}a.set(e,o),o+=e.length}return a}var b=r(1237),x=r(68021);let w="The stream has already been transformed.",v=e=>{if(!S(e)&&!l(e)){let t=e?.__proto__?.constructor?.name||e;throw Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${t}`)}let t=!1,r=async()=>{if(t)throw Error(w);return t=!0,await (0,b.kv)(e)},s=e=>{if("function"!=typeof e.stream)throw Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\nIf you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body");return e.stream()};return Object.assign(e,{transformToByteArray:r,transformToString:async e=>{let t=await r();if("base64"===e)return(0,n.n)(t);if("hex"===e)return(0,x.n)(t);if(void 0===e||"utf8"===e||"utf-8"===e)return(0,i.P)(t);if("function"==typeof TextDecoder)return new TextDecoder(e).decode(t);throw Error("TextDecoder is not available, please make sure polyfill is provided.")},transformToWebStream:()=>{if(t)throw Error(w);if(t=!0,S(e))return s(e);if(l(e))return e;throw Error(`Cannot transform payload to web stream, got ${e}`)}})},S=e=>"function"==typeof Blob&&e instanceof Blob;async function E(e){return"function"==typeof e.stream&&(e=e.stream()),e.tee()}},84638:(e,t,r)=>{"use strict";function n(e,t,r){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=r}r.d(t,{J:()=>n})},87289:e=>{function t(e,t){let n="";if(e&&!t.ignoreAttributes)for(let i in e){if(!e.hasOwnProperty(i))continue;let s=t.attributeValueProcessor(i,e[i]);!0===(s=r(s,t))&&t.suppressBooleanAttributes?n+=` ${i.substr(t.attributeNamePrefix.length)}`:n+=` ${i.substr(t.attributeNamePrefix.length)}="${s}"`}return n}function r(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r0&&(i="\n"),function e(n,i,s,a){let o="",u=!1;for(let l=0;l`,u=!1;continue}if(f===i.commentPropName){o+=a+``,u=!0;continue}else if("?"===f[0]){let e=t(c[":@"],i),r="?xml"===f?"":a,n=c[f][0][i.textNodeName];n=0!==n.length?" "+n:"",o+=r+`<${f}${n}${e}?>`,u=!0;continue}let h=a;""!==h&&(h+=i.indentBy);let p=t(c[":@"],i),g=a+`<${f}${p}`,y=e(c[f],i,d,h);-1!==i.unpairedTags.indexOf(f)?i.suppressUnpairedNode?o+=g+">":o+=g+"/>":(!y||0===y.length)&&i.suppressEmptyNode?o+=g+"/>":y&&y.endsWith(">")?o+=g+`>${y}${a}`:(o+=g+">",y&&""!==a&&(y.includes("/>")||y.includes("`),u=!0}return o}(e,n,"",i)}},88294:(e,t,r)=>{"use strict";r.d(t,{u:()=>i,t:()=>s});var n=r(34398);let i=e=>e[n.Vf]||(e[n.Vf]={}),s=e=>{if("function"==typeof e)return e;let t=Promise.resolve(e);return()=>t}},89470:(e,t,r)=>{let{buildOptions:n}=r(20737),i=r(91605),{prettify:s}=r(56848),a=r(75539);class o{constructor(e){this.externalEntities={},this.options=n(e)}parse(e,t){if("string"==typeof e);else if(e.toString)e=e.toString();else throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=a.validate(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let r=new i(this.options);r.addExternalEntities(this.externalEntities);let n=r.parseXml(e);return this.options.preserveOrder||void 0===n?n:s(n,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}}e.exports=o},91605:(e,t,r)=>{"use strict";let n=r(27947),i=r(57309),s=r(57661),a=r(41734);class o{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xa2"},pound:{regex:/&(pound|#163);/g,val:"\xa3"},yen:{regex:/&(yen|#165);/g,val:"\xa5"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"\xa9"},reg:{regex:/&(reg|#174);/g,val:"\xae"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,16))}},this.addExternalEntities=u,this.parseXml=h,this.parseTextData=l,this.resolveNameSpace=c,this.buildAttributesMap=d,this.isItStopNode=m,this.replaceEntitiesValue=g,this.readStopNodeData=w,this.saveTextToParentTag=y,this.addChild=p}}function u(e){let t=Object.keys(e);for(let r=0;r0)){a||(e=this.replaceEntitiesValue(e));let n=this.options.tagValueProcessor(t,e,r,i,s);return null==n?e:typeof n!=typeof e||n!==e?n:this.options.trimValues||e.trim()===e?v(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function c(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let f=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function d(e,t,r){if(!this.options.ignoreAttributes&&"string"==typeof e){let r=n.getAllMatches(e,f),i=r.length,s={};for(let e=0;e",o,"Closing Tag is not closed."),i=e.substring(o+2,t).trim();if(this.options.removeNSPrefix){let e=i.indexOf(":");-1!==e&&(i=i.substr(e+1))}this.options.transformTagName&&(i=this.options.transformTagName(i)),r&&(n=this.saveTextToParentTag(n,r,a));let s=a.substring(a.lastIndexOf(".")+1);if(i&&-1!==this.options.unpairedTags.indexOf(i))throw Error(`Unpaired tag can not be used as closing tag: `);let u=0;s&&-1!==this.options.unpairedTags.indexOf(s)?(u=a.lastIndexOf(".",a.lastIndexOf(".")-1),this.tagsNodeStack.pop()):u=a.lastIndexOf("."),a=a.substring(0,u),r=this.tagsNodeStack.pop(),n="",o=t}else if("?"===e[o+1]){let t=x(e,o,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");if(n=this.saveTextToParentTag(n,r,a),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{let e=new i(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,a,t.tagName)),this.addChild(r,e,a)}o=t.closeIndex+1}else if("!--"===e.substr(o+1,3)){let t=b(e,"--\x3e",o+4,"Comment is not closed.");if(this.options.commentPropName){let i=e.substring(o+4,t-2);n=this.saveTextToParentTag(n,r,a),r.add(this.options.commentPropName,[{[this.options.textNodeName]:i}])}o=t}else if("!D"===e.substr(o+1,2)){let t=s(e,o);this.docTypeEntities=t.entities,o=t.i}else if("!["===e.substr(o+1,2)){let t=b(e,"]]>",o,"CDATA is not closed.")-2,i=e.substring(o+9,t);n=this.saveTextToParentTag(n,r,a);let s=this.parseTextData(i,r.tagname,a,!0,!1,!0,!0);void 0==s&&(s=""),this.options.cdataPropName?r.add(this.options.cdataPropName,[{[this.options.textNodeName]:i}]):r.add(this.options.textNodeName,s),o=t+2}else{let s=x(e,o,this.options.removeNSPrefix),u=s.tagName,l=s.rawTagName,c=s.tagExp,f=s.attrExpPresent,d=s.closeIndex;this.options.transformTagName&&(u=this.options.transformTagName(u)),r&&n&&"!xml"!==r.tagname&&(n=this.saveTextToParentTag(n,r,a,!1));let h=r;if(h&&-1!==this.options.unpairedTags.indexOf(h.tagname)&&(r=this.tagsNodeStack.pop(),a=a.substring(0,a.lastIndexOf("."))),u!==t.tagname&&(a+=a?"."+u:u),this.isItStopNode(this.options.stopNodes,a,u)){let t="";if(c.length>0&&c.lastIndexOf("/")===c.length-1)"/"===u[u.length-1]?(u=u.substr(0,u.length-1),a=a.substr(0,a.length-1),c=u):c=c.substr(0,c.length-1),o=s.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(u))o=s.closeIndex;else{let r=this.readStopNodeData(e,l,d+1);if(!r)throw Error(`Unexpected end of ${l}`);o=r.i,t=r.tagContent}let n=new i(u);u!==c&&f&&(n[":@"]=this.buildAttributesMap(c,a,u)),t&&(t=this.parseTextData(t,u,a,!0,f,!0,!0)),a=a.substr(0,a.lastIndexOf(".")),n.add(this.options.textNodeName,t),this.addChild(r,n,a)}else{if(c.length>0&&c.lastIndexOf("/")===c.length-1){"/"===u[u.length-1]?(u=u.substr(0,u.length-1),a=a.substr(0,a.length-1),c=u):c=c.substr(0,c.length-1),this.options.transformTagName&&(u=this.options.transformTagName(u));let e=new i(u);u!==c&&f&&(e[":@"]=this.buildAttributesMap(c,a,u)),this.addChild(r,e,a),a=a.substr(0,a.lastIndexOf("."))}else{let e=new i(u);this.tagsNodeStack.push(r),u!==c&&f&&(e[":@"]=this.buildAttributesMap(c,a,u)),this.addChild(r,e,a),r=e}n="",o=d}}else n+=e[o];return t.child};function p(e,t,r){let n=this.options.updateTag(t.tagname,r,t[":@"]);!1===n||("string"==typeof n&&(t.tagname=n),e.addChild(t))}let g=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){let r=this.docTypeEntities[t];e=e.replace(r.regx,r.val)}for(let t in this.lastEntities){let r=this.lastEntities[t];e=e.replace(r.regex,r.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){let r=this.htmlEntities[t];e=e.replace(r.regex,r.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function y(e,t,r,n){return e&&(void 0===n&&(n=0===Object.keys(t.child).length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,n))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function m(e,t,r){let n="*."+r;for(let r in e){let i=e[r];if(n===i||t===i)return!0}return!1}function b(e,t,r,n){let i=e.indexOf(t,r);if(-1!==i)return i+t.length-1;throw Error(n)}function x(e,t,r,n=">"){let i=function(e,t,r=">"){let n,i="";for(let s=t;s",r,`${t} is not closed`);if(e.substring(r+2,s).trim()===t&&0==--i)return{tagContent:e.substring(n,r),i:s};r=s}else if("?"===e[r+1])r=b(e,"?>",r+1,"StopNode is not closed.");else if("!--"===e.substr(r+1,3))r=b(e,"--\x3e",r+3,"StopNode is not closed.");else if("!["===e.substr(r+1,2))r=b(e,"]]>",r,"StopNode is not closed.")-2;else{let n=x(e,r,">");n&&((n&&n.tagName)===t&&"/"!==n.tagExp[n.tagExp.length-1]&&i++,r=n.closeIndex)}}function v(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&a(e,r)}return n.isExist(e)?e:""}e.exports=o},95104:(e,t,r)=>{"use strict";r.d(t,{j:()=>d});var n=r(54911),i=r(78004),s=r(23402),a=r(56666),o=r(48069),u=r(59127),l=r(78508),c=r(50373),f=r(20136);class d extends u.uB.classBuilder().ep({...l.S,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,r,u){return[(0,o.TM)(r,this.serialize,this.deserialize),(0,a.rD)(r,e.getEndpointParameterInstructions()),(0,n.R9)(r,{requestChecksumRequired:!1,requestValidationModeMember:"ChecksumMode",responseAlgorithms:["CRC64NVME","CRC32","CRC32C","SHA256","SHA1"]}),(0,s.M6)(r),(0,i.kH)(r)]}).s("AmazonS3","GetObject",{}).n("S3Client","GetObjectCommand").f(c.DL,c.f$).ser(f.a$M).de(f.pv0).build(){}},96347:(e,t,r)=>{"use strict";let n=r(75539);e.exports={XMLParser:r(89470),XMLValidator:n,XMLBuilder:r(21165)}},98939:(e,t,r)=>{"use strict";r.d(t,{w:()=>d});var n=r(54911),i=r(78004),s=r(23402),a=r(56666),o=r(48069),u=r(59127),l=r(78508),c=r(56522),f=r(20136);class d extends u.uB.classBuilder().ep({...l.S,Bucket:{type:"contextParams",name:"Bucket"},Key:{type:"contextParams",name:"Key"}}).m(function(e,t,r,u){return[(0,o.TM)(r,this.serialize,this.deserialize),(0,a.rD)(r,e.getEndpointParameterInstructions()),(0,n.R9)(r,{requestAlgorithmMember:{httpHeader:"x-amz-sdk-checksum-algorithm",name:"ChecksumAlgorithm"},requestChecksumRequired:!1}),(0,i.GS)(r),(0,i.Cg)(r),(0,s.M6)(r)]}).s("AmazonS3","PutObject",{}).n("S3Client","PutObjectCommand").f(c.Kr,c.sH).ser(f.LX9).de(f.sX7).build(){}}}]); \ No newline at end of file diff --git a/.next/static/chunks/8389-938387c6ddab5238.js b/.next/static/chunks/8389-938387c6ddab5238.js new file mode 100644 index 00000000..fc32217e --- /dev/null +++ b/.next/static/chunks/8389-938387c6ddab5238.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8389],{5623:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(19946).A)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},12318:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(19946).A)("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]])},13717:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(19946).A)("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]])},14503:(e,a,t)=>{t.d(a,{dj:()=>u,oR:()=>m});var r=t(12115);let s=0,l=new Map,i=e=>{if(l.has(e))return;let a=setTimeout(()=>{l.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);l.set(e,a)},n=(e,a)=>{switch(a.type){case"ADD_TOAST":return{...e,toasts:[a.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===a.toast.id?{...e,...a.toast}:e)};case"DISMISS_TOAST":{let{toastId:t}=a;return t?i(t):e.toasts.forEach(e=>{i(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===t||void 0===t?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===a.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==a.toastId)}}},o=[],d={toasts:[]};function c(e){d=n(d,e),o.forEach(e=>{e(d)})}function m(e){let{...a}=e,t=(s=(s+1)%Number.MAX_SAFE_INTEGER).toString(),r=()=>c({type:"DISMISS_TOAST",toastId:t});return c({type:"ADD_TOAST",toast:{...a,id:t,open:!0,onOpenChange:e=>{e||r()}}}),{id:t,dismiss:r,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:t}})}}function u(){let[e,a]=r.useState(d);return r.useEffect(()=>(o.push(a),()=>{let e=o.indexOf(a);e>-1&&o.splice(e,1)}),[e]),{...e,toast:m,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},15630:(e,a,t)=>{t.d(a,{C1:()=>E,bL:()=>C});var r=t(12115),s=t(6101),l=t(46081),i=t(85185),n=t(5845),o=t(45503),d=t(11275),c=t(28905);t(47650);var m=t(99708),u=t(95155),f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,a)=>{let t=r.forwardRef((e,t)=>{let{asChild:r,...s}=e,l=r?m.DX:a;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(l,{...s,ref:t})});return t.displayName=`Primitive.${a}`,{...e,[a]:t}},{}),p="Checkbox",[h,x]=(0,l.A)(p),[g,y]=h(p),b=r.forwardRef((e,a)=>{let{__scopeCheckbox:t,name:l,checked:o,defaultChecked:d,required:c,disabled:m,value:p="on",onCheckedChange:h,form:x,...y}=e,[b,N]=r.useState(null),v=(0,s.s)(a,e=>N(e)),C=r.useRef(!1),E=!b||x||!!b.closest("form"),[S=!1,A]=(0,n.i)({prop:o,defaultProp:d,onChange:h}),R=r.useRef(S);return r.useEffect(()=>{let e=null==b?void 0:b.form;if(e){let a=()=>A(R.current);return e.addEventListener("reset",a),()=>e.removeEventListener("reset",a)}},[b,A]),(0,u.jsxs)(g,{scope:t,state:S,disabled:m,children:[(0,u.jsx)(f.button,{type:"button",role:"checkbox","aria-checked":w(S)?"mixed":S,"aria-required":c,"data-state":k(S),"data-disabled":m?"":void 0,disabled:m,value:p,...y,ref:v,onKeyDown:(0,i.m)(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.m)(e.onClick,e=>{A(e=>!!w(e)||!e),E&&(C.current=e.isPropagationStopped(),C.current||e.stopPropagation())})}),E&&(0,u.jsx)(j,{control:b,bubbles:!C.current,name:l,value:p,checked:S,required:c,disabled:m,form:x,style:{transform:"translateX(-100%)"},defaultChecked:!w(d)&&d})]})});b.displayName=p;var N="CheckboxIndicator",v=r.forwardRef((e,a)=>{let{__scopeCheckbox:t,forceMount:r,...s}=e,l=y(N,t);return(0,u.jsx)(c.C,{present:r||w(l.state)||!0===l.state,children:(0,u.jsx)(f.span,{"data-state":k(l.state),"data-disabled":l.disabled?"":void 0,...s,ref:a,style:{pointerEvents:"none",...e.style}})})});v.displayName=N;var j=e=>{let{control:a,checked:t,bubbles:s=!0,defaultChecked:l,...i}=e,n=r.useRef(null),c=(0,o.Z)(t),m=(0,d.X)(a);r.useEffect(()=>{let e=n.current,a=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==t&&a){let r=new Event("click",{bubbles:s});e.indeterminate=w(t),a.call(e,!w(t)&&t),e.dispatchEvent(r)}},[c,t,s]);let f=r.useRef(!w(t)&&t);return(0,u.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:null!=l?l:f.current,...i,tabIndex:-1,ref:n,style:{...e.style,...m,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function w(e){return"indeterminate"===e}function k(e){return w(e)?"indeterminate":e?"checked":"unchecked"}var C=b,E=v},53999:(e,a,t)=>{t.d(a,{cn:()=>l});var r=t(52596),s=t(39688);function l(){for(var e=arguments.length,a=Array(e),t=0;t{t.d(a,{UsersTable:()=>w});var r=t(95155),s=t(12115),l=t(88524),i=t(97168),n=t(12108),o=t(89852),d=t(5623),c=t(13717),m=t(12318),u=t(19946);let f=(0,u.A)("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]]),p=(0,u.A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]),h=(0,u.A)("LockOpen",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);var x=t(74126),g=t(67133),y=t(14503),b=t(99840),N=t(82714),v=t(95139);function j(e){let{open:a,onOpenChange:t,onAfterClose:l,triggerComponent:i,children:n,className:o}=e,d=(0,s.useCallback)(e=>{t(e),!e&&l&&setTimeout(l,300)},[t,l]);return(0,r.jsxs)(b.lG,{open:a,onOpenChange:d,children:[i&&(0,r.jsx)(b.zM,{asChild:!0,children:i}),(0,r.jsx)(b.Cf,{className:o,children:n})]})}function w(e){let{userRole:a=[]}=e,{data:t,status:u}=(0,n.useSession)(),[w,k]=(0,s.useState)([]),[C,E]=(0,s.useState)([]),[S,A]=(0,s.useState)(!0),[R,T]=(0,s.useState)(1),[L,_]=(0,s.useState)(""),[O,D]=(0,s.useState)(!1),[M,F]=(0,s.useState)(!1),[J,U]=(0,s.useState)(!1),[z,P]=(0,s.useState)(null),[I,H]=(0,s.useState)({username:"",lastName:"",firstName:"",email:"",password:"",roles:[],enabled:!0});(0,s.useEffect)(()=>{V(),q()},[]);let q=async()=>{try{let e=await fetch("/api/roles");if(!e.ok)throw Error("Failed to fetch roles");let a=await e.json();E(a)}catch(e){console.error("Error fetching roles:",e),(0,y.oR)({title:"Erreur",description:"Erreur lors de la r\xe9cup\xe9ration des r\xf4les",variant:"destructive"})}},V=async()=>{try{A(!0);let e=await fetch("/api/users"),a=await e.json();k(a)}catch(e){console.error("Error fetching users:",e),(0,y.oR)({title:"Erreur",description:"Erreur lors de la r\xe9cup\xe9ration des utilisateurs",variant:"destructive"})}finally{A(!1)}},$=async e=>{e.preventDefault();try{let e=await fetch("/api/users",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...I,firstName:I.firstName,lastName:I.lastName})}),a=await e.json();if(!e.ok)throw Error(a.error||"Erreur lors de la cr\xe9ation de l'utilisateur");k(e=>[...e,a.user]),D(!1),H({username:"",firstName:"",lastName:"",email:"",password:"",roles:[],enabled:!0}),(0,y.oR)({title:"Succ\xe8s",description:"L'utilisateur a \xe9t\xe9 cr\xe9\xe9 avec succ\xe8s"})}catch(e){(0,y.oR)({title:"Erreur",description:e instanceof Error?e.message:"Une erreur est survenue",variant:"destructive"})}},X=async e=>{let a=w.find(a=>a.id===e);a&&(P(a),H({username:a.username,firstName:a.firstName||"",lastName:a.lastName||"",email:a.email||"",password:"",roles:[],enabled:a.enabled}),F(!0))},G=async e=>{let a=w.find(a=>a.id===e);a&&(P(a),H(e=>({...e,roles:a.roles||[],username:a.username,firstName:a.firstName||"",lastName:a.lastName||"",email:a.email||""})),U(!0))},Z=async()=>{if(z)try{if(!(await fetch("/api/users/".concat(z.id,"/roles"),{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({roles:I.roles})})).ok)throw Error("Erreur lors de la mise \xe0 jour des r\xf4les");await V(),U(!1),P(null),H(e=>({...e,roles:[]})),(0,y.oR)({title:"Succ\xe8s",description:"Les r\xf4les ont \xe9t\xe9 mis \xe0 jour avec succ\xe8s"})}catch(e){(0,y.oR)({title:"Erreur",description:e instanceof Error?e.message:"Une erreur est survenue",variant:"destructive"})}},B=async e=>{if(e.preventDefault(),z)try{if(!(await fetch("/api/users/".concat(z.id),{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({firstName:I.firstName,lastName:I.lastName,email:I.email})})).ok)throw Error("Erreur lors de la modification de l'utilisateur");await V(),H({username:"",lastName:"",firstName:"",email:"",password:"",roles:[],enabled:!0}),F(!1),P(null),(0,y.oR)({title:"Succ\xe8s",description:"L'utilisateur a \xe9t\xe9 modifi\xe9 avec succ\xe8s"})}catch(e){(0,y.oR)({title:"Erreur",description:e instanceof Error?e.message:"Une erreur est survenue",variant:"destructive"})}},K=async(e,a)=>{try{let t=await fetch("/api/users?id=".concat(e,"&email=").concat(encodeURIComponent(a)),{method:"DELETE"}),r=await t.json();if(!t.ok)throw Error(r.error||"Erreur lors de la suppression de l'utilisateur");k(a=>a.filter(a=>a.id!==e)),(0,y.oR)({title:"Succ\xe8s",description:"L'utilisateur a \xe9t\xe9 supprim\xe9 avec succ\xe8s"})}catch(e){(0,y.oR)({title:"Erreur",description:e instanceof Error?e.message:"Une erreur est survenue",variant:"destructive"})}},Q=async e=>{let a=prompt("Entrez le nouveau mot de passe temporaire:");if(a)try{if(!(await fetch("/api/users/".concat(e,"/password"),{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:a,temporary:!0})})).ok)throw Error("Erreur lors du changement de mot de passe");(0,y.oR)({title:"Succ\xe8s",description:"Le mot de passe temporaire a \xe9t\xe9 d\xe9fini avec succ\xe8s. L'utilisateur devra le changer \xe0 sa premi\xe8re connexion."})}catch(e){(0,y.oR)({title:"Erreur",description:e instanceof Error?e.message:"Une erreur est survenue",variant:"destructive"})}},Y=async(e,a)=>{try{if(!(await fetch("/api/users/".concat(e),{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({enabled:!a})})).ok)throw Error("Erreur lors de la modification du statut de l'utilisateur");k(t=>t.map(t=>t.id===e?{...t,enabled:!a}:t)),(0,y.oR)({title:"Succ\xe8s",description:"L'utilisateur a \xe9t\xe9 ".concat(a?"d\xe9sactiv\xe9":"activ\xe9"," avec succ\xe8s")})}catch(e){(0,y.oR)({title:"Erreur",description:e instanceof Error?e.message:"Une erreur est survenue",variant:"destructive"})}},W=(0,s.useMemo)(()=>{let e=w;return L&&(e=e.filter(e=>{var a,t,r;return e.username.toLowerCase().includes(L.toLowerCase())||(null==(a=e.email)?void 0:a.toLowerCase().includes(L.toLowerCase()))||(null==(t=e.firstName)?void 0:t.toLowerCase().includes(L.toLowerCase()))||(null==(r=e.lastName)?void 0:r.toLowerCase().includes(L.toLowerCase()))})),e},[w,L]);W.length;let ee=W.slice((R-1)*10,10*R),ea=(0,s.useCallback)(()=>{H({username:"",lastName:"",firstName:"",email:"",password:"",roles:[],enabled:!0})},[]),et=(0,s.useCallback)(()=>{H({username:"",lastName:"",firstName:"",email:"",password:"",roles:[],enabled:!0}),P(null)},[]),er=(0,s.useCallback)(()=>{H(e=>({...e,roles:[]})),P(null)},[]);return t?S?(0,r.jsx)("div",{className:"text-center p-4",children:"Loading..."}):(0,r.jsxs)("div",{className:"space-y-4 p-6 bg-gray-100 rounded-lg",children:[(0,r.jsxs)("div",{className:"flex justify-between items-center",children:[(0,r.jsx)(o.p,{type:"text",placeholder:"Rechercher un utilisateur...",value:L,onChange:e=>_(e.target.value),className:"max-w-sm bg-white text-gray-900 border-gray-300"}),(0,r.jsxs)(j,{open:O,onOpenChange:D,onAfterClose:ea,triggerComponent:(0,r.jsx)(i.$,{className:"bg-blue-600 hover:bg-blue-700 text-white",children:"Ajouter un utilisateur"}),className:"max-h-[85vh] overflow-y-auto bg-white text-black border border-gray-300",children:[(0,r.jsx)(b.c7,{children:(0,r.jsx)(b.L3,{className:"text-gray-900",children:"Nouvel Utilisateur"})}),(0,r.jsxs)("form",{onSubmit:$,className:"space-y-3",children:[(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(N.J,{htmlFor:"username",className:"text-gray-900",children:"Nom d'utilisateur"}),(0,r.jsx)(o.p,{id:"username",value:I.username,onChange:e=>H(a=>({...a,username:e.target.value.trim()})),required:!0,className:"bg-white text-gray-900 border-gray-300"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(N.J,{htmlFor:"email",className:"text-gray-900",children:"Email"}),(0,r.jsx)(o.p,{id:"email",type:"email",value:I.email,onChange:e=>H(a=>({...a,email:e.target.value.trim()})),required:!0,className:"bg-white text-gray-900 border-gray-300"})]})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(N.J,{htmlFor:"firstName",className:"text-gray-900",children:"Pr\xe9nom"}),(0,r.jsx)(o.p,{id:"firstName",value:I.firstName,onChange:e=>H(a=>({...a,firstName:e.target.value.trim()})),required:!0,className:"bg-white text-gray-900 border-gray-300"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(N.J,{htmlFor:"lastName",className:"text-gray-900",children:"Nom"}),(0,r.jsx)(o.p,{id:"lastName",value:I.lastName,onChange:e=>H(a=>({...a,lastName:e.target.value.trim()})),required:!0,className:"bg-white text-gray-900 border-gray-300"})]})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(N.J,{htmlFor:"password",className:"text-gray-900",children:"Mot de passe"}),(0,r.jsx)(o.p,{id:"password",type:"password",value:I.password,onChange:e=>H(a=>({...a,password:e.target.value})),required:!0,className:"bg-white text-gray-900 border-gray-300"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(N.J,{className:"text-gray-900",children:"R\xf4les"}),(0,r.jsx)("div",{className:"grid grid-cols-2 gap-2 max-h-[120px] overflow-y-auto border border-gray-300 rounded-md p-2 bg-white",children:C.map(e=>(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(v.S,{id:"role-".concat(e.id),checked:I.roles.includes(e.name),onCheckedChange:a=>{H(t=>({...t,roles:a?[...t.roles,e.name]:t.roles.filter(a=>a!==e.name)}))},className:"border-gray-500"}),(0,r.jsx)(N.J,{htmlFor:"role-".concat(e.id),className:"text-sm text-gray-900",children:e.name})]},e.id))})]}),(0,r.jsx)(i.$,{type:"submit",className:"w-full bg-blue-600 hover:bg-blue-700 text-white",children:"Cr\xe9er Utilisateur"})]})]})]}),(0,r.jsxs)(l.XI,{className:"bg-white border border-gray-300 rounded-md",children:[(0,r.jsx)(l.A0,{className:"bg-gray-50",children:(0,r.jsxs)(l.Hj,{children:[(0,r.jsx)(l.nd,{className:"text-gray-900",children:"Username"}),(0,r.jsx)(l.nd,{className:"text-gray-900",children:"First Name"}),(0,r.jsx)(l.nd,{className:"text-gray-900",children:"Last Name"}),(0,r.jsx)(l.nd,{className:"text-gray-900",children:"Email"}),(0,r.jsx)(l.nd,{className:"text-gray-900",children:"Created At"}),(0,r.jsx)(l.nd,{className:"text-gray-900",children:"Roles"}),(0,r.jsx)(l.nd,{className:"text-gray-900 text-right",children:"Actions"})]})}),(0,r.jsx)(l.BF,{children:ee.map(e=>(0,r.jsxs)(l.Hj,{className:"hover:bg-gray-50 border-t border-gray-200",children:[(0,r.jsx)(l.nA,{className:"text-gray-900",children:e.username}),(0,r.jsx)(l.nA,{className:"text-gray-900",children:e.firstName||"-"}),(0,r.jsx)(l.nA,{className:"text-gray-900",children:e.lastName||"-"}),(0,r.jsx)(l.nA,{className:"text-gray-900",children:e.email||"-"}),(0,r.jsx)(l.nA,{className:"text-gray-900",children:new Date(e.createdTimestamp).toLocaleDateString()}),(0,r.jsx)(l.nA,{className:"text-gray-900",children:(0,r.jsx)("div",{className:"flex flex-wrap gap-1",children:(e.roles||[]).map(e=>(0,r.jsx)("span",{className:"inline-flex items-center rounded-full bg-blue-50 px-2 py-1 text-xs font-medium text-blue-700 ring-1 ring-inset ring-blue-700/10",children:e},e))})}),(0,r.jsx)(l.nA,{className:"text-gray-900 text-right",children:(0,r.jsxs)(g.rI,{children:[(0,r.jsx)(g.ty,{asChild:!0,children:(0,r.jsxs)(i.$,{variant:"ghost",className:"h-8 w-8 p-0",children:[(0,r.jsx)("span",{className:"sr-only",children:"Open menu"}),(0,r.jsx)(d.A,{className:"h-4 w-4"})]})}),(0,r.jsxs)(g.SQ,{align:"end",className:"bg-white border border-gray-300",children:[(0,r.jsx)(g.lp,{className:"text-gray-900",children:"Actions"}),(0,r.jsxs)(g._2,{onClick:()=>X(e.id),className:"text-gray-900 hover:bg-gray-100",children:[(0,r.jsx)(c.A,{className:"mr-2 h-4 w-4"}),"Modifier"]}),(0,r.jsxs)(g._2,{onClick:()=>G(e.id),className:"text-gray-900 hover:bg-gray-100",children:[(0,r.jsx)(m.A,{className:"mr-2 h-4 w-4"}),"G\xe9rer les r\xf4les"]}),(0,r.jsxs)(g._2,{onClick:()=>Q(e.id),className:"text-gray-900 hover:bg-gray-100",children:[(0,r.jsx)(f,{className:"mr-2 h-4 w-4"}),"Changer le mot de passe"]}),(0,r.jsx)(g._2,{onClick:()=>Y(e.id,e.enabled),className:"text-gray-900 hover:bg-gray-100",children:e.enabled?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p,{className:"mr-2 h-4 w-4"}),"D\xe9sactiver"]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(h,{className:"mr-2 h-4 w-4"}),"Activer"]})}),(0,r.jsx)(g.mB,{}),(0,r.jsxs)(g._2,{className:"text-red-600 hover:bg-red-50 hover:text-red-700",onClick:()=>K(e.id,e.email),children:[(0,r.jsx)(x.A,{className:"mr-2 h-4 w-4"}),"Supprimer"]})]})]})})]},e.id))})]}),(0,r.jsxs)(j,{open:M,onOpenChange:F,onAfterClose:et,className:"bg-white text-black border border-gray-300",children:[(0,r.jsx)(b.c7,{children:(0,r.jsx)(b.L3,{className:"text-gray-900",children:"Modifier l'utilisateur"})}),(0,r.jsxs)("form",{onSubmit:B,className:"space-y-4",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(N.J,{htmlFor:"edit-firstName",className:"text-gray-900",children:"Pr\xe9nom"}),(0,r.jsx)(o.p,{id:"edit-firstName",value:I.firstName,onChange:e=>H(a=>({...a,firstName:e.target.value})),className:"bg-white text-gray-900 border-gray-300",autoFocus:!0})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(N.J,{htmlFor:"edit-lastName",className:"text-gray-900",children:"Nom"}),(0,r.jsx)(o.p,{id:"edit-lastName",value:I.lastName,onChange:e=>H(a=>({...a,lastName:e.target.value})),className:"bg-white text-gray-900 border-gray-300"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(N.J,{htmlFor:"edit-email",className:"text-gray-900",children:"Email"}),(0,r.jsx)(o.p,{id:"edit-email",type:"email",value:I.email,onChange:e=>H(a=>({...a,email:e.target.value})),className:"bg-white text-gray-900 border-gray-300"})]}),(0,r.jsxs)("div",{className:"flex justify-end space-x-2",children:[(0,r.jsx)(i.$,{type:"button",variant:"outline",onClick:()=>{F(!1),P(null),H({username:"",lastName:"",firstName:"",email:"",password:"",roles:[],enabled:!0})},className:"border-gray-300 text-gray-800 hover:bg-gray-100",children:"Annuler"}),(0,r.jsx)(i.$,{type:"submit",className:"bg-blue-600 hover:bg-blue-700 text-white",children:"Modifier"})]})]})]}),(0,r.jsxs)(j,{open:J,onOpenChange:U,onAfterClose:er,className:"bg-white text-black border border-gray-300",children:[(0,r.jsx)(b.c7,{children:(0,r.jsxs)(b.L3,{className:"text-gray-900",children:["G\xe9rer les r\xf4les pour ",null==z?void 0:z.username]})}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(N.J,{className:"text-gray-900",children:"R\xf4les disponibles"}),(0,r.jsx)("div",{className:"grid grid-cols-2 gap-2 max-h-[200px] overflow-y-auto border border-gray-300 rounded-md p-2 bg-white",children:C.map(e=>(0,r.jsxs)("div",{className:"flex items-center space-x-2 p-2 rounded-md hover:bg-gray-100",children:[(0,r.jsx)(v.S,{id:"manage-role-".concat(e.id),checked:I.roles.includes(e.name),onCheckedChange:a=>{H(t=>({...t,roles:a?[...t.roles,e.name]:t.roles.filter(a=>a!==e.name)}))},className:"border-gray-500"}),(0,r.jsx)(N.J,{htmlFor:"manage-role-".concat(e.id),className:"text-sm text-gray-900",children:e.name})]},e.id))})]}),(0,r.jsxs)("div",{className:"flex justify-end space-x-2",children:[(0,r.jsx)(i.$,{variant:"outline",onClick:()=>{U(!1),P(null),H(e=>({...e,roles:[]}))},className:"border-gray-300 text-gray-800 hover:bg-gray-100",children:"Annuler"}),(0,r.jsx)(i.$,{onClick:Z,className:"bg-blue-600 hover:bg-blue-700 text-white",children:"Mettre \xe0 jour les r\xf4les"})]})]})]})]}):null}},67133:(e,a,t)=>{t.d(a,{SQ:()=>u,_2:()=>f,lp:()=>p,mB:()=>h,rI:()=>c,ty:()=>m});var r=t(95155),s=t(12115),l=t(73447),i=t(13052),n=t(5196),o=t(9428),d=t(53999);let c=l.bL,m=l.l9;l.YJ,l.ZL,l.Pb,l.z6,s.forwardRef((e,a)=>{let{className:t,inset:s,children:n,...o}=e;return(0,r.jsxs)(l.ZP,{ref:a,className:(0,d.cn)("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",s&&"pl-8",t),...o,children:[n,(0,r.jsx)(i.A,{className:"ml-auto"})]})}).displayName=l.ZP.displayName,s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(l.G5,{ref:a,className:(0,d.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...s})}).displayName=l.G5.displayName;let u=s.forwardRef((e,a)=>{let{className:t,sideOffset:s=4,...i}=e;return(0,r.jsx)(l.ZL,{children:(0,r.jsx)(l.UC,{ref:a,sideOffset:s,className:(0,d.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t),...i})})});u.displayName=l.UC.displayName;let f=s.forwardRef((e,a)=>{let{className:t,inset:s,...i}=e;return(0,r.jsx)(l.q7,{ref:a,className:(0,d.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",s&&"pl-8",t),...i})});f.displayName=l.q7.displayName,s.forwardRef((e,a)=>{let{className:t,children:s,checked:i,...o}=e;return(0,r.jsxs)(l.H_,{ref:a,className:(0,d.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:i,...o,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(l.VF,{children:(0,r.jsx)(n.A,{className:"h-4 w-4"})})}),s]})}).displayName=l.H_.displayName,s.forwardRef((e,a)=>{let{className:t,children:s,...i}=e;return(0,r.jsxs)(l.hN,{ref:a,className:(0,d.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...i,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(l.VF,{children:(0,r.jsx)(o.A,{className:"h-2 w-2 fill-current"})})}),s]})}).displayName=l.hN.displayName;let p=s.forwardRef((e,a)=>{let{className:t,inset:s,...i}=e;return(0,r.jsx)(l.JU,{ref:a,className:(0,d.cn)("px-2 py-1.5 text-sm font-semibold",s&&"pl-8",t),...i})});p.displayName=l.JU.displayName;let h=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(l.wv,{ref:a,className:(0,d.cn)("-mx-1 my-1 h-px bg-muted",t),...s})});h.displayName=l.wv.displayName},72797:(e,a,t)=>{t.d(a,{b:()=>o});var r=t(12115);t(47650);var s=t(99708),l=t(95155),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,a)=>{let t=r.forwardRef((e,t)=>{let{asChild:r,...i}=e,n=r?s.DX:a;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(n,{...i,ref:t})});return t.displayName=`Primitive.${a}`,{...e,[a]:t}},{}),n=r.forwardRef((e,a)=>(0,l.jsx)(i.label,{...e,ref:a,onMouseDown:a=>{var t;a.target.closest("button, input, select, textarea")||(null==(t=e.onMouseDown)||t.call(e,a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}}));n.displayName="Label";var o=n},74126:(e,a,t)=>{t.d(a,{A:()=>r});let r=(0,t(19946).A)("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]])},82714:(e,a,t)=>{t.d(a,{J:()=>d});var r=t(95155),s=t(12115),l=t(72797),i=t(74466),n=t(53999);let o=(0,i.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(l.b,{ref:a,className:(0,n.cn)(o(),t),...s})});d.displayName=l.b.displayName},88524:(e,a,t)=>{t.d(a,{A0:()=>n,BF:()=>o,Hj:()=>d,XI:()=>i,nA:()=>m,nd:()=>c});var r=t(95155),s=t(12115),l=t(53999);let i=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{className:"relative w-full overflow-auto",children:(0,r.jsx)("table",{ref:a,className:(0,l.cn)("w-full caption-bottom text-sm",t),...s})})});i.displayName="Table";let n=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("thead",{ref:a,className:(0,l.cn)("[&_tr]:border-b",t),...s})});n.displayName="TableHeader";let o=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("tbody",{ref:a,className:(0,l.cn)("[&_tr:last-child]:border-0",t),...s})});o.displayName="TableBody",s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("tfoot",{ref:a,className:(0,l.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",t),...s})}).displayName="TableFooter";let d=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("tr",{ref:a,className:(0,l.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...s})});d.displayName="TableRow";let c=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("th",{ref:a,className:(0,l.cn)("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...s})});c.displayName="TableHead";let m=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("td",{ref:a,className:(0,l.cn)("p-4 align-middle [&:has([role=checkbox])]:pr-0",t),...s})});m.displayName="TableCell",s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)("caption",{ref:a,className:(0,l.cn)("mt-4 text-sm text-muted-foreground",t),...s})}).displayName="TableCaption"},89852:(e,a,t)=>{t.d(a,{p:()=>i});var r=t(95155),s=t(12115),l=t(53999);let i=s.forwardRef((e,a)=>{let{className:t,type:s,...i}=e;return(0,r.jsx)("input",{type:s,className:(0,l.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:a,...i})});i.displayName="Input"},95139:(e,a,t)=>{t.d(a,{S:()=>o});var r=t(95155),s=t(12115),l=t(15630),i=t(5196),n=t(53999);let o=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(l.bL,{ref:a,className:(0,n.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",t),...s,children:(0,r.jsx)(l.C1,{className:(0,n.cn)("flex items-center justify-center text-current"),children:(0,r.jsx)(i.A,{className:"h-4 w-4"})})})});o.displayName=l.bL.displayName},97168:(e,a,t)=>{t.d(a,{$:()=>d,r:()=>o});var r=t(95155),s=t(12115),l=t(99708),i=t(74466),n=t(53999);let o=(0,i.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,a)=>{let{className:t,variant:s,size:i,asChild:d=!1,...c}=e,m=d?l.DX:"button";return(0,r.jsx)(m,{className:(0,n.cn)(o({variant:s,size:i,className:t})),ref:a,...c})});d.displayName="Button"},99840:(e,a,t)=>{t.d(a,{Cf:()=>u,Es:()=>p,L3:()=>h,ZJ:()=>c,c7:()=>f,lG:()=>o,rr:()=>x,zM:()=>d});var r=t(95155),s=t(12115),l=t(45821),i=t(54416),n=t(53999);let o=l.bL,d=l.l9,c=l.ZL;l.bm;let m=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(l.hJ,{ref:a,className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...s})});m.displayName=l.hJ.displayName;let u=s.forwardRef((e,a)=>{let{className:t,children:s,...o}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(m,{}),(0,r.jsxs)(l.UC,{ref:a,className:(0,n.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[s,(0,r.jsxs)(l.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(i.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});u.displayName=l.UC.displayName;let f=e=>{let{className:a,...t}=e;return(0,r.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-1.5 text-center sm:text-left",a),...t})};f.displayName="DialogHeader";let p=e=>{let{className:a,...t}=e;return(0,r.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...t})};p.displayName="DialogFooter";let h=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(l.hE,{ref:a,className:(0,n.cn)("text-lg font-semibold leading-none tracking-tight",t),...s})});h.displayName=l.hE.displayName;let x=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,r.jsx)(l.VY,{ref:a,className:(0,n.cn)("text-sm text-muted-foreground",t),...s})});x.displayName=l.VY.displayName}}]); \ No newline at end of file diff --git a/.next/static/chunks/8568.cc2ee106cdc286e9.js b/.next/static/chunks/8568.cc2ee106cdc286e9.js new file mode 100644 index 00000000..6399aa08 --- /dev/null +++ b/.next/static/chunks/8568.cc2ee106cdc286e9.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8568],{18568:(n,t,e)=>{"use strict";e.r(t),e.d(t,{MapComponent:()=>i});var r=e(95155),o=e(12115),c=e(85752),a=e.n(c);function i(n){let{countries:t,onCountrySelect:e,selectedCountry:c}=n,i=(0,o.useRef)(null),u=(0,o.useRef)(null);return(0,o.useEffect)(()=>(!i.current&&u.current&&(i.current=a().map(u.current).setView([20,0],2),a().tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© OpenStreetMap contributors'}).addTo(i.current),a().control.zoom({position:"bottomright"}).addTo(i.current)),()=>{i.current&&(i.current.remove(),i.current=null)}),[]),(0,o.useEffect)(()=>{i.current&&(i.current.eachLayer(n=>{if(n instanceof a().Marker){var t;null==(t=i.current)||t.removeLayer(n)}}),t.forEach(n=>{let t=Math.min(Math.max(20,5*n.count),40),r=a().divIcon({html:'
    30?14:12,'px;\n box-shadow: 0 0 0 2px white;\n ">').concat(n.count,"
    "),className:"",iconSize:[t,t],iconAnchor:[t/2,t/2]}),o=a().marker(n.position,{icon:r}).addTo(i.current);o.bindPopup('\n
    \n '.concat(n.name,"\n
    ").concat(n.count," news articles
    \n
    \n ")),o.on("click",()=>{e(n.name)})}))},[t,c,e]),(0,r.jsx)("div",{ref:u,style:{width:"100%",height:"100%"}})}e(68413)},68413:()=>{}}]); \ No newline at end of file diff --git a/.next/static/chunks/8587-381381929b5fa09d.js b/.next/static/chunks/8587-381381929b5fa09d.js new file mode 100644 index 00000000..b9a9dfdc --- /dev/null +++ b/.next/static/chunks/8587-381381929b5fa09d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8587],{6101:(e,t,r)=>{r.d(t,{s:()=>a,t:()=>o});var n=r(12115);function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=l(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t{function n(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return n}}),r(95155),r(47650),r(85744),r(20589)},17828:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(64054).createAsyncLocalStorage)()},19946:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(12115);let l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=function(){for(var e=arguments.length,t=Array(e),r=0;r!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let u=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:l=24,strokeWidth:u=2,absoluteStrokeWidth:i,className:c="",children:s,iconNode:d,...f}=e;return(0,n.createElement)("svg",{ref:t,...a,width:l,height:l,stroke:r,strokeWidth:i?24*Number(u)/Number(l):u,className:o("lucide",c),...f},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(s)?s:[s]])}),i=(e,t)=>{let r=(0,n.forwardRef)((r,a)=>{let{className:i,...c}=r;return(0,n.createElement)(u,{ref:a,iconNode:t,className:o("lucide-".concat(l(e)),i),...c})});return r.displayName="".concat(e),r}},34869:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},36645:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(88229)._(r(67357));function l(e,t){var r;let l={};"function"==typeof e&&(l.loader=e);let o={...l,...t};return(0,n.default)({...o,modules:null==(r=o.loadableGenerated)?void 0:r.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53904:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(19946).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},55028:(e,t,r)=>{r.d(t,{default:()=>l.a});var n=r(36645),l=r.n(n)},62146:(e,t,r)=>{function n(e){let{reason:t,children:r}=e;return r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return n}}),r(45262)},64054:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{bindSnapshot:function(){return a},createAsyncLocalStorage:function(){return o},createSnapshot:function(){return u}});let r=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(e){return e}}let l="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function o(){return l?new l:new n}function a(e){return l?l.bind(e):n.bind(e)}function u(){return l?l.snapshot():function(e,...t){return e(...t)}}},67357:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(95155),l=r(12115),o=r(62146);function a(e){return{default:e&&"default"in e?e.default:e}}r(10255);let u={loader:()=>Promise.resolve(a(()=>null)),loading:null,ssr:!0},i=function(e){let t={...u,...e},r=(0,l.lazy)(()=>t.loader().then(a)),i=t.loading;function c(e){let a=i?(0,n.jsx)(i,{isLoading:!0,pastDelay:!0,error:null}):null,u=!t.ssr||!!t.loading,c=u?l.Suspense:l.Fragment,s=t.ssr?(0,n.jsxs)(n.Fragment,{children:[null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(o.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(c,{...u?{fallback:a}:{},children:s})}return c.displayName="LoadableComponent",c}},74466:(e,t,r)=>{r.d(t,{F:()=>a});var n=r(52596);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=n.$,a=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:u}=t,i=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],n=null==u?void 0:u[e];if(null===t)return null;let o=l(t)||l(n);return a[e][o]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,i,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...l}=t;return Object.entries(l).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...u,...c}[t]):({...u,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},85744:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=r(17828)},99708:(e,t,r)=>{r.d(t,{DX:()=>a});var n=r(12115),l=r(6101),o=r(95155),a=n.forwardRef((e,t)=>{let{children:r,...l}=e,a=n.Children.toArray(r),i=a.find(c);if(i){let e=i.props.children,r=a.map(t=>t!==i?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,o.jsx)(u,{...l,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,o.jsx)(u,{...l,ref:t,children:r})});a.displayName="Slot";var u=n.forwardRef((e,t)=>{let{children:r,...o}=e;if(n.isValidElement(r)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(r),a=function(e,t){let r={...t};for(let n in t){let l=e[n],o=t[n];/^on[A-Z]/.test(n)?l&&o?r[n]=(...e)=>{o(...e),l(...e)}:l&&(r[n]=l):"style"===n?r[n]={...l,...o}:"className"===n&&(r[n]=[l,o].filter(Boolean).join(" "))}return{...e,...r}}(o,r.props);return r.type!==n.Fragment&&(a.ref=t?(0,l.t)(t,e):e),n.cloneElement(r,a)}return n.Children.count(r)>1?n.Children.only(null):null});u.displayName="SlotClone";var i=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});function c(e){return n.isValidElement(e)&&e.type===i}}}]); \ No newline at end of file diff --git a/.next/static/chunks/873-fece8e5ffd65bae9.js b/.next/static/chunks/873-fece8e5ffd65bae9.js new file mode 100644 index 00000000..9157c550 --- /dev/null +++ b/.next/static/chunks/873-fece8e5ffd65bae9.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[873],{12486:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},13717:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]])},21380:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("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"}]])},28883:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},34477:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{callServer:function(){return r.callServer},createServerReference:function(){return o},findSourceMapURL:function(){return a.findSourceMapURL}});let r=n(53806),a=n(31818),o=n(34979).createServerReference},35695:(e,t,n)=>{"use strict";var r=n(18999);n.o(r,"redirect")&&n.d(t,{redirect:function(){return r.redirect}}),n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},38564:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},39022:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]])},40528:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("OctagonAlert",[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]])},44362:(e,t,n)=>{"use strict";n.d(t,{H4:()=>E,_V:()=>b,bL:()=>T});var r=n(12115),a=n(46081),o=n(39033),i=n(52712);n(47650);var l=n(99708),s=n(95155),c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...a}=e,o=r?l.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(o,{...a,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),u="Avatar",[d,p]=(0,a.A)(u),[m,f]=d(u),h=r.forwardRef((e,t)=>{let{__scopeAvatar:n,...a}=e,[o,i]=r.useState("idle");return(0,s.jsx)(m,{scope:n,imageLoadingStatus:o,onImageLoadingStatusChange:i,children:(0,s.jsx)(c.span,{...a,ref:t})})});h.displayName=u;var y="AvatarImage",g=r.forwardRef((e,t)=>{let{__scopeAvatar:n,src:a,onLoadingStatusChange:l=()=>{},...u}=e,d=f(y,n),p=function(e,t){let[n,a]=r.useState("idle");return(0,i.N)(()=>{if(!e)return void a("error");let n=!0,r=new window.Image,o=e=>()=>{n&&a(e)};return a("loading"),r.onload=o("loaded"),r.onerror=o("error"),r.src=e,t&&(r.referrerPolicy=t),()=>{n=!1}},[e,t]),n}(a,u.referrerPolicy),m=(0,o.c)(e=>{l(e),d.onImageLoadingStatusChange(e)});return(0,i.N)(()=>{"idle"!==p&&m(p)},[p,m]),"loaded"===p?(0,s.jsx)(c.img,{...u,ref:t,src:a}):null});g.displayName=y;var A="AvatarFallback",v=r.forwardRef((e,t)=>{let{__scopeAvatar:n,delayMs:a,...o}=e,i=f(A,n),[l,u]=r.useState(void 0===a);return r.useEffect(()=>{if(void 0!==a){let e=window.setTimeout(()=>u(!0),a);return()=>window.clearTimeout(e)}},[a]),l&&"loaded"!==i.imageLoadingStatus?(0,s.jsx)(c.span,{...o,ref:t}):null});v.displayName=A;var T=h,b=g,E=v},47734:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("ReplyAll",[["polyline",{points:"7 17 2 12 7 7",key:"t83bqg"}],["polyline",{points:"12 17 7 12 12 7",key:"1g4ajm"}],["path",{d:"M22 18v-2a4 4 0 0 0-4-4H7",key:"1fcyog"}]])},47863:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},47924:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},50005:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Forward",[["polyline",{points:"15 17 20 12 15 7",key:"1w3sku"}],["path",{d:"M4 18v-2a4 4 0 0 1 4-4h12",key:"jmiej9"}]])},50239:e=>{"use strict";let{entries:t,setPrototypeOf:n,isFrozen:r,getPrototypeOf:a,getOwnPropertyDescriptor:o}=Object,{freeze:i,seal:l,create:s}=Object,{apply:c,construct:u}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),l||(l=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),u||(u=function(e,t){return new e(...t)});let d=N(Array.prototype.forEach),p=N(Array.prototype.lastIndexOf),m=N(Array.prototype.pop),f=N(Array.prototype.push),h=N(Array.prototype.splice),y=N(String.prototype.toLowerCase),g=N(String.prototype.toString),A=N(String.prototype.match),v=N(String.prototype.replace),T=N(String.prototype.indexOf),b=N(String.prototype.trim),E=N(Object.prototype.hasOwnProperty),S=N(RegExp.prototype.test),w=($=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n1?n-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:y;n&&n(e,null);let o=t.length;for(;o--;){let n=t[o];if("string"==typeof n){let e=a(n);e!==n&&(r(t)||(t[o]=e),n=e)}e[n]=!0}return e}function _(e){let n=s(null);for(let[r,a]of t(e))E(e,r)&&(Array.isArray(a)?n[r]=function(e){for(let t=0;t/gm),W=l(/\$\{[\w\W]*/gm),G=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),B=l(/^aria-[\-\w]+$/),Y=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),V=l(/^(?:\w+script|data):/i),q=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=l(/^html$/i);var $,Z=Object.freeze({__proto__:null,ARIA_ATTR:B,ATTR_WHITESPACE:q,CUSTOM_ELEMENT:l(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:G,DOCTYPE_NAME:X,ERB_EXPR:F,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:V,MUSTACHE_EXPR:j,TMPLIT_EXPR:W});let K={element:1,text:3,progressingInstruction:7,comment:8,document:9},J=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},Q=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};e.exports=function e(){let n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,a=t=>e(t);if(a.version="3.2.5",a.removed=[],!r||!r.document||r.document.nodeType!==K.document||!r.Element)return a.isSupported=!1,a;let{document:o}=r,l=o,c=l.currentScript,{DocumentFragment:u,HTMLTemplateElement:N,Node:j,Element:F,NodeFilter:W,NamedNodeMap:G=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:B,DOMParser:V,trustedTypes:q}=r,$=F.prototype,ee=x($,"cloneNode"),et=x($,"remove"),en=x($,"nextSibling"),er=x($,"childNodes"),ea=x($,"parentNode");if("function"==typeof N){let e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let eo="",{implementation:ei,createNodeIterator:el,createDocumentFragment:es,getElementsByTagName:ec}=o,{importNode:eu}=l,ed=Q();a.isSupported="function"==typeof t&&"function"==typeof ea&&ei&&void 0!==ei.createHTMLDocument;let{MUSTACHE_EXPR:ep,ERB_EXPR:em,TMPLIT_EXPR:ef,DATA_ATTR:eh,ARIA_ATTR:ey,IS_SCRIPT_OR_DATA:eg,ATTR_WHITESPACE:eA,CUSTOM_ELEMENT:ev}=Z,{IS_ALLOWED_URI:eT}=Z,eb=null,eE=k({},[...R,...M,...D,...C,...I]),eS=null,ew=k({},[...P,...U,...H,...z]),eN=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ek=null,e_=null,ex=!0,eR=!0,eM=!1,eD=!0,eL=!1,eC=!0,eO=!1,eI=!1,eP=!1,eU=!1,eH=!1,ez=!1,ej=!0,eF=!1,eW=!0,eG=!1,eB={},eY=null,eV=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eq=null,eX=k({},["audio","video","img","source","image","track"]),e$=null,eZ=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eK="http://www.w3.org/1998/Math/MathML",eJ="http://www.w3.org/2000/svg",eQ="http://www.w3.org/1999/xhtml",e1=eQ,e0=!1,e2=null,e4=k({},[eK,eJ,eQ],g),e9=k({},["mi","mo","mn","ms","mtext"]),e6=k({},["annotation-xml"]),e5=k({},["title","style","font","a","script"]),e8=null,e7=["application/xhtml+xml","text/html"],e3=null,te=null,tt=o.createElement("form"),tn=function(e){return e instanceof RegExp||e instanceof Function},tr=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!te||te!==e){if(e&&"object"==typeof e||(e={}),e=_(e),e3="application/xhtml+xml"===(e8=-1===e7.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?g:y,eb=E(e,"ALLOWED_TAGS")?k({},e.ALLOWED_TAGS,e3):eE,eS=E(e,"ALLOWED_ATTR")?k({},e.ALLOWED_ATTR,e3):ew,e2=E(e,"ALLOWED_NAMESPACES")?k({},e.ALLOWED_NAMESPACES,g):e4,e$=E(e,"ADD_URI_SAFE_ATTR")?k(_(eZ),e.ADD_URI_SAFE_ATTR,e3):eZ,eq=E(e,"ADD_DATA_URI_TAGS")?k(_(eX),e.ADD_DATA_URI_TAGS,e3):eX,eY=E(e,"FORBID_CONTENTS")?k({},e.FORBID_CONTENTS,e3):eV,ek=E(e,"FORBID_TAGS")?k({},e.FORBID_TAGS,e3):{},e_=E(e,"FORBID_ATTR")?k({},e.FORBID_ATTR,e3):{},eB=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,ex=!1!==e.ALLOW_ARIA_ATTR,eR=!1!==e.ALLOW_DATA_ATTR,eM=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eD=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eL=e.SAFE_FOR_TEMPLATES||!1,eC=!1!==e.SAFE_FOR_XML,eO=e.WHOLE_DOCUMENT||!1,eU=e.RETURN_DOM||!1,eH=e.RETURN_DOM_FRAGMENT||!1,ez=e.RETURN_TRUSTED_TYPE||!1,eP=e.FORCE_BODY||!1,ej=!1!==e.SANITIZE_DOM,eF=e.SANITIZE_NAMED_PROPS||!1,eW=!1!==e.KEEP_CONTENT,eG=e.IN_PLACE||!1,eT=e.ALLOWED_URI_REGEXP||Y,e1=e.NAMESPACE||eQ,e9=e.MATHML_TEXT_INTEGRATION_POINTS||e9,e6=e.HTML_INTEGRATION_POINTS||e6,eN=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&tn(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(eN.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&tn(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(eN.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(eN.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),eL&&(eR=!1),eH&&(eU=!0),eB&&(eb=k({},I),eS=[],!0===eB.html&&(k(eb,R),k(eS,P)),!0===eB.svg&&(k(eb,M),k(eS,U),k(eS,z)),!0===eB.svgFilters&&(k(eb,D),k(eS,U),k(eS,z)),!0===eB.mathMl&&(k(eb,C),k(eS,H),k(eS,z))),e.ADD_TAGS&&(eb===eE&&(eb=_(eb)),k(eb,e.ADD_TAGS,e3)),e.ADD_ATTR&&(eS===ew&&(eS=_(eS)),k(eS,e.ADD_ATTR,e3)),e.ADD_URI_SAFE_ATTR&&k(e$,e.ADD_URI_SAFE_ATTR,e3),e.FORBID_CONTENTS&&(eY===eV&&(eY=_(eY)),k(eY,e.FORBID_CONTENTS,e3)),eW&&(eb["#text"]=!0),eO&&k(eb,["html","head","body"]),eb.table&&(k(eb,["tbody"]),delete ek.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');eo=(n=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===n&&(n=J(q,c)),null!==n&&"string"==typeof eo&&(eo=n.createHTML(""));i&&i(e),te=e}},ta=k({},[...M,...D,...L]),to=k({},[...C,...O]),ti=function(e){let t=ea(e);t&&t.tagName||(t={namespaceURI:e1,tagName:"template"});let n=y(e.tagName),r=y(t.tagName);return!!e2[e.namespaceURI]&&(e.namespaceURI===eJ?t.namespaceURI===eQ?"svg"===n:t.namespaceURI===eK?"svg"===n&&("annotation-xml"===r||e9[r]):!!ta[n]:e.namespaceURI===eK?t.namespaceURI===eQ?"math"===n:t.namespaceURI===eJ?"math"===n&&e6[r]:!!to[n]:e.namespaceURI===eQ?(t.namespaceURI!==eJ||!!e6[r])&&(t.namespaceURI!==eK||!!e9[r])&&!to[n]&&(e5[n]||!ta[n]):"application/xhtml+xml"===e8&&!!e2[e.namespaceURI])},tl=function(e){f(a.removed,{element:e});try{ea(e).removeChild(e)}catch(t){et(e)}},ts=function(e,t){try{f(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(eU||eH)try{tl(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tc=function(e){let t=null,r=null;if(eP)e=""+e;else{let t=A(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===e8&&e1===eQ&&(e=''+e+"");let a=n?n.createHTML(e):e;if(e1===eQ)try{t=new V().parseFromString(a,e8)}catch(e){}if(!t||!t.documentElement){t=ei.createDocument(e1,"template",null);try{t.documentElement.innerHTML=e0?eo:a}catch(e){}}let i=t.body||t.documentElement;return(e&&r&&i.insertBefore(o.createTextNode(r),i.childNodes[0]||null),e1===eQ)?ec.call(t,eO?"html":"body")[0]:eO?t.documentElement:i},tu=function(e){return el.call(e.ownerDocument||e,e,W.SHOW_ELEMENT|W.SHOW_COMMENT|W.SHOW_TEXT|W.SHOW_PROCESSING_INSTRUCTION|W.SHOW_CDATA_SECTION,null)},td=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof G)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},tp=function(e){return"function"==typeof j&&e instanceof j};function tm(e,t,n){d(e,e=>{e.call(a,t,n,te)})}let tf=function(e){let t=null;if(tm(ed.beforeSanitizeElements,e,null),td(e))return tl(e),!0;let n=e3(e.nodeName);if(tm(ed.uponSanitizeElement,e,{tagName:n,allowedTags:eb}),e.hasChildNodes()&&!tp(e.firstElementChild)&&S(/<[/\w!]/g,e.innerHTML)&&S(/<[/\w!]/g,e.textContent)||e.nodeType===K.progressingInstruction||eC&&e.nodeType===K.comment&&S(/<[/\w]/g,e.data))return tl(e),!0;if(!eb[n]||ek[n]){if(!ek[n]&&ty(n)&&(eN.tagNameCheck instanceof RegExp&&S(eN.tagNameCheck,n)||eN.tagNameCheck instanceof Function&&eN.tagNameCheck(n)))return!1;if(eW&&!eY[n]){let t=ea(e)||e.parentNode,n=er(e)||e.childNodes;if(n&&t){let r=n.length;for(let a=r-1;a>=0;--a){let r=ee(n[a],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,en(e))}}}return tl(e),!0}return e instanceof F&&!ti(e)||("noscript"===n||"noembed"===n||"noframes"===n)&&S(/<\/no(script|embed|frames)/i,e.innerHTML)?(tl(e),!0):(eL&&e.nodeType===K.text&&(t=e.textContent,d([ep,em,ef],e=>{t=v(t,e," ")}),e.textContent!==t&&(f(a.removed,{element:e.cloneNode()}),e.textContent=t)),tm(ed.afterSanitizeElements,e,null),!1)},th=function(e,t,n){if(ej&&("id"===t||"name"===t)&&(n in o||n in tt))return!1;if(eR&&!e_[t]&&S(eh,t));else if(ex&&S(ey,t));else if(!eS[t]||e_[t]){if(!(ty(e)&&(eN.tagNameCheck instanceof RegExp&&S(eN.tagNameCheck,e)||eN.tagNameCheck instanceof Function&&eN.tagNameCheck(e))&&(eN.attributeNameCheck instanceof RegExp&&S(eN.attributeNameCheck,t)||eN.attributeNameCheck instanceof Function&&eN.attributeNameCheck(t))||"is"===t&&eN.allowCustomizedBuiltInElements&&(eN.tagNameCheck instanceof RegExp&&S(eN.tagNameCheck,n)||eN.tagNameCheck instanceof Function&&eN.tagNameCheck(n))))return!1}else if(e$[t]);else if(S(eT,v(n,eA,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===T(n,"data:")&&eq[e]);else if(eM&&!S(eg,v(n,eA,"")));else if(n)return!1;return!0},ty=function(e){return"annotation-xml"!==e&&A(e,ev)},tg=function(e){tm(ed.beforeSanitizeAttributes,e,null);let{attributes:t}=e;if(!t||td(e))return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eS,forceKeepAttr:void 0},o=t.length;for(;o--;){let{name:i,namespaceURI:l,value:s}=t[o],c=e3(i),u="value"===i?s:b(s);if(r.attrName=c,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,tm(ed.uponSanitizeAttribute,e,r),u=r.attrValue,eF&&("id"===c||"name"===c)&&(ts(i,e),u="user-content-"+u),eC&&S(/((--!?|])>)|<\/(style|title)/i,u)){ts(i,e);continue}if(r.forceKeepAttr||(ts(i,e),!r.keepAttr))continue;if(!eD&&S(/\/>/i,u)){ts(i,e);continue}eL&&d([ep,em,ef],e=>{u=v(u,e," ")});let p=e3(e.nodeName);if(th(p,c,u)){if(n&&"object"==typeof q&&"function"==typeof q.getAttributeType)if(l);else switch(q.getAttributeType(p,c)){case"TrustedHTML":u=n.createHTML(u);break;case"TrustedScriptURL":u=n.createScriptURL(u)}try{l?e.setAttributeNS(l,i,u):e.setAttribute(i,u),td(e)?tl(e):m(a.removed)}catch(e){}}}tm(ed.afterSanitizeAttributes,e,null)},tA=function e(t){let n=null,r=tu(t);for(tm(ed.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)tm(ed.uponSanitizeShadowNode,n,null),tf(n),tg(n),n.content instanceof u&&e(n.content);tm(ed.afterSanitizeShadowDOM,t,null)};return a.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,i=null,s=null;if((e0=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!tp(e))if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw w("dirty is not a string, aborting")}else throw w("toString is not a function");if(!a.isSupported)return e;if(eI||tr(t),a.removed=[],"string"==typeof e&&(eG=!1),eG){if(e.nodeName){let t=e3(e.nodeName);if(!eb[t]||ek[t])throw w("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof j)(o=(r=tc("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType===K.element&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!eU&&!eL&&!eO&&-1===e.indexOf("<"))return n&&ez?n.createHTML(e):e;if(!(r=tc(e)))return eU?null:ez?eo:""}r&&eP&&tl(r.firstChild);let c=tu(eG?e:r);for(;i=c.nextNode();)tf(i),tg(i),i.content instanceof u&&tA(i.content);if(eG)return e;if(eU){if(eH)for(s=es.call(r.ownerDocument);r.firstChild;)s.appendChild(r.firstChild);else s=r;return(eS.shadowroot||eS.shadowrootmode)&&(s=eu.call(l,s,!0)),s}let p=eO?r.outerHTML:r.innerHTML;return eO&&eb["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&S(X,r.ownerDocument.doctype.name)&&(p="\n"+p),eL&&d([ep,em,ef],e=>{p=v(p,e," ")}),n&&ez?n.createHTML(p):p},a.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tr(e),eI=!0},a.clearConfig=function(){te=null,eI=!1},a.isValidAttribute=function(e,t,n){return te||tr({}),th(e3(e),e3(t),n)},a.addHook=function(e,t){"function"==typeof t&&f(ed[e],t)},a.removeHook=function(e,t){if(void 0!==t){let n=p(ed[e],t);return -1===n?void 0:h(ed[e],n,1)[0]}return m(ed[e])},a.removeHooks=function(e){ed[e]=[]},a.removeAllHooks=function(){ed=Q()},a}()},50429:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("SendHorizontal",[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]])},50492:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Paperclip",[["path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l8.57-8.57A4 4 0 1 1 18 8.84l-8.59 8.57a2 2 0 0 1-2.83-2.83l8.49-8.48",key:"1u3ebp"}]])},53904:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},54032:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Reply",[["polyline",{points:"9 17 4 12 9 7",key:"hvgpf2"}],["path",{d:"M20 18v-2a4 4 0 0 0-4-4H4",key:"5vmcpk"}]])},62278:(e,t,n)=>{"use strict";n.d(t,{rc:()=>U,ZD:()=>H,UC:()=>P,VY:()=>j,hJ:()=>I,ZL:()=>O,bL:()=>L,hE:()=>z,l9:()=>C});var r=n(12115),a=n(46081),o=n(6101),i=n(45821),l=n(85185),s=n(95155);r.forwardRef((e,t)=>{let{children:n,...a}=e,o=r.Children.toArray(n),i=o.find(d);if(i){let e=i.props.children,n=o.map(t=>t!==i?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,s.jsx)(c,{...a,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,s.jsx)(c,{...a,ref:t,children:n})}).displayName="Slot";var c=r.forwardRef((e,t)=>{let{children:n,...a}=e;if(r.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n);return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let a=e[r],o=t[r];/^on[A-Z]/.test(r)?a&&o?n[r]=(...e)=>{o(...e),a(...e)}:a&&(n[r]=a):"style"===r?n[r]={...a,...o}:"className"===r&&(n[r]=[a,o].filter(Boolean).join(" "))}return{...e,...n}}(a,n.props),ref:t?(0,o.t)(t,e):e})}return r.Children.count(n)>1?r.Children.only(null):null});c.displayName="SlotClone";var u=({children:e})=>(0,s.jsx)(s.Fragment,{children:e});function d(e){return r.isValidElement(e)&&e.type===u}var p="AlertDialog",[m,f]=(0,a.A)(p,[i.Hs]),h=(0,i.Hs)(),y=e=>{let{__scopeAlertDialog:t,...n}=e,r=h(t);return(0,s.jsx)(i.bL,{...r,...n,modal:!0})};y.displayName=p;var g=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,a=h(n);return(0,s.jsx)(i.l9,{...a,...r,ref:t})});g.displayName="AlertDialogTrigger";var A=e=>{let{__scopeAlertDialog:t,...n}=e,r=h(t);return(0,s.jsx)(i.ZL,{...r,...n})};A.displayName="AlertDialogPortal";var v=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,a=h(n);return(0,s.jsx)(i.hJ,{...a,...r,ref:t})});v.displayName="AlertDialogOverlay";var T="AlertDialogContent",[b,E]=m(T),S=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,children:a,...c}=e,d=h(n),p=r.useRef(null),m=(0,o.s)(t,p),f=r.useRef(null);return(0,s.jsx)(i.G$,{contentName:T,titleName:w,docsSlug:"alert-dialog",children:(0,s.jsx)(b,{scope:n,cancelRef:f,children:(0,s.jsxs)(i.UC,{role:"alertdialog",...d,...c,ref:m,onOpenAutoFocus:(0,l.m)(c.onOpenAutoFocus,e=>{var t;e.preventDefault(),null==(t=f.current)||t.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,s.jsx)(u,{children:a}),(0,s.jsx)(D,{contentRef:p})]})})})});S.displayName=T;var w="AlertDialogTitle",N=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,a=h(n);return(0,s.jsx)(i.hE,{...a,...r,ref:t})});N.displayName=w;var k="AlertDialogDescription",_=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,a=h(n);return(0,s.jsx)(i.VY,{...a,...r,ref:t})});_.displayName=k;var x=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,a=h(n);return(0,s.jsx)(i.bm,{...a,...r,ref:t})});x.displayName="AlertDialogAction";var R="AlertDialogCancel",M=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,{cancelRef:a}=E(R,n),l=h(n),c=(0,o.s)(t,a);return(0,s.jsx)(i.bm,{...l,...r,ref:c})});M.displayName=R;var D=e=>{let{contentRef:t}=e,n="`".concat(T,"` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the `").concat(T,"` by passing a `").concat(k,"` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an `id` and passing the same value to the `aria-describedby` prop in `").concat(T,"`. If the description is confusing or duplicative for sighted users, you can use the `@radix-ui/react-visually-hidden` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog");return r.useEffect(()=>{var e;document.getElementById(null==(e=t.current)?void 0:e.getAttribute("aria-describedby"))||console.warn(n)},[n,t]),null},L=y,C=g,O=A,I=v,P=S,U=x,H=M,z=N,j=_},62525:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},66474:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},74126:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]])},74783:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},75915:(e,t,n)=>{e.exports=window.DOMPurify||(window.DOMPurify=n(50239).default||n(50239))},78749:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},87548:()=>{},97108:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(19946).A)("Inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]])}}]); \ No newline at end of file diff --git a/.next/static/chunks/8789.9102a49283389d18.js b/.next/static/chunks/8789.9102a49283389d18.js new file mode 100644 index 00000000..cc5e7c5d --- /dev/null +++ b/.next/static/chunks/8789.9102a49283389d18.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8789],{98789:(e,t,l)=>{var o,r;window,r=l(57477),e.exports=function(e){var t,l,o,r,n=window.webpackHotUpdatequillBetterTable;window.webpackHotUpdatequillBetterTable=function(e,t){(function(e,t){if(y[e]&&v[e]){for(var l in v[e]=!1,t)Object.prototype.hasOwnProperty.call(t,l)&&(o[l]=t[l]);0==--f&&0===b&&C()}})(e,t),n&&n(e,t)};var i=!0,s="ced44c7892a78034ffe4",a={},d=[],c=[];function h(e){var l=A[e];if(!l)return E;var o=function(o){return l.hot.active?(A[o]?-1===A[o].parents.indexOf(e)&&A[o].parents.push(e):(d=[e],t=o),-1===l.children.indexOf(o)&&l.children.push(o)):(console.warn("[HMR] unexpected require("+o+") from disposed module "+e),d=[]),E(o)},r=function(e){return{configurable:!0,enumerable:!0,get:function(){return E[e]},set:function(t){E[e]=t}}};for(var n in E)Object.prototype.hasOwnProperty.call(E,n)&&"e"!==n&&"t"!==n&&Object.defineProperty(o,n,r(n));return o.e=function(e){return"ready"===p&&m("prepare"),b++,E.e(e).then(t,function(e){throw t(),e});function t(){b--,"prepare"===p&&(g[e]||N(e),0===b&&0===f&&C())}},o.t=function(e,t){return 1&t&&(e=o(e)),E.t(e,-2&t)},o}var u=[],p="idle";function m(e){p=e;for(var t=0;t0;){var n=r.pop(),i=n.id,s=n.chain;if((C=A[i])&&!C.hot._selfAccepted){if(C.hot._selfDeclined)return{type:"self-declined",chain:s,moduleId:i};if(C.hot._main)return{type:"unaccepted",chain:s,moduleId:i};for(var a=0;a ")),S.type){case"self-declined":t.onDeclined&&t.onDeclined(S),t.ignoreDeclined||(T=Error("Aborted because of self decline: "+S.moduleId+B));break;case"declined":t.onDeclined&&t.onDeclined(S),t.ignoreDeclined||(T=Error("Aborted because of declined dependency: "+S.moduleId+" in "+S.parentId+B));break;case"unaccepted":t.onUnaccepted&&t.onUnaccepted(S),t.ignoreUnaccepted||(T=Error("Aborted because "+q+" is not accepted"+B));break;case"accepted":t.onAccepted&&t.onAccepted(S),H=!0;break;case"disposed":t.onDisposed&&t.onDisposed(S),M=!0;break;default:throw Error("Unexception type "+S.type)}if(T)return m("abort"),Promise.reject(T);if(H)for(q in f[q]=o[q],l(u,S.outdatedModules),S.outdatedDependencies)Object.prototype.hasOwnProperty.call(S.outdatedDependencies,q)&&(h[q]||(h[q]=[]),l(h[q],S.outdatedDependencies[q]));M&&(l(u,[S.moduleId]),f[q]=b)}var O=[];for(x=0;x0;)if(C=A[q=R.pop()]){var L={},k=C.hot._disposeHandlers;for(N=0;N=0&&z.parents.splice(n,1)}}for(q in h)if(Object.prototype.hasOwnProperty.call(h,q)&&(C=A[q]))for(N=0,c=h[q];N=0&&C.children.splice(n,1);for(q in m("apply"),s=r,f)Object.prototype.hasOwnProperty.call(f,q)&&(e[q]=f[q]);var I=null;for(q in h)if(Object.prototype.hasOwnProperty.call(h,q)&&(C=A[q])){c=h[q];var D=[];for(x=0;x=0&&o._disposeHandlers.splice(t,1)},check:x,apply:q,status:function(e){if(!e)return p;u.push(e)},addStatusHandler:function(e){u.push(e)},removeStatusHandler:function(e){var t=u.indexOf(e);t>=0&&u.splice(t,1)},data:a[l]},t=void 0,o),parents:(c=d,d=[],c),children:[]};return e[l].call(r.exports,r,r.exports,h(l)),r.l=!0,r.exports}return E.m=e,E.c=A,E.d=function(e,t,l){E.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},E.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},E.t=function(e,t){if(1&t&&(e=E(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(E.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)E.d(l,o,(function(t){return e[t]}).bind(null,o));return l},E.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return E.d(t,"a",t),t},E.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},E.p="",E.h=function(){return s},h(12)(E.s=12)}([function(e,t){e.exports=r},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t,l){"use strict";l.r(t);var o=l(0),r=l.n(o);function n(e,t){if("object"==typeof t)for(let l in t)e.style[l]=t[l]}function i(e,t){let l=t.getBoundingClientRect();return{x:e.x-l.x-t.scrollLeft,y:e.y-l.y-t.scrollTop,x1:e.x-l.x-t.scrollLeft+e.width,y1:e.y-l.y-t.scrollTop+e.height,width:e.width,height:e.height}}function s(e,t){return e&&Object.keys(e).reduce((l,o)=>t.includes(o)?l:Object.assign({},l,{[o]:e[o]}),{})}function a(e){let t;if(void 0==(t=e.path||e.composedPath&&e.composedPath())&&e.target){t=[];let l=e.target;for(t.push(l);l&&l.parentNode;)l=l.parentNode,t.push(l)}return t}class d{constructor(e,t,l){if(!e)return null;this.table=e,this.quill=t,this.options=l,this.domNode=null,this.initColTool()}initColTool(){let e=this.quill.root.parentNode;this.table.getBoundingClientRect();let t=e.getBoundingClientRect(),l=this.table.parentNode.getBoundingClientRect();this.domNode=document.createElement("div"),this.domNode.classList.add("qlbt-col-tool"),this.updateToolCells(),e.appendChild(this.domNode),n(this.domNode,{width:"".concat(l.width,"px"),height:"".concat(12,"px"),left:"".concat(l.left-t.left+e.scrollLeft,"px"),top:"".concat(l.top-t.top+e.scrollTop-12-5,"px")})}createToolCell(){let e=document.createElement("div");e.classList.add("qlbt-col-tool-cell");let t=document.createElement("div");return t.classList.add("qlbt-col-tool-cell-holder"),n(e,{height:"".concat(12,"px")}),e.appendChild(t),e}updateToolCells(){let e=r.a.find(this.table),t=e.children.tail.children.head.children,l=e.colGroup().children,o=t.reduce((e,t)=>e+=parseInt(t.formats().colspan,10),0),i=Array.from(this.domNode.querySelectorAll(".qlbt-col-tool-cell"));for(let e=0;e=o?i[e].remove():n(s=i[e],{"min-width":"".concat(r,"px")}):(s=this.createToolCell(),this.domNode.appendChild(s),this.addColCellHolderHandler(s),n(s,{"min-width":"".concat(r,"px")}))}}destroy(){return this.domNode.remove(),null}addColCellHolderHandler(e){let t=r.a.find(this.table),l=e.querySelector(".qlbt-col-tool-cell-holder"),o=!1,i=0,s=0,a=0,d=0,c={},h={},u=null,p=e=>{e.preventDefault(),o&&(s=e.clientX,a=d+s-i>=50?s-i:50-d,n(u,{left:"".concat(h.left+h.width-1+a,"px")}))},m=r=>{r.preventDefault();let f=Array.from(this.domNode.querySelectorAll(".qlbt-col-tool-cell")).indexOf(e),b=t.colGroup().children.at(f);o&&(b.format("width",d+a),n(e,{"min-width":"".concat(d+a,"px")}),i=0,s=0,a=0,d=0,o=!1,l.classList.remove("dragging")),document.removeEventListener("mousemove",p,!1),document.removeEventListener("mouseup",m,!1),c={},h={},u.remove(),u=null,t.updateTableWidth();let g=this.quill.getModule("better-table").tableSelection;g&&g.clearSelection()};l.addEventListener("mousedown",t=>{document.addEventListener("mousemove",p,!1),document.addEventListener("mouseup",m,!1),c=this.table.getBoundingClientRect(),h=e.getBoundingClientRect(),n(u=document.createElement("div"),{position:"fixed",top:"".concat(h.top,"px"),left:"".concat(h.left+h.width-1,"px"),zIndex:"100",height:"".concat(c.height+12+4,"px"),width:"1px",backgroundColor:"#35A7ED"}),document.body.appendChild(u),o=!0,i=t.clientX,d=h.width,l.classList.add("dragging")},!1)}colToolCells(){return Array.from(this.domNode.querySelectorAll(".qlbt-col-tool-cell"))}}let c=r.a.import("blots/block");class h extends c{static create(e){"string"==typeof e&&(e={value:e});let t=super.create(e.value);return g.forEach(l=>{e[l]&&t.setAttribute("data-".concat(l),e[l])}),v.forEach(l=>{e[l]&&t.setAttribute("data-".concat(l),e[l])}),t}static formats(e){let t={};return t.value=this.tagName.indexOf(e.tagName)+1,v.concat(g).reduce((t,l)=>(e.hasAttribute("data-".concat(l))&&(t[l]=e.getAttribute("data-".concat(l))||void 0),t),t)}format(e,t){let{row:l,cell:o,rowspan:r,colspan:n}=h.formats(this.domNode);e===h.blotName?t?super.format(e,{value:t,row:l,cell:o,rowspan:r,colspan:n}):l?this.replaceWith(w.blotName,{row:l,cell:o,rowspan:r,colspan:n}):super.format(e,t):super.format(e,t)}optimize(e){let{row:t,rowspan:l,colspan:o}=h.formats(this.domNode);if(!t||this.parent instanceof x||this.wrap(x.blotName,{row:t,colspan:o,rowspan:l}),this.enforceAllowedChildren(),null!=this.uiNode&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),0===this.children.length)if(null!=this.statics.defaultChild){let e=this.scroll.create(this.statics.defaultChild.blotName);this.appendChild(e)}else this.remove();this.cache={}}}h.blotName="header",h.tagName=["H1","H2","H3","H4","H5","H6"];let u=r.a.import("blots/break"),p=r.a.import("blots/block"),m=r.a.import("blots/container"),f=["width"],b={width:100},g=["row","cell"],v=["rowspan","colspan"],y={rowspan:1,colspan:1};class w extends p{static create(e){let t=super.create(e);return g.forEach(l=>{t.setAttribute("data-".concat(l),e[l]||("row"===l?T:H)())}),v.forEach(l=>{t.setAttribute("data-".concat(l),e[l]||y[l])}),e["cell-bg"]&&t.setAttribute("data-cell-bg",e["cell-bg"]),t}static formats(e){return v.concat(g).concat(["cell-bg"]).reduce((t,l)=>(e.hasAttribute("data-".concat(l))&&(t[l]=e.getAttribute("data-".concat(l))||void 0),t),{})}format(e,t){if(v.concat(g).indexOf(e)>-1)t?this.domNode.setAttribute("data-".concat(e),t):this.domNode.removeAttribute("data-".concat(e));else if("cell-bg"===e)t?this.domNode.setAttribute("data-cell-bg",t):this.domNode.removeAttribute("data-cell-bg");else if("header"===e){if(!t)return;let{row:l,cell:o,rowspan:r,colspan:n}=w.formats(this.domNode);super.format(e,{value:t,row:l,cell:o,rowspan:r,colspan:n})}else super.format(e,t)}optimize(e){let t=this.domNode.getAttribute("data-row"),l=this.domNode.getAttribute("data-rowspan"),o=this.domNode.getAttribute("data-colspan"),r=this.domNode.getAttribute("data-cell-bg");!this.statics.requiredContainer||this.parent instanceof this.statics.requiredContainer||this.wrap(this.statics.requiredContainer.blotName,{row:t,colspan:o,rowspan:l,"cell-bg":r}),super.optimize(e)}tableCell(){return this.parent}}w.blotName="table-cell-line",w.className="qlbt-cell-line",w.tagName="P";class x extends m{checkMerge(){if(super.checkMerge()&&null!=this.next.children.head){let e=this.children.head.formats()[this.children.head.statics.blotName],t=this.children.tail.formats()[this.children.tail.statics.blotName],l=this.next.children.head.formats()[this.next.children.head.statics.blotName],o=this.next.children.tail.formats()[this.next.children.tail.statics.blotName];return e.cell===t.cell&&e.cell===l.cell&&e.cell===o.cell}return!1}static create(e){let t=super.create(e);return t.setAttribute("data-row",e.row),v.forEach(l=>{e[l]&&t.setAttribute(l,e[l])}),e["cell-bg"]&&(t.setAttribute("data-cell-bg",e["cell-bg"]),t.style.backgroundColor=e["cell-bg"]),t}static formats(e){let t={};return e.hasAttribute("data-row")&&(t.row=e.getAttribute("data-row")),e.hasAttribute("data-cell-bg")&&(t["cell-bg"]=e.getAttribute("data-cell-bg")),v.reduce((t,l)=>(e.hasAttribute(l)&&(t[l]=e.getAttribute(l)),t),t)}cellOffset(){return this.parent?this.parent.children.indexOf(this):-1}formats(){let e={};return this.domNode.hasAttribute("data-row")&&(e.row=this.domNode.getAttribute("data-row")),this.domNode.hasAttribute("data-cell-bg")&&(e["cell-bg"]=this.domNode.getAttribute("data-cell-bg")),v.reduce((e,t)=>(this.domNode.hasAttribute(t)&&(e[t]=this.domNode.getAttribute(t)),e),e)}toggleAttribute(e,t){t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e)}formatChildren(e,t){this.children.forEach(l=>{l.format(e,t)})}format(e,t){v.indexOf(e)>-1?(this.toggleAttribute(e,t),this.formatChildren(e,t)):["row"].indexOf(e)>-1?(this.toggleAttribute("data-".concat(e),t),this.formatChildren(e,t)):"cell-bg"===e?(this.toggleAttribute("data-cell-bg",t),this.formatChildren(e,t),t?this.domNode.style.backgroundColor=t:this.domNode.style.backgroundColor="initial"):super.format(e,t)}optimize(e){let t=this.domNode.getAttribute("data-row");!this.statics.requiredContainer||this.parent instanceof this.statics.requiredContainer||this.wrap(this.statics.requiredContainer.blotName,{row:t}),super.optimize(e)}row(){return this.parent}rowOffset(){return this.row()?this.row().rowOffset():-1}table(){return this.row()&&this.row().table()}}x.blotName="table",x.tagName="TD";class N extends m{checkMerge(){if(super.checkMerge()&&null!=this.next.children.head){let e=this.children.head.formats(),t=this.children.tail.formats(),l=this.next.children.head.formats(),o=this.next.children.tail.formats();return e.row===t.row&&e.row===l.row&&e.row===o.row}return!1}static create(e){let t=super.create(e);return t.setAttribute("data-row",e.row),t}formats(){return["row"].reduce((e,t)=>(this.domNode.hasAttribute("data-".concat(t))&&(e[t]=this.domNode.getAttribute("data-".concat(t))),e),{})}optimize(e){!this.statics.requiredContainer||this.parent instanceof this.statics.requiredContainer||this.wrap(this.statics.requiredContainer.blotName),this.enforceAllowedChildren(),null!=this.uiNode&&this.uiNode!==this.domNode.firstChild&&this.domNode.insertBefore(this.uiNode,this.domNode.firstChild),this.children.length>0&&null!=this.next&&this.checkMerge()&&(this.next.moveChildren(this),this.next.remove())}rowOffset(){return this.parent?this.parent.children.indexOf(this):-1}table(){return this.parent&&this.parent.parent}}N.blotName="table-row",N.tagName="TR";class C extends m{}C.blotName="table-body",C.tagName="TBODY";class q extends p{static create(e){let t=super.create(e);return f.forEach(l=>{t.setAttribute("".concat(l),e[l]||b[l])}),t}static formats(e){return f.reduce((t,l)=>(e.hasAttribute("".concat(l))&&(t[l]=e.getAttribute("".concat(l))||void 0),t),{})}format(e,t){f.indexOf(e)>-1?this.domNode.setAttribute("".concat(e),t||b[e]):super.format(e,t)}html(){return this.domNode.outerHTML}}q.blotName="table-col",q.tagName="col";class A extends m{}A.blotName="table-col-group",A.tagName="colgroup";class E extends m{static create(){return super.create()}constructor(e,t){super(e,t),this.updateTableWidth()}updateTableWidth(){setTimeout(()=>{let e=this.colGroup();if(!e)return;let t=e.children.reduce((e,t)=>e+=parseInt(t.formats()[q.blotName].width,10),0);this.domNode.style.width="".concat(t,"px")},0)}cells(e){return this.rows().map(t=>t.children.at(e))}colGroup(){return this.children.head}deleteColumns(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2?arguments[2]:void 0,[o]=this.descendants(C);if(null==o||null==o.children.head)return;let r=this.descendants(x),n=[],s=[];if(r.forEach(t=>{let o=i(t.domNode.getBoundingClientRect(),l);o.x+5>e.x&&o.x1-5e.x1-5&&s.push(t)}),n.length===r.length)return this.tableDestroy(),!0;t.forEach(e=>{this.colGroup().children.at(t[0]).remove()}),n.forEach(e=>{e.remove()}),s.forEach(e=>{let l=parseInt(e.formats().colspan,10);parseInt(e.formats().width,10),e.format("colspan",l-t.length)}),this.updateTableWidth()}deleteRow(e,t){let[l]=this.descendants(C);if(null==l||null==l.children.head)return;let o=this.descendants(x),r=this.descendants(N),n=[],s=[],a=[],d=r.filter(l=>{let o=i(l.domNode.getBoundingClientRect(),t);return o.y>e.y-5&&o.y1{let o=i(l.domNode.getBoundingClientRect(),t);o.y>e.y-5&&o.y1e.y1-5&&(s.push(l),5>Math.abs(o.y-e.y)&&a.push(l))}),n.length===o.length)return void this.tableDestroy();let c=this.rows().reduce((l,o)=>{let r=i(o.domNode.getBoundingClientRect(),t);return r.y>e.y-5&&r.y1{let l=i(e.domNode.getBoundingClientRect(),t),o=e.parent.next,r=o.children.reduce((e,o)=>{let r=i(o.domNode.getBoundingClientRect(),t);return 5>Math.abs(l.x1-r.x)&&(e=o),e},null);o.insertBefore(e,r),e.format("row",o.formats().row)}),n.forEach(e=>{e.remove()}),s.forEach(e=>{let t=parseInt(e.formats().rowspan,10);e.format("rowspan",t-c)}),d.forEach(e=>e.remove())}tableDestroy(){let e=r.a.find(this.scroll.domNode.parentNode),t=e.getModule("better-table");this.remove(),t.hideTableTools(),e.update(r.a.sources.USER)}insertCell(e,t){let l=H(),o=e.formats().row,r=this.scroll.create(x.blotName,Object.assign({},y,{row:o})),n=this.scroll.create(w.blotName,{row:o,cell:l});r.appendChild(n),t?e.insertBefore(r,t):e.appendChild(r)}insertColumn(e,t){let l=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=arguments.length>3?arguments[3]:void 0,[r]=this.descendants(C),[n]=this.descendants(A),s=this.descendants(q),a=[],d=[],c=[];if(null==r||null==r.children.head)return;this.descendants(x).forEach(t=>{let r=i(t.domNode.getBoundingClientRect(),o);l?5>Math.abs(r.x1-e.x1)?a.push(t):e.x1-r.x>5&&e.x1-r.x1<-5&&d.push(t):5>Math.abs(r.x-e.x)?a.push(t):e.x-r.x>5&&e.x-r.x1<-5&&d.push(t)}),a.forEach(e=>{let t=l?e.next:e,o=H(),r=e.parent,n=r.formats().row,i=e.formats(),s=this.scroll.create(x.blotName,Object.assign({},y,{row:n,rowspan:i.rowspan})),a=this.scroll.create(w.blotName,{row:n,cell:o,rowspan:i.rowspan});s.appendChild(a),t?r.insertBefore(s,t):r.appendChild(s),c.push(s)});let h=this.scroll.create(q.blotName,!0),u=l?s[t].next:s[t];return u?n.insertBefore(h,u):n.appendChild(h),d.forEach(e=>{let t=e.formats().colspan;e.format("colspan",parseInt(t,10)+1),c.push(e)}),c.sort((e,t)=>e.domNode.getBoundingClientRect().y-t.domNode.getBoundingClientRect().y),this.updateTableWidth(),c}insertRow(e,t,l){let[o]=this.descendants(C);if(null==o||null==o.children.head)return;let r=this.descendants(x),n=T(),s=this.scroll.create(N.blotName,{row:n}),a=[],d=[],c=[];r.forEach(o=>{let r=i(o.domNode.getBoundingClientRect(),l);t?5>Math.abs(r.y1-e.y1)?a.push(o):e.y1-r.y>5&&e.y1-r.y1<-5&&d.push(o):5>Math.abs(r.y-e.y)?a.push(o):e.y-r.y>5&&e.y-r.y1<-5&&d.push(o)});let h=(e,t)=>e.domNode.getBoundingClientRect().x-t.domNode.getBoundingClientRect().x;a.sort(h),a.forEach(e=>{let t=H(),l=e.formats(),o=this.scroll.create(x.blotName,Object.assign({},y,{row:n,colspan:l.colspan})),r=this.scroll.create(w.blotName,{row:n,cell:t,colspan:l.colspan}),i=this.scroll.create(u.blotName);r.appendChild(i),o.appendChild(r),s.appendChild(o),c.push(o)}),d.forEach(e=>{let t=parseInt(e.formats().rowspan,10);e.format("rowspan",t+1),c.push(e)});let p=this.rows().find(o=>{let r=i(o.domNode.getBoundingClientRect(),l);return t?5>Math.abs(r.y-e.y-e.height):5>Math.abs(r.y-e.y)});return o.insertBefore(s,p),c.sort(h),c}mergeCells(e,t,l,o,r){let n=t.reduce((e,t,r)=>(0!==r?(e&&t.moveChildren(e),t.remove()):(t.format("colspan",o),t.format("rowspan",l),e=t),e),null),i=n.domNode.getAttribute("data-row"),s=n.children.head.domNode.getAttribute("data-cell");return n.children.forEach(e=>{e.format("cell",s),e.format("row",i),e.format("colspan",o),e.format("rowspan",l)}),n}unmergeCells(e,t){let l={},o=1,r=1;e.forEach(e=>{if(o=(l=e.formats()).rowspan,(r=l.colspan)>1){let t=e.next,l=e.row();e.format("colspan",1);for(let e=r;e>1;e--)this.insertCell(l,t)}if(o>1){let l=o,n=e.row().next;for(;l>1;){let o=n.children.reduce((l,o)=>{let r=i(e.domNode.getBoundingClientRect(),t),n=i(o.domNode.getBoundingClientRect(),t);return 5>Math.abs(r.x1-n.x)&&(l=o),l},null);for(let e=r;e>0;e--)this.insertCell(n,o);l-=1,n=n.next}e.format("rowspan",1)}})}rows(){let e=this.children.tail;return null==e?[]:e.children.map(e=>e)}}E.blotName="table-container",E.className="quill-better-table",E.tagName="TABLE";class S extends m{constructor(e,t){super(e,t);let l=r.a.find(e.domNode.parentNode);t.addEventListener("scroll",e=>{let t=l.getModule("better-table");t.columnTool&&(t.columnTool.domNode.scrollLeft=e.target.scrollLeft),t.tableSelection&&t.tableSelection.selectedTds.length>0&&t.tableSelection.repositionHelpLines()},!1)}table(){return this.children.head}}function T(){let e=Math.random().toString(36).slice(2,6);return"row-".concat(e)}function H(){let e=Math.random().toString(36).slice(2,6);return"cell-".concat(e)}S.blotName="table-view",S.className="quill-better-table-wrapper",S.tagName="DIV",S.allowedChildren=[E],E.requiredContainer=S,E.allowedChildren=[C,A],C.requiredContainer=E,C.allowedChildren=[N],N.requiredContainer=C,N.allowedChildren=[x],x.requiredContainer=N,x.allowedChildren=[w,h],w.requiredContainer=x,A.allowedChildren=[q],A.requiredContainer=E,q.requiredContainer=A;let M=["left","right","top","bottom"];class B{constructor(e,t,l){if(!e)return null;this.table=e,this.quill=t,this.options=l,this.boundary={},this.selectedTds=[],this.dragging=!1,this.selectingHandler=this.mouseDownHandler.bind(this),this.clearSelectionHandler=this.clearSelection.bind(this),this.helpLinesInitial(),this.quill.root.addEventListener("mousedown",this.selectingHandler,!1),this.quill.on("text-change",this.clearSelectionHandler)}helpLinesInitial(){let e=this.quill.root.parentNode;M.forEach(t=>{this[t]=document.createElement("div"),this[t].classList.add("qlbt-selection-line"),this[t].classList.add("qlbt-selection-line-"+t),n(this[t],{position:"absolute",display:"none","background-color":"#0589f3"}),e.appendChild(this[t])})}mouseDownHandler(e){if(0!==e.button||!e.target.closest(".quill-better-table"))return;this.quill.root.addEventListener("mousemove",r,!1),this.quill.root.addEventListener("mouseup",function e(l){t.quill.root.removeEventListener("mousemove",r,!1),t.quill.root.removeEventListener("mouseup",e,!1),t.dragging=!1},!1);let t=this,l=e.target.closest("td[data-row]"),o=i(l.getBoundingClientRect(),this.quill.root.parentNode);function r(e){if(0!==e.button||!e.target.closest(".quill-better-table"))return;let r=e.target.closest("td[data-row]"),n=i(r.getBoundingClientRect(),t.quill.root.parentNode);t.boundary=O(o,n),t.correctBoundary(),t.selectedTds=t.computeSelectedTds(),t.repositionHelpLines(),l!==r&&t.quill.blur()}this.dragging=!0,this.boundary=O(o,o),this.correctBoundary(),this.selectedTds=this.computeSelectedTds(),this.repositionHelpLines()}correctBoundary(){r.a.find(this.table).descendants(x).forEach(e=>{let{x:t,y:l,width:o,height:r}=i(e.domNode.getBoundingClientRect(),this.quill.root.parentNode);(t+2>=this.boundary.x&&t+2<=this.boundary.x1||t-2+o>=this.boundary.x&&t-2+o<=this.boundary.x1)&&(l+2>=this.boundary.y&&l+2<=this.boundary.y1||l-2+r>=this.boundary.y&&l-2+r<=this.boundary.y1)&&(this.boundary=O(this.boundary,{x:t,y:l,width:o,height:r}))})}computeSelectedTds(){return r.a.find(this.table).descendants(x).reduce((e,t)=>{let{x:l,y:o,width:r,height:n}=i(t.domNode.getBoundingClientRect(),this.quill.root.parentNode);return l+2>=this.boundary.x&&l-2+r<=this.boundary.x1&&o+2>=this.boundary.y&&o-2+n<=this.boundary.y1&&e.push(t),e},[])}repositionHelpLines(){let e=this.table.parentNode.scrollLeft;n(this.left,{display:"block",left:"".concat(this.boundary.x-e-1,"px"),top:"".concat(this.boundary.y,"px"),height:"".concat(this.boundary.height+1,"px"),width:"1px"}),n(this.right,{display:"block",left:"".concat(this.boundary.x1-e,"px"),top:"".concat(this.boundary.y,"px"),height:"".concat(this.boundary.height+1,"px"),width:"1px"}),n(this.top,{display:"block",left:"".concat(this.boundary.x-1-e,"px"),top:"".concat(this.boundary.y,"px"),width:"".concat(this.boundary.width+1,"px"),height:"1px"}),n(this.bottom,{display:"block",left:"".concat(this.boundary.x-1-e,"px"),top:"".concat(this.boundary.y1+1,"px"),width:"".concat(this.boundary.width+1,"px"),height:"1px"})}refreshHelpLinesPosition(){let e=i(this.selectedTds[0].domNode.getBoundingClientRect(),this.quill.root.parentNode),t=i(this.selectedTds[this.selectedTds.length-1].domNode.getBoundingClientRect(),this.quill.root.parentNode);this.boundary=O(e,t),this.repositionHelpLines()}destroy(){return M.forEach(e=>{this[e].remove(),this[e]=null}),this.quill.root.removeEventListener("mousedown",this.selectingHandler,!1),this.quill.off("text-change",this.clearSelectionHandler),null}setSelection(e,t){this.boundary=O(i(e,this.quill.root.parentNode),i(t,this.quill.root.parentNode)),this.correctBoundary(),this.selectedTds=this.computeSelectedTds(),this.repositionHelpLines()}clearSelection(){this.boundary={},this.selectedTds=[],M.forEach(e=>{this[e]&&n(this[e],{display:"none"})})}}function O(e,t){let l=Math.min(e.x,t.x,e.x+e.width-1,t.x+t.width-1),o=Math.max(e.x,t.x,e.x+e.width-1,t.x+t.width-1),r=Math.min(e.y,t.y,e.y+e.height-1,t.y+t.height-1),n=Math.max(e.y,t.y,e.y+e.height-1,t.y+t.height-1);return{x:l,x1:o,y:r,y1:n,width:o-l,height:n-r}}var R=l(1),L=l.n(R),k=l(2),z=l.n(k),I=l(3),D=l.n(I),j=l(4),V=l.n(j),_=l(5),U=l.n(_),P=l(6),W=l.n(P),G=l(7),X=l.n(G),K=l(8),Y=l.n(K),$=l(9),J=l.n($);let F=["white","red","yellow","blue"],Q={insertColumnRight:{text:"Insert column right",iconSrc:L.a,handler(){let e=r.a.find(this.table),t=ee(this.columnToolCells,this.boundary,(e,t)=>5>=Math.abs(e.x+e.width-t.x1),this.quill.root.parentNode),l=e.insertColumn(this.boundary,t,!0,this.quill.root.parentNode);this.tableColumnTool.updateToolCells(),this.quill.update(r.a.sources.USER),this.quill.setSelection(this.quill.getIndex(l[0]),0,r.a.sources.SILENT),this.tableSelection.setSelection(l[0].domNode.getBoundingClientRect(),l[0].domNode.getBoundingClientRect())}},insertColumnLeft:{text:"Insert column left",iconSrc:z.a,handler(){let e=r.a.find(this.table),t=ee(this.columnToolCells,this.boundary,(e,t)=>5>=Math.abs(e.x-t.x),this.quill.root.parentNode),l=e.insertColumn(this.boundary,t,!1,this.quill.root.parentNode);this.tableColumnTool.updateToolCells(),this.quill.update(r.a.sources.USER),this.quill.setSelection(this.quill.getIndex(l[0]),0,r.a.sources.SILENT),this.tableSelection.setSelection(l[0].domNode.getBoundingClientRect(),l[0].domNode.getBoundingClientRect())}},insertRowUp:{text:"Insert row up",iconSrc:D.a,handler(){let e=r.a.find(this.table).insertRow(this.boundary,!1,this.quill.root.parentNode);this.quill.update(r.a.sources.USER),this.quill.setSelection(this.quill.getIndex(e[0]),0,r.a.sources.SILENT),this.tableSelection.setSelection(e[0].domNode.getBoundingClientRect(),e[0].domNode.getBoundingClientRect())}},insertRowDown:{text:"Insert row down",iconSrc:V.a,handler(){let e=r.a.find(this.table).insertRow(this.boundary,!0,this.quill.root.parentNode);this.quill.update(r.a.sources.USER),this.quill.setSelection(this.quill.getIndex(e[0]),0,r.a.sources.SILENT),this.tableSelection.setSelection(e[0].domNode.getBoundingClientRect(),e[0].domNode.getBoundingClientRect())}},mergeCells:{text:"Merge selected cells",iconSrc:U.a,handler(){let e=r.a.find(this.table),t=e.rows().reduce((e,t)=>{let l=i(t.domNode.getBoundingClientRect(),this.quill.root.parentNode);return l.y>this.boundary.y-5&&l.y+l.height{let l=i(t.getBoundingClientRect(),this.quill.root.parentNode);return l.x>this.boundary.x-5&&l.x+l.widthe.x+5>t.x&&e.x+e.width-5(l(i(n.getBoundingClientRect(),o),t)&&r.push(e.indexOf(n)),r),[]));n.deleteColumns(this.boundary,s,this.quill.root.parentNode)||(this.tableColumnTool.updateToolCells(),this.quill.update(r.a.sources.USER),this.tableSelection.clearSelection())}},deleteRow:{text:"Delete selected rows",iconSrc:Y.a,handler(){r.a.find(this.table).deleteRow(this.boundary,this.quill.root.parentNode),this.quill.update(r.a.sources.USER),this.tableSelection.clearSelection()}},deleteTable:{text:"Delete table",iconSrc:J.a,handler(){let e=this.quill.getModule("better-table"),t=r.a.find(this.table);e.hideTableTools(),t.remove(),this.quill.update(r.a.sources.USER)}}};class Z{constructor(e,t,l){let o=t.getModule("better-table");this.tableSelection=o.tableSelection,this.table=e.table,this.quill=t,this.options=l,this.menuItems=Object.assign({},Q,l.items),this.tableColumnTool=o.columnTool,this.boundary=this.tableSelection.boundary,this.selectedTds=this.tableSelection.selectedTds,this.destroyHandler=this.destroy.bind(this),this.columnToolCells=this.tableColumnTool.colToolCells(),this.colorSubTitle=l.color&&l.color.text?l.color.text:"Background Colors",this.cellColors=l.color&&l.color.colors?l.color.colors:F,this.menuInitial(e),this.mount(),document.addEventListener("click",this.destroyHandler,!1)}mount(){document.body.appendChild(this.domNode)}destroy(){return this.domNode.remove(),document.removeEventListener("click",this.destroyHandler,!1),null}menuInitial(e){let{table:t,left:l,top:o}=e;for(let e in this.domNode=document.createElement("div"),this.domNode.classList.add("qlbt-operation-menu"),n(this.domNode,{position:"absolute",left:"".concat(l,"px"),top:"".concat(o,"px"),"min-height":"".concat(150,"px"),width:"".concat(200,"px")}),this.menuItems)this.menuItems[e]&&(this.domNode.appendChild(this.menuItemCreator(Object.assign({},Q[e],this.menuItems[e]))),["insertRowDown","unmergeCells"].indexOf(e)>-1&&this.domNode.appendChild(r()));function r(){let e=document.createElement("div");return e.classList.add("qlbt-operation-menu-dividing"),e}this.options.color&&!1!==this.options.color&&(this.domNode.appendChild(r()),this.domNode.appendChild(function(e){let t=document.createElement("div");return t.classList.add("qlbt-operation-menu-subtitle"),t.innerText=e,t}(this.colorSubTitle)),this.domNode.appendChild(this.colorsItemCreator(this.cellColors)))}colorsItemCreator(e){let t=this,l=document.createElement("div");return l.classList.add("qlbt-operation-color-picker"),e.forEach(e=>{let o=function(e){let l=document.createElement("div");return l.classList.add("qlbt-operation-color-picker-item"),l.setAttribute("data-color",e),l.style.backgroundColor=e,l.addEventListener("click",function(){let l=t.tableSelection.selectedTds;l&&l.length>0&&l.forEach(t=>{t.format("cell-bg",e)})},!1),l}(e);l.appendChild(o)}),l}menuItemCreator(e){let{text:t,iconSrc:l,handler:o}=e,r=document.createElement("div");r.classList.add("qlbt-operation-menu-item");let n=document.createElement("span");n.classList.add("qlbt-operation-menu-icon"),n.innerHTML=l;let i=document.createElement("span");return i.classList.add("qlbt-operation-menu-text"),i.innerText=t,r.appendChild(n),r.appendChild(i),r.addEventListener("click",o.bind(this),!1),r}}function ee(e,t,l,o){return e.reduce((r,n)=>(l(i(n.getBoundingClientRect(),o),t)&&(r=e.indexOf(n)),r),!1)}let et=r.a.import("delta");function el(e,t,l){let o=e.parentNode,r=Array.from(("TABLE"===o.parentNode.tagName?o.parentNode:o.parentNode.parentNode).querySelectorAll("tr")),n=Array.from(o.querySelectorAll("td")),i=r.indexOf(o)+1,a=n.indexOf(e)+1,d=e.getAttribute("colspan")||!1,c=e.getAttribute("rowspan")||!1,h=e.getAttribute("data-cell-bg")||e.style.backgroundColor;return 0===t.length()?t=new et().insert("\n",{"table-cell-line":{row:i,cell:a,rowspan:c,colspan:d}}):(t=t.reduce((e,t)=>{if(t.insert&&"string"==typeof t.insert){let l=[],o=t.insert,r=0;for(let e=0;e{"\n"===l?e.insert("\n",t.attributes):e.insert(l,s(t.attributes,["table","table-cell-line"]))})}else e.insert(t.insert,t.attributes);return e},new et)).reduce((e,t)=>(t.insert&&"string"==typeof t.insert&&t.insert.startsWith("\n")?e.insert(t.insert,Object.assign({},Object.assign({},{row:i},t.attributes.table),{"table-cell-line":{row:i,cell:a,rowspan:c,colspan:d,"cell-bg":h}},s(t.attributes,["table"]))):t.attributes&&t.attributes.background&&t.attributes.background===function(e){if(/^(rgb|RGB)/.test(e)){for(var t=e.toString().match(/\d+/g),l="#",o=0;o<3;o++)l+=("0"+Number(t[o]).toString(16)).slice(-2);return l}if(/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(e)){var r=e.replace(/#/,"").split("");if(6===r.length);else if(3===r.length){for(var n="#",o=0;o{if(t.insert&&"string"==typeof t.insert){let l=[],o=t.insert,r=0;for(let e=0;el.indexOf("\n")&&l.push("\n"),l.forEach(l=>{"\n"===l?e.insert("\n",{"table-cell-line":{row:i,cell:a,rowspan:c,colspan:d}}):e.insert(l,t.attributes)})}else e.insert(t.insert,t.attributes);return e},new et)).reduce((e,t)=>(t.insert&&"string"==typeof t.insert&&t.insert.startsWith("\n")?e.insert(t.insert,Object.assign({},{"table-cell-line":{row:i,cell:a,rowspan:c,colspan:d}})):e.insert(t.insert,Object.assign({},s(t.attributes,["table","table-cell-line"]))),e),new et)}function er(e,t,l){let o=new et,r=e.querySelector("tr");if(null===r)return o;let n=Array.from(r.querySelectorAll("td")).concat(Array.from(r.querySelectorAll("th"))).reduce((e,t)=>e+=parseInt(t.getAttribute("colspan")||1,10),0),i=e.querySelectorAll("col").length;if(i===n)return t;{for(let e=0;e(t.insert(l.insert,l.attributes),l.attributes&&l.attributes["table-col"]&&(e+=l.insert.length)===i&&(t=t.concat(o)),t),new et)}}let en=r.a.import("core/module"),ei=r.a.import("delta");class es extends en{static register(){r.a.register(q,!0),r.a.register(A,!0),r.a.register(w,!0),r.a.register(x,!0),r.a.register(N,!0),r.a.register(C,!0),r.a.register(E,!0),r.a.register(S,!0),r.a.register(S,!0)}constructor(e,t){super(e,t),this.quill.root.addEventListener("click",l=>{let o=a(l);if(!o||o.length<=0)return;let r=o.filter(e=>e.tagName&&"TABLE"===e.tagName.toUpperCase()&&e.classList.contains("quill-better-table"))[0];if(r){if(this.table===r)return;this.table&&this.hideTableTools(),this.showTableTools(r,e,t)}else this.table&&this.hideTableTools()},!1),this.quill.root.addEventListener("contextmenu",l=>{if(!this.table)return!0;l.preventDefault();let o=a(l);if(!o||o.length<=0)return;let r=o.filter(e=>e.tagName&&"TABLE"===e.tagName.toUpperCase()&&e.classList.contains("quill-better-table"))[0],n=o.filter(e=>e.tagName&&"TR"===e.tagName.toUpperCase()&&e.getAttribute("data-row"))[0],i=o.filter(e=>e.tagName&&"TD"===e.tagName.toUpperCase()&&e.getAttribute("data-row"))[0],s=this.tableSelection.selectedTds.map(e=>e.domNode).includes(i);(this.tableSelection.selectedTds.length<=0||!s)&&this.tableSelection.setSelection(i.getBoundingClientRect(),i.getBoundingClientRect()),this.tableOperationMenu&&(this.tableOperationMenu=this.tableOperationMenu.destroy()),r&&(this.tableOperationMenu=new Z({table:r,row:n,cell:i,left:l.pageX,top:l.pageY},e,t.operationMenu))},!1),e.getModule("keyboard"),e.keyboard.addBinding({key:"Backspace"},{},function(e,t){if(0===e.index||1>=this.quill.getLength())return!0;let[l]=this.quill.getLine(e.index);if(0===t.offset){let[t]=this.quill.getLine(e.index-1);if(null!=t&&"table-cell-line"===t.statics.blotName&&"table-cell-line"!==l.statics.blotName)return!1}return!0});let l=e.keyboard.bindings.Backspace.pop();e.keyboard.bindings.Backspace.splice(0,1,l),e.clipboard.addMatcher("td",el),e.clipboard.addMatcher("th",eo),e.clipboard.addMatcher("table",er),e.clipboard.matchers=e.clipboard.matchers.filter(e=>"tr"!==e[0])}getTable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.quill.getSelection();if(null==e)return[null,null,null,-1];let[t,l]=this.quill.getLine(e.index);if(null==t||t.statics.blotName!==w.blotName)return[null,null,null,-1];let o=t.tableCell(),r=o.row();return[r.table(),r,o,l]}insertTable(e,t){let l=this.quill.getSelection(!0);if(null==l)return;let o=this.quill.getLeaf(l.index)[0],n=new ei().retain(l.index);if(function e(t){return!!t&&!!t.parent&&(t.parent.statics.blotName===x.blotName||e(t.parent))}(o))return void console.warn("Can not insert table into a table cell.");n.insert("\n"),n=Array(t).fill("\n").reduce((e,t)=>(e.insert(t,{"table-col":!0}),e),n),n=Array(e).fill(0).reduce(e=>{let l=T();return Array(t).fill("\n").reduce((e,t)=>(e.insert(t,{"table-cell-line":{row:l,cell:H()}}),e),e)},n),this.quill.updateContents(n,r.a.sources.USER),this.quill.setSelection(l.index+t+1,r.a.sources.API)}showTableTools(e,t,l){this.table=e,this.columnTool=new d(e,t,l),this.tableSelection=new B(e,t,l)}hideTableTools(){this.columnTool&&this.columnTool.destroy(),this.tableSelection&&this.tableSelection.destroy(),this.tableOperationMenu&&this.tableOperationMenu.destroy(),this.columnTool=null,this.tableSelection=null,this.tableOperationMenu=null,this.table=null}}function ea(e){return{key:e?"ArrowUp":"ArrowDown",collapsed:!0,format:["table-cell-line"],handler(t,l){let o=e?"prev":"next";if(null!=l.line[o])return!0;let n=l.line.parent,i=n.parent[o];if(null!=i&&"table-row"===i.statics.blotName){let e=i.children.head,t=parseInt(e.formats().colspan,10),l=n,o=parseInt(l.formats().colspan,10);for(;null!=l.prev;)o+=parseInt((l=l.prev).formats().colspan,10);for(;null!=e.next&&t0&&this.quill.scroll.deleteAt(e.index,e.length);let o=Object.keys(t.format).reduce((e,o)=>(this.quill.scroll.query(o,l.BLOCK)&&!Array.isArray(t.format[o])&&(e[o]=t.format[o]),e),{});this.quill.insertText(e.index,"\n",o["table-cell-line"],r.a.sources.USER),this.quill.setSelection(e.index+1,r.a.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach(e=>{null!=o[e]||Array.isArray(t.format[e])||"link"!==e&&this.quill.format(e,t.format[e],r.a.sources.USER)})}},"table-cell-line up":ea(!0),"table-cell-line down":ea(!1),"down-to-table":{key:"ArrowDown",collapsed:!0,handler(e,t){let l=t.line.next;if(l&&"table-view"===l.statics.blotName){let e=l.table().rows()[0].children.head.children.head;return this.quill.setSelection(e.offset(this.quill.scroll),0,r.a.sources.USER),!1}return!0}},"up-to-table":{key:"ArrowUp",collapsed:!0,handler(e,t){let l=t.line.prev;if(l&&"table-view"===l.statics.blotName){let e=l.table().rows(),t=e[e.length-1].children.head.children.head;return this.quill.setSelection(t.offset(this.quill.scroll),0,r.a.sources.USER),!1}return!0}}},t.default=es},,function(e,t,l){e.exports=l(10)}]).default}}]); \ No newline at end of file diff --git a/.next/static/chunks/a6eb9415-823d2e787cc4ced9.js b/.next/static/chunks/a6eb9415-823d2e787cc4ced9.js new file mode 100644 index 00000000..00e942ef --- /dev/null +++ b/.next/static/chunks/a6eb9415-823d2e787cc4ced9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6018],{35612:(e,t,n)=>{let r,i,s;n.d(t,{$:()=>m,A:()=>ey,B:()=>ti,C:()=>tu,D:()=>g,E:()=>e$,F:()=>t4,G:()=>tS,H:()=>ty,I:()=>tj,J:()=>tw,K:()=>t$,L:()=>t1,M:()=>eL,N:()=>eU,O:()=>ez,P:()=>eQ,Q:()=>e_,R:()=>eP,S:()=>e3,T:()=>e6,U:()=>tM,V:()=>tt,W:()=>tY,X:()=>t3,Y:()=>ts,Z:()=>nw,_:()=>no,a:()=>eq,a0:()=>nt,a1:()=>w,a2:()=>S,a3:()=>tr,a4:()=>tn,a5:()=>E,a6:()=>nS,a7:()=>nM,a8:()=>tk,a9:()=>nT,aA:()=>tC,aE:()=>nI,aF:()=>nx,aG:()=>nR,aH:()=>nN,aI:()=>nO,aO:()=>p,aP:()=>v,aR:()=>y,aV:()=>t_,aY:()=>nU,aa:()=>e8,ab:()=>nC,ac:()=>td,ad:()=>u,ae:()=>b,ar:()=>B,as:()=>U,at:()=>H,au:()=>z,av:()=>j,aw:()=>O,ax:()=>N,b:()=>tg,b$:()=>rS,b0:()=>nF,b2:()=>M,b3:()=>nW,b5:()=>nY,b6:()=>nG,b9:()=>tb,bA:()=>nK,bB:()=>n1,bC:()=>n0,bD:()=>n3,bE:()=>n2,bF:()=>n4,bG:()=>nk,bH:()=>n6,bI:()=>n8,bK:()=>rs,bO:()=>ra,bP:()=>ns,bQ:()=>nu,bR:()=>nc,bS:()=>nf,bT:()=>nh,bU:()=>ng,bV:()=>rl,bW:()=>rc,bX:()=>t9,bZ:()=>ru,b_:()=>rf,ba:()=>nV,bb:()=>nq,bc:()=>nJ,bd:()=>nX,be:()=>n$,bf:()=>nm,bg:()=>en,bh:()=>ee,bi:()=>er,bl:()=>ei,bo:()=>V,bp:()=>G,bs:()=>q,bt:()=>J,bu:()=>eA,bv:()=>ep,bw:()=>eg,bx:()=>em,c:()=>X,ca:()=>rE,cb:()=>rw,cc:()=>rC,cf:()=>rv,ch:()=>rr,cj:()=>rM,ck:()=>rx,cl:()=>rR,cm:()=>rN,cn:()=>rk,co:()=>rH,cp:()=>rB,cq:()=>rz,cr:()=>rF,cs:()=>rW,ct:()=>th,cu:()=>t6,cw:()=>d,cy:()=>rZ,d:()=>L,e:()=>eH,f:()=>eJ,g:()=>R,h:()=>eZ,i:()=>$,j:()=>tX,k:()=>_,l:()=>nA,m:()=>eV,n:()=>eG,o:()=>tA,p:()=>tJ,q:()=>eo,r:()=>nD,s:()=>Y,t:()=>et,u:()=>nb,v:()=>eX,w:()=>nr,x:()=>eB,y:()=>es,z:()=>eb});var o=n(11936),a=n(26503);let l=[],c=new Map;function d(e){l.push(e),c.forEach(t=>{h(t,e)})}function u(e){e.isConnected&&e.getRootNode&&f(e.getRootNode())}function f(e){let t=c.get(e);if(!t||!t.isConnected){if(!(t=e.querySelector("style[data-fullcalendar]"))){(t=document.createElement("style")).setAttribute("data-fullcalendar","");let n=(void 0===r&&(r=function(){let e=document.querySelector('meta[name="csp-nonce"]');if(e&&e.hasAttribute("content"))return e.getAttribute("content");let t=document.querySelector("script[nonce]");return t&&t.nonce||""}()),r);n&&(t.nonce=n);let i=e===document?document.head:e,s=e===document?i.querySelector("script,link[rel=stylesheet],link[as=style],style"):i.firstChild;i.insertBefore(t,s)}c.set(e,t),function(e){for(let t of l)h(e,t)}(t)}}function h(e,t){let{sheet:n}=e,r=n.cssRules.length;t.split("}").forEach((e,t)=>{(e=e.trim())&&n.insertRule(e+"}",r+t)})}"undefined"!=typeof document&&f(document),d(':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}');class g{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:t}=this;t[e]=(t[e]||0)+1,this.clearTimeout()}resume(e="",t){let{pauseDepths:n}=this;e in n&&(t?delete n[e]:(n[e]-=1,n[e]<=0&&delete n[e]),this.tryDrain())}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}function p(e){e.parentNode&&e.parentNode.removeChild(e)}function m(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(function(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}let A=/(top|left|right|bottom|width|height)$/i;function v(e,t){for(let n in t)b(e,n,t[n])}function b(e,t,n){null==n?e.style[t]="":"number"==typeof n&&A.test(t)?e.style[t]=`${n}px`:e.style[t]=n}function y(e){var t,n;return null!=(n=null==(t=e.composedPath)?void 0:t.call(e)[0])?n:e.target}let D=0;function E(){return"fc-dom-"+(D+=1)}function C(e){e.preventDefault()}function w(e,t,n,r){let i=e=>{let t=m(e.target,n);t&&r.call(t,e,t)};return e.addEventListener(t,i),()=>{e.removeEventListener(t,i)}}function S(e,t,n,r){let i;return w(e,"mouseover",t,(e,t)=>{if(t!==i){i=t,n(e,t);let s=e=>{i=null,r(e,t),t.removeEventListener("mouseleave",s)};t.addEventListener("mouseleave",s)}})}let k=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function M(e,t){let n=r=>{t(r),k.forEach(t=>{e.removeEventListener(t,n)})};k.forEach(t=>{e.addEventListener(t,n)})}function T(e){return Object.assign({onClick:e},x(e))}function x(e){return{tabIndex:0,onKeyDown(t){("Enter"===t.key||" "===t.key)&&(e(t),t.preventDefault())}}}let I=0;function R(){return String(I+=1)}function N(){document.body.classList.add("fc-not-allowed")}function O(){document.body.classList.remove("fc-not-allowed")}function B(e){e.style.userSelect="none",e.style.webkitUserSelect="none",e.addEventListener("selectstart",C)}function U(e){e.style.userSelect="",e.style.webkitUserSelect="",e.removeEventListener("selectstart",C)}function H(e){e.addEventListener("contextmenu",C)}function z(e){e.removeEventListener("contextmenu",C)}function Q(e,t){let n=String(e);return"000".substr(0,t-n.length)+n}function _(e,t,n){return"function"==typeof e?e(...t):"string"==typeof e?t.reduce((e,t,n)=>e.replace("$"+n,t||""),e):n}function j(e,t){return e-t}let F=["years","months","days","milliseconds"],P=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function L(e,t){return"string"==typeof e?function(e){let t=P.exec(e);if(t){let e=t[1]?-1:1;return{years:0,months:0,days:e*(t[2]?parseInt(t[2],10):0),milliseconds:e*((t[3]?parseInt(t[3],10):0)*36e5+(t[4]?parseInt(t[4],10):0)*6e4+(t[5]?parseInt(t[5],10):0)*1e3+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?W(e):"number"==typeof e?W({[t||"milliseconds"]:e}):null}function W(e){let t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*6e4+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function G(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function Y(e,t){return{years:e.years-t.years,months:e.months-t.months,days:e.days-t.days,milliseconds:e.milliseconds-t.milliseconds}}function V(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}function Z(e){return q(e)/864e5}function q(e){return e.years*(365*864e5)+e.months*(30*864e5)+864e5*e.days+e.milliseconds}function J(e,t){let n=null;for(let r=0;r10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",ev(t,!0)))),r}function ep(e){return e.toISOString().replace(/T.*$/,"")}function em(e){return e.toISOString().match(/^\d{4}-\d{2}/)[0]}function eA(e){return Q(e.getUTCHours(),2)+":"+Q(e.getUTCMinutes(),2)+":"+Q(e.getUTCSeconds(),2)}function ev(e,t=!1){let n=e<0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),s=Math.round(r%60);return t?`${n+Q(i,2)}:${Q(s,2)}`:`GMT${n}${i}${s?`:${Q(s,2)}`:""}`}function eb(e,t,n){let r,i;return function(...s){if(r){if(!$(r,s)){n&&n(i);let r=e.apply(this,s);t&&t(r,i)||(i=r)}}else i=e.apply(this,s);return r=s,i}}function ey(e,t,n){let r,i;return s=>{if(r){if(!e$(r,s)){n&&n(i);let r=e.call(this,s);t&&t(r,i)||(i=r)}}else i=e.call(this,s);return r=s,i}}let eD={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},eE={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},eC=/\s*([ap])\.?m\.?/i,ew=/,/g,eS=/\s+/g,ek=/\u200e/g,eM=/UTC|GMT/;class eT{constructor(e){let t={},n={},r=0;for(let i in e)i in eD?(n[i]=e[i],r=Math.max(eD[i],r)):(t[i]=e[i],i in eE&&(r=Math.max(eE[i],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=eb(ex)}format(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)}formatRange(e,t,n,r){var i,s,o;let{standardDateProps:a,extendedSettings:l}=this,c=(i=e.marker,s=t.marker,(o=n.calendarSystem).getMarkerYear(i)!==o.getMarkerYear(s)?5:o.getMarkerMonth(i)!==o.getMarkerMonth(s)?4:o.getMarkerDay(i)!==o.getMarkerDay(s)?2:+(eh(i)!==eh(s)));if(!c)return this.format(e,n);let d=c;d>1&&("numeric"===a.year||"2-digit"===a.year)&&("numeric"===a.month||"2-digit"===a.month)&&("numeric"===a.day||"2-digit"===a.day)&&(d=1);let u=this.format(e,n),f=this.format(t,n);if(u===f)return u;let h=ex(function(e,t){let n={};for(let r in e)r in eE&&!(eE[r]<=t)||(n[r]=e[r]);return n}(a,d),l,n),g=h(e),p=h(t),m=function(e,t,n,r){let i=0;for(;iev(e.timeZoneOffset):0===r&&t.week?e=>{var r,i,s,o,a;let l;return r=n.computeWeekNumber(e.marker),i=n.weekText,s=n.weekTextLong,o=n.locale,a=t.week,l=[],"long"===a?l.push(s):("short"===a||"narrow"===a)&&l.push(i),("long"===a||"short"===a)&&l.push(" "),l.push(o.simpleNumberFormat.format(r)),"rtl"===o.options.direction&&l.reverse(),l.join("")}:function(e,t,n){var r,i;let s;e=Object.assign({},e),t=Object.assign({},t),r=e,i=t,r.timeZoneName&&(r.hour||(r.hour="2-digit"),r.minute||(r.minute="2-digit")),"long"===r.timeZoneName&&(r.timeZoneName="short"),i.omitZeroMinute&&(r.second||r.millisecond)&&delete i.omitZeroMinute,e.timeZone="UTC";let o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){let t=Object.assign({},e);delete t.minute,s=new Intl.DateTimeFormat(n.locale.codes,t)}return r=>{var i,a,l,c,d,u,f;let h,g,{marker:p}=r;return i=(s&&!p.getUTCMinutes()?s:o).format(p),a=r,l=e,c=t,d=n,i=i.replace(ek,""),"short"===l.timeZoneName&&(u=i,f="UTC"===d.timeZone||null==a.timeZoneOffset?"UTC":ev(a.timeZoneOffset),h=!1,u=u.replace(eM,()=>(h=!0,f)),h||(u+=` ${f}`),i=u),c.omitCommas&&(i=i.replace(ew,"").trim()),c.omitZeroMinute&&(i=i.replace(":00","")),!1===c.meridiem?i=i.replace(eC,"").trim():"narrow"===c.meridiem?i=i.replace(eC,(e,t)=>t.toLocaleLowerCase()):"short"===c.meridiem?i=i.replace(eC,(e,t)=>`${t.toLocaleLowerCase()}m`):"lowercase"===c.meridiem&&(i=i.replace(eC,e=>e.toLocaleLowerCase())),i=(i=i.replace(eS," ")).trim()}}(e,t,n)}function eI(e,t){let n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function eR(e,t,n,r){let i=eI(e,n.calendarSystem);return{date:i,start:i,end:t?eI(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}class eN{constructor(e){this.cmdStr=e}format(e,t,n){return t.cmdFormatter(this.cmdStr,eR(e,null,t,n))}formatRange(e,t,n,r){return n.cmdFormatter(this.cmdStr,eR(e,t,n,r))}}class eO{constructor(e){this.func=e}format(e,t,n){return this.func(eR(e,null,t,n))}formatRange(e,t,n,r){return this.func(eR(e,t,n,r))}}function eB(e){return"object"==typeof e&&e?new eT(e):"string"==typeof e?new eN(e):"function"==typeof e?new eO(e):null}let eU={navLinkDayClick:eG,navLinkWeekClick:eG,duration:L,bootstrapFontAwesome:eG,buttonIcons:eG,customButtons:eG,defaultAllDayEventDuration:L,defaultTimedEventDuration:L,nextDayThreshold:L,scrollTime:L,scrollTimeReset:Boolean,slotMinTime:L,slotMaxTime:L,dayPopoverFormat:eB,slotDuration:L,snapDuration:L,headerToolbar:eG,footerToolbar:eG,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:eB,dayHeaderClassNames:eG,dayHeaderContent:eG,dayHeaderDidMount:eG,dayHeaderWillUnmount:eG,dayCellClassNames:eG,dayCellContent:eG,dayCellDidMount:eG,dayCellWillUnmount:eG,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:eG,weekNumbers:Boolean,weekNumberClassNames:eG,weekNumberContent:eG,weekNumberDidMount:eG,weekNumberWillUnmount:eG,editable:Boolean,viewClassNames:eG,viewDidMount:eG,viewWillUnmount:eG,nowIndicator:Boolean,nowIndicatorClassNames:eG,nowIndicatorContent:eG,nowIndicatorDidMount:eG,nowIndicatorWillUnmount:eG,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:eG,locale:eG,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:eG,eventOrder:function(e){let t,n,r=[],i=[];for("string"==typeof e?i=e.split(/\s*,\s*/):"function"==typeof e?i=[e]:Array.isArray(e)&&(i=e),t=0;t=0;i-=1){let s=e[i][r];if("object"==typeof s&&s)t.unshift(s);else if(void 0!==s){n[r]=s;break}}t.length&&(n[r]=eV(t))}}for(let t=e.length-1;t>=0;t-=1){let r=e[t];for(let e in r)e in n||(n[e]=r[e])}return n}function eZ(e,t){let n={};for(let r in e)t(e[r],r)&&(n[r]=e[r]);return n}function eq(e,t){let n={};for(let r in e)n[r]=t(e[r],r);return n}function eJ(e){let t={};for(let n of e)t[n]=!0;return t}function eX(e){let t=[];for(let n in e)t.push(e[n]);return t}function e$(e,t){if(e===t)return!0;for(let n in e)if(eY.call(e,n)&&!(n in t))return!1;for(let n in t)if(eY.call(t,n)&&e[n]!==t[n])return!1;return!0}let eK=/^on[A-Z]/;function e0(e,t){let n=[];for(let r in e)!eY.call(e,r)||r in t||n.push(r);for(let r in t)eY.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function e1(e,t,n={}){if(e===t)return!0;for(let o in t){var r,i,s;if(!(o in e&&(r=e[o],i=t[o],s=n[o],r===i||!0===s||s&&s(r,i))))return!1}for(let n in e)if(!(n in t))return!1;return!0}let e2={};class e4{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return eu(e)}markerToArray(e){return ed(e)}}e2.gregory=e4;let e5=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;class e3{constructor(e){let t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=!!(!n||this.namedTimeZoneImpl),this.calendarSystem=new e2[e.calendarSystem],this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){let t=this.createMarkerMeta(e);return null===t?null:t.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker(new Date().valueOf()):eu(el(new Date))}createMarkerMeta(e){if("string"==typeof e)return this.parse(e);let t=null;return("number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?isNaN(e=e.valueOf())||(t=this.timestampToMarker(e)):Array.isArray(e)&&(t=eu(e)),null!==t&&ef(t))?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null}parse(e){let t=function(e){let t=e5.exec(e);if(t){let e=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number(`0.${t[12]}`):0));if(ef(e)){let n=null;return t[13]&&(n=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:e,isTimeUnspecified:!t[6],timeZoneOffset:n}}}return null}(e);if(null===t)return null;let{marker:n}=t,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}getDay(e){return this.calendarSystem.getMarkerDay(e)}add(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)}subtract(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)}addYears(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)}addMonths(e,t){let n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)}diffWholeYears(e,t){let{calendarSystem:n}=this;return eh(e)===eh(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null}diffWholeMonths(e,t){let{calendarSystem:n}=this;return eh(e)===eh(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+(n.getMarkerYear(t)-n.getMarkerYear(e))*12:null}greatestWholeUnit(e,t){let n,r=this.diffWholeYears(e,t);return null!==r?{unit:"year",value:r}:null!==(r=this.diffWholeMonths(e,t))?{unit:"month",value:r}:null!==(r=null!==(n=es(e,t))&&n%7==0?n/7:null)?{unit:"week",value:r}:null!==(r=es(e,t))?{unit:"day",value:r}:(r=(t.valueOf()-e.valueOf())/36e5)%1==0?{unit:"hour",value:r}:(r=(t.valueOf()-e.valueOf())/6e4)%1==0?{unit:"minute",value:r}:(r=(t.valueOf()-e.valueOf())/1e3)%1==0?{unit:"second",value:r}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}}countDurationsBetween(e,t,n){let r;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/(Z(n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/(Z(n)/30):n.days&&null!==(r=es(e,t))?r/Z(n):(t.valueOf()-e.valueOf())/q(n)}startOf(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?eo(e):"hour"===t?eu([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()]):"minute"===t?eu([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()]):"second"===t?eu([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()]):null}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){let r=e.getUTCFullYear(),i=ea(e,r,t,n);if(i<1)return ea(e,r-1,t,n);let s=ea(e,r+1,t,n);return s>=1?Math.min(i,s):i}(e,this.weekDow,this.weekDoy)}format(e,t,n={}){return t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,t,n,r={}){return r.isEndExclusive&&(t=en(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)}formatIso(e,t={}){let n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),eg(e,n,t.omitTime)}timestampToMarker(e){return"local"===this.timeZone?eu(el(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?eu(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)}offsetForMarker(e){return"local"===this.timeZone?-ec(ed(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(ed(e)):null}toDate(e,t){return"local"===this.timeZone?ec(ed(e)):new Date("UTC"===this.timeZone?e.valueOf():this.namedTimeZoneImpl?e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(ed(e))*60:e.valueOf()-(t||0))}}class e6{constructor(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}setIconOverride(e){let t,n;if("object"==typeof e&&e){for(n in t=Object.assign({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})}applyIconOverridePrefix(e){let t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e}getClass(e){return this.classes[e]||""}getIconClass(e,t){let n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?`${this.baseIconClass} ${n}`:""}getCustomButtonIconClass(e){let t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?`${this.baseIconClass} ${this.applyIconOverridePrefix(t)}`:""}}function e8(e){e();let t=o.fF.debounceRendering,n=[];for(o.fF.debounceRendering=function(e){n.push(e)},o.XX(o.n(e7,{}),document.createElement("div"));n.length;)n.shift()();o.fF.debounceRendering=t}e6.prototype.classes={},e6.prototype.iconClasses={},e6.prototype.baseIconClass="",e6.prototype.iconOverridePrefix="";class e7 extends o.uA{render(){return o.n("div",{})}componentDidMount(){this.setState({})}}function e9(e){let t=o.q6(e),n=t.Provider;return t.Provider=function(){let e=!this.getChildContext,t=n.apply(this,arguments);if(e){let e=[];this.shouldComponentUpdate=t=>{this.props.value!==t.value&&e.forEach(e=>{e.context=t.value,e.forceUpdate()})},this.sub=t=>{e.push(t);let n=t.componentWillUnmount;t.componentWillUnmount=()=>{e.splice(e.indexOf(t),1),n&&n.call(t)}}}return t},t}class te{constructor(e,t,n,r){this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=e=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},e),this.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}let tt=e9({});function tn(e,t,n,r,i,s,o,a,l,c,d,u,f){return{dateEnv:i,options:n,pluginHooks:o,emitter:c,dispatch:a,getCurrentData:l,calendarApi:d,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:s,isRtl:"rtl"===n.direction,addResizeHandler(e){c.on("_resize",e)},removeResizeHandler(e){c.off("_resize",e)},createScrollResponder:e=>new te(e,c,L(n.scrollTime),n.scrollTimeReset),registerInteractiveComponent:u,unregisterInteractiveComponent:f}}class tr extends o.uA{shouldComponentUpdate(e,t){return this.debug&&console.log(e0(e,this.props),e0(t,this.state)),!e1(this.props,e,this.propEquality)||!e1(this.state,t,this.stateEquality)}safeSetState(e){e1(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}tr.addPropsEquality=function(e){let t=Object.create(this.prototype.propEquality);Object.assign(t,e),this.prototype.propEquality=t},tr.addStateEquality=function(e){let t=Object.create(this.prototype.stateEquality);Object.assign(t,e),this.prototype.stateEquality=t},tr.contextType=tt,tr.prototype.propEquality={},tr.prototype.stateEquality={};class ti extends tr{}function ts(e,t){"function"==typeof e?e(t):e&&(e.current=t)}ti.contextType=tt;class to extends ti{constructor(){super(...arguments),this.id=R(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{let{options:t}=this.context,{generatorName:n}=this.props;t.customRenderingReplaces&&ta(n,t)||this.updateElRef(e)},this.updateElRef=e=>{this.props.elRef&&ts(this.props.elRef,e)}}render(){let e,t,{props:n,context:r}=this,{options:i}=r,{customGenerator:s,defaultGenerator:a,renderProps:l}=n,c=tl(n,[],this.handleEl),d=!1,u=[];if(null!=s){let n="function"==typeof s?s(l,o.n):s;if(!0===n)d=!0;else{let r=n&&"object"==typeof n;r&&"html"in n?c.dangerouslySetInnerHTML={__html:n.html}:r&&"domNodes"in n?u=Array.prototype.slice.call(n.domNodes):(r?(0,o.zO)(n):"function"!=typeof n)?e=n:t=n}}else d=!ta(n.generatorName,i);return d&&a&&(e=a(l)),this.queuedDomNodes=u,this.currentGeneratorMeta=t,(0,o.n)(n.elTag,c,e)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var t;let{props:n,context:r}=this,{handleCustomRendering:i,customRenderingMetaMap:s}=r.options;if(i){let r=null!=(t=this.currentGeneratorMeta)?t:null==s?void 0:s[n.generatorName];r&&i(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:r},n),{elClasses:(n.elClasses||[]).filter(tc)}))}}applyQueueudDomNodes(){let{queuedDomNodes:e,currentDomNodes:t}=this,n=this.base;if(!$(e,t)){for(let r of(t.forEach(p),e))n.appendChild(r);this.currentDomNodes=e}}}function ta(e,t){var n;return!!(t.handleCustomRendering&&e&&(null==(n=t.customRenderingMetaMap)?void 0:n[e]))}function tl(e,t,n){let r=Object.assign(Object.assign({},e.elAttrs),{ref:n});return(e.elClasses||t)&&(r.className=(e.elClasses||[]).concat(t||[]).concat(r.className||[]).filter(Boolean).join(" ")),e.elStyle&&(r.style=e.elStyle),r}function tc(e){return!!e}to.addPropsEquality({elClasses:$,elStyle:e$,elAttrs:function(e,t){for(let n of e0(e,t))if(!eK.test(n))return!1;return!0},renderProps:e$});let td=e9(0);class tu extends o.uA{constructor(){super(...arguments),this.InnerContent=tf.bind(void 0,this),this.handleEl=e=>{this.el=e,this.props.elRef&&(ts(this.props.elRef,e),e&&this.didMountMisfire&&this.componentDidMount())}}render(){let{props:e}=this,t=function(e,t){let n="function"==typeof e?e(t):e||[];return"string"==typeof n?[n]:n}(e.classNameGenerator,e.renderProps);if(!e.children)return(0,o.n)(to,Object.assign(Object.assign({},e),{elRef:this.handleEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(t),renderId:this.context}));{let n=tl(e,t,this.handleEl),r=e.children(this.InnerContent,e.renderProps,n);return e.elTag?(0,o.n)(e.elTag,n,r):r}}componentDidMount(){var e,t;this.el?null==(t=(e=this.props).didMount)||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el})):this.didMountMisfire=!0}componentWillUnmount(){var e,t;null==(t=(e=this.props).willUnmount)||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}}function tf(e,t){let n=e.props;return(0,o.n)(to,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,customGenerator:n.customGenerator,defaultGenerator:n.defaultGenerator,renderId:e.context},t))}tu.contextType=td;class th extends ti{render(){let{props:e,context:t}=this,{options:n}=t,r={view:t.viewApi};return(0,o.n)(tu,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[...tg(e.viewSpec),...e.elClasses||[]],renderProps:r,classNameGenerator:n.viewClassNames,generatorName:void 0,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount}),()=>e.children)}}function tg(e){return[`fc-${e.type}-view`,"fc-view"]}function tp(e,t){let n,r,i=[],{start:s}=t;for(e.sort(tm),n=0;ns&&i.push({start:s,end:r.start}),r.end>s&&(s=r.end);return st.start)&&(null===e.start||null===t.end||e.start=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function ty(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t=q(t)&&(r=et(r,1))}return e.start&&(n=eo(e.start),r&&r<=n&&(r=et(n,1))),{start:n,end:r}}function tC(e,t,n,r){let i,s;return"year"===r?L(n.diffWholeYears(e,t),"year"):"month"===r?L(n.diffWholeMonths(e,t),"month"):{years:0,months:0,days:Math.round(ei(i=eo(e),s=eo(t))),milliseconds:t.valueOf()-s.valueOf()-(e.valueOf()-i.valueOf())}}function tw(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}function tS(e,t){let n=e.initialDate;return null!=n?t.createMarker(n):tk(e.now,t)}function tk(e,t){return("function"==typeof e&&(e=e()),null==e)?t.createNowMarker():t.createMarker(e)}class tM{constructor(e){this.props=e,this.nowDate=tk(e.nowInput,e.dateEnv),this.initHiddenDays()}buildPrev(e,t,n){let{dateEnv:r}=this.props,i=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,-1,n)}buildNext(e,t,n){let{dateEnv:r}=this.props,i=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,1,n)}build(e,t,n=!0){var r,i;let s,o,a,l,c,d,{props:u}=this;return s=this.buildValidRange(),s=this.trimHiddenDays(s),n&&(r=e,e=null!=(i=s).start&&r=i.end?new Date(i.end.valueOf()-1):r),o=this.buildCurrentRangeInfo(e,t),a=/^(year|month|week|day)$/.test(o.unit),l=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,a),c=l=this.trimHiddenDays(l),u.showNonCurrentDates||(c=tA(c,o.range)),c=tA(c=this.adjustActiveRange(c),s),d=tv(o.range,s),ty(l,e)||(e=l.start),{currentDate:e,validRange:s,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:a,activeRange:c,renderRange:l,slotMinTime:u.slotMinTime,slotMaxTime:u.slotMaxTime,isValid:d,dateIncrement:this.buildDateIncrement(o.duration)}}buildValidRange(){let e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}}buildCurrentRangeInfo(e,t){let n,{props:r}=this,i=null,s=null,o=null;return r.duration?(i=r.duration,s=r.durationUnit,o=this.buildRangeFromDuration(e,t,i,s)):(n=this.props.dayCount)?(s="day",o=this.buildRangeFromDayCount(e,t,n)):(o=this.buildCustomVisibleRange(e))?s=r.dateEnv.greatestWholeUnit(o.start,o.end).unit:(s=X(i=this.getFallbackDuration()).unit,o=this.buildRangeFromDuration(e,t,i,s)),{duration:i,unit:s,range:o}}getFallbackDuration(){return L({day:1})}adjustActiveRange(e){let{dateEnv:t,usesMinMaxTime:n,slotMinTime:r,slotMaxTime:i}=this.props,{start:s,end:o}=e;return n&&(0>Z(r)&&(s=eo(s),s=t.add(s,r)),Z(i)>1&&(o=et(o=eo(o),-1),o=t.add(o,i))),{start:s,end:o}}buildRangeFromDuration(e,t,n,r){let i,s,o,{dateEnv:a,dateAlignment:l}=this.props;if(!l){let{dateIncrement:e}=this.props;l=e&&q(e)=Z(n)&&this.isHiddenDay(i)&&(i=eo(i=this.skipHiddenDays(i,t))),c(),this.trimHiddenDays(o)||(e=this.skipHiddenDays(e,t),c()),o}buildRangeFromDayCount(e,t,n){let r,{dateEnv:i,dateAlignment:s}=this.props,o=0,a=e;s&&(a=i.startOf(a,s)),a=eo(a),r=a=this.skipHiddenDays(a,t);do r=et(r,1),this.isHiddenDay(r)||(o+=1);while(o!o[e.defId].recurringDef),o){let n=o[e];if(n.recurringDef){let{duration:o}=n.recurringDef;for(let l of(o||(o=n.allDay?s.defaultAllDayEventDuration:s.defaultTimedEventDuration),function(e,t,n,r,i){let s=i[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(s=s.map(eo)),s}(n,o,t,r,i.recurringTypes))){let t=tT(e,{start:l,end:r.add(l,o)});a[t.instanceId]=t}}}return{defs:o,instances:a}}let tI={id:String,groupId:String,title:String,url:String,interactive:Boolean},tR={start:eG,end:eG,date:eG,allDay:Boolean},tN=Object.assign(Object.assign(Object.assign({},tI),tR),{extendedProps:eG});function tO(e,t,n,r,i=tU(n),s,o){var a,l;let c,{refined:d,extra:u}=tB(e,n,i),f=(a=t,l=n,c=null,a&&(c=a.defaultAllDay),null==c&&(c=l.options.defaultAllDay),c),h=function(e,t,n,r){for(let i=0;i{var n,r;return n=t,r=e,!!(n.groupId&&n.groupId===r.groupId)});return r.defs[t.defId]=t,r.instances[n.instanceId]=n,r}return tj()}function tj(){return{defs:{},instances:{}}}function tF(e,t){return{defs:Object.assign(Object.assign({},e.defs),t.defs),instances:Object.assign(Object.assign({},e.instances),t.instances)}}function tP(e,t){let n=eZ(e.defs,t),r=eZ(e.instances,e=>n[e.defId]);return{defs:n,instances:r}}function tL(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}let tW={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:eG,overlap:eG,allow:eG,className:tL,classNames:tL,color:String,backgroundColor:String,borderColor:String,textColor:String},tG={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function tY(e,t){var n;let r=(n=e.constraint,Array.isArray(n)?tz(n,null,t,!0):"object"==typeof n&&n?tz([n],null,t,!0):null!=n?String(n):null);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=r?[r]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function tV(e){return e.reduce(tZ,tG)}function tZ(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}let tq={id:String,defaultAllDay:Boolean,url:String,format:String,events:eG,eventDataTransform:eG,success:eG,failure:eG};function tJ(e,t,n=tX(t)){let r;if("string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){let{refined:i,extra:s}=eW(r,n),o=function(e,t){let n=t.pluginHooks.eventSourceDefs;for(let t=n.length-1;t>=0;t-=1){let r=n[t].parseMeta(e);if(r)return{sourceDefId:t,meta:r}}return null}(i,t);if(o)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:R(),sourceDefId:o.sourceDefId,meta:o.meta,ui:tY(i,t),extendedProps:s}}return null}function tX(e){return Object.assign(Object.assign(Object.assign({},tW),tq),e.pluginHooks.eventSourceRefiners)}function t$(e,t,n,r,i){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,i,s){if(t&&n===t.latestFetchId){let n=tz(tK(i,t,s),t,s);return r&&(n=tx(n,r,s)),tF(t2(e,t.sourceId),n)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,i);case"RESET_RAW_EVENTS":return function(e,t,n,r,i){let{defIdMap:s,instanceIdMap:o}=function(e){let{defs:t,instances:n}=e,r={},i={};for(let e in t){let{publicId:n}=t[e];n&&(r[n]=e)}for(let e in n){let{publicId:r}=t[n[e].defId];r&&(i[r]=e)}return{defIdMap:r,instanceIdMap:i}}(e);return tx(tz(tK(n,t,i),t,i,!1,s,o),r,i)}(e,n[t.sourceId],t.rawEvents,r.activeRange,i);case"ADD_EVENTS":var s,o,a,l;return s=e,o=t.eventStore,a=r?r.activeRange:null,l=i,a&&(o=tx(o,a,l)),tF(s,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return tF(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":if(r)return tx(e,r.activeRange,i);return e;case"REMOVE_EVENTS":return function(e,t){let{defs:n,instances:r}=e,i={},s={};for(let e in n)t.defs[e]||(i[e]=n[e]);for(let e in r)!t.instances[e]&&i[r[e].defId]&&(s[e]=r[e]);return{defs:i,instances:s}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return t2(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return tP(e,e=>!e.sourceId);case"REMOVE_ALL_EVENTS":return tj();default:return e}}function tK(e,t,n){let r=n.options.eventDataTransform,i=t?t.eventDataTransform:null;return i&&(e=t0(e,i)),r&&(e=t0(e,r)),e}function t0(e,t){let n;if(t)for(let r of(n=[],e)){let e=t(r);e?n.push(e):null==e&&n.push(r)}else n=e;return n}function t1(e,t,n){let{defs:r}=e,i=eq(e.instances,e=>r[e.defId].allDay?e:Object.assign(Object.assign({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo}));return{defs:r,instances:i}}function t2(e,t){return tP(e,e=>e.sourceId!==t)}class t4{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,t){var n,r,i;n=this.handlers,r=e,i=t,(n[r]||(n[r]=[])).push(i)}off(e,t){var n,r,i;n=this.handlers,r=e,(i=t)?n[r]&&(n[r]=n[r].filter(e=>e!==i)):delete n[r]}trigger(e,...t){let n=this.handlers[e]||[];for(let r of[].concat(this.options&&this.options[e]||[],n))r.apply(this.thisContext,t)}hasHandlers(e){return!!(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}let t5={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function t3(e,t){var n;let r;return tz((!0===(n=e)?[{}]:Array.isArray(n)?n.filter(e=>e.daysOfWeek):"object"==typeof n&&n?[n]:[]).map(e=>Object.assign(Object.assign({},t5),e)),null,t)}function t6(e,t,n){n.emitter.trigger("select",Object.assign(Object.assign({},t8(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function t8(e,t){var n,r;let i={};for(let n of t.pluginHooks.dateSpanTransforms)Object.assign(i,n(e,t));return Object.assign(i,(n=e,r=t.dateEnv,Object.assign(Object.assign({},nv(n.range,r,n.allDay)),{allDay:n.allDay}))),i}function t7(e,t,n){let{dateEnv:r,options:i}=n,s=t;return e?(s=eo(s),s=r.add(s,i.defaultAllDayEventDuration)):s=r.add(s,i.defaultTimedEventDuration),s}function t9(e,t,n,r){let i=na(e.defs,t),s=tj();for(let t in e.defs){let o=e.defs[t];s.defs[t]=function(e,t,n,r){let i=n.standardProps||{};null==i.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(i.hasEnd=!0);let s=Object.assign(Object.assign(Object.assign({},e),i),{ui:Object.assign(Object.assign({},e.ui),i.ui)});for(let e of(n.extendedProps&&(s.extendedProps=Object.assign(Object.assign({},s.extendedProps),n.extendedProps)),r.pluginHooks.eventDefMutationAppliers))e(s,n,r);return!s.hasEnd&&r.options.forceEventDuration&&(s.hasEnd=!0),s}(o,i[t],n,r)}for(let t in e.instances){let o=e.instances[t],a=s.defs[o.defId];s.instances[t]=function(e,t,n,r,i){let{dateEnv:s}=i,o=r.standardProps&&!0===r.standardProps.allDay,a=r.standardProps&&!1===r.standardProps.hasEnd,l=Object.assign({},e);return o&&(l.range=tD(l.range)),r.datesDelta&&n.startEditable&&(l.range={start:s.add(l.range.start,r.datesDelta),end:s.add(l.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(l.range={start:s.add(l.range.start,r.startDelta),end:l.range.end}),r.endDelta&&n.durationEditable&&(l.range={start:l.range.start,end:s.add(l.range.end,r.endDelta)}),a&&(l.range={start:l.range.start,end:t7(t.allDay,l.range.start,i)}),t.allDay&&(l.range={start:eo(l.range.start),end:eo(l.range.end)}),l.range.endnl(e,t))}function nl(e,t){let n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),tV(n)}function nc(e,t){let n=e.map(nd);return n.sort((e,n)=>(function(e,t,n){let r,i;for(r=0;re._seg)}function nd(e){let{eventRange:t}=e,n=t.def,r=t.instance?t.instance.range:t.range,i=r.start?r.start.valueOf():0,s=r.end?r.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},n.extendedProps),n),{id:n.publicId,start:i,end:s,duration:s-i,allDay:Number(n.allDay),_seg:e})}function nu(e,t,n,r,i,s,o){let{dateEnv:a,options:l}=n,{displayEventTime:c,displayEventEnd:d}=l,u=e.eventRange.def,f=e.eventRange.instance;null==c&&(c=!1!==r),null==d&&(d=!1!==i);let h=f.range.start,g=f.range.end,p=s||e.start||e.eventRange.range.start,m=o||e.end||e.eventRange.range.end,A=eo(h).valueOf()===eo(p).valueOf(),v=eo(en(g,-1)).valueOf()===eo(en(m,-1)).valueOf();return c&&!u.allDay&&(A||v)?(p=A?h:p,m=v?g:m,d&&u.hasEnd)?a.formatRange(p,m,t,{forcedStartTzo:s?null:f.forcedStartTzo,forcedEndTzo:o?null:f.forcedEndTzo}):a.format(p,t,{forcedTzo:s?null:f.forcedStartTzo}):""}function nf(e,t,n){let r=e.eventRange.range;return{isPast:r.end<=(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&ty(t,r.start)}}function nh(e){return e.instance?e.instance.instanceId:`${e.def.defId}:${e.range.start.toISOString()}`}function ng(e,t){let{def:n,instance:r}=e.eventRange,{url:i}=n;if(i)return{href:i};let{emitter:s,options:o}=t,{eventInteractive:a}=o;return(null==a&&null==(a=n.interactive)&&(a=!!s.hasHandlers("eventClick")),a)?x(e=>{s.trigger("eventClick",{el:e.target,event:new nt(t,n,r),jsEvent:e,view:t.viewApi})}):{}}let np={start:eG,end:eG,allDay:Boolean};function nm(e,t){var n,r;return n=e.range,r=t.range,(null===n.start?null:n.start.valueOf())===(null===r.start?null:r.start.valueOf())&&(null===n.end?null:n.end.valueOf())===(null===r.end?null:r.end.valueOf())&&e.allDay===t.allDay&&function(e,t){for(let n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}(e,t)}function nA(e,t,n){return Object.assign(Object.assign({},nv(e,t,n)),{timeZone:t.timeZone})}function nv(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function nb(e,t,n){let r=!1,i=function(e){r||(r=!0,t(e))},s=function(e){r||(r=!0,n(e))},o=e(i,s);o&&"function"==typeof o.then&&o.then(i,s)}class ny extends Error{constructor(e,t){super(e),this.response=t}}function nD(e,t,n){let r={method:e=e.toUpperCase()};return"GET"===e?t+=(-1===t.indexOf("?")?"?":"&")+new URLSearchParams(n):(r.body=new URLSearchParams(n),r.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(t,r).then(e=>{if(e.ok)return e.json().then(t=>[t,e],()=>{throw new ny("Failure parsing JSON",e)});throw new ny("Request failed",e)})}function nE(){return null==i&&(i=function(){if("undefined"==typeof document)return!0;let e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="
    ",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);let t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),i}class nC extends ti{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{e8(()=>{this.setState({forPrint:!0})})},this.handleAfterPrint=()=>{e8(()=>{this.setState({forPrint:!1})})}}render(){let{props:e}=this,{options:t}=e,{forPrint:n}=this.state,r=n||"auto"===t.height||"auto"===t.contentHeight,i=r||null==t.height?"":t.height,s=["fc",n?"fc-media-print":"fc-media-screen",`fc-direction-${t.direction}`,e.theme.getClass("root")];return nE()||s.push("fc-liquid-hack"),e.children(s,i,r,n)}componentDidMount(){let{emitter:e}=this.props;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:e}=this.props;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}}class nw{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}function nS(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}function nk(e){return{[e.component.uid]:e}}let nM={};class nT{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,t){let{currentDataManager:n}=this;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn(`Unknown listener name '${e}'`)}off(e,t){this.currentDataManager.emitter.off(e,t)}trigger(e,...t){this.currentDataManager.emitter.trigger(e,...t)}changeView(e,t){this.batchRendering(()=>{if(this.unselect(),t)if(t.start&&t.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{let{dateEnv:n}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:n.createMarker(t)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})})}zoomTo(e,t){let n,r=this.getCurrentData();t=t||"day",n=r.viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let t,n,{viewSpecs:r,toolbarConfig:i}=this.getCurrentData(),s=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]);for(let e in r)s.push(e);for(t=0;t{this.dispatch({type:"REMOVE_EVENTS",eventStore:nn(e)})}})}getEventById(e){let t=this.getCurrentData(),{defs:n,instances:r}=t.eventStore;for(let i in e=String(e),n){let s=n[i];if(s.publicId===e){if(s.recurringDef)return new nt(t,s,null);for(let e in r){let n=r[e];if(n.defId===s.defId)return new nt(t,s,n)}}}return null}getEvents(){let e=this.getCurrentData();return nr(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let e=this.getCurrentData(),t=e.eventSources,n=[];for(let r in t)n.push(new ne(e,t[r]));return n}getEventSourceById(e){let t=this.getCurrentData(),n=t.eventSources;for(let r in e=String(e),n)if(n[r].publicId===e)return new ne(t,n[r]);return null}addEventSource(e){let t=this.getCurrentData();if(e instanceof ne)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let n=tJ(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new ne(t,n)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let t=L(e);t&&this.trigger("_scrollRequest",{time:t})}}function nx(e,t){return e.left>=t.left&&e.left=t.top&&e.topthis.eventUiBuilders[t]||eb(nH)),t){let c=t[n],d=s[n]||nB,u=this.eventUiBuilders[n];l[n]={businessHours:c.businessHours||e.businessHours,dateSelection:r[n]||null,eventStore:d,eventUiBases:u(e.eventUiBases[""],c.ui,i[n]),eventSelection:d.instances[e.eventSelection]?e.eventSelection:"",eventDrag:o[n]||null,eventResize:a[n]||null}}return l}_splitDateSpan(e){let t={};if(e)for(let n of this.getKeysForDateSpan(e))t[n]=e;return t}_getKeysForEventDefs(e){return eq(e.defs,e=>this.getKeysForEventDef(e))}_splitEventStore(e,t){let{defs:n,instances:r}=e,i={};for(let e in n)for(let r of t[e])i[r]||(i[r]=tj()),i[r].defs[e]=n[e];for(let e in r){let n=r[e];for(let r of t[n.defId])i[r]&&(i[r].instances[e]=n)}return i}_splitIndividualUi(e,t){let n={};for(let r in e)if(r)for(let i of t[r])n[i]||(n[i]={}),n[i][r]=e[r];return n}_splitInteraction(e){let t={};if(e){let n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),i=this._splitEventStore(e.mutatedEvents,r),s=r=>{t[r]||(t[r]={affectedEvents:n[r]||nB,mutatedEvents:i[r]||nB,isEvent:e.isEvent})};for(let e in n)s(e);for(let e in i)s(e)}return t}}function nH(e,t,n){let r=[];e&&r.push(e),t&&r.push(t);let i={"":tV(r)};return n&&Object.assign(i,n),i}function nz(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:!!(r&&!ty(r.activeRange,e)),isOther:!!(r&&!ty(r.currentRange,e)),isToday:!!(t&&ty(t,e)),isPast:!!(n?en:!!t&&e>=t.end)}}function nQ(e,t){let n=["fc-day",`fc-day-${K[e.dow]}`];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}let n_=eB({year:"numeric",month:"long",day:"numeric"}),nj=eB({week:"long"});function nF(e,t,n="day",r=!0){let{dateEnv:i,options:s,calendarApi:o}=e,a=i.format(t,"week"===n?nj:n_);if(s.navLinks){let e=i.toDate(t),l=e=>{let r="day"===n?s.navLinkDayClick:"week"===n?s.navLinkWeekClick:null;"function"==typeof r?r.call(o,i.toDate(t),e):("string"==typeof r&&(n=r),o.zoomTo(t,n))};return Object.assign({title:_(s.navLinkHint,[a,e],a),"data-navlink":""},r?T(l):{onClick:l})}return{"aria-label":a}}let nP=null;function nL(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function nW(e,t=!1,n){let r=n?e.getBoundingClientRect():nG(e),i=function(e,t=!1){let n,r,i=window.getComputedStyle(e),s=parseInt(i.borderLeftWidth,10)||0,o=parseInt(i.borderRightWidth,10)||0,a=parseInt(i.borderTopWidth,10)||0,l=parseInt(i.borderBottomWidth,10)||0,c=nL(e),d=c.y-s-o,u=c.x-a-l,f={borderLeft:s,borderRight:o,borderTop:a,borderBottom:l,scrollbarBottom:u,scrollbarLeft:0,scrollbarRight:0};return(null===nP&&(v(n=document.createElement("div"),{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),n.innerHTML="
    ",document.body.appendChild(n),r=n.firstChild.getBoundingClientRect().left>n.getBoundingClientRect().left,p(n),nP=r),nP&&"rtl"===i.direction)?f.scrollbarLeft=d:f.scrollbarRight=d,t&&(f.paddingLeft=parseInt(i.paddingLeft,10)||0,f.paddingRight=parseInt(i.paddingRight,10)||0,f.paddingTop=parseInt(i.paddingTop,10)||0,f.paddingBottom=parseInt(i.paddingBottom,10)||0),f}(e,t),s={left:r.left+i.borderLeft+i.scrollbarLeft,right:r.right-i.borderRight-i.scrollbarRight,top:r.top+i.borderTop,bottom:r.bottom-i.borderBottom-i.scrollbarBottom};return t&&(s.left+=i.paddingLeft,s.right-=i.paddingRight,s.top+=i.paddingTop,s.bottom-=i.paddingBottom),s}function nG(e){let t=e.getBoundingClientRect();return{left:t.left+window.scrollX,top:t.top+window.scrollY,right:t.right+window.scrollX,bottom:t.bottom+window.scrollY}}function nY(e){let t=[];for(;e instanceof HTMLElement;){let n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}class nV{constructor(e,t,n,r){this.els=t;let i=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(i.left),r&&this.buildElVerticals(i.top)}buildElHorizontals(e){let t=[],n=[];for(let r of this.els){let i=r.getBoundingClientRect();t.push(i.left-e),n.push(i.right-e)}this.lefts=t,this.rights=n}buildElVerticals(e){let t=[],n=[];for(let r of this.els){let i=r.getBoundingClientRect();t.push(i.top-e),n.push(i.bottom-e)}this.tops=t,this.bottoms=n}leftToIndex(e){let t,{lefts:n,rights:r}=this,i=n.length;for(t=0;t=n[t]&&e=n[t]&&e0}canScrollHorizontally(){return this.getMaxScrollLeft()>0}canScrollUp(){return this.getScrollTop()>0}canScrollDown(){return this.getScrollTop()0}canScrollRight(){return this.getScrollLeft()e.thickness||1){this.getEntryThickness=e,this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(e){let t=[];for(let n of e)this.insertEntry(n,t);return t}insertEntry(e,t){let n=this.findInsertion(e);this.isInsertionValid(n,e)?this.insertEntryAt(e,n):this.handleInvalidInsertion(n,e,t)}isInsertionValid(e,t){return(-1===this.maxCoord||e.levelCoord+this.getEntryThickness(t)<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnti.end&&this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.end,end:r.end}},n)}insertEntryAt(e,t){let{entriesByLevel:n,levelCoords:r}=this;-1===t.lateral?(n5(r,t.level,t.levelCoord),n5(n,t.level,[e])):n5(n[t.level],t.lateral,e),this.stackCnts[n1(e)]=t.stackCnt}findInsertion(e){let{levelCoords:t,entriesByLevel:n,strictOrder:r,stackCnts:i}=this,s=t.length,o=0,a=-1,l=-1,c=null,d=0;for(let u=0;u=o+this.getEntryThickness(e))break;let h=n[u],g=n3(h,e.span.start,n0),p=g[0]+g[1];for(;(s=h[p])&&s.span.starto&&(o=e,c=s,a=u,l=p),e===o&&(d=Math.max(d,i[n1(s)]+1)),p+=1}}let u=0;if(c)for(u=a+1;un(e[i-1]))return[i,0];for(;ro))return[s,1];r=s+1}}return[r,0]}class n6{constructor(e,t){this.emitter=new t4}destroy(){}setMirrorIsVisible(e){}setMirrorNeedsRevert(e){}setAutoScrollEnabled(e){}}let n8={},n7="fc-col-header-cell";function n9(e){return e.text}class re extends ti{render(){let{dateEnv:e,options:t,theme:n,viewApi:r}=this.context,{props:i}=this,{date:s,dateProfile:a}=i,l=nz(s,i.todayRange,null,a),c=[n7].concat(nQ(l,n)),d=e.format(s,i.dayHeaderFormat),u=!l.isDisabled&&i.colCnt>1?nF(this.context,s):{},f=Object.assign(Object.assign(Object.assign({date:e.toDate(s),view:r},i.extraRenderProps),{text:d}),l);return(0,o.n)(tu,{elTag:"th",elClasses:c,elAttrs:Object.assign({role:"columnheader",colSpan:i.colSpan,"data-date":l.isDisabled?void 0:ep(s)},i.extraDataAttrs),renderProps:f,generatorName:"dayHeaderContent",customGenerator:t.dayHeaderContent,defaultGenerator:n9,classNameGenerator:t.dayHeaderClassNames,didMount:t.dayHeaderDidMount,willUnmount:t.dayHeaderWillUnmount},e=>(0,o.n)("div",{className:"fc-scrollgrid-sync-inner"},!l.isDisabled&&(0,o.n)(e,{elTag:"a",elAttrs:u,elClasses:["fc-col-header-cell-cushion",i.isSticky&&"fc-sticky"]})))}}let rt=eB({weekday:"long"});class rn extends ti{render(){let{props:e}=this,{dateEnv:t,theme:n,viewApi:r,options:i}=this.context,s=et(new Date(2592e5),e.dow),a={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},l=t.format(s,e.dayHeaderFormat),c=Object.assign(Object.assign(Object.assign(Object.assign({date:s},a),{view:r}),e.extraRenderProps),{text:l});return(0,o.n)(tu,{elTag:"th",elClasses:[n7,...nQ(a,n),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:c,generatorName:"dayHeaderContent",customGenerator:i.dayHeaderContent,defaultGenerator:n9,classNameGenerator:i.dayHeaderClassNames,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},n=>(0,o.n)("div",{className:"fc-scrollgrid-sync-inner"},(0,o.n)(n,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":t.format(s,rt)}})))}}class rr extends o.uA{constructor(e,t){super(e,t),this.initialNowDate=tk(t.options.now,t.dateEnv),this.initialNowQueriedMs=new Date().valueOf(),this.state=this.computeTiming().currentState}render(){let{props:e,state:t}=this;return e.children(t.nowDate,t.todayRange)}componentDidMount(){this.setTimeout()}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout()}computeTiming(){let{props:e,context:t}=this,n=en(this.initialNowDate,new Date().valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),i=t.dateEnv.add(r,L(1,e.unit)),s=i.valueOf()-n.valueOf();return s=Math.min(864e5,s),{currentState:{nowDate:r,todayRange:ri(r)},nextState:{nowDate:i,todayRange:ri(i)},waitMs:s}}setTimeout(){let{nextState:e,waitMs:t}=this.computeTiming();this.timeoutId=setTimeout(()=>{this.setState(e,()=>{this.setTimeout()})},t)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}function ri(e){let t=eo(e),n=et(t,1);return{start:t,end:n}}rr.contextType=tt;class rs extends ti{constructor(){super(...arguments),this.createDayHeaderFormatter=eb(ro)}render(){let{context:e}=this,{dates:t,dateProfile:n,datesRepDistinctDays:r,renderIntro:i}=this.props,s=this.createDayHeaderFormatter(e.options.dayHeaderFormat,r,t.length);return(0,o.n)(rr,{unit:"day"},(e,a)=>(0,o.n)("tr",{role:"row"},i&&i("day"),t.map(e=>r?(0,o.n)(re,{key:e.toISOString(),date:e,dateProfile:n,todayRange:a,colCnt:t.length,dayHeaderFormat:s}):(0,o.n)(rn,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:s}))))}}function ro(e,t,n){return e||(!t||n>10?eB({weekday:"short"}):n>1?eB({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):eB({weekday:"long"}))}class ra{constructor(e,t){let n=e.start,{end:r}=e,i=[],s=[],o=-1;for(;n=t.length?t[t.length-1]+1:t[n]}}class rl{constructor(e,t){let n,r,i,{dates:s}=e;if(t){for(n=1,r=s[0].getUTCDay();n!s[e.instanceId])}),h=f.defs,g=f.instances,p=na(h,e.eventUiBases);for(let r in d){let i=d[r],s=i.range,l=u[i.defId],m=c[i.defId];if(!rg(l.constraints,s,f,e.businessHours,t))return!1;let{eventOverlap:A}=t.options,v="function"==typeof A?A:null;for(let e in g){let n=g[e];if(tv(s,n.range)&&(!1===p[n.defId].overlap&&a.isEvent||!1===l.overlap||v&&!v(new nt(t,h[n.defId],n),new nt(t,m,i))))return!1}let b=o.eventStore;for(let e of l.allows){let s,o=Object.assign(Object.assign({},n),{range:i.range,allDay:m.allDay}),a=b.defs[m.defId],l=b.instances[r];if(s=a?new nt(t,a,l):new nt(t,m),!e(t8(o,t),s))return!1}}return!0}(e,t,n,r))&&(!e.dateSelection||!!function(e,t,n,r){let i=e.eventStore,s=i.defs,o=i.instances,a=e.dateSelection,l=a.range,{selectionConfig:c}=t.getCurrentData();if(r&&(c=r(c)),!rg(c.constraints,l,i,e.businessHours,t))return!1;let{selectOverlap:d}=t.options,u="function"==typeof d?d:null;for(let e in o){let n=o[e];if(tv(l,n.range)&&(!1===c.overlap||u&&!u(new nt(t,s[n.defId],n),null)))return!1}for(let e of c.allows)if(!e(t8(Object.assign(Object.assign({},n),a),t),null))return!1;return!0}(e,t,n,r))})(r,t)}function rg(e,t,n,r,i){for(let s of e)if(!function(e,t){for(let n of e)if(tb(n,t))return!0;return!1}(function(e,t,n,r,i){return"businessHours"===e?rp(tx(r,t,i)):"string"==typeof e?rp(tP(n,t=>t.groupId===e)):"object"==typeof e&&e?rp(tx(e,t,i)):[]}(s,t,n,r,i),t))return!1;return!0}function rp(e){let{instances:t}=e,n=[];for(let e in t)n.push(t[e].range);return n}let rm=/^(visible|hidden)$/;class rA extends ti{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,ts(this.props.elRef,e)}}render(){let{props:e}=this,{liquid:t,liquidIsAbsolute:n}=e,r=t&&n,i=["fc-scroller"];return t&&(n?i.push("fc-scroller-liquid-absolute"):i.push("fc-scroller-liquid")),(0,o.n)("div",{ref:this.handleEl,className:i.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}needsXScrolling(){if(rm.test(this.props.overflowX))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:n}=e;for(let e=0;et)return!0;return!1}needsYScrolling(){if(rm.test(this.props.overflowY))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:n}=e;for(let e=0;et)return!0;return!1}getXScrollbarWidth(){return rm.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return rm.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class rv{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(e,t)=>{let{depths:n,currentMap:r}=this,i=!1,s=!1;null!==e?(i=t in r,r[t]=e,n[t]=(n[t]||0)+1,s=!0):(n[t]-=1,n[t]||(delete r[t],delete this.callbackMap[t],i=!0)),this.masterCallback&&(i&&this.masterCallback(null,String(t)),s&&this.masterCallback(e,String(t)))}}createRef(e){let t=this.callbackMap[e];return t||(t=this.callbackMap[e]=t=>{this.handleValue(t,String(e))}),t}collect(e,t,n){return function(e,t=0,n,r=1){let i=[];null==n&&(n=Object.keys(e).length);for(let s=t;se,ry),this.renderMicroColGroup=eb(rD),this.scrollerRefs=new rv,this.scrollerElRefs=new rv(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){var e;let t,n,{props:r,state:i,context:s}=this,a=r.sections||[],l=this.processCols(r.cols),c=this.renderMicroColGroup(l,i.shrinkWidth),d=(e=r.liquid,t=["fc-scrollgrid",s.theme.getClass("table")],e&&t.push("fc-scrollgrid-liquid"),t);r.collapsibleWidth&&d.push("fc-scrollgrid-collapsible");let u=a.length,f=0,h=[],g=[],p=[];for(;f{}},r);return(0,o.n)(r?"th":"td",{ref:n.elRef,role:"presentation"},(0,o.n)("div",{className:`fc-scroller-harness${d?" fc-scroller-harness-liquid":""}`},(0,o.n)(rA,{ref:this.scrollerRefs.createRef(f),elRef:this.scrollerElRefs.createRef(f),overflowY:u,overflowX:i.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:d,liquidIsAbsolute:!0},h)))}_handleScrollerEl(e,t){let n=function(e,t){for(let n of e)if(n.key===t)return n;return null}(this.props.sections,t);n&&ts(n.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return!function(e){for(let t of e)if("shrink"===t.width)return!0;return!1}(this.props.cols)?0:function(e){let t=function(e,t){let n=e instanceof HTMLElement?[e]:e,r=[];for(let e=0;e{this.el=e,e&&(e.fcSeg=this.props.seg)}}render(){var e;let t,{props:n,context:r}=this,{options:i}=r,{seg:s}=n,{eventRange:a}=s,{ui:l}=a,c={event:new nt(r,a.def,a.instance),view:r.viewApi,timeText:n.timeText,textColor:l.textColor,backgroundColor:l.backgroundColor,borderColor:l.borderColor,isDraggable:!n.disableDragging&&function(e,t){let{pluginHooks:n}=t,r=n.isDraggableTransformers,{def:i,ui:s}=e.eventRange,o=s.startEditable;for(let e of r)o=e(o,i,s,t);return o}(s,r),isStartResizable:!n.disableResizing&&s.isStart&&s.eventRange.ui.durationEditable&&r.options.eventResizableFromStart,isEndResizable:!n.disableResizing&&(e=s).isEnd&&e.eventRange.ui.durationEditable,isMirror:!!(n.isDragging||n.isResizing||n.isDateSelecting),isStart:!!s.isStart,isEnd:!!s.isEnd,isPast:!!n.isPast,isFuture:!!n.isFuture,isToday:!!n.isToday,isSelected:!!n.isSelected,isDragging:!!n.isDragging,isResizing:!!n.isResizing};return(0,o.n)(tu,Object.assign({},n,{elRef:this.handleEl,elClasses:[...(t=["fc-event"],c.isMirror&&t.push("fc-event-mirror"),c.isDraggable&&t.push("fc-event-draggable"),(c.isStartResizable||c.isEndResizable)&&t.push("fc-event-resizable"),c.isDragging&&t.push("fc-event-dragging"),c.isResizing&&t.push("fc-event-resizing"),c.isSelected&&t.push("fc-event-selected"),c.isStart&&t.push("fc-event-start"),c.isEnd&&t.push("fc-event-end"),c.isPast&&t.push("fc-event-past"),c.isToday&&t.push("fc-event-today"),c.isFuture&&t.push("fc-event-future"),t),...s.eventRange.ui.classNames,...n.elClasses||[]],renderProps:c,generatorName:"eventContent",customGenerator:i.eventContent,defaultGenerator:n.defaultGenerator,classNameGenerator:i.eventClassNames,didMount:i.eventDidMount,willUnmount:i.eventWillUnmount}))}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&(this.el.fcSeg=this.props.seg)}}class rM extends ti{render(){let{props:e,context:t}=this,{options:n}=t,{seg:r}=e,{ui:i}=r.eventRange,s=nu(r,n.eventTimeFormat||e.defaultTimeFormat,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return(0,o.n)(rk,Object.assign({},e,{elTag:"a",elStyle:{borderColor:i.borderColor,backgroundColor:i.backgroundColor},elAttrs:ng(r,t),defaultGenerator:rT,timeText:s}),(e,t)=>(0,o.n)(o.FK,null,(0,o.n)(e,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:t.textColor}}),!!t.isStartResizable&&(0,o.n)("div",{className:"fc-event-resizer fc-event-resizer-start"}),!!t.isEndResizable&&(0,o.n)("div",{className:"fc-event-resizer fc-event-resizer-end"})))}}function rT(e){return(0,o.n)("div",{className:"fc-event-main-frame"},e.timeText&&(0,o.n)("div",{className:"fc-event-time"},e.timeText),(0,o.n)("div",{className:"fc-event-title-container"},(0,o.n)("div",{className:"fc-event-title fc-sticky"},e.event.title||(0,o.n)(o.FK,null,"\xa0"))))}let rx=e=>(0,o.n)(tt.Consumer,null,t=>{let{options:n}=t,r={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return(0,o.n)(tu,Object.assign({},e,{elTag:e.elTag||"div",renderProps:r,generatorName:"nowIndicatorContent",customGenerator:n.nowIndicatorContent,classNameGenerator:n.nowIndicatorClassNames,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount}))}),rI=eB({day:"numeric"});class rR extends ti{constructor(){super(...arguments),this.refineRenderProps=ey(rO)}render(){let{props:e,context:t}=this,{options:n}=t,r=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:t.viewApi,dateEnv:t.dateEnv,monthStartFormat:n.monthStartFormat});return(0,o.n)(tu,Object.assign({},e,{elClasses:[...nQ(r,t.theme),...e.elClasses||[]],elAttrs:Object.assign(Object.assign({},e.elAttrs),r.isDisabled?{}:{"data-date":ep(e.date)}),renderProps:r,generatorName:"dayCellContent",customGenerator:n.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:r.isDisabled?void 0:n.dayCellClassNames,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount}))}}function rN(e){return!!(e.dayCellContent||ta("dayCellContent",e))}function rO(e){let{date:t,dateEnv:n,dateProfile:r,isMonthStart:i}=e,s=nz(t,e.todayRange,null,r),o=e.showDayNumber?n.format(t,i?e.monthStartFormat:rI):"";return Object.assign(Object.assign(Object.assign({date:n.toDate(t),view:e.viewApi},s),{isMonthStart:i,dayNumberText:o}),e.extraRenderProps)}class rB extends ti{render(){let{props:e}=this,{seg:t}=e;return(0,o.n)(rk,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:t.eventRange.ui.backgroundColor},defaultGenerator:rU,seg:t,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}}function rU(e){let{title:t}=e.event;return t&&(0,o.n)("div",{className:"fc-event-title"},e.event.title)}function rH(e){return(0,o.n)("div",{className:`fc-${e}`})}let rz=e=>(0,o.n)(tt.Consumer,null,t=>{let{dateEnv:n,options:r}=t,{date:i}=e,s=r.weekNumberFormat||e.defaultFormat,a=n.computeWeekNumber(i),l=n.format(i,s);return(0,o.n)(tu,Object.assign({},e,{renderProps:{num:a,text:l,date:i},generatorName:"weekNumberContent",customGenerator:r.weekNumberContent,defaultGenerator:rQ,classNameGenerator:r.weekNumberClassNames,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount}))});function rQ(e){return e.text}class r_ extends ti{constructor(){super(...arguments),this.state={titleId:E()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&ts(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{let t=y(e);this.rootEl.contains(t)||this.handleCloseClick()},this.handleDocumentKeyDown=e=>{"Escape"===e.key&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:e}=this.props;e&&e()}}render(){let{theme:e,options:t}=this.context,{props:n,state:r}=this,i=["fc-popover",e.getClass("popover")].concat(n.extraClassNames||[]);return(0,a.d5)((0,o.n)("div",Object.assign({},n.extraAttrs,{id:n.id,className:i.join(" "),"aria-labelledby":r.titleId,ref:this.handleRootEl}),(0,o.n)("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},(0,o.n)("span",{className:"fc-popover-title",id:r.titleId},n.title),(0,o.n)("span",{className:"fc-popover-close "+e.getIconClass("close"),title:t.closeHint,onClick:this.handleCloseClick})),(0,o.n)("div",{className:"fc-popover-body "+e.getClass("popoverContent")},n.children)),n.parentEl)}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){let{isRtl:e}=this.context,{alignmentEl:t,alignGridTop:n}=this.props,{rootEl:r}=this,i=function(e){let t=nY(e),n=e.getBoundingClientRect();for(let e of t){let t=nI(n,e.getBoundingClientRect());if(!t)return null;n=t}return n}(t);if(i){let s=r.getBoundingClientRect(),o=n?m(t,".fc-scrollgrid").getBoundingClientRect().top:i.top,a=e?i.right-s.width:i.left;o=Math.max(o,10),a=Math.max(a=Math.min(a,document.documentElement.clientWidth-10-s.width),10);let l=r.offsetParent.getBoundingClientRect();v(r,{top:o-l.top,left:a-l.left})}}}class rj extends n${constructor(){super(...arguments),this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:e,dateEnv:t}=this.context,{props:n}=this,{startDate:r,todayRange:i,dateProfile:s}=n,a=t.format(r,e.dayPopoverFormat);return(0,o.n)(rR,{elRef:this.handleRootEl,date:r,dateProfile:s,todayRange:i},(t,r,i)=>(0,o.n)(r_,{elRef:i.ref,id:n.id,title:a,extraClassNames:["fc-more-popover"].concat(i.className||[]),extraAttrs:i,parentEl:n.parentEl,alignmentEl:n.alignmentEl,alignGridTop:n.alignGridTop,onClose:n.onClose},rN(e)&&(0,o.n)(t,{elTag:"div",elClasses:["fc-more-popover-misc"]}),n.children))}queryHit(e,t,n,r){let{rootEl:i,props:s}=this;return e>=0&&e=0&&t{this.linkEl=e,this.props.elRef&&ts(this.props.elRef,e)},this.handleClick=e=>{let{props:t,context:n}=this,{moreLinkClick:r}=n.options,i=rL(t).start;function s(e){let{def:t,instance:r,range:i}=e.eventRange;return{event:new nt(n,t,r),start:n.dateEnv.toDate(i.start),end:n.dateEnv.toDate(i.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof r&&(r=r({date:i,allDay:!!t.allDayDate,allSegs:t.allSegs.map(s),hiddenSegs:t.hiddenSegs.map(s),jsEvent:e,view:n.viewApi})),r&&"popover"!==r?"string"==typeof r&&n.calendarApi.zoomTo(i,r):this.setState({isPopoverOpen:!0})},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:t}=this;return(0,o.n)(tt.Consumer,null,n=>{let{viewApi:r,options:i,calendarApi:s}=n,{moreLinkText:a}=i,{moreCnt:l}=e,c=rL(e),d="function"==typeof a?a.call(s,l):`+${l} ${a}`,u=_(i.moreLinkHint,[l],d),f={num:l,shortText:`+${l}`,text:d,view:r};return(0,o.n)(o.FK,null,!!e.moreCnt&&(0,o.n)(tu,{elTag:e.elTag||"a",elRef:this.handleLinkEl,elClasses:[...e.elClasses||[],"fc-more-link"],elStyle:e.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},e.elAttrs),T(this.handleClick)),{title:u,"aria-expanded":t.isPopoverOpen,"aria-controls":t.isPopoverOpen?t.popoverId:""}),renderProps:f,generatorName:"moreLinkContent",customGenerator:i.moreLinkContent,defaultGenerator:e.defaultGenerator||rP,classNameGenerator:i.moreLinkClassNames,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},e.children),t.isPopoverOpen&&(0,o.n)(rj,{id:t.popoverId,startDate:c.start,endDate:c.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:this.parentEl,alignmentEl:e.alignmentElRef?e.alignmentElRef.current:this.linkEl,alignGridTop:e.alignGridTop,forceTimed:e.forceTimed,onClose:this.handlePopoverClose},e.popoverContent()))})}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=m(this.linkEl,".fc-view-harness"))}}function rP(e){return e.text}function rL(e){if(e.allDayDate)return{start:e.allDayDate,end:et(e.allDayDate,1)};let{hiddenSegs:t}=e;return{start:rW(t),end:t.reduce(rY).eventRange.range.end}}function rW(e){return e.reduce(rG).eventRange.range.start}function rG(e,t){return e.eventRange.range.startt.eventRange.range.end?e:t}class rV{constructor(){this.handlers=[]}set(e){for(let t of(this.currentValue=e,this.handlers))t(e)}subscribe(e){this.handlers.push(e),void 0!==this.currentValue&&e(this.currentValue)}}class rZ extends rV{constructor(){super(...arguments),this.map=new Map}handle(e){let{map:t}=this,n=!1;e.isActive?(t.set(e.id,e),n=!0):t.has(e.id)&&(t.delete(e.id),n=!0),n&&this.set(t)}}}}]); \ No newline at end of file diff --git a/.next/static/chunks/app/[section]/page-2862723c22b46665.js b/.next/static/chunks/app/[section]/page-2862723c22b46665.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/[section]/page-2862723c22b46665.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/_not-found/page-8819b969a74d464e.js b/.next/static/chunks/app/_not-found/page-8819b969a74d464e.js new file mode 100644 index 00000000..25cf1ff4 --- /dev/null +++ b/.next/static/chunks/app/_not-found/page-8819b969a74d464e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9492],{53868:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return r(93632)}])},66395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return o}}),r(88229);let l=r(95155);r(12115);let n={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};function o(e){let{status:t,message:r}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:t+": "+r}),(0,l.jsx)("div",{style:n.error,children:(0,l.jsxs)("div",{children:[(0,l.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,l.jsx)("h1",{className:"next-error-h1",style:n.h1,children:t}),(0,l.jsx)("div",{style:n.desc,children:(0,l.jsx)("h2",{style:n.h2,children:r})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},93632:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let l=r(95155),n=r(66395);function o(){return(0,l.jsx)(n.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{var t=t=>e(e.s=t);e.O(0,[8441,1684,7358],()=>t(53868)),_N_E=e.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/agenda/page-4d3a42719b400702.js b/.next/static/chunks/app/agenda/page-4d3a42719b400702.js new file mode 100644 index 00000000..4ff56fdb --- /dev/null +++ b/.next/static/chunks/app/agenda/page-4d3a42719b400702.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[395],{5470:(e,t,a)=>{"use strict";a.d(t,{CalendarClient:()=>A});var r=a(95155),s=a(11518),l=a.n(s),n=a(12115),i=a(74266),d=a(51314),o=a(90940),c=a(44396),m=a(34483),u=a(88482),f=a(97168),g=a(34964),x=a(69074),p=a(5196),h=a(54416),v=a(381),y=a(84616),b=a(51154),j=a(99840),N=a(89852),w=a(99474),C=a(82714),k=a(37777),S=a(54239);a(35279);var D=a(16946),E=a(95139);(0,S.E)("fr",D.fr);let I=["#4f46e5","#0891b2","#0e7490","#16a34a","#65a30d","#ca8a04","#d97706","#dc2626","#e11d48","#9333ea","#7c3aed","#2563eb"];function T(e){let{open:t,onClose:a,onSave:s,onDelete:l,initialData:i}=e,[d,o]=(0,n.useState)((null==i?void 0:i.name)||""),[c,m]=(0,n.useState)((null==i?void 0:i.color)||"#4f46e5"),[u,g]=(0,n.useState)((null==i?void 0:i.description)||""),[v,y]=(0,n.useState)(!1),[b,k]=(0,n.useState)(!1),S=(null==i?void 0:i.name)==="Calendrier principal";(0,n.useEffect)(()=>{t&&(o((null==i?void 0:i.name)||""),m((null==i?void 0:i.color)||"#4f46e5"),g((null==i?void 0:i.description)||""),k(!I.includes((null==i?void 0:i.color)||"#4f46e5")))},[t,i]);let D=async e=>{e.preventDefault(),y(!0);try{await s({id:null==i?void 0:i.id,name:d,color:c,description:u}),T()}catch(e){console.error("Erreur lors de la cr\xe9ation du calendrier:",e)}finally{y(!1)}},E=async()=>{if((null==i?void 0:i.id)&&l&&!S&&confirm("\xcates-vous s\xfbr de vouloir supprimer ce calendrier ? Tous les \xe9v\xe9nements associ\xe9s seront \xe9galement supprim\xe9s.")){y(!0);try{await l(i.id),T()}catch(e){console.error("Erreur lors de la suppression du calendrier:",e)}finally{y(!1)}}},T=()=>{o(""),m("#4f46e5"),g(""),k(!1),a()};return(0,r.jsx)(j.lG,{open:t,onOpenChange:e=>!e&&a(),children:(0,r.jsxs)(j.Cf,{className:"sm:max-w-md rounded-xl",children:[(0,r.jsx)(j.c7,{children:(0,r.jsxs)(j.L3,{className:"flex items-center text-xl font-semibold text-gray-900",children:[(0,r.jsx)(x.A,{className:"w-5 h-5 mr-2 text-indigo-600"}),(null==i?void 0:i.id)?"Modifier le calendrier":"Cr\xe9er un nouveau calendrier"]})}),(0,r.jsxs)("form",{onSubmit:D,children:[(0,r.jsxs)("div",{className:"space-y-5 py-4",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(C.J,{htmlFor:"calendar-name",className:"text-gray-700",children:"Nom"}),(0,r.jsx)(N.p,{id:"calendar-name",value:d,onChange:e=>o(e.target.value),placeholder:"Nom du calendrier",required:!0,disabled:S,className:"rounded-lg border-gray-300 focus:border-indigo-500 focus:ring-indigo-500"})]}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)(C.J,{className:"text-gray-700",children:"Couleur"}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-3 mb-3",children:[I.map(e=>(0,r.jsx)("button",{type:"button",className:"w-8 h-8 rounded-full flex items-center justify-center transition-all ".concat(c!==e||b?"hover:scale-110":"ring-2 ring-offset-2 ring-gray-400"),style:{backgroundColor:e},onClick:()=>{m(e),k(!1)},children:c===e&&!b&&(0,r.jsx)(p.A,{className:"w-4 h-4 text-white"})},e)),(0,r.jsx)("button",{type:"button",className:"w-8 h-8 rounded-full flex items-center justify-center bg-gradient-to-r from-purple-500 via-pink-500 to-red-500 transition-all ".concat(b?"ring-2 ring-offset-2 ring-gray-400":"hover:scale-110"),onClick:()=>k(!0),children:b&&(0,r.jsx)(p.A,{className:"w-4 h-4 text-white"})})]}),b&&(0,r.jsxs)("div",{className:"flex items-center gap-4 mt-2 p-3 bg-gray-50 rounded-lg",children:[(0,r.jsxs)("div",{className:"flex flex-1 items-center gap-3",children:[(0,r.jsx)(N.p,{id:"calendar-color",type:"color",value:c,onChange:e=>m(e.target.value),className:"w-10 h-10 p-1 cursor-pointer rounded border-gray-300"}),(0,r.jsx)(N.p,{type:"text",value:c,onChange:e=>m(e.target.value),placeholder:"#RRGGBB",className:"w-28 rounded-lg"})]}),(0,r.jsx)("div",{className:"w-8 h-8 rounded-lg shadow-sm",style:{backgroundColor:c}})]})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(C.J,{htmlFor:"calendar-description",className:"text-gray-700",children:"Description (optionnelle)"}),(0,r.jsx)(w.T,{id:"calendar-description",value:u,onChange:e=>g(e.target.value),placeholder:"Description du calendrier",rows:3,className:"rounded-lg border-gray-300 focus:border-indigo-500 focus:ring-indigo-500"})]})]}),(0,r.jsx)(j.Es,{className:"mt-6 border-t border-gray-100 pt-4",children:(0,r.jsxs)("div",{className:"flex justify-between w-full",children:[(null==i?void 0:i.id)&&!S&&(0,r.jsxs)(f.$,{type:"button",variant:"destructive",onClick:E,disabled:v||S,children:[(0,r.jsx)(h.A,{className:"w-4 h-4 mr-2"}),"Supprimer"]}),(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)(f.$,{type:"button",variant:"outline",onClick:a,disabled:v,className:"rounded-lg border-gray-300 text-gray-700 hover:bg-gray-50",children:"Annuler"}),(0,r.jsx)(f.$,{type:"submit",disabled:!d||v||S,className:"rounded-lg bg-indigo-600 hover:bg-indigo-700 text-white",children:v?"Enregistrement...":(null==i?void 0:i.id)?"Mettre \xe0 jour":"Cr\xe9er"})]})]})})]})]})})}function A(e){var t;let{initialCalendars:a,userId:s,userProfile:x}=e,[h,D]=(0,n.useState)(a.map(e=>({...e,events:e.events||[]}))),[I,A]=(0,n.useState)((null==(t=a[0])?void 0:t.id)||""),[F,R]=(0,n.useState)("dayGridMonth"),[O,M]=(0,n.useState)(!1),[H,J]=(0,n.useState)(!1),[L,z]=(0,n.useState)(null),[G,$]=(0,n.useState)(null),[P,_]=(0,n.useState)(!1),[U,B]=(0,n.useState)(null),[Z,V]=(0,n.useState)({title:"",description:null,start:"",end:"",allDay:!1,location:null,calendarId:I}),[X,W]=(0,n.useState)(null),[q,Y]=(0,n.useState)([]),[K,Q]=(0,n.useState)({totalEvents:0,upcomingEvents:0,completedEvents:0,meetingHours:0}),[ee,et]=(0,n.useState)([]);(0,n.useEffect)(()=>{h.length>0&&(et(h.map(e=>e.id)),ea(),er())},[h]);let ea=()=>{let e=new Date,t={totalEvents:0,upcomingEvents:0,completedEvents:0,meetingHours:0};h.forEach(a=>{a.events.forEach(a=>{t.totalEvents++;let r=new Date(a.start),s=new Date(a.end);r>e?t.upcomingEvents++:s{let e=new Date;Y(h.flatMap(e=>e.events).filter(t=>new Date(t.start)>e).sort((e,t)=>new Date(e.start).getTime()-new Date(t.start).getTime()).slice(0,5))},es=async()=>{try{_(!0);let e=await fetch("/api/calendars");if(!e.ok)throw Error("Failed to fetch calendars");let t=await e.json();console.log("Raw calendars data:",t);let a=t.map(e=>({...e,events:Array.isArray(e.events)?e.events.map(e=>({...e,start:new Date(e.start),end:new Date(e.end)})):[]}));console.log("Setting calendars with processed events:",a),D(a),ea(),er(),el.current&&el.current.getApi().refetchEvents()}catch(e){console.error("Error fetching calendars:",e),B(e instanceof Error?e.message:"Failed to fetch calendars")}finally{_(!1)}},el=(0,n.useRef)(null),en=async e=>{try{if(_(!0),!(await fetch("/api/calendars",{method:e.id?"PUT":"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,userId:s})})).ok)throw Error("Failed to save calendar");await es(),J(!1)}catch(e){console.error("Error saving calendar:",e),B(e instanceof Error?e.message:"Failed to save calendar")}finally{_(!1)}},ei=async e=>{try{if(_(!0),!(await fetch("/api/calendars/".concat(e),{method:"DELETE"})).ok)throw Error("Failed to delete calendar");if(await es(),J(!1),I===e){var t;let a=h.filter(t=>t.id!==e);A((null==(t=a[0])?void 0:t.id)||"")}}catch(e){console.error("Error deleting calendar:",e),B(e instanceof Error?e.message:"Failed to delete calendar")}finally{_(!1)}},ed=async()=>{try{if(!Z.title||!Z.start||!Z.end||!Z.calendarId){console.log("Form validation failed:",{title:Z.title,start:Z.start,end:Z.end,calendarId:Z.calendarId}),B("Veuillez remplir tous les champs obligatoires et s\xe9lectionner un calendrier");return}_(!0);let e={...Z,start:new Date(Z.start).toISOString(),end:new Date(Z.end).toISOString(),userId:s,...L?{id:L.id}:{},allDay:Z.allDay};console.log("Submitting event with data:",e);let t=await fetch("/api/events",{method:L?"PUT":"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),a=await t.json();if(console.log("Response from server:",a),!t.ok)throw console.error("Error response:",a),Error(a.error||"Failed to save event");M(!1),V({title:"",description:null,start:"",end:"",allDay:!1,location:null,calendarId:I}),z(null),B(null);let r=h.map(t=>t.id===e.calendarId?{...t,events:[...t.events,a]}:t);D(r),await es()}catch(e){console.error("Error saving event:",e),B(e instanceof Error?e.message:"Failed to save event")}finally{_(!1)}},eo=async()=>{if((null==L?void 0:L.id)&&confirm("\xcates-vous s\xfbr de vouloir supprimer cet \xe9v\xe9nement ?"))try{_(!0);let e=await fetch("/api/events/".concat(L.id),{method:"DELETE"});if(!e.ok){let t=await e.json();throw Error(t.message||"Failed to delete event")}let t=h.map(e=>({...e,events:e.events.filter(e=>e.id!==L.id)}));D(t),M(!1),z(null),V({title:"",description:null,start:"",end:"",allDay:!1,location:null,calendarId:I}),el.current&&el.current.getApi().refetchEvents()}catch(e){console.error("Error deleting event:",e),B(e instanceof Error?e.message:"Failed to delete event")}finally{_(!1)}},ec=e=>{R(e),el.current&&el.current.getApi().changeView(e)},em=e=>e?new Date(e):new Date,eu=e=>{if(e)if(e>em(Z.end)){let t=new Date(e);t.setHours(e.getHours()+1),V({...Z,start:e.toISOString(),end:t.toISOString()})}else V({...Z,start:e.toISOString()})},ef=e=>{if(e)if(e{z(null),V({title:"",description:null,start:new Date().toISOString(),end:new Date(new Date().setHours(new Date().getHours()+1)).toISOString(),allDay:!1,location:null,calendarId:I}),M(!0)},className:"bg-primary hover:bg-primary/90 text-white",children:[(0,r.jsx)(y.A,{className:"mr-2 h-4 w-4"}),(0,r.jsx)("span",{className:"jsx-82cd74ef5c10b128 font-medium",children:"Nouvel \xe9v\xe9nement"})]})}),(0,r.jsx)(g.tU,{value:F,className:"w-auto",children:(0,r.jsxs)(g.j7,{children:[(0,r.jsx)(g.Xi,{value:"dayGridMonth",onClick:()=>ec("dayGridMonth"),children:"Mois"}),(0,r.jsx)(g.Xi,{value:"timeGridWeek",onClick:()=>ec("timeGridWeek"),children:"Semaine"}),(0,r.jsx)(g.Xi,{value:"timeGridDay",onClick:()=>ec("timeGridDay"),children:"Jour"})]})})]}),(0,r.jsx)(()=>(0,r.jsx)("div",{className:"flex flex-wrap items-center gap-2 mb-4",children:h.map(e=>(0,r.jsxs)("div",{className:"relative group",children:[(0,r.jsxs)(f.$,{variant:ee.includes(e.id)?"secondary":"ghost",className:"flex items-center gap-2 pr-8",onClick:()=>{ee.includes(e.id)?et(ee.filter(t=>t!==e.id)):et([...ee,e.id])},children:[(0,r.jsx)("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:e.color}}),(0,r.jsx)("span",{children:e.name}),(0,r.jsx)("div",{className:"ml-2",children:ee.includes(e.id)?(0,r.jsx)(p.A,{className:"h-4 w-4"}):null})]}),"Calendrier principal"!==e.name&&(0,r.jsx)(f.$,{variant:"ghost",size:"icon",className:"absolute right-0 top-1/2 -translate-y-1/2 opacity-0 group-hover:opacity-100 transition-opacity",onClick:t=>{t.stopPropagation(),$(e),J(!0)},children:(0,r.jsx)(v.A,{className:"h-4 w-4"})})]},e.id))}),{className:"jsx-82cd74ef5c10b128"}),(0,r.jsx)(l(),{id:"82cd74ef5c10b128",children:".fc .fc-daygrid-day-frame{min-height:100px!important;max-height:100px!important;overflow-y:auto!important}.fc .fc-daygrid-day-events{margin-bottom:0!important}.fc .fc-daygrid-day-frame::-webkit-scrollbar{width:4px}.fc .fc-daygrid-day-frame::-webkit-scrollbar-track{background:transparent}.fc .fc-daygrid-day-frame::-webkit-scrollbar-thumb{background:#888;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.fc .fc-daygrid-day-frame::-webkit-scrollbar-thumb:hover{background:#555}.fc .fc-daygrid-day-frame::-webkit-scrollbar{display:none}.fc .fc-daygrid-day-frame:hover::-webkit-scrollbar{display:block}"}),P?(0,r.jsxs)("div",{className:"jsx-82cd74ef5c10b128 h-96 flex items-center justify-center",children:[(0,r.jsx)(b.A,{className:"h-8 w-8 animate-spin text-primary"}),(0,r.jsx)("span",{className:"jsx-82cd74ef5c10b128 ml-2",children:"Chargement des \xe9v\xe9nements..."})]}):(0,r.jsx)(i.A,{ref:el,plugins:[d.A,o.A,c.Ay],initialView:F,headerToolbar:{left:"prev,next today",center:"title",right:""},events:h.filter(e=>ee.includes(e.id)).flatMap(e=>(e.events||[]).map(t=>({id:t.id,title:t.title,start:new Date(t.start),end:new Date(t.end),allDay:t.isAllDay,description:t.description,location:t.location,calendarId:t.calendarId,backgroundColor:"".concat(e.color,"dd"),borderColor:e.color,textColor:"#ffffff",extendedProps:{calendarName:e.name,location:t.location,description:t.description,calendarId:t.calendarId,originalEvent:t,color:e.color}}))),eventContent:e=>(0,r.jsx)(k.Bc,{children:(0,r.jsxs)(k.m_,{children:[(0,r.jsx)(k.k$,{asChild:!0,children:(0,r.jsx)("div",{style:{backgroundColor:"".concat(e.event.backgroundColor),boxShadow:"inset 0 0 0 1px ".concat(e.event.borderColor,", 0 2px 4px ").concat(e.event.borderColor,"40")},className:"jsx-82cd74ef5c10b128 px-2 py-1 overflow-hidden w-full transition-all rounded-sm hover:brightness-110",children:(0,r.jsxs)("div",{className:"jsx-82cd74ef5c10b128 flex items-center gap-1.5 text-xs text-white",children:[!e.event.allDay&&(0,r.jsx)("span",{className:"jsx-82cd74ef5c10b128 font-medium whitespace-nowrap shrink-0",children:"object"==typeof e.event.start&&e.event.start instanceof Date?e.event.start.toLocaleTimeString("fr-FR",{hour:"2-digit",minute:"2-digit"}):""}),(0,r.jsx)("span",{className:"jsx-82cd74ef5c10b128 font-medium truncate max-w-[calc(100%-4.5rem)]",children:e.event.title})]})})}),(0,r.jsx)(k.ZI,{children:(0,r.jsxs)("div",{className:"jsx-82cd74ef5c10b128 text-sm",children:[(0,r.jsx)("p",{className:"jsx-82cd74ef5c10b128 font-medium",children:e.event.title}),!e.event.allDay&&(0,r.jsx)("p",{className:"jsx-82cd74ef5c10b128 text-xs text-gray-400 mt-1",children:"object"==typeof e.event.start&&e.event.start instanceof Date?e.event.start.toLocaleTimeString("fr-FR",{hour:"2-digit",minute:"2-digit"}):""})]})})]})}),eventClassNames:"rounded-md overflow-hidden",dayCellContent:e=>(0,r.jsx)("div",{className:"jsx-82cd74ef5c10b128 text-xs font-medium",children:e.dayNumberText}),locale:m.A,selectable:!0,selectMirror:!0,dayMaxEventRows:!1,dayMaxEvents:!1,weekends:!0,select:e=>{let t=new Date(e.start),a=new Date(e.end);if(console.log("Date select handler - Current state:",{calendars:h.map(e=>({id:e.id,name:e.name})),selectedCalendarId:I,availableCalendars:h.length}),!I&&h.length>0){let r=h[0];console.log("No calendar selected, selecting first calendar:",r),A(r.id),V({title:"",description:null,start:t.toISOString(),end:a.toISOString(),allDay:e.allDay,location:null,calendarId:r.id})}else V({title:"",description:null,start:t.toISOString(),end:a.toISOString(),allDay:e.allDay,location:null,calendarId:I});M(!0)},eventClick:e=>{let t=e.event,a=new Date(t.start),r=new Date(t.end||t.start);z(t.extendedProps.originalEvent),V({title:t.title,description:t.extendedProps.description,start:a.toISOString().slice(0,16),end:r.toISOString().slice(0,16),allDay:t.isAllDay,location:t.extendedProps.location,calendarId:t.extendedProps.calendarId}),M(!0)},height:"auto",aspectRatio:1.8,slotMinTime:"06:00:00",slotMaxTime:"22:00:00",allDaySlot:!0,allDayText:"",views:{timeGridWeek:{allDayText:"",dayHeaderFormat:{weekday:"long",day:"numeric",month:"numeric"}},timeGridDay:{allDayText:"",dayHeaderFormat:{weekday:"long",day:"numeric",month:"numeric"}}},slotLabelFormat:{hour:"2-digit",minute:"2-digit",hour12:!1}})]}),(0,r.jsx)(T,{open:H,onClose:()=>J(!1),onSave:en,onDelete:ei,initialData:G||void 0}),(0,r.jsx)(j.lG,{open:O,onOpenChange:e=>{if(!e){var t;M(!1),V({title:"",description:null,start:"",end:"",allDay:!1,location:null,calendarId:I||(null==(t=h[0])?void 0:t.id)}),z(null),B(null)}},children:(0,r.jsxs)(j.Cf,{className:"sm:max-w-lg",children:[(0,r.jsx)(j.c7,{children:(0,r.jsx)(j.L3,{className:"text-gray-800",children:L?"Modifier l'\xe9v\xe9nement":"Nouvel \xe9v\xe9nement"})}),U&&(0,r.jsx)("div",{className:"bg-red-50 border border-red-200 text-red-600 px-4 py-2 rounded-md text-sm",children:U}),(0,r.jsxs)("div",{className:"space-y-4 py-4",children:[(0,r.jsxs)("div",{className:"grid gap-4 py-4",children:[(0,r.jsxs)("div",{className:"grid gap-2",children:[(0,r.jsx)(C.J,{htmlFor:"title",className:"text-base font-semibold text-gray-800",children:"Titre"}),(0,r.jsx)(N.p,{id:"title",placeholder:"Titre de l'\xe9v\xe9nement",value:Z.title,onChange:e=>V({...Z,title:e.target.value}),className:"bg-white text-gray-900"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(C.J,{className:"text-base font-semibold text-gray-800",children:"Calendrier"}),(0,r.jsx)("div",{className:"grid grid-cols-2 gap-2",children:h.map(e=>(0,r.jsxs)("button",{type:"button",onClick:()=>{V(t=>({...t,calendarId:e.id}))},className:"flex items-center gap-2 px-3 py-2 rounded-lg transition-all ".concat(Z.calendarId===e.id?"bg-white ring-2 ring-primary":"bg-white hover:bg-gray-50 border border-gray-200"),children:[(0,r.jsx)("div",{className:"w-3 h-3 rounded-full",style:{backgroundColor:e.color}}),(0,r.jsx)("span",{className:"text-sm ".concat(Z.calendarId===e.id?"font-medium text-gray-900":"text-gray-700"),children:e.name})]},e.id))})]}),(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(C.J,{className:"text-gray-800",children:"D\xe9but"}),(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)(S.Ay,{selected:em(Z.start),onChange:eu,dateFormat:"dd/MM/yyyy",locale:"fr",className:"w-full rounded-md border border-gray-300 px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary bg-white text-gray-900",placeholderText:"Date",customInput:(0,r.jsx)(N.p,{className:"bg-white text-gray-900"})})}),(0,r.jsx)(S.Ay,{selected:em(Z.start),onChange:eu,showTimeSelect:!0,showTimeSelectOnly:!0,timeIntervals:15,timeCaption:"Heure",dateFormat:"HH:mm",className:"w-32 bg-white text-gray-900",customInput:(0,r.jsx)(N.p,{className:"bg-white text-gray-900"})})]})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(C.J,{className:"text-gray-800",children:"Fin"}),(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)(S.Ay,{selected:em(Z.end),onChange:ef,dateFormat:"dd/MM/yyyy",locale:"fr",className:"w-full rounded-md border border-gray-300 px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary bg-white text-gray-900",placeholderText:"Date",customInput:(0,r.jsx)(N.p,{className:"bg-white text-gray-900"}),minDate:em(Z.start)})}),(0,r.jsx)(S.Ay,{selected:em(Z.end),onChange:ef,showTimeSelect:!0,showTimeSelectOnly:!0,timeIntervals:15,timeCaption:"Heure",dateFormat:"HH:mm",className:"w-32 bg-white text-gray-900",customInput:(0,r.jsx)(N.p,{className:"bg-white text-gray-900"})})]})]})]})]}),(0,r.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,r.jsx)(E.S,{id:"allDay",checked:Z.allDay,onCheckedChange:e=>V({...Z,allDay:e})}),(0,r.jsx)(C.J,{htmlFor:"allDay",className:"text-gray-800",children:"Toute la journ\xe9e"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(C.J,{className:"text-gray-800",children:"Lieu"}),(0,r.jsx)(N.p,{value:Z.location||"",onChange:e=>V({...Z,location:e.target.value}),placeholder:"Ajouter un lieu",className:"bg-white text-gray-900"})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(C.J,{className:"text-gray-800",children:"Description"}),(0,r.jsx)(w.T,{value:Z.description||"",onChange:e=>V({...Z,description:e.target.value}),placeholder:"Ajouter une description",className:"bg-white text-gray-900"})]})]}),(0,r.jsxs)(j.Es,{children:[L&&(0,r.jsx)(f.$,{variant:"destructive",onClick:eo,disabled:P,children:P?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.A,{className:"mr-2 h-4 w-4 animate-spin"}),"Suppression..."]}):"Supprimer"}),(0,r.jsxs)("div",{className:"flex space-x-2",children:[(0,r.jsx)(f.$,{variant:"outline",onClick:()=>M(!1),disabled:P,className:"bg-white hover:bg-gray-50 text-gray-900 border-gray-200",children:"Annuler"}),(0,r.jsx)(f.$,{onClick:ed,disabled:P,className:"bg-blue-600 hover:bg-blue-700 text-white",children:P?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b.A,{className:"mr-2 h-4 w-4 animate-spin"}),"Enregistrement..."]}):L?"Mettre \xe0 jour":"Cr\xe9er"})]})]})]})})]})}},31930:(e,t,a)=>{Promise.resolve().then(a.bind(a,5470))},34964:(e,t,a)=>{"use strict";a.d(t,{Xi:()=>o,av:()=>c,j7:()=>d,tU:()=>i});var r=a(95155),s=a(12115),l=a(30064),n=a(53999);let i=l.bL,d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(l.B8,{ref:t,className:(0,n.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",a),...s})});d.displayName=l.B8.displayName;let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(l.l9,{ref:t,className:(0,n.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",a),...s})});o.displayName=l.l9.displayName;let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(l.UC,{ref:t,className:(0,n.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...s})});c.displayName=l.UC.displayName},37777:(e,t,a)=>{"use strict";a.d(t,{Bc:()=>i,ZI:()=>c,k$:()=>o,m_:()=>d});var r=a(95155),s=a(12115),l=a(78082),n=a(53999);let i=l.Kq,d=l.bL,o=l.l9,c=s.forwardRef((e,t)=>{let{className:a,sideOffset:s=4,...i}=e;return(0,r.jsx)(l.UC,{ref:t,sideOffset:s,className:(0,n.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...i})});c.displayName=l.UC.displayName},53999:(e,t,a)=>{"use strict";a.d(t,{cn:()=>l});var r=a(52596),s=a(39688);function l(){for(var e=arguments.length,t=Array(e),a=0;a{"use strict";a.d(t,{J:()=>o});var r=a(95155),s=a(12115),l=a(72797),n=a(74466),i=a(53999);let d=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(l.b,{ref:t,className:(0,i.cn)(d(),a),...s})});o.displayName=l.b.displayName},88482:(e,t,a)=>{"use strict";a.d(t,{BT:()=>o,Wu:()=>c,ZB:()=>d,Zp:()=>n,aR:()=>i});var r=a(95155),s=a(12115),l=a(53999);let n=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,l.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",a),...s})});n.displayName="Card";let i=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",a),...s})});i.displayName="CardHeader";let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,l.cn)("text-2xl font-semibold leading-none tracking-tight",a),...s})});d.displayName="CardTitle";let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,l.cn)("text-sm text-muted-foreground",a),...s})});o.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,l.cn)("p-6 pt-0",a),...s})});c.displayName="CardContent",s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,l.cn)("flex items-center p-6 pt-0",a),...s})}).displayName="CardFooter"},89852:(e,t,a)=>{"use strict";a.d(t,{p:()=>n});var r=a(95155),s=a(12115),l=a(53999);let n=s.forwardRef((e,t)=>{let{className:a,type:s,...n}=e;return(0,r.jsx)("input",{type:s,className:(0,l.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:t,...n})});n.displayName="Input"},95139:(e,t,a)=>{"use strict";a.d(t,{S:()=>d});var r=a(95155),s=a(12115),l=a(15630),n=a(5196),i=a(53999);let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(l.bL,{ref:t,className:(0,i.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",a),...s,children:(0,r.jsx)(l.C1,{className:(0,i.cn)("flex items-center justify-center text-current"),children:(0,r.jsx)(n.A,{className:"h-4 w-4"})})})});d.displayName=l.bL.displayName},97168:(e,t,a)=>{"use strict";a.d(t,{$:()=>o,r:()=>d});var r=a(95155),s=a(12115),l=a(99708),n=a(74466),i=a(53999);let d=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),o=s.forwardRef((e,t)=>{let{className:a,variant:s,size:n,asChild:o=!1,...c}=e,m=o?l.DX:"button";return(0,r.jsx)(m,{className:(0,i.cn)(d({variant:s,size:n,className:a})),ref:t,...c})});o.displayName="Button"},99474:(e,t,a)=>{"use strict";a.d(t,{T:()=>n});var r=a(95155),s=a(12115),l=a(53999);let n=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("textarea",{className:(0,l.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:t,...s})});n.displayName="Textarea"},99840:(e,t,a)=>{"use strict";a.d(t,{Cf:()=>u,Es:()=>g,L3:()=>x,ZJ:()=>c,c7:()=>f,lG:()=>d,rr:()=>p,zM:()=>o});var r=a(95155),s=a(12115),l=a(45821),n=a(54416),i=a(53999);let d=l.bL,o=l.l9,c=l.ZL;l.bm;let m=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(l.hJ,{ref:t,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s})});m.displayName=l.hJ.displayName;let u=s.forwardRef((e,t)=>{let{className:a,children:s,...d}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(m,{}),(0,r.jsxs)(l.UC,{ref:t,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...d,children:[s,(0,r.jsxs)(l.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,r.jsx)(n.A,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});u.displayName=l.UC.displayName;let f=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...a})};f.displayName="DialogHeader";let g=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};g.displayName="DialogFooter";let x=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(l.hE,{ref:t,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",a),...s})});x.displayName=l.hE.displayName;let p=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(l.VY,{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",a),...s})});p.displayName=l.VY.displayName}},e=>{var t=t=>e(e.s=t);e.O(0,[5302,4020,6018,5579,4277,5685,5652,1736,7272,8441,1684,7358],()=>t(31930)),_N_E=e.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/agilite/page-0cb22f02440a4141.js b/.next/static/chunks/app/agilite/page-0cb22f02440a4141.js new file mode 100644 index 00000000..1c8b35f0 --- /dev/null +++ b/.next/static/chunks/app/agilite/page-0cb22f02440a4141.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[351,604,768,891,1176,2354,2821,3050,3518,3548,3874,4021,5952,6351,8626,9465,9552],{43902:(e,s,n)=>{"use strict";n.d(s,{ResponsiveIframe:()=>o});var t=n(95155),i=n(12115),r=n(12108);function o(e){let{src:s,className:n="",allow:o,style:a}=e,l=(0,i.useRef)(null),{data:c}=(0,r.useSession)(),[d,h]=(0,i.useState)(!1),[f,u]=(0,i.useState)(""),[w,m]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(s&&c){if(w){f||u(s);return}if(!c.accessToken||!c.refreshToken){console.warn("Session missing required tokens, redirecting to sign-in"),window.location.href="/signin";return}(async()=>{h(!0),m(!0);try{await new Promise(e=>setTimeout(e,100));let e=await fetch("/api/auth/refresh-keycloak-session",{method:"GET",credentials:"include"});if(e.ok)console.log("Session refreshed before loading iframe"),u(s);else{let n=await e.json().catch(()=>({}));if(401===e.status&&"SessionInvalidated"===n.error){console.warn("Keycloak session invalidated, redirecting to sign-in"),window.location.href="/signin";return}console.warn("Failed to refresh session, loading iframe anyway (may require login)"),u(s)}}catch(e){console.error("Error refreshing session:",e),u(s)}finally{h(!1)}})()}},[c,s,w,f]),(0,i.useEffect)(()=>{let e=l.current;if(!e||!f)return;let s=()=>{let s=e=>e.offsetParent?e.offsetTop+s(e.offsetParent):e.offsetTop,n=Math.max(0,document.documentElement.clientHeight-s(e));e.style.height="".concat(n,"px")},n=()=>{if(window.location.hash&&window.location.hash.length&&e.src){let s=new URL(e.src);s.hash=window.location.hash,e.src=s.toString()}};return s(),n(),window.addEventListener("resize",s),window.addEventListener("hashchange",n),e.addEventListener("load",s),()=>{window.removeEventListener("resize",s),window.removeEventListener("hashchange",n),e.removeEventListener("load",s)}},[]),(0,t.jsxs)(t.Fragment,{children:[d&&(0,t.jsx)("div",{className:"flex items-center justify-center w-full h-full absolute bg-black/50 z-10",children:(0,t.jsxs)("div",{className:"text-center bg-white p-4 rounded-lg",children:[(0,t.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-blue-500 mx-auto mb-4"}),(0,t.jsx)("p",{className:"text-gray-600",children:"Actualisation de la session..."})]})}),(0,t.jsx)("iframe",{ref:l,id:"myFrame",src:f||s,className:"w-full border-none ".concat(n),style:{display:"block",width:"100%",height:"100%",...a},allow:o,allowFullScreen:!0})]})}},68379:(e,s,n)=>{Promise.resolve().then(n.bind(n,43902))}},e=>{var s=s=>e(e.s=s);e.O(0,[2108,8441,1684,7358],()=>s(68379)),_N_E=e.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/alma/page-055ca5cea0108e31.js b/.next/static/chunks/app/alma/page-055ca5cea0108e31.js new file mode 100644 index 00000000..1c8b35f0 --- /dev/null +++ b/.next/static/chunks/app/alma/page-055ca5cea0108e31.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[351,604,768,891,1176,2354,2821,3050,3518,3548,3874,4021,5952,6351,8626,9465,9552],{43902:(e,s,n)=>{"use strict";n.d(s,{ResponsiveIframe:()=>o});var t=n(95155),i=n(12115),r=n(12108);function o(e){let{src:s,className:n="",allow:o,style:a}=e,l=(0,i.useRef)(null),{data:c}=(0,r.useSession)(),[d,h]=(0,i.useState)(!1),[f,u]=(0,i.useState)(""),[w,m]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(s&&c){if(w){f||u(s);return}if(!c.accessToken||!c.refreshToken){console.warn("Session missing required tokens, redirecting to sign-in"),window.location.href="/signin";return}(async()=>{h(!0),m(!0);try{await new Promise(e=>setTimeout(e,100));let e=await fetch("/api/auth/refresh-keycloak-session",{method:"GET",credentials:"include"});if(e.ok)console.log("Session refreshed before loading iframe"),u(s);else{let n=await e.json().catch(()=>({}));if(401===e.status&&"SessionInvalidated"===n.error){console.warn("Keycloak session invalidated, redirecting to sign-in"),window.location.href="/signin";return}console.warn("Failed to refresh session, loading iframe anyway (may require login)"),u(s)}}catch(e){console.error("Error refreshing session:",e),u(s)}finally{h(!1)}})()}},[c,s,w,f]),(0,i.useEffect)(()=>{let e=l.current;if(!e||!f)return;let s=()=>{let s=e=>e.offsetParent?e.offsetTop+s(e.offsetParent):e.offsetTop,n=Math.max(0,document.documentElement.clientHeight-s(e));e.style.height="".concat(n,"px")},n=()=>{if(window.location.hash&&window.location.hash.length&&e.src){let s=new URL(e.src);s.hash=window.location.hash,e.src=s.toString()}};return s(),n(),window.addEventListener("resize",s),window.addEventListener("hashchange",n),e.addEventListener("load",s),()=>{window.removeEventListener("resize",s),window.removeEventListener("hashchange",n),e.removeEventListener("load",s)}},[]),(0,t.jsxs)(t.Fragment,{children:[d&&(0,t.jsx)("div",{className:"flex items-center justify-center w-full h-full absolute bg-black/50 z-10",children:(0,t.jsxs)("div",{className:"text-center bg-white p-4 rounded-lg",children:[(0,t.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-blue-500 mx-auto mb-4"}),(0,t.jsx)("p",{className:"text-gray-600",children:"Actualisation de la session..."})]})}),(0,t.jsx)("iframe",{ref:l,id:"myFrame",src:f||s,className:"w-full border-none ".concat(n),style:{display:"block",width:"100%",height:"100%",...a},allow:o,allowFullScreen:!0})]})}},68379:(e,s,n)=>{Promise.resolve().then(n.bind(n,43902))}},e=>{var s=s=>e(e.s=s);e.O(0,[2108,8441,1684,7358],()=>s(68379)),_N_E=e.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/announcement/page-070cf4758e17f951.js b/.next/static/chunks/app/announcement/page-070cf4758e17f951.js new file mode 100644 index 00000000..9e69fc8f --- /dev/null +++ b/.next/static/chunks/app/announcement/page-070cf4758e17f951.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4152],{14503:(e,t,a)=>{"use strict";a.d(t,{dj:()=>m,oR:()=>u});var s=a(12115);let r=0,n=new Map,l=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),c({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},i=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?l(a):e.toasts.forEach(e=>{l(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===a||void 0===a?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},d=[],o={toasts:[]};function c(e){o=i(o,e),d.forEach(e=>{e(o)})}function u(e){let{...t}=e,a=(r=(r+1)%Number.MAX_SAFE_INTEGER).toString(),s=()=>c({type:"DISMISS_TOAST",toastId:a});return c({type:"ADD_TOAST",toast:{...t,id:a,open:!0,onOpenChange:e=>{e||s()}}}),{id:a,dismiss:s,update:e=>c({type:"UPDATE_TOAST",toast:{...e,id:a}})}}function m(){let[e,t]=s.useState(o);return s.useEffect(()=>(d.push(t),()=>{let e=d.indexOf(t);e>-1&&d.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>c({type:"DISMISS_TOAST",toastId:e})}}},34964:(e,t,a)=>{"use strict";a.d(t,{Xi:()=>o,av:()=>c,j7:()=>d,tU:()=>i});var s=a(95155),r=a(12115),n=a(30064),l=a(53999);let i=n.bL,d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.B8,{ref:t,className:(0,l.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",a),...r})});d.displayName=n.B8.displayName;let o=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.l9,{ref:t,className:(0,l.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",a),...r})});o.displayName=n.l9.displayName;let c=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.UC,{ref:t,className:(0,l.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...r})});c.displayName=n.UC.displayName},49026:(e,t,a)=>{"use strict";a.d(t,{Fc:()=>d,TN:()=>c,XL:()=>o});var s=a(95155),r=a(12115),n=a(74466),l=a(53999);let i=(0,n.F)("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),d=r.forwardRef((e,t)=>{let{className:a,variant:r,...n}=e;return(0,s.jsx)("div",{ref:t,role:"alert",className:(0,l.cn)(i({variant:r}),a),...n})});d.displayName="Alert";let o=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("h5",{ref:t,className:(0,l.cn)("mb-1 font-medium leading-none tracking-tight",a),...r})});o.displayName="AlertTitle";let c=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,l.cn)("text-sm [&_p]:leading-relaxed",a),...r})});c.displayName="AlertDescription"},52591:(e,t,a)=>{Promise.resolve().then(a.bind(a,60180))},53999:(e,t,a)=>{"use strict";a.d(t,{cn:()=>n});var s=a(52596),r=a(39688);function n(){for(var e=arguments.length,t=Array(e),a=0;a{"use strict";a.d(t,{AnnouncementsPage:()=>M});var s=a(95155),r=a(34964),n=a(12115),l=a(62177),i=a(90221),d=a(55594),o=a(97168),c=a(99708),u=a(53999),m=a(82714);let f=l.Op,x=n.createContext({}),h=e=>{let{...t}=e;return(0,s.jsx)(x.Provider,{value:{name:t.name},children:(0,s.jsx)(l.xI,{...t})})},p=()=>{let e=n.useContext(x),t=n.useContext(g),{getFieldState:a,formState:s}=(0,l.xW)(),r=a(e.name,s);if(!e)throw Error("useFormField should be used within ");let{id:i}=t;return{id:i,name:e.name,formItemId:"".concat(i,"-form-item"),formDescriptionId:"".concat(i,"-form-item-description"),formMessageId:"".concat(i,"-form-item-message"),...r}},g=n.createContext({}),b=n.forwardRef((e,t)=>{let{className:a,...r}=e,l=n.useId();return(0,s.jsx)(g.Provider,{value:{id:l},children:(0,s.jsx)("div",{ref:t,className:(0,u.cn)("space-y-2",a),...r})})});b.displayName="FormItem";let j=n.forwardRef((e,t)=>{let{className:a,...r}=e,{error:n,formItemId:l}=p();return(0,s.jsx)(m.J,{ref:t,className:(0,u.cn)(n&&"text-destructive",a),htmlFor:l,...r})});j.displayName="FormLabel";let y=n.forwardRef((e,t)=>{let{...a}=e,{error:r,formItemId:n,formDescriptionId:l,formMessageId:i}=p();return(0,s.jsx)(c.DX,{ref:t,id:n,"aria-describedby":r?"".concat(l," ").concat(i):"".concat(l),"aria-invalid":!!r,...a})});y.displayName="FormControl",n.forwardRef((e,t)=>{let{className:a,...r}=e,{formDescriptionId:n}=p();return(0,s.jsx)("p",{ref:t,id:n,className:(0,u.cn)("text-sm text-muted-foreground",a),...r})}).displayName="FormDescription";let v=n.forwardRef((e,t)=>{let{className:a,children:r,...n}=e,{error:l,formMessageId:i}=p(),d=l?String(null==l?void 0:l.message):r;return d?(0,s.jsx)("p",{ref:t,id:i,className:(0,u.cn)("text-sm font-medium text-destructive",a),...n,children:d}):null});v.displayName="FormMessage";var N=a(89852),w=a(99474),A=a(88482),R=a(85339),T=a(5196),C=a(51154),S=a(88145),E=a(14503),k=a(49026);let F=d.Ik({title:d.Yj().min(5,{message:"Title must be at least 5 characters"}),content:d.Yj().min(10,{message:"Content must be at least 10 characters"}),targetRoles:d.YO(d.Yj()).min(1,{message:"Select at least one target role"})});function D(e){let{userRole:t}=e,[a,r]=(0,n.useState)([]),[d,c]=(0,n.useState)(!1),[u,m]=(0,n.useState)(!1),[x,p]=(0,n.useState)(null),{toast:g}=(0,E.dj)(),D=(0,l.mN)({resolver:(0,i.u)(F),defaultValues:{title:"",content:"",targetRoles:[]}}),I=[{id:"all",name:"All Users"},{id:"admin",name:"Administrators"},{id:"entrepreneurship",name:"Entrepreneurship"},{id:"communication",name:"Communication"},{id:"expression",name:"Expression"},{id:"coding",name:"Coding"},{id:"dataintelligence",name:"Data Intelligence"},{id:"mediation",name:"Mediation"}],_=e=>{if("all"===e)r(["all"]),D.setValue("targetRoles",["all"]);else{let t=a.filter(e=>"all"!==e);if(t.includes(e)){let a=t.filter(t=>t!==e);r(a),D.setValue("targetRoles",a)}else{let a=[...t,e];r(a),D.setValue("targetRoles",a)}}},O=async e=>{c(!0),p(null);try{let t=await fetch("/api/announcements",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),a=await t.json();if(!t.ok){let e=a.error||"Failed to create announcement";throw a.details&&(e+=": ".concat(a.details)),console.error("API Error:",a),p(e),Error(e)}D.reset(),r([]),m(!0),g({title:"Announcement created",description:"The announcement has been created successfully."}),setTimeout(()=>m(!1),3e3)}catch(e){console.error("Error submitting announcement:",e),g({title:"Error",description:e instanceof Error?e.message:"Failed to create the announcement. Please try again.",variant:"destructive"})}finally{c(!1)}};return(0,s.jsxs)(A.Zp,{className:"bg-white",children:[(0,s.jsxs)(A.aR,{className:"bg-white text-gray-800",children:[(0,s.jsx)(A.ZB,{children:"Create New Announcement"}),(0,s.jsx)(A.BT,{children:"Create an announcement to be displayed to specific user roles"})]}),(0,s.jsxs)(A.Wu,{children:[x&&(0,s.jsxs)(k.Fc,{variant:"destructive",className:"mb-6",children:[(0,s.jsx)(R.A,{className:"h-4 w-4"}),(0,s.jsx)(k.XL,{children:"Error"}),(0,s.jsx)(k.TN,{children:x})]}),(0,s.jsx)(f,{...D,children:(0,s.jsxs)("form",{onSubmit:D.handleSubmit(O),className:"space-y-6",children:[(0,s.jsx)(h,{control:D.control,name:"title",render:e=>{let{field:t}=e;return(0,s.jsxs)(b,{children:[(0,s.jsx)(j,{className:"text-gray-700",children:"Title"}),(0,s.jsx)(y,{children:(0,s.jsx)(N.p,{placeholder:"Enter announcement title",className:"bg-white text-gray-800 border-gray-300",...t})}),(0,s.jsx)(v,{})]})}}),(0,s.jsx)(h,{control:D.control,name:"content",render:e=>{let{field:t}=e;return(0,s.jsxs)(b,{children:[(0,s.jsx)(j,{className:"text-gray-700",children:"Content"}),(0,s.jsx)(y,{children:(0,s.jsx)(w.T,{placeholder:"Enter announcement content",rows:5,className:"bg-white text-gray-800 border-gray-300",...t})}),(0,s.jsx)(v,{})]})}}),(0,s.jsx)(h,{control:D.control,name:"targetRoles",render:()=>(0,s.jsxs)(b,{children:[(0,s.jsx)(j,{className:"text-gray-700",children:"Target Audience"}),(0,s.jsx)(y,{children:(0,s.jsxs)("div",{className:"p-3 border border-gray-200 rounded-md bg-white",children:[(0,s.jsx)("p",{className:"text-sm text-gray-500 mb-2",children:"Select which roles can see this announcement:"}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:I.map(e=>(0,s.jsxs)(S.E,{variant:a.includes(e.id)?"default":"outline",className:"cursor-pointer px-3 py-1 ".concat(a.includes(e.id)?"bg-blue-600 hover:bg-blue-700 text-white":"bg-white hover:bg-gray-100 text-gray-700 border-gray-300"),onClick:()=>_(e.id),children:[e.name,a.includes(e.id)&&(0,s.jsx)(T.A,{className:"ml-1 h-3 w-3"})]},e.id))})]})}),(0,s.jsx)(v,{})]})}),(0,s.jsx)("div",{className:"flex justify-end",children:(0,s.jsx)(o.$,{type:"submit",disabled:d||u,className:"px-4",children:d?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(C.A,{className:"mr-2 h-4 w-4 animate-spin"}),"Submitting..."]}):u?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(T.A,{className:"mr-2 h-4 w-4"}),"Announcement Created!"]}):"Create Announcement"})})]})})]})]})}var I=a(88524),_=a(92657),O=a(62525),P=a(1243),z=a(99840);function L(e){let{userRole:t}=e,[a,r]=(0,n.useState)([]),[l,i]=(0,n.useState)(null),[d,c]=(0,n.useState)(!1),[u,m]=(0,n.useState)(!1),[f,x]=(0,n.useState)(!0),[h,p]=(0,n.useState)(null),{toast:g}=(0,E.dj)(),b=async()=>{try{x(!0);let e=await fetch("/api/announcements");if(!e.ok)throw Error("Failed to fetch announcements");let t=await e.json();r(t),p(null)}catch(e){console.error("Error fetching announcements:",e),p("Failed to load announcements")}finally{x(!1)}};(0,n.useEffect)(()=>{b()},[]);let j=e=>{i(e),c(!0)},y=e=>{i(e),m(!0)},v=async()=>{if(l)try{if(!(await fetch("/api/announcements/".concat(l.id),{method:"DELETE"})).ok)throw Error("Failed to delete announcement");r(a.filter(e=>e.id!==l.id)),m(!1),g({title:"Announcement deleted",description:"The announcement has been deleted successfully."})}catch(e){console.error("Error deleting announcement:",e),g({title:"Error",description:"Failed to delete the announcement. Please try again.",variant:"destructive"})}},N=e=>e.map(e=>{let t="all"===e?"All Users":e.charAt(0).toUpperCase()+e.slice(1);return(0,s.jsx)(S.E,{variant:"outline",className:"mr-1 bg-white text-gray-700 border-gray-300",children:t},e)});return(0,s.jsxs)(A.Zp,{children:[(0,s.jsx)(A.aR,{children:(0,s.jsx)("div",{className:"flex justify-between items-center",children:(0,s.jsxs)("div",{children:[(0,s.jsx)(A.ZB,{children:"All Announcements"}),(0,s.jsx)(A.BT,{children:"Manage announcements for different user roles"})]})})}),(0,s.jsxs)(A.Wu,{children:[f?(0,s.jsx)("div",{className:"flex items-center justify-center h-40",children:(0,s.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-gray-900"})}):h?(0,s.jsxs)("div",{className:"text-center py-10 text-red-500",children:[h,(0,s.jsx)(o.$,{onClick:b,className:"ml-4",children:"Retry"})]}):0===a.length?(0,s.jsx)("div",{className:"text-center py-10 text-gray-500",children:"No announcements found"}):(0,s.jsx)("div",{className:"border rounded-md max-h-[500px] overflow-y-auto",children:(0,s.jsxs)(I.XI,{children:[(0,s.jsx)(I.A0,{className:"sticky top-0 bg-white z-10",children:(0,s.jsxs)(I.Hj,{children:[(0,s.jsx)(I.nd,{children:"Title"}),(0,s.jsx)(I.nd,{children:"Created"}),(0,s.jsx)(I.nd,{children:"Author"}),(0,s.jsx)(I.nd,{children:"Target Roles"}),(0,s.jsx)(I.nd,{className:"text-right",children:"Actions"})]})}),(0,s.jsx)(I.BF,{children:a.map(e=>(0,s.jsxs)(I.Hj,{children:[(0,s.jsx)(I.nA,{className:"font-medium",children:e.title}),(0,s.jsx)(I.nA,{children:new Date(e.createdAt).toLocaleDateString()}),(0,s.jsx)(I.nA,{children:e.author.email}),(0,s.jsx)(I.nA,{children:N(e.targetRoles)}),(0,s.jsx)(I.nA,{className:"text-right",children:(0,s.jsxs)("div",{className:"flex justify-end space-x-2",children:[(0,s.jsxs)(o.$,{variant:"outline",size:"sm",onClick:()=>j(e),className:"bg-white text-gray-700 border-gray-300",children:[(0,s.jsx)(_.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"View"})]}),(0,s.jsxs)(o.$,{variant:"outline",size:"sm",onClick:()=>y(e),className:"bg-white text-gray-700 border-gray-300",children:[(0,s.jsx)(O.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Delete"})]})]})})]},e.id))})]})}),(0,s.jsx)(z.lG,{open:d,onOpenChange:c,children:(0,s.jsxs)(z.Cf,{className:"sm:max-w-xl",children:[(0,s.jsxs)(z.c7,{children:[(0,s.jsx)(z.L3,{children:null==l?void 0:l.title}),(0,s.jsxs)(z.rr,{children:["Posted by ",null==l?void 0:l.author.email," on ",l&&new Date(l.createdAt).toLocaleDateString()]})]}),(0,s.jsxs)("div",{className:"mt-4",children:[(0,s.jsxs)("div",{className:"mb-2",children:[(0,s.jsx)("span",{className:"text-sm text-gray-500",children:"Target Audience:"})," ",l&&N(l.targetRoles)]}),(0,s.jsx)("p",{className:"text-sm leading-6 text-gray-700",children:null==l?void 0:l.content})]})]})}),(0,s.jsx)(z.lG,{open:u,onOpenChange:m,children:(0,s.jsxs)(z.Cf,{children:[(0,s.jsxs)(z.c7,{children:[(0,s.jsxs)(z.L3,{className:"flex items-center gap-2",children:[(0,s.jsx)(P.A,{className:"text-red-500 h-5 w-5"}),"Confirm Deletion"]}),(0,s.jsxs)(z.rr,{children:['Are you sure you want to delete the announcement "',null==l?void 0:l.title,'"? This action cannot be undone.']})]}),(0,s.jsxs)(z.Es,{className:"mt-4",children:[(0,s.jsx)(o.$,{variant:"outline",onClick:()=>m(!1),children:"Cancel"}),(0,s.jsx)(o.$,{variant:"destructive",onClick:v,children:"Delete"})]})]})})]})]})}var V=a(95784);function U(){let[e,t]=(0,n.useState)([]),[a,r]=(0,n.useState)(null),[l,i]=(0,n.useState)(!0),[d,o]=(0,n.useState)(null);return(0,n.useEffect)(()=>{(async()=>{try{i(!0);let e=await fetch("/api/announcements");if(!e.ok)throw Error("Failed to fetch announcements");let a=await e.json();t(a),a.length>0&&r(a[0])}catch(e){console.error("Error fetching announcements:",e),o("Failed to load announcements")}finally{i(!1)}})()},[]),(0,s.jsx)("div",{className:"flex flex-col space-y-4",children:l?(0,s.jsx)("div",{className:"flex items-center justify-center h-40",children:(0,s.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-gray-900"})}):d?(0,s.jsx)("div",{className:"text-center py-10 text-red-500",children:d}):0===e.length?(0,s.jsx)("div",{className:"text-center py-10 text-gray-500",children:"No announcements available"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"w-full max-w-md",children:(0,s.jsxs)(V.l6,{onValueChange:t=>{let a=e.find(e=>e.id===t);a&&r(a)},defaultValue:null==a?void 0:a.id,children:[(0,s.jsx)(V.bq,{className:"w-full bg-white text-gray-800 border-gray-300",children:(0,s.jsx)(V.yv,{placeholder:"Select an announcement"})}),(0,s.jsx)(V.gC,{children:e.map(e=>(0,s.jsx)(V.eb,{value:e.id,children:e.title},e.id))})]})}),a&&(0,s.jsxs)(A.Zp,{className:"w-full bg-white",children:[(0,s.jsxs)(A.aR,{className:"bg-white text-gray-800",children:[(0,s.jsx)(A.ZB,{children:a.title}),(0,s.jsxs)("div",{className:"text-sm text-gray-500",children:["Posted by ",a.author.email," on ",new Date(a.createdAt).toLocaleDateString()]})]}),(0,s.jsx)(A.Wu,{children:(0,s.jsx)("div",{className:"prose max-h-[300px] overflow-y-auto pr-2",children:a.content})})]})]})})}function M(e){let{userRole:t=[]}=e,a=Array.isArray(t)?t:[t];return a.some(e=>["admin","entrepreneurship","communication"].includes(e))?(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("h1",{className:"text-2xl font-bold mb-6",children:"Announcements Management"}),(0,s.jsxs)(r.tU,{defaultValue:"list",children:[(0,s.jsx)("div",{className:"flex justify-between items-center mb-8",children:(0,s.jsxs)(r.j7,{className:"bg-gray-200 border-0",children:[(0,s.jsx)(r.Xi,{value:"list",className:"data-[state=active]:bg-blue-600 data-[state=active]:text-white text-gray-700",children:"All Announcements"}),(0,s.jsx)(r.Xi,{value:"create",className:"data-[state=active]:bg-blue-600 data-[state=active]:text-white text-gray-700",children:"Create Announcement"})]})}),(0,s.jsx)(r.av,{value:"list",children:(0,s.jsx)(L,{userRole:a})}),(0,s.jsx)(r.av,{value:"create",children:(0,s.jsx)(D,{userRole:a})})]})]}):(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("h1",{className:"text-2xl font-bold mb-6",children:"Announcements"}),(0,s.jsx)(U,{})]})}},82714:(e,t,a)=>{"use strict";a.d(t,{J:()=>o});var s=a(95155),r=a(12115),n=a(72797),l=a(74466),i=a(53999);let d=(0,l.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),o=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.b,{ref:t,className:(0,i.cn)(d(),a),...r})});o.displayName=n.b.displayName},88145:(e,t,a)=>{"use strict";a.d(t,{E:()=>i});var s=a(95155);a(12115);var r=a(74466),n=a(53999);let l=(0,r.F)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",notification:"border-transparent bg-red-500 text-white hover:bg-red-600 absolute -top-1 -right-1 px-1.5 py-0.5 min-w-[1.25rem] h-5 flex items-center justify-center"},shape:{default:"rounded-full",pill:"rounded-full",square:"rounded-md"},size:{default:"text-xs px-2.5 py-0.5",sm:"text-xs px-2 py-0.25 h-3.5 min-w-[1rem]",lg:"text-sm px-3 py-1",notification:"text-xs px-1.5 py-0.5 h-5 min-w-[1.25rem]"}},defaultVariants:{variant:"default",shape:"default",size:"default"}});function i(e){let{className:t,variant:a,shape:r,size:i,...d}=e;return(0,s.jsx)("div",{className:(0,n.cn)(l({variant:a,shape:r,size:i}),t),...d})}},88482:(e,t,a)=>{"use strict";a.d(t,{BT:()=>o,Wu:()=>c,ZB:()=>d,Zp:()=>l,aR:()=>i});var s=a(95155),r=a(12115),n=a(53999);let l=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",a),...r})});l.displayName="Card";let i=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex flex-col space-y-1.5 p-6",a),...r})});i.displayName="CardHeader";let d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("text-2xl font-semibold leading-none tracking-tight",a),...r})});d.displayName="CardTitle";let o=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("text-sm text-muted-foreground",a),...r})});o.displayName="CardDescription";let c=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("p-6 pt-0",a),...r})});c.displayName="CardContent",r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{ref:t,className:(0,n.cn)("flex items-center p-6 pt-0",a),...r})}).displayName="CardFooter"},88524:(e,t,a)=>{"use strict";a.d(t,{A0:()=>i,BF:()=>d,Hj:()=>o,XI:()=>l,nA:()=>u,nd:()=>c});var s=a(95155),r=a(12115),n=a(53999);let l=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("div",{className:"relative w-full overflow-auto",children:(0,s.jsx)("table",{ref:t,className:(0,n.cn)("w-full caption-bottom text-sm",a),...r})})});l.displayName="Table";let i=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("thead",{ref:t,className:(0,n.cn)("[&_tr]:border-b",a),...r})});i.displayName="TableHeader";let d=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("tbody",{ref:t,className:(0,n.cn)("[&_tr:last-child]:border-0",a),...r})});d.displayName="TableBody",r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("tfoot",{ref:t,className:(0,n.cn)("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",a),...r})}).displayName="TableFooter";let o=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("tr",{ref:t,className:(0,n.cn)("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",a),...r})});o.displayName="TableRow";let c=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("th",{ref:t,className:(0,n.cn)("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",a),...r})});c.displayName="TableHead";let u=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("td",{ref:t,className:(0,n.cn)("p-4 align-middle [&:has([role=checkbox])]:pr-0",a),...r})});u.displayName="TableCell",r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("caption",{ref:t,className:(0,n.cn)("mt-4 text-sm text-muted-foreground",a),...r})}).displayName="TableCaption"},89852:(e,t,a)=>{"use strict";a.d(t,{p:()=>l});var s=a(95155),r=a(12115),n=a(53999);let l=r.forwardRef((e,t)=>{let{className:a,type:r,...l}=e;return(0,s.jsx)("input",{type:r,className:(0,n.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:t,...l})});l.displayName="Input"},95784:(e,t,a)=>{"use strict";a.d(t,{bq:()=>m,eb:()=>p,gC:()=>h,l6:()=>c,yv:()=>u});var s=a(95155),r=a(12115),n=a(43433),l=a(66474),i=a(47863),d=a(5196),o=a(53999);let c=n.bL;n.YJ;let u=n.WT,m=r.forwardRef((e,t)=>{let{className:a,children:r,...i}=e;return(0,s.jsxs)(n.l9,{ref:t,className:(0,o.cn)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",a),...i,children:[r,(0,s.jsx)(n.In,{asChild:!0,children:(0,s.jsx)(l.A,{className:"h-4 w-4 opacity-50"})})]})});m.displayName=n.l9.displayName;let f=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.PP,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",a),...r,children:(0,s.jsx)(i.A,{className:"h-4 w-4"})})});f.displayName=n.PP.displayName;let x=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.wn,{ref:t,className:(0,o.cn)("flex cursor-default items-center justify-center py-1",a),...r,children:(0,s.jsx)(l.A,{className:"h-4 w-4"})})});x.displayName=n.wn.displayName;let h=r.forwardRef((e,t)=>{let{className:a,children:r,position:l="popper",...i}=e;return(0,s.jsx)(n.ZL,{children:(0,s.jsxs)(n.UC,{ref:t,className:(0,o.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===l&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:l,...i,children:[(0,s.jsx)(f,{}),(0,s.jsx)(n.LM,{className:(0,o.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:r}),(0,s.jsx)(x,{})]})})});h.displayName=n.UC.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.JU,{ref:t,className:(0,o.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",a),...r})}).displayName=n.JU.displayName;let p=r.forwardRef((e,t)=>{let{className:a,children:r,...l}=e;return(0,s.jsxs)(n.q7,{ref:t,className:(0,o.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...l,children:[(0,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(n.VF,{children:(0,s.jsx)(d.A,{className:"h-4 w-4"})})}),(0,s.jsx)(n.p4,{children:r})]})});p.displayName=n.q7.displayName,r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.wv,{ref:t,className:(0,o.cn)("-mx-1 my-1 h-px bg-muted",a),...r})}).displayName=n.wv.displayName},97168:(e,t,a)=>{"use strict";a.d(t,{$:()=>o,r:()=>d});var s=a(95155),r=a(12115),n=a(99708),l=a(74466),i=a(53999);let d=(0,l.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),o=r.forwardRef((e,t)=>{let{className:a,variant:r,size:l,asChild:o=!1,...c}=e,u=o?n.DX:"button";return(0,s.jsx)(u,{className:(0,i.cn)(d({variant:r,size:l,className:a})),ref:t,...c})});o.displayName="Button"},99474:(e,t,a)=>{"use strict";a.d(t,{T:()=>l});var s=a(95155),r=a(12115),n=a(53999);let l=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)("textarea",{className:(0,n.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:t,...r})});l.displayName="Textarea"},99840:(e,t,a)=>{"use strict";a.d(t,{Cf:()=>m,Es:()=>x,L3:()=>h,ZJ:()=>c,c7:()=>f,lG:()=>d,rr:()=>p,zM:()=>o});var s=a(95155),r=a(12115),n=a(45821),l=a(54416),i=a(53999);let d=n.bL,o=n.l9,c=n.ZL;n.bm;let u=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.hJ,{ref:t,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...r})});u.displayName=n.hJ.displayName;let m=r.forwardRef((e,t)=>{let{className:a,children:r,...d}=e;return(0,s.jsxs)(c,{children:[(0,s.jsx)(u,{}),(0,s.jsxs)(n.UC,{ref:t,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-white p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...d,children:[r,(0,s.jsxs)(n.bm,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,s.jsx)(l.A,{className:"h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});m.displayName=n.UC.displayName;let f=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...a})};f.displayName="DialogHeader";let x=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a})};x.displayName="DialogFooter";let h=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.hE,{ref:t,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",a),...r})});h.displayName=n.hE.displayName;let p=r.forwardRef((e,t)=>{let{className:a,...r}=e;return(0,s.jsx)(n.VY,{ref:t,className:(0,i.cn)("text-sm text-muted-foreground",a),...r})});p.displayName=n.VY.displayName}},e=>{var t=t=>e(e.s=t);e.O(0,[4277,5685,5652,4159,2468,8441,1684,7358],()=>t(52591)),_N_E=e.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/admin/restore-credentials/route-d6ebcb81f12b02d8.js b/.next/static/chunks/app/api/admin/restore-credentials/route-d6ebcb81f12b02d8.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/admin/restore-credentials/route-d6ebcb81f12b02d8.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/admin/view-redis-credentials/route-3aad6dbf7f8ff774.js b/.next/static/chunks/app/api/admin/view-redis-credentials/route-3aad6dbf7f8ff774.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/admin/view-redis-credentials/route-3aad6dbf7f8ff774.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/announcements/[id]/route-6aca1ce8abd7808a.js b/.next/static/chunks/app/api/announcements/[id]/route-6aca1ce8abd7808a.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/announcements/[id]/route-6aca1ce8abd7808a.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/announcements/route-13f2480ba5412f63.js b/.next/static/chunks/app/api/announcements/route-13f2480ba5412f63.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/announcements/route-13f2480ba5412f63.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/auth/[...nextauth]/route-108cdfb7306a96fe.js b/.next/static/chunks/app/api/auth/[...nextauth]/route-108cdfb7306a96fe.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/auth/[...nextauth]/route-108cdfb7306a96fe.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/auth/debug-keycloak/route-7bdac8a908114384.js b/.next/static/chunks/app/api/auth/debug-keycloak/route-7bdac8a908114384.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/auth/debug-keycloak/route-7bdac8a908114384.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/auth/refresh-keycloak-session/route-44d37a5d32f277e6.js b/.next/static/chunks/app/api/auth/refresh-keycloak-session/route-44d37a5d32f277e6.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/auth/refresh-keycloak-session/route-44d37a5d32f277e6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/calendar/route-ceaa6f2a2fac27e4.js b/.next/static/chunks/app/api/calendar/route-ceaa6f2a2fac27e4.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/calendar/route-ceaa6f2a2fac27e4.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/calendars/[id]/events/[eventId]/route-4e9f86f18f6a0ef5.js b/.next/static/chunks/app/api/calendars/[id]/events/[eventId]/route-4e9f86f18f6a0ef5.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/calendars/[id]/events/[eventId]/route-4e9f86f18f6a0ef5.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/calendars/[id]/events/route-7c2a2181aacf1cb5.js b/.next/static/chunks/app/api/calendars/[id]/events/route-7c2a2181aacf1cb5.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/calendars/[id]/events/route-7c2a2181aacf1cb5.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/calendars/[id]/route-68efeb7ec0679e92.js b/.next/static/chunks/app/api/calendars/[id]/route-68efeb7ec0679e92.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/calendars/[id]/route-68efeb7ec0679e92.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/calendars/[id]/share/route-1ec2f3b7d23a53cb.js b/.next/static/chunks/app/api/calendars/[id]/share/route-1ec2f3b7d23a53cb.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/calendars/[id]/share/route-1ec2f3b7d23a53cb.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/calendars/default/route-5baae49a69e04682.js b/.next/static/chunks/app/api/calendars/default/route-5baae49a69e04682.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/calendars/default/route-5baae49a69e04682.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/calendars/route-cee076d66c1a5d2b.js b/.next/static/chunks/app/api/calendars/route-cee076d66c1a5d2b.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/calendars/route-cee076d66c1a5d2b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/[id]/flag/route-b9c94a8ab3de812c.js b/.next/static/chunks/app/api/courrier/[id]/flag/route-b9c94a8ab3de812c.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/[id]/flag/route-b9c94a8ab3de812c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/[id]/mark-read/route-864b81d35bb1dee3.js b/.next/static/chunks/app/api/courrier/[id]/mark-read/route-864b81d35bb1dee3.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/[id]/mark-read/route-864b81d35bb1dee3.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/[id]/route-3c2170dfb66100b4.js b/.next/static/chunks/app/api/courrier/[id]/route-3c2170dfb66100b4.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/[id]/route-3c2170dfb66100b4.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/account-details/route-f540c52e08c15caa.js b/.next/static/chunks/app/api/courrier/account-details/route-f540c52e08c15caa.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/account-details/route-f540c52e08c15caa.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/account-folders/route-60ff45358f214c55.js b/.next/static/chunks/app/api/courrier/account-folders/route-60ff45358f214c55.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/account-folders/route-60ff45358f214c55.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/account-list/route-b6bbc5293db28ab0.js b/.next/static/chunks/app/api/courrier/account-list/route-b6bbc5293db28ab0.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/account-list/route-b6bbc5293db28ab0.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/account/route-79dfd95ad09f83e3.js b/.next/static/chunks/app/api/courrier/account/route-79dfd95ad09f83e3.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/account/route-79dfd95ad09f83e3.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/credentials/route-f1b7acb4467175d1.js b/.next/static/chunks/app/api/courrier/credentials/route-f1b7acb4467175d1.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/credentials/route-f1b7acb4467175d1.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/debug-account/route-63d3688dd726de9b.js b/.next/static/chunks/app/api/courrier/debug-account/route-63d3688dd726de9b.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/debug-account/route-63d3688dd726de9b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/delete/route-9f8e22e2bf530628.js b/.next/static/chunks/app/api/courrier/delete/route-9f8e22e2bf530628.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/delete/route-9f8e22e2bf530628.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/emails/route-ce6669be2009c295.js b/.next/static/chunks/app/api/courrier/emails/route-ce6669be2009c295.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/emails/route-ce6669be2009c295.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/fix-folders/route-4995555a56286691.js b/.next/static/chunks/app/api/courrier/fix-folders/route-4995555a56286691.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/fix-folders/route-4995555a56286691.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/microsoft/callback/route-b8ae73e8ee5363aa.js b/.next/static/chunks/app/api/courrier/microsoft/callback/route-b8ae73e8ee5363aa.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/microsoft/callback/route-b8ae73e8ee5363aa.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/microsoft/route-27ef0cc357f951a7.js b/.next/static/chunks/app/api/courrier/microsoft/route-27ef0cc357f951a7.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/microsoft/route-27ef0cc357f951a7.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/recache/route-b6d33418a83e4151.js b/.next/static/chunks/app/api/courrier/recache/route-b6d33418a83e4151.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/recache/route-b6d33418a83e4151.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/refresh/route-338eccffc78d7e4e.js b/.next/static/chunks/app/api/courrier/refresh/route-338eccffc78d7e4e.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/refresh/route-338eccffc78d7e4e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/route-37df324daefbc5aa.js b/.next/static/chunks/app/api/courrier/route-37df324daefbc5aa.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/route-37df324daefbc5aa.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/send/route-761390b45beffafb.js b/.next/static/chunks/app/api/courrier/send/route-761390b45beffafb.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/send/route-761390b45beffafb.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/session/route-732ec7c54f8623ae.js b/.next/static/chunks/app/api/courrier/session/route-732ec7c54f8623ae.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/session/route-732ec7c54f8623ae.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/test-connection/route-f78704cbec17cecc.js b/.next/static/chunks/app/api/courrier/test-connection/route-f78704cbec17cecc.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/test-connection/route-f78704cbec17cecc.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/courrier/unread-counts/route-d6b46f53476c5e39.js b/.next/static/chunks/app/api/courrier/unread-counts/route-d6b46f53476c5e39.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/courrier/unread-counts/route-d6b46f53476c5e39.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/debug-email/route-f0d1ed64aedd6763.js b/.next/static/chunks/app/api/debug-email/route-f0d1ed64aedd6763.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/debug-email/route-f0d1ed64aedd6763.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/debug/create-all-folders/route-28aacec1ec8d00e6.js b/.next/static/chunks/app/api/debug/create-all-folders/route-28aacec1ec8d00e6.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/debug/create-all-folders/route-28aacec1ec8d00e6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/debug/leantime-methods/route-e0c814faa0166208.js b/.next/static/chunks/app/api/debug/leantime-methods/route-e0c814faa0166208.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/debug/leantime-methods/route-e0c814faa0166208.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/debug/notifications/route-deea705f8dec9b62.js b/.next/static/chunks/app/api/debug/notifications/route-deea705f8dec9b62.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/debug/notifications/route-deea705f8dec9b62.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/debug/s3/route-a71c5d46d4eaf406.js b/.next/static/chunks/app/api/debug/s3/route-a71c5d46d4eaf406.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/debug/s3/route-a71c5d46d4eaf406.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/emails/route-a0b190a9629cbdcc.js b/.next/static/chunks/app/api/emails/route-a0b190a9629cbdcc.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/emails/route-a0b190a9629cbdcc.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/events/[id]/route-fe1ef37578283437.js b/.next/static/chunks/app/api/events/[id]/route-fe1ef37578283437.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/events/[id]/route-fe1ef37578283437.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/events/route-7fcb5ab27e49d29b.js b/.next/static/chunks/app/api/events/route-7fcb5ab27e49d29b.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/events/route-7fcb5ab27e49d29b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/groups/[groupId]/members/route-9938333b900bbe46.js b/.next/static/chunks/app/api/groups/[groupId]/members/route-9938333b900bbe46.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/groups/[groupId]/members/route-9938333b900bbe46.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/groups/[groupId]/route-3105f8a2cd663723.js b/.next/static/chunks/app/api/groups/[groupId]/route-3105f8a2cd663723.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/groups/[groupId]/route-3105f8a2cd663723.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/groups/route-07ed06cbe4adab82.js b/.next/static/chunks/app/api/groups/route-07ed06cbe4adab82.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/groups/route-07ed06cbe4adab82.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/leantime/status-labels/route-de50274874164046.js b/.next/static/chunks/app/api/leantime/status-labels/route-de50274874164046.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/leantime/status-labels/route-de50274874164046.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/leantime/tasks/route-df87a137dd8e0266.js b/.next/static/chunks/app/api/leantime/tasks/route-df87a137dd8e0266.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/leantime/tasks/route-df87a137dd8e0266.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/missions/[missionId]/attachments/[attachmentId]/route-6f8571f7e85111ad.js b/.next/static/chunks/app/api/missions/[missionId]/attachments/[attachmentId]/route-6f8571f7e85111ad.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/missions/[missionId]/attachments/[attachmentId]/route-6f8571f7e85111ad.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/missions/[missionId]/attachments/download/[attachmentId]/route-d8b1bb5b2e98ac7d.js b/.next/static/chunks/app/api/missions/[missionId]/attachments/download/[attachmentId]/route-d8b1bb5b2e98ac7d.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/missions/[missionId]/attachments/download/[attachmentId]/route-d8b1bb5b2e98ac7d.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/missions/[missionId]/attachments/route-3682706f4c2efb92.js b/.next/static/chunks/app/api/missions/[missionId]/attachments/route-3682706f4c2efb92.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/missions/[missionId]/attachments/route-3682706f4c2efb92.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/missions/[missionId]/route-aa8032083e99f658.js b/.next/static/chunks/app/api/missions/[missionId]/route-aa8032083e99f658.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/missions/[missionId]/route-aa8032083e99f658.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/missions/all/route-9e3f10cc69bfa039.js b/.next/static/chunks/app/api/missions/all/route-9e3f10cc69bfa039.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/missions/all/route-9e3f10cc69bfa039.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/missions/image/[...path]/route-5f70a5a33a96456b.js b/.next/static/chunks/app/api/missions/image/[...path]/route-5f70a5a33a96456b.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/missions/image/[...path]/route-5f70a5a33a96456b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/missions/route-e909f5937774b243.js b/.next/static/chunks/app/api/missions/route-e909f5937774b243.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/missions/route-e909f5937774b243.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/missions/upload/route-835a51c3f3d9332c.js b/.next/static/chunks/app/api/missions/upload/route-835a51c3f3d9332c.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/missions/upload/route-835a51c3f3d9332c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/news/purge-cache/route-1985850b76382a12.js b/.next/static/chunks/app/api/news/purge-cache/route-1985850b76382a12.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/news/purge-cache/route-1985850b76382a12.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/news/route-9e1ed99807eddc8d.js b/.next/static/chunks/app/api/news/route-9e1ed99807eddc8d.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/news/route-9e1ed99807eddc8d.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/news/test-backend/route-4dd4f48ee26d41fc.js b/.next/static/chunks/app/api/news/test-backend/route-4dd4f48ee26d41fc.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/news/test-backend/route-4dd4f48ee26d41fc.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/nextcloud/files/content/route-ea60113dc1a370f4.js b/.next/static/chunks/app/api/nextcloud/files/content/route-ea60113dc1a370f4.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/nextcloud/files/content/route-ea60113dc1a370f4.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/nextcloud/files/route-6afa4fcce4051dc6.js b/.next/static/chunks/app/api/nextcloud/files/route-6afa4fcce4051dc6.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/nextcloud/files/route-6afa4fcce4051dc6.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/nextcloud/init/route-961ec9fe41f658bf.js b/.next/static/chunks/app/api/nextcloud/init/route-961ec9fe41f658bf.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/nextcloud/init/route-961ec9fe41f658bf.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/nextcloud/status/route-660c7c428ecda8db.js b/.next/static/chunks/app/api/nextcloud/status/route-660c7c428ecda8db.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/nextcloud/status/route-660c7c428ecda8db.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/notifications/[id]/read/route-c22a696d4c73acdd.js b/.next/static/chunks/app/api/notifications/[id]/read/route-c22a696d4c73acdd.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/notifications/[id]/read/route-c22a696d4c73acdd.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/notifications/count/route-2e6378e7aa01094c.js b/.next/static/chunks/app/api/notifications/count/route-2e6378e7aa01094c.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/notifications/count/route-2e6378e7aa01094c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/notifications/read-all/route-e99f1d268cf7f921.js b/.next/static/chunks/app/api/notifications/read-all/route-e99f1d268cf7f921.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/notifications/read-all/route-e99f1d268cf7f921.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/notifications/route-596bce6625c31690.js b/.next/static/chunks/app/api/notifications/route-596bce6625c31690.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/notifications/route-596bce6625c31690.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/parse-email/route-9b7a1d32337db7b0.js b/.next/static/chunks/app/api/parse-email/route-9b7a1d32337db7b0.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/parse-email/route-9b7a1d32337db7b0.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/redis/status/route-2c9ea87db2a03d67.js b/.next/static/chunks/app/api/redis/status/route-2c9ea87db2a03d67.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/redis/status/route-2c9ea87db2a03d67.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/rocket-chat/messages/route-923d93efbc6adfec.js b/.next/static/chunks/app/api/rocket-chat/messages/route-923d93efbc6adfec.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/rocket-chat/messages/route-923d93efbc6adfec.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/roles/route-8ba179511fcdf11c.js b/.next/static/chunks/app/api/roles/route-8ba179511fcdf11c.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/roles/route-8ba179511fcdf11c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/storage/files/content/route-f0619c81ee44d25b.js b/.next/static/chunks/app/api/storage/files/content/route-f0619c81ee44d25b.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/storage/files/content/route-f0619c81ee44d25b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/storage/files/route-92eda42ebc4e0b53.js b/.next/static/chunks/app/api/storage/files/route-92eda42ebc4e0b53.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/storage/files/route-92eda42ebc4e0b53.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/storage/init/folder/route-4d12ec002dfd0128.js b/.next/static/chunks/app/api/storage/init/folder/route-4d12ec002dfd0128.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/storage/init/folder/route-4d12ec002dfd0128.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/storage/init/route-f13121236f8a20cb.js b/.next/static/chunks/app/api/storage/init/route-f13121236f8a20cb.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/storage/init/route-f13121236f8a20cb.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/storage/status/route-e0891e19354ecc85.js b/.next/static/chunks/app/api/storage/status/route-e0891e19354ecc85.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/storage/status/route-e0891e19354ecc85.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/sync-users/route-2db2917c1e45dd59.js b/.next/static/chunks/app/api/sync-users/route-2db2917c1e45dd59.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/sync-users/route-2db2917c1e45dd59.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/users/[userId]/password/route-2ed9c46708f05023.js b/.next/static/chunks/app/api/users/[userId]/password/route-2ed9c46708f05023.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/users/[userId]/password/route-2ed9c46708f05023.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/users/[userId]/roles/route-f2f5256ed85a9b0a.js b/.next/static/chunks/app/api/users/[userId]/roles/route-f2f5256ed85a9b0a.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/users/[userId]/roles/route-f2f5256ed85a9b0a.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/users/[userId]/route-d9c8faf594d79b4a.js b/.next/static/chunks/app/api/users/[userId]/route-d9c8faf594d79b4a.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/users/[userId]/route-d9c8faf594d79b4a.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/api/users/route-e75f2936652c0c0d.js b/.next/static/chunks/app/api/users/route-e75f2936652c0c0d.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/api/users/route-e75f2936652c0c0d.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/apprendre/page-feb4b632bf8d5015.js b/.next/static/chunks/app/apprendre/page-feb4b632bf8d5015.js new file mode 100644 index 00000000..1c8b35f0 --- /dev/null +++ b/.next/static/chunks/app/apprendre/page-feb4b632bf8d5015.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[351,604,768,891,1176,2354,2821,3050,3518,3548,3874,4021,5952,6351,8626,9465,9552],{43902:(e,s,n)=>{"use strict";n.d(s,{ResponsiveIframe:()=>o});var t=n(95155),i=n(12115),r=n(12108);function o(e){let{src:s,className:n="",allow:o,style:a}=e,l=(0,i.useRef)(null),{data:c}=(0,r.useSession)(),[d,h]=(0,i.useState)(!1),[f,u]=(0,i.useState)(""),[w,m]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(s&&c){if(w){f||u(s);return}if(!c.accessToken||!c.refreshToken){console.warn("Session missing required tokens, redirecting to sign-in"),window.location.href="/signin";return}(async()=>{h(!0),m(!0);try{await new Promise(e=>setTimeout(e,100));let e=await fetch("/api/auth/refresh-keycloak-session",{method:"GET",credentials:"include"});if(e.ok)console.log("Session refreshed before loading iframe"),u(s);else{let n=await e.json().catch(()=>({}));if(401===e.status&&"SessionInvalidated"===n.error){console.warn("Keycloak session invalidated, redirecting to sign-in"),window.location.href="/signin";return}console.warn("Failed to refresh session, loading iframe anyway (may require login)"),u(s)}}catch(e){console.error("Error refreshing session:",e),u(s)}finally{h(!1)}})()}},[c,s,w,f]),(0,i.useEffect)(()=>{let e=l.current;if(!e||!f)return;let s=()=>{let s=e=>e.offsetParent?e.offsetTop+s(e.offsetParent):e.offsetTop,n=Math.max(0,document.documentElement.clientHeight-s(e));e.style.height="".concat(n,"px")},n=()=>{if(window.location.hash&&window.location.hash.length&&e.src){let s=new URL(e.src);s.hash=window.location.hash,e.src=s.toString()}};return s(),n(),window.addEventListener("resize",s),window.addEventListener("hashchange",n),e.addEventListener("load",s),()=>{window.removeEventListener("resize",s),window.removeEventListener("hashchange",n),e.removeEventListener("load",s)}},[]),(0,t.jsxs)(t.Fragment,{children:[d&&(0,t.jsx)("div",{className:"flex items-center justify-center w-full h-full absolute bg-black/50 z-10",children:(0,t.jsxs)("div",{className:"text-center bg-white p-4 rounded-lg",children:[(0,t.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-blue-500 mx-auto mb-4"}),(0,t.jsx)("p",{className:"text-gray-600",children:"Actualisation de la session..."})]})}),(0,t.jsx)("iframe",{ref:l,id:"myFrame",src:f||s,className:"w-full border-none ".concat(n),style:{display:"block",width:"100%",height:"100%",...a},allow:o,allowFullScreen:!0})]})}},68379:(e,s,n)=>{Promise.resolve().then(n.bind(n,43902))}},e=>{var s=s=>e(e.s=s);e.O(0,[2108,8441,1684,7358],()=>s(68379)),_N_E=e.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/artlab/page-c3703bd9e9db681d.js b/.next/static/chunks/app/artlab/page-c3703bd9e9db681d.js new file mode 100644 index 00000000..1c8b35f0 --- /dev/null +++ b/.next/static/chunks/app/artlab/page-c3703bd9e9db681d.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[351,604,768,891,1176,2354,2821,3050,3518,3548,3874,4021,5952,6351,8626,9465,9552],{43902:(e,s,n)=>{"use strict";n.d(s,{ResponsiveIframe:()=>o});var t=n(95155),i=n(12115),r=n(12108);function o(e){let{src:s,className:n="",allow:o,style:a}=e,l=(0,i.useRef)(null),{data:c}=(0,r.useSession)(),[d,h]=(0,i.useState)(!1),[f,u]=(0,i.useState)(""),[w,m]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(s&&c){if(w){f||u(s);return}if(!c.accessToken||!c.refreshToken){console.warn("Session missing required tokens, redirecting to sign-in"),window.location.href="/signin";return}(async()=>{h(!0),m(!0);try{await new Promise(e=>setTimeout(e,100));let e=await fetch("/api/auth/refresh-keycloak-session",{method:"GET",credentials:"include"});if(e.ok)console.log("Session refreshed before loading iframe"),u(s);else{let n=await e.json().catch(()=>({}));if(401===e.status&&"SessionInvalidated"===n.error){console.warn("Keycloak session invalidated, redirecting to sign-in"),window.location.href="/signin";return}console.warn("Failed to refresh session, loading iframe anyway (may require login)"),u(s)}}catch(e){console.error("Error refreshing session:",e),u(s)}finally{h(!1)}})()}},[c,s,w,f]),(0,i.useEffect)(()=>{let e=l.current;if(!e||!f)return;let s=()=>{let s=e=>e.offsetParent?e.offsetTop+s(e.offsetParent):e.offsetTop,n=Math.max(0,document.documentElement.clientHeight-s(e));e.style.height="".concat(n,"px")},n=()=>{if(window.location.hash&&window.location.hash.length&&e.src){let s=new URL(e.src);s.hash=window.location.hash,e.src=s.toString()}};return s(),n(),window.addEventListener("resize",s),window.addEventListener("hashchange",n),e.addEventListener("load",s),()=>{window.removeEventListener("resize",s),window.removeEventListener("hashchange",n),e.removeEventListener("load",s)}},[]),(0,t.jsxs)(t.Fragment,{children:[d&&(0,t.jsx)("div",{className:"flex items-center justify-center w-full h-full absolute bg-black/50 z-10",children:(0,t.jsxs)("div",{className:"text-center bg-white p-4 rounded-lg",children:[(0,t.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-blue-500 mx-auto mb-4"}),(0,t.jsx)("p",{className:"text-gray-600",children:"Actualisation de la session..."})]})}),(0,t.jsx)("iframe",{ref:l,id:"myFrame",src:f||s,className:"w-full border-none ".concat(n),style:{display:"block",width:"100%",height:"100%",...a},allow:o,allowFullScreen:!0})]})}},68379:(e,s,n)=>{Promise.resolve().then(n.bind(n,43902))}},e=>{var s=s=>e(e.s=s);e.O(0,[2108,8441,1684,7358],()=>s(68379)),_N_E=e.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/calcul/page-cd716bfde5b3a78c.js b/.next/static/chunks/app/calcul/page-cd716bfde5b3a78c.js new file mode 100644 index 00000000..1c8b35f0 --- /dev/null +++ b/.next/static/chunks/app/calcul/page-cd716bfde5b3a78c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[351,604,768,891,1176,2354,2821,3050,3518,3548,3874,4021,5952,6351,8626,9465,9552],{43902:(e,s,n)=>{"use strict";n.d(s,{ResponsiveIframe:()=>o});var t=n(95155),i=n(12115),r=n(12108);function o(e){let{src:s,className:n="",allow:o,style:a}=e,l=(0,i.useRef)(null),{data:c}=(0,r.useSession)(),[d,h]=(0,i.useState)(!1),[f,u]=(0,i.useState)(""),[w,m]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(s&&c){if(w){f||u(s);return}if(!c.accessToken||!c.refreshToken){console.warn("Session missing required tokens, redirecting to sign-in"),window.location.href="/signin";return}(async()=>{h(!0),m(!0);try{await new Promise(e=>setTimeout(e,100));let e=await fetch("/api/auth/refresh-keycloak-session",{method:"GET",credentials:"include"});if(e.ok)console.log("Session refreshed before loading iframe"),u(s);else{let n=await e.json().catch(()=>({}));if(401===e.status&&"SessionInvalidated"===n.error){console.warn("Keycloak session invalidated, redirecting to sign-in"),window.location.href="/signin";return}console.warn("Failed to refresh session, loading iframe anyway (may require login)"),u(s)}}catch(e){console.error("Error refreshing session:",e),u(s)}finally{h(!1)}})()}},[c,s,w,f]),(0,i.useEffect)(()=>{let e=l.current;if(!e||!f)return;let s=()=>{let s=e=>e.offsetParent?e.offsetTop+s(e.offsetParent):e.offsetTop,n=Math.max(0,document.documentElement.clientHeight-s(e));e.style.height="".concat(n,"px")},n=()=>{if(window.location.hash&&window.location.hash.length&&e.src){let s=new URL(e.src);s.hash=window.location.hash,e.src=s.toString()}};return s(),n(),window.addEventListener("resize",s),window.addEventListener("hashchange",n),e.addEventListener("load",s),()=>{window.removeEventListener("resize",s),window.removeEventListener("hashchange",n),e.removeEventListener("load",s)}},[]),(0,t.jsxs)(t.Fragment,{children:[d&&(0,t.jsx)("div",{className:"flex items-center justify-center w-full h-full absolute bg-black/50 z-10",children:(0,t.jsxs)("div",{className:"text-center bg-white p-4 rounded-lg",children:[(0,t.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-blue-500 mx-auto mb-4"}),(0,t.jsx)("p",{className:"text-gray-600",children:"Actualisation de la session..."})]})}),(0,t.jsx)("iframe",{ref:l,id:"myFrame",src:f||s,className:"w-full border-none ".concat(n),style:{display:"block",width:"100%",height:"100%",...a},allow:o,allowFullScreen:!0})]})}},68379:(e,s,n)=>{Promise.resolve().then(n.bind(n,43902))}},e=>{var s=s=>e(e.s=s);e.O(0,[2108,8441,1684,7358],()=>s(68379)),_N_E=e.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/chapitre/page-6d51cc761689ef8b.js b/.next/static/chunks/app/chapitre/page-6d51cc761689ef8b.js new file mode 100644 index 00000000..1c8b35f0 --- /dev/null +++ b/.next/static/chunks/app/chapitre/page-6d51cc761689ef8b.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[351,604,768,891,1176,2354,2821,3050,3518,3548,3874,4021,5952,6351,8626,9465,9552],{43902:(e,s,n)=>{"use strict";n.d(s,{ResponsiveIframe:()=>o});var t=n(95155),i=n(12115),r=n(12108);function o(e){let{src:s,className:n="",allow:o,style:a}=e,l=(0,i.useRef)(null),{data:c}=(0,r.useSession)(),[d,h]=(0,i.useState)(!1),[f,u]=(0,i.useState)(""),[w,m]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(s&&c){if(w){f||u(s);return}if(!c.accessToken||!c.refreshToken){console.warn("Session missing required tokens, redirecting to sign-in"),window.location.href="/signin";return}(async()=>{h(!0),m(!0);try{await new Promise(e=>setTimeout(e,100));let e=await fetch("/api/auth/refresh-keycloak-session",{method:"GET",credentials:"include"});if(e.ok)console.log("Session refreshed before loading iframe"),u(s);else{let n=await e.json().catch(()=>({}));if(401===e.status&&"SessionInvalidated"===n.error){console.warn("Keycloak session invalidated, redirecting to sign-in"),window.location.href="/signin";return}console.warn("Failed to refresh session, loading iframe anyway (may require login)"),u(s)}}catch(e){console.error("Error refreshing session:",e),u(s)}finally{h(!1)}})()}},[c,s,w,f]),(0,i.useEffect)(()=>{let e=l.current;if(!e||!f)return;let s=()=>{let s=e=>e.offsetParent?e.offsetTop+s(e.offsetParent):e.offsetTop,n=Math.max(0,document.documentElement.clientHeight-s(e));e.style.height="".concat(n,"px")},n=()=>{if(window.location.hash&&window.location.hash.length&&e.src){let s=new URL(e.src);s.hash=window.location.hash,e.src=s.toString()}};return s(),n(),window.addEventListener("resize",s),window.addEventListener("hashchange",n),e.addEventListener("load",s),()=>{window.removeEventListener("resize",s),window.removeEventListener("hashchange",n),e.removeEventListener("load",s)}},[]),(0,t.jsxs)(t.Fragment,{children:[d&&(0,t.jsx)("div",{className:"flex items-center justify-center w-full h-full absolute bg-black/50 z-10",children:(0,t.jsxs)("div",{className:"text-center bg-white p-4 rounded-lg",children:[(0,t.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-blue-500 mx-auto mb-4"}),(0,t.jsx)("p",{className:"text-gray-600",children:"Actualisation de la session..."})]})}),(0,t.jsx)("iframe",{ref:l,id:"myFrame",src:f||s,className:"w-full border-none ".concat(n),style:{display:"block",width:"100%",height:"100%",...a},allow:o,allowFullScreen:!0})]})}},68379:(e,s,n)=>{Promise.resolve().then(n.bind(n,43902))}},e=>{var s=s=>e(e.s=s);e.O(0,[2108,8441,1684,7358],()=>s(68379)),_N_E=e.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/courrier/[id]/route-44db97c8a4b9dc3e.js b/.next/static/chunks/app/courrier/[id]/route-44db97c8a4b9dc3e.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/courrier/[id]/route-44db97c8a4b9dc3e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/courrier/layout-b40cb17492badfed.js b/.next/static/chunks/app/courrier/layout-b40cb17492badfed.js new file mode 100644 index 00000000..00ed4d76 --- /dev/null +++ b/.next/static/chunks/app/courrier/layout-b40cb17492badfed.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[152,267,318,455,516,558,564,971,1014,1084,1274,1276,1311,1563,1571,1632,1754,1768,1948,2019,2091,2170,2222,2263,2420,2451,2481,2546,2824,2910,3080,3259,3353,3429,3500,3525,3540,3659,3696,3731,3920,4072,4207,4285,4621,4781,4839,4899,4999,5040,5063,5367,5475,5905,6086,6484,6598,6778,6895,7209,7245,7262,7337,7435,7523,7699,7778,7950,8105,8289,8301,8370,8506,8635,8803,8861,9189,9230,9333,9402,9589,9610,9733,9841,9926,9950],{84441:()=>{}},_=>{var e=e=>_(_.s=e);_.O(0,[8441,1684,7358],()=>e(84441)),_N_E=_.O()}]); \ No newline at end of file diff --git a/.next/static/chunks/app/courrier/page-982c8aad2e770bbc.js b/.next/static/chunks/app/courrier/page-982c8aad2e770bbc.js new file mode 100644 index 00000000..e51f5c3f --- /dev/null +++ b/.next/static/chunks/app/courrier/page-982c8aad2e770bbc.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4968],{16891:(e,t,a)=>{"use strict";a.d(t,{F:()=>s});var n=a(95155),l=a(12115),r=a(64792),o=a(53999);let s=l.forwardRef((e,t)=>{let{className:a,children:l,...s}=e;return(0,n.jsxs)(r.bL,{ref:t,className:(0,o.cn)("relative overflow-hidden",a),...s,children:[(0,n.jsx)(r.LM,{className:"h-full w-full rounded-[inherit]",children:l}),(0,n.jsx)(i,{}),(0,n.jsx)(r.OK,{})]})});s.displayName=r.bL.displayName;let i=l.forwardRef((e,t)=>{let{className:a,orientation:l="vertical",...s}=e;return(0,n.jsx)(r.VM,{ref:t,orientation:l,className:(0,o.cn)("flex touch-none select-none transition-colors","vertical"===l&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===l&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",a),...s,children:(0,n.jsx)(r.lr,{className:"relative flex-1 rounded-full bg-border"})})});i.displayName=r.VM.displayName},26046:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>e_});var n=a(95155),l=a(12115),r=a(35695),o=a(12108),s=a(97108),i=a(12486),c=a(74126),d=a(39022),m=a(13717),u=a(40528),p=a(21380),g=a(74783),h=a(51154),f=a(85339),x=a(5196),b=a(99840),y=a(49026),w=a(16559),E=a(97168),j=a(89852),v=a(82714),N=a(14503),S=a(81497),A=a(28883),T=a(84616),C=a(53904),_=a(47863),L=a(66474),k=a(67133),F=a(34964),D=a(95139);function R(e){let{accounts:t,selectedAccount:a,selectedFolders:r,currentFolder:o,loading:p,unreadCount:g,showAddAccountForm:f,showFolders:x=!0,onFolderChange:b,onRefresh:y,onComposeNew:w,onAccountSelect:N,onShowAddAccountForm:R,onAddAccount:I,onEditAccount:O,onDeleteAccount:M,onSelectEmail:P,onShowFoldersToggle:U}=e,[G,B]=(0,l.useState)(!1),[H,q]=(0,l.useState)({email:"",password:"",displayName:"",host:"",port:"993",useSSL:!0,smtpHost:"",smtpPort:"587",smtpUseSSL:!1}),[z,W]=(0,l.useState)("imap"),$=async e=>{e.preventDefault(),B(!0);try{let e=new FormData;e.append("email",H.email),e.append("password",H.password),e.append("display_name",H.displayName),e.append("host",H.host),e.append("port",H.port),e.append("secure",H.useSSL?"on":"off"),e.append("smtp_host",H.smtpHost),e.append("smtp_port",H.smtpPort),e.append("smtp_secure",H.smtpUseSSL?"on":"off"),await I(e),q({email:"",password:"",displayName:"",host:"",port:"993",useSSL:!0,smtpHost:"",smtpPort:"587",smtpUseSSL:!1}),R(!1)}catch(e){console.error("Failed to add account:",e)}finally{B(!1)}},J=e=>{let{name:t,value:a,type:n,checked:l}=e.target;q(e=>({...e,[t]:"checkbox"===n?l:a}))},K=e=>{let t=e.toLowerCase();if(t.includes("inbox"))return(0,n.jsx)(s.A,{className:"h-4 w-4 text-gray-500"});if(t.includes("sent"))return(0,n.jsx)(i.A,{className:"h-4 w-4 text-gray-500"});if(t.includes("trash"))return(0,n.jsx)(c.A,{className:"h-4 w-4 text-gray-500"});if(t.includes("archive"))return(0,n.jsx)(d.A,{className:"h-4 w-4 text-gray-500"});if(t.includes("draft"))return(0,n.jsx)(m.A,{className:"h-4 w-4 text-gray-500"});else if(t.includes("spam")||t.includes("junk"))return(0,n.jsx)(u.A,{className:"h-4 w-4 text-gray-500"});else return(0,n.jsx)(S.A,{className:"h-4 w-4 text-gray-500"})},Y=e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase(),V=(e,t)=>{var a;let l=e,o=e,s=t;if(e.includes(":")){let t=e.split(":");s=t[0],o=t[1]}else l="".concat(t,":").concat(e);if(s!==t)return null;let i=r[t]===l||r[t]===o||(null==(a=r[t])?void 0:a.split(":")[1])===o,c=0,d="inbox"===o.toLowerCase();if(d&&g&&g[t])if("number"==typeof g[t][o])c=g[t][o];else if("number"==typeof g[t][l])c=g[t][l];else{let e=g[t];for(let t in e)if(t.toLowerCase()===o.toLowerCase()||t.toLowerCase()===l.toLowerCase()){c=e[t];break}}return(0,n.jsx)(E.$,{variant:"ghost",className:"w-full justify-start text-xs py-1 h-7 ".concat(i?"bg-gray-100":""),onClick:()=>{b(e.includes(":")?e:"".concat(t,":").concat(e),t)},children:(0,n.jsxs)("div",{className:"flex items-center w-full",children:[K(o),(0,n.jsx)("span",{className:"ml-2 truncate text-gray-700",children:Y(o)}),d&&c>0&&(0,n.jsx)("span",{className:"ml-auto bg-blue-500 text-white text-[10px] px-1.5 rounded-full",children:c})]})},l)},X=async()=>{try{let e=await fetch("/api/courrier/microsoft"),t=await e.json();e.ok&&t.authUrl?window.location.href=t.authUrl:console.error("Failed to initiate Microsoft authentication:",t.error)}catch(e){console.error("Error connecting Microsoft account:",e)}};return(0,n.jsxs)("div",{className:"w-60 bg-white/95 backdrop-blur-sm border-r border-gray-100 flex flex-col md:flex",style:{display:"flex !important"},children:[(0,n.jsx)("div",{className:"p-3 border-b border-gray-100",children:(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(A.A,{className:"h-6 w-6 text-gray-600"}),(0,n.jsx)("span",{className:"text-xl font-semibold text-gray-900",children:"COURRIER"})]})}),(0,n.jsxs)("div",{className:"p-2 border-b border-gray-100 flex items-center gap-2",children:[(0,n.jsx)(E.$,{className:"flex-1 bg-blue-600 text-white rounded-lg hover:bg-blue-700 flex items-center justify-center transition-all py-1.5 text-sm",onClick:w,children:(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(T.A,{className:"h-3.5 w-3.5"}),(0,n.jsx)("span",{children:"Compose"})]})}),(0,n.jsx)(E.$,{variant:"ghost",size:"icon",className:"h-9 w-9 text-gray-400 hover:text-gray-600",onClick:y,children:(0,n.jsx)(C.A,{className:"h-4 w-4 ".concat(p?"animate-spin":"")})})]}),(0,n.jsx)("div",{className:"flex-1 overflow-y-auto",children:(0,n.jsxs)("div",{className:"p-3 border-b border-gray-100",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,n.jsx)("span",{className:"text-sm font-medium text-gray-500",children:"Accounts"}),(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(E.$,{variant:"ghost",size:"sm",className:"h-7 w-7 p-0 text-gray-400 hover:text-gray-600",onClick:()=>null==U?void 0:U(!x),children:x?(0,n.jsx)(_.A,{className:"h-4 w-4"}):(0,n.jsx)(L.A,{className:"h-4 w-4"})}),(0,n.jsx)(E.$,{variant:"ghost",size:"sm",className:"h-7 w-7 p-0 text-gray-400 hover:text-gray-600",onClick:()=>R(!f),children:(0,n.jsx)(T.A,{className:"h-4 w-4"})})]})]}),(0,n.jsxs)("div",{className:"mt-1",children:[f&&(0,n.jsxs)("div",{className:"mb-2 p-2 border border-gray-200 rounded-md bg-white",children:[(0,n.jsx)("h4",{className:"text-xs font-medium mb-0.5 text-gray-700",children:"Add IMAP Account"}),(0,n.jsx)("form",{onSubmit:$,children:(0,n.jsxs)("div",{children:[(0,n.jsxs)(F.tU,{defaultValue:"imap",className:"w-full",children:[(0,n.jsxs)(F.j7,{className:"grid w-full grid-cols-2 h-6 mb-0.5 bg-gray-100",children:[(0,n.jsx)(F.Xi,{value:"imap",className:"text-xs h-5 data-[state=active]:bg-blue-500 data-[state=active]:text-white",children:"IMAP"}),(0,n.jsx)(F.Xi,{value:"smtp",className:"text-xs h-5 data-[state=active]:bg-blue-500 data-[state=active]:text-white",children:"SMTP"})]}),(0,n.jsxs)(F.av,{value:"imap",className:"mt-0.5 space-y-0.5",children:[(0,n.jsx)("div",{children:(0,n.jsx)(j.p,{id:"email",name:"email",placeholder:"email@example.com",className:"h-7 text-xs bg-white border-gray-300 mb-0.5 text-gray-900",required:!0,value:H.email,onChange:J})}),(0,n.jsx)("div",{children:(0,n.jsx)(j.p,{id:"password",name:"password",type:"password",placeholder:"•••••••••",className:"h-7 text-xs bg-white border-gray-300 mb-0.5 text-gray-900",required:!0,value:H.password,onChange:J})}),(0,n.jsx)("div",{children:(0,n.jsx)(j.p,{id:"display_name",name:"displayName",placeholder:"John Doe",className:"h-7 text-xs bg-white border-gray-300 mb-0.5 text-gray-900",value:H.displayName,onChange:J})}),(0,n.jsx)("div",{children:(0,n.jsx)(j.p,{id:"host",name:"host",placeholder:"imap.example.com",className:"h-7 text-xs bg-white border-gray-300 mb-0.5 text-gray-900",required:!0,value:H.host,onChange:J})}),(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(j.p,{id:"port",name:"port",placeholder:"993",className:"h-7 text-xs bg-white border-gray-300 text-gray-900",value:H.port,onChange:J})}),(0,n.jsx)("div",{className:"flex items-center pl-1",children:(0,n.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,n.jsx)(D.S,{id:"useSSL",name:"useSSL",checked:H.useSSL,onCheckedChange:e=>{q(t=>({...t,useSSL:!0===e}))}}),(0,n.jsx)(v.J,{htmlFor:"useSSL",className:"text-xs",children:"SSL"})]})})]})]}),(0,n.jsxs)(F.av,{value:"smtp",className:"mt-0.5 space-y-0.5",children:[(0,n.jsx)("div",{children:(0,n.jsx)(j.p,{id:"smtp_host",name:"smtpHost",placeholder:"smtp.example.com",className:"h-7 text-xs bg-white border-gray-300 mb-0.5 text-gray-900",value:H.smtpHost,onChange:J})}),(0,n.jsxs)("div",{className:"flex gap-1",children:[(0,n.jsx)("div",{className:"flex-1",children:(0,n.jsx)(j.p,{id:"smtp_port",name:"smtpPort",placeholder:"587",className:"h-7 text-xs bg-white border-gray-300 text-gray-900",value:H.smtpPort,onChange:J})}),(0,n.jsx)("div",{className:"flex items-center pl-1",children:(0,n.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,n.jsx)(D.S,{id:"smtp_secure",name:"smtpUseSSL",checked:H.smtpUseSSL,onCheckedChange:e=>{q(t=>({...t,smtpUseSSL:!0===e}))}}),(0,n.jsx)(v.J,{htmlFor:"smtp_secure",className:"text-xs",children:"SSL"})]})})]}),(0,n.jsx)("div",{className:"text-xs text-gray-500 italic",children:"Note: SMTP settings needed for sending emails"})]})]}),(0,n.jsxs)("div",{className:"flex gap-1 mt-1",children:[(0,n.jsxs)(E.$,{type:"submit",className:"flex-1 h-6 text-xs bg-blue-500 hover:bg-blue-600 text-white rounded-md px-2 py-0",disabled:G,children:[G?(0,n.jsx)(h.A,{className:"h-3 w-3 animate-spin mr-1"}):null,"Test & Add"]}),(0,n.jsx)(E.$,{type:"button",className:"h-6 text-xs bg-gray-200 text-gray-800 hover:bg-gray-300 rounded-md px-2 py-0",onClick:()=>R(!1),children:"Cancel"})]})]})}),(0,n.jsx)("div",{className:"mt-2 pt-2 border-t border-gray-100",children:(0,n.jsxs)("button",{type:"button",onClick:X,className:"w-full flex items-center justify-center gap-2 h-7 text-xs bg-[#0078D4] hover:bg-[#106EBE] text-white rounded-md px-2 py-0",children:[(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 23 23",children:[(0,n.jsx)("path",{fill:"#f3f3f3",d:"M0 0h23v23H0z"}),(0,n.jsx)("path",{fill:"#f35325",d:"M1 1h10v10H1z"}),(0,n.jsx)("path",{fill:"#81bc06",d:"M12 1h10v10H12z"}),(0,n.jsx)("path",{fill:"#05a6f0",d:"M1 12h10v10H1z"}),(0,n.jsx)("path",{fill:"#ffba08",d:"M12 12h10v10H12z"})]}),"Connect Microsoft Account"]})})]}),t.map(e=>{var t;return(0,n.jsxs)("div",{className:"mb-1",children:[(0,n.jsxs)("div",{className:"flex items-center w-full px-1 py-1 rounded-md cursor-pointer ".concat((null==a?void 0:a.id)===e.id?"bg-gray-100":""),onClick:()=>N(e),tabIndex:0,role:"button",onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&N(e)},children:[(0,n.jsx)("div",{className:"w-3 h-3 rounded-full ".concat((null==(t=e.color)?void 0:t.startsWith("#"))?"bg-blue-500":e.color||"bg-blue-500"," mr-2")}),(0,n.jsx)("span",{className:"truncate text-gray-700 flex-1",children:e.name}),"loading-account"!==e.id&&(0,n.jsxs)(k.rI,{children:[(0,n.jsx)(k.ty,{asChild:!0,children:(0,n.jsx)("button",{type:"button",className:"ml-1 text-gray-400 hover:text-gray-600 cursor-pointer flex items-center justify-center h-5 w-5",tabIndex:-1,"aria-label":"Account options",children:(0,n.jsx)("span",{style:{fontSize:"18px",lineHeight:1},children:"⋮"})})}),(0,n.jsxs)(k.SQ,{align:"end",children:[(0,n.jsx)(k._2,{onClick:()=>O(e),children:"Edit"}),(0,n.jsx)(k._2,{onClick:()=>M(e),children:"Delete"})]})]})]}),(null==a?void 0:a.id)===e.id&&x&&e.folders&&e.folders.length>0&&(0,n.jsx)("div",{className:"pl-4",children:e.folders.map(t=>V(t,e.id.toString()))})]},e.id)})]})]})})]})}var I=a(47924),O=a(54416),M=a(38564),P=a(53999);function U(e){var t,a,l,r;let o,{email:s,isSelected:i,isActive:c,onSelect:d,onToggleSelect:m,onToggleStarred:u}=e;return(0,n.jsxs)("div",{className:(0,P.cn)("flex items-center gap-3 px-4 py-2 hover:bg-gray-50/80 cursor-pointer",c?"bg-blue-50/50":"",(null==(t=s.flags)?void 0:t.seen)?"":"bg-blue-50/20"),onClick:e=>{e.target.closest(".checkbox-area")||d()},children:[(0,n.jsx)("div",{className:"flex-shrink-0 pr-2 checkbox-area",onClick:e=>{e.stopPropagation()},children:(0,n.jsx)(D.S,{checked:i,onCheckedChange:e=>{e!==i&&m({stopPropagation:()=>{}})},onClick:e=>{e.stopPropagation()},className:"mt-0.5"})}),(0,n.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,n.jsx)("div",{className:"flex items-center gap-2 min-w-0",children:(0,n.jsx)("span",{className:"text-sm truncate ".concat((null==(a=s.flags)?void 0:a.seen)?"text-gray-600":"font-semibold text-gray-900"),children:(()=>{if(!s.from||0===s.from.length)return"Unknown";let e=s.from[0];return e.name&&e.name.trim()?e.name.trim():e.address||"Unknown"})()})}),(0,n.jsxs)("div",{className:"flex items-center gap-2 flex-shrink-0",children:[(0,n.jsx)("span",{className:"text-xs text-gray-500 whitespace-nowrap",children:(e=>{let t=new Date(e),a=new Date,n=new Date(a.getFullYear(),a.getMonth(),a.getDate()),l=new Date(n);return(l.setDate(l.getDate()-1),t>=n)?t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):t>=l?"Yesterday":t.getFullYear()===a.getFullYear()?t.toLocaleDateString([],{month:"short",day:"numeric"}):t.toLocaleDateString([],{year:"numeric",month:"short",day:"numeric"})})(s.date.toString())}),(0,n.jsx)("button",{className:"h-6 w-6 text-gray-400 hover:text-yellow-400",onClick:e=>{e.stopPropagation(),u(e)},children:(0,n.jsx)(M.A,{className:"h-4 w-4 ".concat((null==(l=s.flags)?void 0:l.flagged)?"fill-yellow-400 text-yellow-400":"")})})]})]}),(0,n.jsx)("h3",{className:"text-sm text-gray-900 truncate",children:s.subject||"(No subject)"}),(0,n.jsx)("div",{className:"text-xs text-gray-500 truncate",children:(r=s.content,o="",(o=(o=(o="string"==typeof r?r:r.text||r.html).replace(/<[^>]+>/g," ")).replace(/\s+/g," ").trim()).length>70?o.substring(0,70)+"...":o)})]})]})}function G(e){let{allSelected:t,someSelected:a,onToggleSelectAll:l,currentFolder:r="Inbox",totalEmails:o=0}=e;return(0,n.jsxs)("div",{className:"flex items-center justify-between px-4 h-14",children:[(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(0,n.jsx)(D.S,{checked:t,ref:e=>{e&&(e.indeterminate=a&&!t)},onCheckedChange:l,className:"mt-0.5"}),(0,n.jsx)("h2",{className:"text-base font-semibold text-gray-900 capitalize",children:"Messages"})]}),(0,n.jsxs)("span",{className:"text-sm text-gray-600",children:[o," ",1===o?"email":"emails"]})]})}var B=a(78749),H=a(62525),q=a(37777);function z(e){let{selectedCount:t,onBulkAction:a}=e;return(0,n.jsxs)("div",{className:"bg-blue-50 border-b border-blue-100 px-4 py-2 flex items-center justify-between shadow-md transition-all duration-200",children:[(0,n.jsxs)("span",{className:"text-xs font-medium text-blue-700",children:[t," selected"]}),(0,n.jsxs)("div",{className:"flex items-center gap-1",children:[(0,n.jsx)(q.Bc,{children:(0,n.jsxs)(q.m_,{children:[(0,n.jsx)(q.k$,{asChild:!0,children:(0,n.jsx)(E.$,{variant:"ghost",size:"icon",className:"h-7 w-7 text-blue-600 hover:text-blue-900 hover:bg-blue-100",onClick:()=>a("mark-unread"),children:(0,n.jsx)(B.A,{className:"h-3.5 w-3.5"})})}),(0,n.jsx)(q.ZI,{children:(0,n.jsx)("p",{children:"Mark as unread"})})]})}),(0,n.jsx)(q.Bc,{children:(0,n.jsxs)(q.m_,{children:[(0,n.jsx)(q.k$,{asChild:!0,children:(0,n.jsx)(E.$,{variant:"ghost",size:"icon",className:"h-7 w-7 text-blue-600 hover:text-blue-900 hover:bg-blue-100",onClick:()=>a("archive"),children:(0,n.jsx)(d.A,{className:"h-3.5 w-3.5"})})}),(0,n.jsx)(q.ZI,{children:(0,n.jsx)("p",{children:"Archive"})})]})}),(0,n.jsx)(q.Bc,{children:(0,n.jsxs)(q.m_,{children:[(0,n.jsx)(q.k$,{asChild:!0,children:(0,n.jsx)(E.$,{variant:"ghost",size:"icon",className:"h-7 w-7 text-red-600 hover:text-red-700 hover:bg-red-50",onClick:()=>a("delete"),children:(0,n.jsx)(H.A,{className:"h-3.5 w-3.5"})})}),(0,n.jsx)(q.ZI,{children:(0,n.jsx)("p",{children:"Delete"})})]})})]})]})}function W(e){let{emails:t,selectedEmailIds:a,selectedEmail:r,currentFolder:o,isLoading:s,totalEmails:i,hasMoreEmails:c,onSelectEmail:d,onToggleSelect:m,onToggleSelectAll:u,onBulkAction:p,onToggleStarred:g,onLoadMore:h,onSearch:f}=e,[x,b]=(0,l.useState)(0),[y,w]=(0,l.useState)("");if(s&&0===t.length)return(0,n.jsx)("div",{className:"flex justify-center items-center h-full p-8 bg-white/95 backdrop-blur-sm",children:(0,n.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-t-2 border-b-2 border-blue-500"})});if(0===t.length)return(0,n.jsxs)("div",{className:"flex flex-col justify-center items-center h-64 p-8 text-center bg-white/95 backdrop-blur-sm",children:[(0,n.jsx)(A.A,{className:"h-8 w-8 text-gray-400 mb-2"}),(0,n.jsx)("p",{className:"text-gray-500 text-sm",children:y?"No emails match your search":"INBOX"===o?"Your inbox is empty. You're all caught up!":"No emails in this folder"})]});let E=a.length===t.length&&t.length>0,v=a.length>0&&a.length0&&(0,n.jsx)("div",{className:"sticky top-0 z-10",children:(0,n.jsx)(z,{selectedCount:a.length,onBulkAction:p})}),(0,n.jsxs)("div",{className:"border-b border-gray-100",children:[(0,n.jsx)("div",{className:"px-4 py-2",children:(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(I.A,{className:"absolute left-2 top-2.5 h-4 w-4 text-gray-400"}),(0,n.jsxs)("form",{onSubmit:e=>{e.preventDefault(),null==f||f(y)},children:[(0,n.jsx)(j.p,{type:"search",placeholder:"Search in folder...",className:"pl-8 h-9 bg-gray-50",value:y,onChange:e=>w(e.target.value)}),y&&(0,n.jsx)("button",{type:"button",onClick:()=>{w(""),null==f||f("")},className:"absolute right-2 top-1/2 transform -translate-y-1/2",children:(0,n.jsx)(O.A,{className:"h-4 w-4 text-gray-400"})})]})]})}),(0,n.jsx)(G,{allSelected:E,someSelected:v,onToggleSelectAll:u,currentFolder:o,totalEmails:i})]}),(0,n.jsx)("div",{className:"flex-1 overflow-y-auto",onScroll:e=>{let{scrollTop:t,scrollHeight:a,clientHeight:n}=e.target;b(t);let l=a-t-n;console.log("[DEBUG] Scroll metrics - Distance to bottom: ".concat(l,"px, scrollHeight: ").concat(a,", scrollTop: ").concat(t,", clientHeight: ").concat(n));let r=(t+n)/a;console.log("[DEBUG] Scroll percentage: ".concat(Math.round(100*r),"%, hasMoreEmails: ").concat(c,", isLoading: ").concat(s)),(l<500||r>.8)&&c&&!s?(console.log("[DEBUG-TRIGGER] Loading more emails - distance: ".concat(l,"px, percentage: ").concat(Math.round(100*r),"%")),h()):(l<500||r>.8)&&c&&s?console.log("[DEBUG-BLOCKED] Not loading more emails because isLoading is true"):(l<500||r>.8)&&!c&&console.log("[DEBUG-BLOCKED] Not loading more emails because hasMoreEmails is false")},children:(0,n.jsxs)("div",{className:"divide-y divide-gray-100",children:[t.map(e=>(0,n.jsx)(U,{email:e,isSelected:a.includes(e.id),isActive:(null==r?void 0:r.id)===e.id,onSelect:()=>d(e.id,e.accountId||"",e.folder||""),onToggleSelect:t=>{t.stopPropagation(),m(e.id)},onToggleStarred:t=>{t.stopPropagation(),g(e.id)}},e.id)),s&&t.length>0&&(0,n.jsx)("div",{className:"flex items-center justify-center p-4",children:(0,n.jsx)("div",{className:"animate-spin rounded-full h-4 w-4 border-t-2 border-b-2 border-blue-500"})})]})})]})}var $=a(11518),J=a.n($),K=a(42355),Y=a(54032),V=a(47734),X=a(50005),Z=a(16891),Q=a(69663);function ee(e){var t,a,l,r,o,s,i,c,d,m;let{email:u,onBack:p,onReply:g,onReplyAll:h,onForward:f,onToggleStar:x}=e;return(0,n.jsxs)("div",{className:"jsx-a4b854e4f3e043c7 flex flex-col h-full overflow-hidden",children:[(0,n.jsx)("div",{className:"jsx-a4b854e4f3e043c7 flex-none px-4 py-3 border-b border-gray-100",children:(0,n.jsxs)("div",{className:"jsx-a4b854e4f3e043c7 flex items-center gap-4",children:[(0,n.jsxs)("div",{className:"jsx-a4b854e4f3e043c7 flex items-center gap-2 min-w-0 flex-1",children:[(0,n.jsx)(E.$,{variant:"ghost",size:"icon",onClick:p,className:"md:hidden flex-shrink-0",children:(0,n.jsx)(K.A,{className:"h-5 w-5"})}),(0,n.jsx)("div",{className:"jsx-a4b854e4f3e043c7 min-w-0 max-w-[500px]",children:(0,n.jsx)("h2",{className:"jsx-a4b854e4f3e043c7 text-lg font-semibold text-gray-900 truncate",children:u.subject})})]}),(0,n.jsx)("div",{className:"jsx-a4b854e4f3e043c7 flex items-center gap-1 flex-shrink-0 ml-auto",children:(0,n.jsxs)("div",{className:"jsx-a4b854e4f3e043c7 flex items-center border-l border-gray-200 pl-4",children:[(0,n.jsx)(E.$,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-gray-900 h-9 w-9",onClick:g,children:(0,n.jsx)(Y.A,{className:"h-4 w-4"})}),(0,n.jsx)(E.$,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-gray-900 h-9 w-9",onClick:h,children:(0,n.jsx)(V.A,{className:"h-4 w-4"})}),(0,n.jsx)(E.$,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-gray-900 h-9 w-9",onClick:f,children:(0,n.jsx)(X.A,{className:"h-4 w-4"})}),(0,n.jsx)(E.$,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-gray-900 h-9 w-9",onClick:x,children:(0,n.jsx)(M.A,{className:"h-4 w-4 ".concat(u.starred?"fill-yellow-400 text-yellow-400":"")})})]})})]})}),(0,n.jsx)(Z.F,{className:"flex-1 overflow-auto",children:(0,n.jsxs)("div",{className:"jsx-a4b854e4f3e043c7 p-6",children:[(0,n.jsxs)("div",{className:"jsx-a4b854e4f3e043c7 flex items-center gap-4 mb-6",children:[(0,n.jsx)(Q.eu,{className:"h-10 w-10",children:(0,n.jsx)(Q.q5,{children:((null==(a=u.from)||null==(t=a[0])?void 0:t.name)||"").charAt(0)||((null==(r=u.from)||null==(l=r[0])?void 0:l.address)||"").charAt(0)||"?"})}),(0,n.jsxs)("div",{className:"jsx-a4b854e4f3e043c7 flex-1",children:[(0,n.jsxs)("p",{className:"jsx-a4b854e4f3e043c7 font-medium text-gray-900",children:[(null==(s=u.from)||null==(o=s[0])?void 0:o.name)||""," ",(0,n.jsxs)("span",{className:"jsx-a4b854e4f3e043c7 text-gray-500",children:["<",(null==(c=u.from)||null==(i=c[0])?void 0:i.address)||"",">"]})]}),(0,n.jsxs)("p",{className:"jsx-a4b854e4f3e043c7 text-sm text-gray-500",children:["to ",(null==(m=u.to)||null==(d=m[0])?void 0:d.address)||""]}),u.cc&&u.cc.length>0&&(0,n.jsxs)("p",{className:"jsx-a4b854e4f3e043c7 text-sm text-gray-500",children:["cc ",u.cc.map(e=>e.address).join(", ")]})]}),(0,n.jsx)("div",{className:"jsx-a4b854e4f3e043c7 text-sm text-gray-500 whitespace-nowrap",children:(e=>{let t="string"==typeof e?new Date(e):e,a=new Date;return t.toDateString()===a.toDateString()?t.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):t.toLocaleDateString([],{month:"short",day:"numeric"})})(u.date)})]}),(0,n.jsx)("div",{className:"jsx-a4b854e4f3e043c7 prose prose-sm max-w-none email-content-wrapper",children:(()=>{try{console.log("EmailDetailView renderEmailContent",{hasContent:!!u.content,contentType:typeof u.content,hasHtml:!!u.html,hasText:!!u.text});let e="";return u.content?"string"==typeof u.content?e=u.content:"object"==typeof u.content&&(e=u.content.html||u.content.text||""):u.html?e=u.html:u.text&&(e=u.text.replace(/&/g,"&").replace(//g,">").replace(/\n/g,"
    ")),e?(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}):(0,n.jsx)("div",{className:"text-gray-500",children:"No content available"})}catch(e){return console.error("Error rendering email:",e),(0,n.jsx)("div",{className:"text-gray-500",children:"Failed to render email content"})}})()}),u.hasAttachments&&u.attachments&&u.attachments.length>0&&(0,n.jsxs)("div",{className:"jsx-a4b854e4f3e043c7 mt-6 border-t border-gray-100 pt-4",children:[(0,n.jsx)("h3",{className:"jsx-a4b854e4f3e043c7 text-sm font-medium text-gray-900 mb-2",children:"Attachments"}),(0,n.jsx)("div",{className:"jsx-a4b854e4f3e043c7 grid grid-cols-1 sm:grid-cols-2 gap-2",children:u.attachments.map((e,t)=>(0,n.jsx)("div",{className:"jsx-a4b854e4f3e043c7 flex items-center gap-2 p-2 border border-gray-200 rounded-md",children:(0,n.jsxs)("div",{className:"jsx-a4b854e4f3e043c7 flex-1 min-w-0",children:[(0,n.jsx)("p",{className:"jsx-a4b854e4f3e043c7 text-sm font-medium text-gray-700 truncate",children:e.filename}),(0,n.jsxs)("p",{className:"jsx-a4b854e4f3e043c7 text-xs text-gray-500",children:[(e.size/1024).toFixed(1)," KB"]})]})},t))})]})]})}),(0,n.jsx)(J(),{id:"a4b854e4f3e043c7",children:".email-content-wrapper{width:100%;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.email-content-wrapper img{max-width:100%;height:auto}.email-content-wrapper table{max-width:100%;overflow-x:auto;display:block}@media(max-width:640px){.email-content-wrapper{font-size:14px}}"})]})}var et=a(50492),ea=a(50429);a(87548);var en=a(75915),el=a.n(en);function er(e){if(!e)return"";try{return el().sanitize(e,{ADD_ATTR:["style","class","id","align","valign","colspan","rowspan","cellspacing","cellpadding","bgcolor"]}).replace(/