@eventcatalog/core 0.2.3 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +123 -123
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1bay4w0 +1 -1
- package/.next/cache/next-server.js.nft.json +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/images-manifest.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/package.json +1 -0
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +3 -3
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/267.js +4 -3
- package/.next/server/chunks/29.js +16 -15
- package/.next/server/chunks/331.js +945 -0
- package/.next/server/chunks/47.js +10 -1
- package/.next/server/chunks/484.js +2 -4
- package/.next/server/chunks/50.js +4 -3
- package/.next/server/chunks/526.js +6 -4
- package/.next/server/chunks/565.js +5 -5
- package/.next/server/chunks/797.js +5 -4
- package/.next/server/chunks/938.js +4 -3
- package/.next/server/chunks/944.js +18 -15
- package/.next/server/chunks/97.js +257 -195
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_app.js +12 -24
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_document.js +55 -932
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js +1 -1
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/pages/domains/Shopping/events/AddedItemToCart/logs.html +1 -1
- package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.1.html +2 -2
- package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.1.json +1 -1
- package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.2.html +2 -2
- package/.next/server/pages/domains/Shopping/events/AddedItemToCart/v/0.0.2.json +1 -1
- package/.next/server/pages/domains/Shopping/events/AddedItemToCart.html +2 -2
- package/.next/server/pages/domains/Shopping/events/AddedItemToCart.json +1 -1
- package/.next/server/pages/domains/Shopping/events/RemovedItemFromCart/logs.html +1 -1
- package/.next/server/pages/domains/Shopping/events/RemovedItemFromCart.html +2 -2
- package/.next/server/pages/domains/Shopping/events/RemovedItemFromCart.json +1 -1
- package/.next/server/pages/domains/Shopping.html +2 -2
- package/.next/server/pages/domains/Shopping.json +1 -1
- package/.next/server/pages/domains/[domain]/events/[name]/logs.js +12 -4
- package/.next/server/pages/domains/[domain]/events/[name]/logs.js.nft.json +1 -1
- package/.next/server/pages/domains/[domain]/events/[name]/v/[version].js +11 -3
- package/.next/server/pages/domains/[domain]/events/[name]/v/[version].js.nft.json +1 -1
- package/.next/server/pages/domains/[domain]/events/[name].js +7 -0
- package/.next/server/pages/domains/[domain]/events/[name].js.nft.json +1 -1
- package/.next/server/pages/domains/[domain]/services/[name].js +12 -4
- package/.next/server/pages/domains/[domain]/services/[name].js.nft.json +1 -1
- package/.next/server/pages/domains/[domain].js +11 -3
- package/.next/server/pages/domains/[domain].js.nft.json +1 -1
- package/.next/server/pages/domains.html +2 -2
- package/.next/server/pages/domains.js +12 -4
- package/.next/server/pages/domains.js.nft.json +1 -1
- package/.next/server/pages/events/OrderComplete/logs.html +1 -1
- package/.next/server/pages/events/OrderComplete.html +2 -2
- package/.next/server/pages/events/OrderComplete.json +1 -1
- package/.next/server/pages/events/OrderConfirmed/logs.html +1 -1
- package/.next/server/pages/events/OrderConfirmed.html +2 -2
- package/.next/server/pages/events/OrderConfirmed.json +1 -1
- package/.next/server/pages/events/OrderRequested/logs.html +1 -1
- package/.next/server/pages/events/OrderRequested.html +2 -2
- package/.next/server/pages/events/OrderRequested.json +1 -1
- package/.next/server/pages/events/PaymentProcessed/logs.html +1 -1
- package/.next/server/pages/events/PaymentProcessed.html +2 -2
- package/.next/server/pages/events/PaymentProcessed.json +1 -1
- package/.next/server/pages/events/ShipmentDelivered/logs.html +1 -1
- package/.next/server/pages/events/ShipmentDelivered.html +2 -2
- package/.next/server/pages/events/ShipmentDelivered.json +1 -1
- package/.next/server/pages/events/ShipmentDispatched/logs.html +1 -1
- package/.next/server/pages/events/ShipmentDispatched.html +2 -2
- package/.next/server/pages/events/ShipmentDispatched.json +1 -1
- package/.next/server/pages/events/ShipmentPrepared/logs.html +1 -1
- package/.next/server/pages/events/ShipmentPrepared.html +2 -2
- package/.next/server/pages/events/ShipmentPrepared.json +1 -1
- package/.next/server/pages/events/[name]/logs.js +7 -0
- package/.next/server/pages/events/[name]/logs.js.nft.json +1 -1
- package/.next/server/pages/events/[name]/v/[version].js +11 -3
- package/.next/server/pages/events/[name]/v/[version].js.nft.json +1 -1
- package/.next/server/pages/events/[name].js +7 -0
- package/.next/server/pages/events/[name].js.nft.json +1 -1
- package/.next/server/pages/events.html +2 -3
- package/.next/server/pages/events.js +12 -4
- package/.next/server/pages/events.js.nft.json +1 -1
- package/.next/server/pages/events.json +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/overview.html +1 -1
- package/.next/server/pages/overview.js +5 -17
- package/.next/server/pages/overview.js.nft.json +1 -1
- package/.next/server/pages/overview.json +1 -1
- package/.next/server/pages/services/Payment Service.html +2 -2
- package/.next/server/pages/services/Payment Service.json +1 -1
- package/.next/server/pages/services/Shipping Service.html +2 -2
- package/.next/server/pages/services/Shipping Service.json +1 -1
- package/.next/server/pages/services/[name].js +7 -0
- package/.next/server/pages/services/[name].js.nft.json +1 -1
- package/.next/server/pages/services.html +2 -2
- package/.next/server/pages/services.js +12 -4
- package/.next/server/pages/services.js.nft.json +1 -1
- package/.next/server/pages/users/[id].js +12 -4
- package/.next/server/pages/users/[id].js.nft.json +1 -1
- package/.next/server/pages/users/dboyne.html +2 -3
- package/.next/server/pages/users/dboyne.json +1 -1
- package/.next/server/pages/users/mSmith.html +2 -3
- package/.next/server/pages/users/mSmith.json +1 -1
- package/.next/server/pages/visualiser.html +3 -4
- package/.next/server/pages/visualiser.js +17 -5
- package/.next/server/pages/visualiser.js.nft.json +1 -1
- package/.next/server/pages/visualiser.json +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/server/webpack-runtime.js +17 -39
- package/.next/static/chunks/{020d8314.aea2d24215754e7b.js → 020d8314.14edf32f1a7a45dc.js} +1 -1
- package/.next/static/chunks/109-c7517eb568876b36.js +1 -0
- package/.next/static/chunks/176cb4e4-59b1695530801e16.js +1 -0
- package/.next/static/chunks/178-c0d21132335f7d58.js +1 -0
- package/.next/static/chunks/274-8d503842229d0944.js +1 -0
- package/.next/static/chunks/2edb282b-b8f4863366339abc.js +1 -0
- package/.next/static/chunks/364-0efd016d31d19995.js +1 -0
- package/.next/static/chunks/5-6380a6f543e8372a.js +1 -0
- package/.next/static/chunks/506-68ae644af2659950.js +1 -0
- package/.next/static/chunks/585-8ff3ec10b43fcb10.js +1 -0
- package/.next/static/chunks/650-7b49ecd97114e917.js +1 -0
- package/.next/static/chunks/7f5d3f51-83121b73403fb948.js +1 -0
- package/.next/static/chunks/802.7a3e85882c0aeb52.js +1 -0
- package/.next/static/chunks/b744740b-32af777c67e2c3ff.js +1 -0
- package/.next/static/chunks/framework-d23f68ad701fe0b2.js +1 -0
- package/.next/static/chunks/main-b9941e28536fdc23.js +1 -0
- package/.next/static/chunks/pages/_app-2e37f6bdeff8f48f.js +1 -0
- package/.next/static/chunks/pages/domains/[domain]-2b08aa35416b7fe6.js +1 -0
- package/.next/static/chunks/pages/events-691363297e733e50.js +1 -0
- package/.next/static/chunks/pages/overview-7ada2cb9fcb9a9ea.js +1 -0
- package/.next/static/chunks/pages/services-0a099323cc1d9712.js +1 -0
- package/.next/static/chunks/pages/users/[id]-d1f16749cca85865.js +1 -0
- package/.next/static/chunks/pages/visualiser-d4ac3f309ff00b17.js +1 -0
- package/.next/static/chunks/{webpack-b17b8ef11b94ba66.js → webpack-7adfcbd8c9cf8b5d.js} +1 -1
- package/.next/static/uU7KyJvHmITLw1dYsKWVm/_buildManifest.js +1 -0
- package/.next/static/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/_middlewareManifest.js +0 -0
- package/.next/static/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/_ssgManifest.js +0 -0
- package/.next/trace +57 -57
- package/CHANGELOG.md +18 -0
- package/components/Grids/EventGrid.tsx +2 -1
- package/out/404/index.html +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/domains/Shopping/events/AddedItemToCart/logs.json +0 -0
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/domains/Shopping/events/AddedItemToCart/v/0.0.1.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/domains/Shopping/events/AddedItemToCart/v/0.0.2.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/domains/Shopping/events/AddedItemToCart.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/domains/Shopping/events/RemovedItemFromCart/logs.json +0 -0
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/domains/Shopping/events/RemovedItemFromCart.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/domains/Shopping.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/domains.json +0 -0
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/OrderComplete/logs.json +0 -0
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/OrderComplete.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/OrderConfirmed/logs.json +0 -0
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/OrderConfirmed.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/OrderRequested/logs.json +0 -0
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/OrderRequested.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/PaymentProcessed/logs.json +0 -0
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/PaymentProcessed.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/ShipmentDelivered/logs.json +0 -0
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/ShipmentDelivered.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/ShipmentDispatched/logs.json +0 -0
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/ShipmentDispatched.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/ShipmentPrepared/logs.json +0 -0
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events/ShipmentPrepared.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/events.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/overview.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/services/Payment Service.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/services/Shipping Service.json +1 -1
- package/out/_next/data/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/services.json +0 -0
- package/out/_next/data/uU7KyJvHmITLw1dYsKWVm/users/dboyne.json +1 -0
- package/out/_next/data/uU7KyJvHmITLw1dYsKWVm/users/mSmith.json +1 -0
- package/out/_next/data/uU7KyJvHmITLw1dYsKWVm/visualiser.json +1 -0
- package/out/_next/static/chunks/{020d8314.aea2d24215754e7b.js → 020d8314.14edf32f1a7a45dc.js} +1 -1
- package/out/_next/static/chunks/109-c7517eb568876b36.js +1 -0
- package/out/_next/static/chunks/176cb4e4-59b1695530801e16.js +1 -0
- package/out/_next/static/chunks/178-c0d21132335f7d58.js +1 -0
- package/out/_next/static/chunks/274-8d503842229d0944.js +1 -0
- package/out/_next/static/chunks/2edb282b-b8f4863366339abc.js +1 -0
- package/out/_next/static/chunks/364-0efd016d31d19995.js +1 -0
- package/out/_next/static/chunks/5-6380a6f543e8372a.js +1 -0
- package/out/_next/static/chunks/506-68ae644af2659950.js +1 -0
- package/out/_next/static/chunks/585-8ff3ec10b43fcb10.js +1 -0
- package/out/_next/static/chunks/650-7b49ecd97114e917.js +1 -0
- package/out/_next/static/chunks/7f5d3f51-83121b73403fb948.js +1 -0
- package/out/_next/static/chunks/802.7a3e85882c0aeb52.js +1 -0
- package/out/_next/static/chunks/b744740b-32af777c67e2c3ff.js +1 -0
- package/out/_next/static/chunks/framework-d23f68ad701fe0b2.js +1 -0
- package/out/_next/static/chunks/main-b9941e28536fdc23.js +1 -0
- package/out/_next/static/chunks/pages/_app-2e37f6bdeff8f48f.js +1 -0
- package/out/_next/static/chunks/pages/domains/[domain]-2b08aa35416b7fe6.js +1 -0
- package/out/_next/static/chunks/pages/events-691363297e733e50.js +1 -0
- package/out/_next/static/chunks/pages/overview-7ada2cb9fcb9a9ea.js +1 -0
- package/out/_next/static/chunks/pages/services-0a099323cc1d9712.js +1 -0
- package/out/_next/static/chunks/pages/users/[id]-d1f16749cca85865.js +1 -0
- package/out/_next/static/chunks/pages/visualiser-d4ac3f309ff00b17.js +1 -0
- package/out/_next/static/chunks/{webpack-b17b8ef11b94ba66.js → webpack-7adfcbd8c9cf8b5d.js} +1 -1
- package/out/_next/static/uU7KyJvHmITLw1dYsKWVm/_buildManifest.js +1 -0
- package/out/_next/static/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/_middlewareManifest.js +0 -0
- package/out/_next/static/{ruqNzivYjcRYWkoKNUefn → uU7KyJvHmITLw1dYsKWVm}/_ssgManifest.js +0 -0
- package/out/domains/Shopping/events/AddedItemToCart/index.html +2 -2
- package/out/domains/Shopping/events/AddedItemToCart/logs/index.html +1 -1
- package/out/domains/Shopping/events/AddedItemToCart/v/0.0.1/index.html +2 -2
- package/out/domains/Shopping/events/AddedItemToCart/v/0.0.2/index.html +2 -2
- package/out/domains/Shopping/events/RemovedItemFromCart/index.html +2 -2
- package/out/domains/Shopping/events/RemovedItemFromCart/logs/index.html +1 -1
- package/out/domains/Shopping/index.html +2 -2
- package/out/domains/index.html +2 -2
- package/out/events/OrderComplete/index.html +2 -2
- package/out/events/OrderComplete/logs/index.html +1 -1
- package/out/events/OrderConfirmed/index.html +2 -2
- package/out/events/OrderConfirmed/logs/index.html +1 -1
- package/out/events/OrderRequested/index.html +2 -2
- package/out/events/OrderRequested/logs/index.html +1 -1
- package/out/events/PaymentProcessed/index.html +2 -2
- package/out/events/PaymentProcessed/logs/index.html +1 -1
- package/out/events/ShipmentDelivered/index.html +2 -2
- package/out/events/ShipmentDelivered/logs/index.html +1 -1
- package/out/events/ShipmentDispatched/index.html +2 -2
- package/out/events/ShipmentDispatched/logs/index.html +1 -1
- package/out/events/ShipmentPrepared/index.html +2 -2
- package/out/events/ShipmentPrepared/logs/index.html +1 -1
- package/out/events/index.html +2 -3
- package/out/index.html +1 -1
- package/out/overview/index.html +1 -1
- package/out/services/Payment Service/index.html +2 -2
- package/out/services/Shipping Service/index.html +2 -2
- package/out/services/index.html +2 -2
- package/out/users/dboyne/index.html +2 -3
- package/out/users/mSmith/index.html +2 -3
- package/out/visualiser/index.html +3 -4
- package/package.json +2 -2
- package/pages/_app.tsx +0 -7
- package/pages/_document.tsx +18 -0
- package/pages/visualiser.tsx +7 -1
- package/.next/server/pages/events/RemovedItemFromCart/logs.html +0 -1
- package/.next/server/pages/events/RemovedItemFromCart/logs.json +0 -1
- package/.next/server/pages/events/RemovedItemFromCart.html +0 -47
- package/.next/server/pages/events/RemovedItemFromCart.json +0 -1
- package/.next/static/chunks/109-716dea1303010b4f.js +0 -1
- package/.next/static/chunks/176cb4e4-8a0f6f010ef8accb.js +0 -1
- package/.next/static/chunks/178-75b1f3cd9df47a72.js +0 -1
- package/.next/static/chunks/274-11c4d093341d7201.js +0 -1
- package/.next/static/chunks/2edb282b-9e1cce5842787609.js +0 -1
- package/.next/static/chunks/364-9c039ca46569869e.js +0 -1
- package/.next/static/chunks/5-f60eecf67567a225.js +0 -1
- package/.next/static/chunks/506-12764fcf4b5d93b0.js +0 -1
- package/.next/static/chunks/585-aa9262ea1bcf9d5b.js +0 -1
- package/.next/static/chunks/650-555944cc1eb7714e.js +0 -1
- package/.next/static/chunks/7f5d3f51-7158fdd5a44cedd5.js +0 -1
- package/.next/static/chunks/802.a40c121588cf5040.js +0 -1
- package/.next/static/chunks/b744740b-229c238b25b9eeac.js +0 -1
- package/.next/static/chunks/framework-576ec6a1c1386453.js +0 -1
- package/.next/static/chunks/main-0015f560a7edeb35.js +0 -1
- package/.next/static/chunks/pages/_app-d88c877888678e85.js +0 -1
- package/.next/static/chunks/pages/domains/[domain]-e39d527b56fd45c8.js +0 -1
- package/.next/static/chunks/pages/events-5a41c37b360b2fce.js +0 -1
- package/.next/static/chunks/pages/overview-dc5e91549c7e3d52.js +0 -1
- package/.next/static/chunks/pages/services-7fe5a823f1b25f18.js +0 -1
- package/.next/static/chunks/pages/users/[id]-b255611073ef76e0.js +0 -1
- package/.next/static/chunks/pages/visualiser-2fc8224670ac5dff.js +0 -1
- package/.next/static/ruqNzivYjcRYWkoKNUefn/_buildManifest.js +0 -1
- package/out/_next/data/ruqNzivYjcRYWkoKNUefn/events/RemovedItemFromCart/logs.json +0 -1
- package/out/_next/data/ruqNzivYjcRYWkoKNUefn/events/RemovedItemFromCart.json +0 -1
- package/out/_next/data/ruqNzivYjcRYWkoKNUefn/users/dboyne.json +0 -1
- package/out/_next/data/ruqNzivYjcRYWkoKNUefn/users/mSmith.json +0 -1
- package/out/_next/data/ruqNzivYjcRYWkoKNUefn/visualiser.json +0 -1
- package/out/_next/static/chunks/109-716dea1303010b4f.js +0 -1
- package/out/_next/static/chunks/176cb4e4-8a0f6f010ef8accb.js +0 -1
- package/out/_next/static/chunks/178-75b1f3cd9df47a72.js +0 -1
- package/out/_next/static/chunks/274-11c4d093341d7201.js +0 -1
- package/out/_next/static/chunks/2edb282b-9e1cce5842787609.js +0 -1
- package/out/_next/static/chunks/364-9c039ca46569869e.js +0 -1
- package/out/_next/static/chunks/5-f60eecf67567a225.js +0 -1
- package/out/_next/static/chunks/506-12764fcf4b5d93b0.js +0 -1
- package/out/_next/static/chunks/585-aa9262ea1bcf9d5b.js +0 -1
- package/out/_next/static/chunks/650-555944cc1eb7714e.js +0 -1
- package/out/_next/static/chunks/7f5d3f51-7158fdd5a44cedd5.js +0 -1
- package/out/_next/static/chunks/802.a40c121588cf5040.js +0 -1
- package/out/_next/static/chunks/b744740b-229c238b25b9eeac.js +0 -1
- package/out/_next/static/chunks/framework-576ec6a1c1386453.js +0 -1
- package/out/_next/static/chunks/main-0015f560a7edeb35.js +0 -1
- package/out/_next/static/chunks/pages/_app-d88c877888678e85.js +0 -1
- package/out/_next/static/chunks/pages/domains/[domain]-e39d527b56fd45c8.js +0 -1
- package/out/_next/static/chunks/pages/events-5a41c37b360b2fce.js +0 -1
- package/out/_next/static/chunks/pages/overview-dc5e91549c7e3d52.js +0 -1
- package/out/_next/static/chunks/pages/services-7fe5a823f1b25f18.js +0 -1
- package/out/_next/static/chunks/pages/users/[id]-b255611073ef76e0.js +0 -1
- package/out/_next/static/chunks/pages/visualiser-2fc8224670ac5dff.js +0 -1
- package/out/_next/static/ruqNzivYjcRYWkoKNUefn/_buildManifest.js +0 -1
- package/out/events/RemovedItemFromCart/index.html +0 -47
- package/out/events/RemovedItemFromCart/logs/index.html +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{75296:function(){"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}))}))})},4079:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},27029:function(e,t){"use strict";function r(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}Object.defineProperty(t,"__esModule",{value:!0}),t.isEqualNode=a,t.default=function(){var e=null;return{mountedInstances:new Set,updateHead:function(t){var r=e=Promise.resolve().then((function(){if(r===e){e=null;var n={};t.forEach((function(e){if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'.concat(e.props["data-href"],'"]')))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}var t=n[e.type]||[];t.push(e),n[e.type]=t}));var i=n.title?n.title[0]:null,u="";if(i){var c=i.props.children;u="string"===typeof c?c:Array.isArray(c)?c.join(""):""}u!==document.title&&(document.title=u),["meta","base","link","style","script"].forEach((function(e){!function(e,t){var r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]");0;for(var i=Number(n.content),u=[],c=0,s=n.previousElementSibling;c<i;c++,s=(null===s||void 0===s?void 0:s.previousElementSibling)||null){var l;(null===s||void 0===s||null===(l=s.tagName)||void 0===l?void 0:l.toLowerCase())===e&&u.push(s)}var f=t.map(o).filter((function(e){for(var t=0,r=u.length;t<r;t++){if(a(u[t],e))return u.splice(t,1),!1}return!0}));u.forEach((function(e){var t;return null===(t=e.parentNode)||void 0===t?void 0:t.removeChild(e)})),f.forEach((function(e){return r.insertBefore(e,n)})),n.content=(i-u.length+f.length).toString()}(e,n[e]||[])}))}}))}}},t.DOMAttributeNames=void 0;var n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function o(e){var t=e.type,r=e.props,o=document.createElement(t);for(var a in r)if(r.hasOwnProperty(a)&&"children"!==a&&"dangerouslySetInnerHTML"!==a&&void 0!==r[a]){var i=n[a]||a.toLowerCase();"script"!==t||"async"!==i&&"defer"!==i&&"noModule"!==i?o.setAttribute(i,r[a]):o[i]=!!r[a]}var u=r.children,c=r.dangerouslySetInnerHTML;return c?o.innerHTML=c.__html||"":u&&(o.textContent="string"===typeof u?u:Array.isArray(u)?u.join(""):""),o}function a(e,t){if(r(e,HTMLElement)&&r(t,HTMLElement)){var n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){var o=t.cloneNode(!0);return o.setAttribute("nonce",""),o.nonce=n,n===e.nonce&&e.isEqualNode(o)}}return e.isEqualNode(t)}t.DOMAttributeNames=n},36330:function(e,t,r){"use strict";var n,o=(n=r(92021))&&n.__esModule?n:{default:n};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return null!=t&&"undefined"!==typeof Symbol&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function s(e,t){return!t||"object"!==p(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var p=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function h(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=u(e);if(t){var o=u(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return s(this,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.initNext=function(){return he.apply(this,arguments)},t.render=ve,t.renderError=ye,t.emitter=t.router=t.version=void 0,r(75296);var d=N(r(2784)),v=N(r(28316)),y=r(95620),m=r(77188),g=N(r(8744)),_=r(33220),b=r(29918),w=r(39032),S=r(62519),P=r(96112),x=r(34750),E=r(51218),O=N(r(27029)),R=N(r(53682)),k=N(r(54861)),j=r(96096),C=r(93642),A=N(r(10274)),T=r(70988);function L(e,t,r,n,o,a,i){try{var u=e[a](i),c=u.value}catch(s){return void r(s)}u.done?t(c):Promise.resolve(c).then(n,o)}function M(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var a=e.apply(t,r);function i(e){L(a,n,o,i,u,"next",e)}function u(e){L(a,n,o,i,u,"throw",e)}i(void 0)}))}}function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N(e){return e&&e.__esModule?e:{default:e}}function F(e){for(var t=arguments,r=function(r){var n=null!=t[r]?t[r]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){I(e,t,n[t])}))},n=1;n<arguments.length;n++)r(n);return e}var D=JSON.parse(document.getElementById("__NEXT_DATA__").textContent);window.__NEXT_DATA__=D;t.version="12.0.7";var B=function(e){return[].slice.call(e)},q=D.props,z=D.err,H=D.page,U=D.query,W=D.buildId,G=D.assetPrefix,V=D.runtimeConfig,$=D.dynamicIds,X=D.isFallback,K=D.locale,Q=D.locales,Y=D.domainLocales,J=D.isPreview,Z=(D.rsc,D.defaultLocale),ee=G||"";r.p="".concat(ee,"/_next/"),P.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:V||{}});var te=x.getURL();(b.hasBasePath(te)&&(te=b.delBasePath(te)),D.scriptLoader)&&(0,r(20747).zD)(D.scriptLoader);var re=new R.default(W,ee),ne=function(e){var t=f(e,2),r=t[0],n=t[1];return re.routeLoader.onEntrypoint(r,n)};window.__NEXT_P&&window.__NEXT_P.map((function(e){return setTimeout((function(){return ne(e)}),0)})),window.__NEXT_P=[],window.__NEXT_P.push=ne;var oe,ae,ie,ue,ce=O.default(),se=document.getElementById("__next");t.router=ae,ce.getIsSsr=function(){return ae.isSsr};var le,fe=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(u,e);var t,r,n,o=h(u);function u(){return a(this,u),o.apply(this,arguments)}return t=u,(r=[{key:"componentDidCatch",value:function(e,t){this.props.fn(e,t)}},{key:"componentDidMount",value:function(){this.scrollToHash(),ae.isSsr&&"/404"!==H&&"/_error"!==H&&(X||D.nextExport&&(w.isDynamicRoute(ae.pathname)||location.search)||q&&q.__N_SSG&&location.search)&&ae.replace(ae.pathname+"?"+String(S.assign(S.urlQueryToSearchParams(ae.query),new URLSearchParams(location.search))),te,{_h:1,shallow:!X})}},{key:"componentDidUpdate",value:function(){this.scrollToHash()}},{key:"scrollToHash",value:function(){var e=location.hash;if(e=e&&e.substring(1)){var t=document.getElementById(e);t&&setTimeout((function(){return t.scrollIntoView()}),0)}}},{key:"render",value:function(){return this.props.children}}])&&i(t.prototype,r),n&&i(t,n),u}(d.default.Component),pe=g.default();function he(){return(he=M(o.default.mark((function e(r){var n,a,i,u,c,s,l;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r?{}:r,n=z,e.prev=3,e.next=6,re.routeLoader.whenEntrypoint("/_app");case 6:if(!("error"in(a=e.sent))){e.next=9;break}throw a.error;case 9:i=a.component,u=a.exports,ie=i,c=u&&u.reportWebVitals,ue=function(e){var t,r=e.id,n=e.name,o=e.startTime,a=e.value,i=e.duration,u=e.entryType,s=e.entries,l="".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12);s&&s.length&&(t=s[0].startTime);var f={id:r||l,name:n,startTime:o||t,value:null==a?i:a,label:"mark"===u||"measure"===u?"custom":"web-vital"};null===c||void 0===c||c(f),T.trackWebVitalMetric(f)},e.next=17;break;case 17:return e.next=19,re.routeLoader.whenEntrypoint(H);case 19:e.t0=e.sent;case 20:if(!("error"in(s=e.t0))){e.next=23;break}throw s.error;case 23:le=s.component,e.next=28;break;case 28:e.next=33;break;case 30:e.prev=30,e.t1=e.catch(3),n=A.default(e.t1)?e.t1:new Error(e.t1+"");case 33:if(!window.__NEXT_PRELOADREADY){e.next=37;break}return e.next=37,window.__NEXT_PRELOADREADY($);case 37:return t.router=ae=C.createRouter(H,U,te,{initialProps:q,pageLoader:re,App:ie,Component:le,wrapApp:Pe,err:n,isFallback:Boolean(X),subscription:function(e,t,r){return ve(Object.assign({},e,{App:t,scroll:r}))},locale:K,locales:Q,defaultLocale:Z,domainLocales:Y,isPreview:J}),ve(l={App:ie,initial:!0,Component:le,props:q,err:n}),e.abrupt("return",pe);case 44:return e.abrupt("return",{emitter:pe,renderCtx:l});case 45:case"end":return e.stop()}}),e,null,[[3,30]])})))).apply(this,arguments)}function de(){return(de=M(o.default.mark((function e(t){var r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.err){e.next=4;break}return e.next=3,ye(t);case 3:return e.abrupt("return");case 4:return e.prev=4,e.next=7,xe(t);case 7:e.next=17;break;case 9:if(e.prev=9,e.t0=e.catch(4),!(r=c(e.t0,Error)?e.t0:new Error(e.t0+"")).cancelled){e.next=14;break}throw r;case 14:return e.next=17,ye(F({},t,{err:r}));case 17:case"end":return e.stop()}}),e,null,[[4,9]])})))).apply(this,arguments)}function ve(e){return de.apply(this,arguments)}function ye(e){var t=e.App,n=e.err;return console.error(n),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),re.loadPage("/_error").then((function(e){var t=e.page,n=e.styleSheets;return(null===Se||void 0===Se?void 0:Se.Component)===t?Promise.resolve().then((function(){return function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(72918))})).then((function(e){return{ErrorComponent:e.default,styleSheets:[]}})):{ErrorComponent:t,styleSheets:n}})).then((function(r){var o=r.ErrorComponent,a=r.styleSheets,i=Pe(t),u={Component:o,AppTree:i,router:ae,ctx:{err:n,pathname:H,query:U,asPath:te,AppTree:i}};return Promise.resolve(e.props?e.props:x.loadGetInitialProps(t,u)).then((function(t){return xe(F({},e,{err:n,Component:o,styleSheets:a,props:t}))}))}))}t.emitter=pe;var me=!0;function ge(){x.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),ue&&performance.getEntriesByName("Next.js-hydration").forEach(ue),be())}function _e(){if(x.ST){performance.mark("afterRender");var e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),ue&&(performance.getEntriesByName("Next.js-render").forEach(ue),performance.getEntriesByName("Next.js-route-change-to-render").forEach(ue)),be(),["Next.js-route-change-to-render","Next.js-render"].forEach((function(e){return performance.clearMeasures(e)})))}}function be(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((function(e){return performance.clearMarks(e)}))}function we(e){var t=e.children;return d.default.createElement(fe,{fn:function(e){return ye({App:ie,err:e}).catch((function(e){return console.error("Error rendering page: ",e)}))}},d.default.createElement(_.RouterContext.Provider,{value:C.makePublicRouterInstance(ae)},d.default.createElement(m.HeadManagerContext.Provider,{value:ce},d.default.createElement(y.StyleRegistry,null,t))))}var Se,Pe=function(e){return function(t){var r=F({},t,{Component:le,err:z,router:ae});return d.default.createElement(we,null,d.default.createElement(e,Object.assign({},r)))}};function xe(e){var t=function(){s()},r=e.App,n=e.Component,o=e.props,a=e.err,i=e.__N_RSC,u="initial"in e?void 0:e.styleSheets;n=n||Se.Component;var c=F({},o=o||Se.props,{Component:!!i?undefined:n,err:a,router:ae});Se=c;var s,l=!1,f=new Promise((function(e,t){oe&&oe(),s=function(){oe=null,e()},oe=function(){l=!0,oe=null;var e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));!function(){if(!u)return!1;var e=B(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map((function(e){return e.getAttribute("data-n-href")}))),r=document.querySelector("noscript[data-n-css]"),n=null===r||void 0===r?void 0:r.getAttribute("data-n-css");u.forEach((function(e){var r=e.href,o=e.text;if(!t.has(r)){var a=document.createElement("style");a.setAttribute("data-n-href",r),a.setAttribute("media","x"),n&&a.setAttribute("nonce",n),document.head.appendChild(a),a.appendChild(document.createTextNode(o))}}))}();var p=d.default.createElement(d.default.Fragment,null,d.default.createElement(Oe,{callback:function(){if(u&&!l){for(var t=new Set(u.map((function(e){return e.href}))),r=B(document.querySelectorAll("style[data-n-href]")),n=r.map((function(e){return e.getAttribute("data-n-href")})),o=0;o<n.length;++o)t.has(n[o])?r[o].removeAttribute("media"):r[o].setAttribute("media","x");var a=document.querySelector("noscript[data-n-css]");a&&u.forEach((function(e){var t=e.href,r=document.querySelector('style[data-n-href="'.concat(t,'"]'));r&&(a.parentNode.insertBefore(r,a.nextSibling),a=r)})),B(document.querySelectorAll("link[data-n-p]")).forEach((function(e){e.parentNode.removeChild(e)}))}e.scroll&&window.scrollTo(e.scroll.x,e.scroll.y)}}),d.default.createElement(we,null,d.default.createElement(r,Object.assign({},c)),d.default.createElement(E.Portal,{type:"next-route-announcer"},d.default.createElement(j.RouteAnnouncer,null))));return function(e,t){x.ST&&performance.mark("beforeRender");var r=t(me?ge:_e);me?(v.default.hydrate(r,e),me=!1):v.default.render(r,e)}(se,(function(e){return d.default.createElement(Ee,{callbacks:[e,t]},d.default.createElement(d.default.StrictMode,null,p))})),f}function Ee(e){var t=e.callbacks,r=e.children;return d.default.useLayoutEffect((function(){return t.forEach((function(e){return e()}))}),[t]),d.default.useEffect((function(){k.default(ue)}),[]),r}function Oe(e){var t=e.callback;return d.default.useLayoutEffect((function(){return t()}),[t]),null}},9043:function(e,t,r){"use strict";var n=r(36330);window.next={version:n.version,get router(){return n.router},emitter:n.emitter,render:n.render,renderError:n.renderError},n.initNext().catch(console.error)},60583:function(e,t){"use strict";function r(e){return e.endsWith("/")&&"/"!==e?e.slice(0,-1):e}Object.defineProperty(t,"__esModule",{value:!0}),t.removePathTrailingSlash=r,t.normalizePathTrailingSlash=void 0;var n=function(e){return/\.[^/]+\/?$/.test(e)?r(e):e.endsWith("/")?e:e+"/"};t.normalizePathTrailingSlash=n},53682:function(e,t,r){"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=r(29918),i=(o=r(88738))&&o.__esModule?o:{default:o},u=r(39032),c=r(3881),s=r(60583),l=r(21437);var f=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.routeLoader=l.createRouteLoader(r),this.buildId=t,this.assetPrefix=r,this.promisedSsgManifest=new Promise((function(e){window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=function(){e(window.__SSG_MANIFEST)}}))}var t,r,o;return t=e,(r=[{key:"getPageList",value:function(){return l.getClientBuildManifest().then((function(e){return e.sortedPages}))}},{key:"getMiddlewareList",value:function(){return l.getMiddlewareManifest()}},{key:"getDataHref",value:function(e){var t=e.href,r=e.asPath,n=e.ssg,o=e.rsc,l=e.locale,f=this,p=c.parseRelativeUrl(t),h=p.pathname,d=p.query,v=p.search,y=c.parseRelativeUrl(r).pathname,m=function(e){if("/"!==e[0])throw new Error('Route name should start with a "/", got "'.concat(e,'"'));return"/"===e?e:e.replace(/\/$/,"")}(h),g=function(e){if(o)return e+"?__flight__";var t=i.default(s.removePathTrailingSlash(a.addLocale(e,l)),".json");return a.addBasePath("/_next/data/".concat(f.buildId).concat(t).concat(n?"":v))},_=u.isDynamicRoute(m),b=_?a.interpolateAs(h,y,d).result:"";return _?b&&g(b):g(m)}},{key:"_isSsg",value:function(e){return this.promisedSsgManifest.then((function(t){return t.has(e)}))}},{key:"loadPage",value:function(e){return this.routeLoader.loadRoute(e).then((function(e){if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map((function(e){return{href:e.href,text:e.content}}))};throw e.error}))}},{key:"prefetch",value:function(e){return this.routeLoader.prefetch(e)}}])&&n(t.prototype,r),o&&n(t,o),e}();t.default=f},54861:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(29600),a=(location.href,!1);function i(e){n&&n(e)}t.default=function(e){n=e,a||(a=!0,o.getCLS(i),o.getFID(i),o.getFCP(i),o.getLCP(i),o.getTTFB(i))}},51218:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.Portal=void 0;var o,a=(o=r(2784))&&o.__esModule?o:{default:o},i=r(28316);t.Portal=function(e){var t=e.children,r=e.type,o=a.default.useRef(null),u=n(a.default.useState(),2)[1];return a.default.useEffect((function(){return o.current=document.createElement(r),document.body.appendChild(o.current),u({}),function(){o.current&&document.body.removeChild(o.current)}}),[r]),o.current?i.createPortal(t,o.current):null}},49071:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cancelIdleCallback=t.requestIdleCallback=void 0;var r="undefined"!==typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){var t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};t.requestIdleCallback=r;var n="undefined"!==typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};t.cancelIdleCallback=n},96096:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.RouteAnnouncer=u,t.default=void 0;var o,a=(o=r(2784))&&o.__esModule?o:{default:o},i=r(93642);function u(){var e=i.useRouter().asPath,t=n(a.default.useState(""),2),r=t[0],o=t[1],u=a.default.useRef(!1);return a.default.useEffect((function(){if(u.current)if(document.title)o(document.title);else{var t,r=document.querySelector("h1"),n=null!==(t=null===r||void 0===r?void 0:r.innerText)&&void 0!==t?t:null===r||void 0===r?void 0:r.textContent;o(n||e)}else u.current=!0}),[e]),a.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},r)}var c=u;t.default=c},21437:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.markAssetError=s,t.isAssetError=function(e){return e&&c in e},t.getClientBuildManifest=f,t.getMiddlewareManifest=function(){if(self.__MIDDLEWARE_MANIFEST)return Promise.resolve(self.__MIDDLEWARE_MANIFEST);return l(new Promise((function(e){var t=self.__MIDDLEWARE_MANIFEST_CB;self.__MIDDLEWARE_MANIFEST_CB=function(){e(self.__MIDDLEWARE_MANIFEST),t&&t()}})),a,s(new Error("Failed to load client middleware manifest")))},t.createRouteLoader=function(e){var t=function(e){var t=c.get(e);return t||(document.querySelector('script[src^="'.concat(e,'"]'))?Promise.resolve():(c.set(e,t=function(e,t){return new Promise((function(r,n){(t=document.createElement("script")).onload=r,t.onerror=function(){return n(s(new Error("Failed to load script: ".concat(e))))},t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)}))}(e)),t))},r=function(e){var t=f.get(e);return t||(f.set(e,t=fetch(e).then((function(t){if(!t.ok)throw new Error("Failed to load stylesheet: ".concat(e));return t.text().then((function(t){return{href:e,content:t}}))})).catch((function(e){throw s(e)}))),t)},n=new Map,c=new Map,f=new Map,h=new Map;return{whenEntrypoint:function(e){return i(e,n)},onEntrypoint:function(e,t){(t?Promise.resolve().then((function(){return t()})).then((function(e){return{component:e&&e.default||e,exports:e}}),(function(e){return{error:e}})):Promise.resolve(void 0)).then((function(t){var r=n.get(e);r&&"resolve"in r?t&&(n.set(e,t),r.resolve(t)):(t?n.set(e,t):n.delete(e),h.delete(e))}))},loadRoute:function(o,u){var c=this;return i(o,h,(function(){var i=c;return l(p(e,o).then((function(e){var a=e.scripts,i=e.css;return Promise.all([n.has(o)?[]:Promise.all(a.map(t)),Promise.all(i.map(r))])})).then((function(e){return i.whenEntrypoint(o).then((function(t){return{entrypoint:t,styles:e[1]}}))})),a,s(new Error("Route did not complete loading: ".concat(o)))).then((function(e){var t=e.entrypoint,r=e.styles,n=Object.assign({styles:r},t);return"error"in t?t:n})).catch((function(e){if(u)throw e;return{error:e}})).finally((function(){}))}))},prefetch:function(t){var r,n=this;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():p(e,t).then((function(e){return Promise.all(u?e.scripts.map((function(e){return t=e,r="script",new Promise((function(e,o){var a='\n link[rel="prefetch"][href^="'.concat(t,'"],\n link[rel="preload"][href^="').concat(t,'"],\n script[src^="').concat(t,'"]');if(document.querySelector(a))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=o,n.href=t,document.head.appendChild(n)}));var t,r,n})):[])})).then((function(){var e=n;o.requestIdleCallback((function(){return e.loadRoute(t,!0).catch((function(){}))}))})).catch((function(){}))}}};(n=r(88738))&&n.__esModule;var n,o=r(49071);var a=3800;function i(e,t,r){var n,o=t.get(e);if(o)return"future"in o?o.future:Promise.resolve(o);var a=new Promise((function(e){n=e}));return t.set(e,o={resolve:n,future:a}),r?r().then((function(e){return n(e),e})).catch((function(r){throw t.delete(e),r})):a}var u=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(t){return!1}}();var c=Symbol("ASSET_LOAD_ERROR");function s(e){return Object.defineProperty(e,c,{})}function l(e,t,r){return new Promise((function(n,a){var i=!1;e.then((function(e){i=!0,n(e)})).catch(a),o.requestIdleCallback((function(){return setTimeout((function(){i||a(r)}),t)}))}))}function f(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):l(new Promise((function(e){var t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=function(){e(self.__BUILD_MANIFEST),t&&t()}})),a,s(new Error("Failed to load client build manifest")))}function p(e,t){return f().then((function(r){if(!(t in r))throw s(new Error("Failed to lookup route: ".concat(t)));var n=r[t].map((function(t){return e+"/_next/"+encodeURI(t)}));return{scripts:n.filter((function(e){return e.endsWith(".js")})),css:n.filter((function(e){return e.endsWith(".css")}))}}))}},93642:function(e,t,r){"use strict";function n(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function o(e,t,r){return(o=n()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&a(o,r.prototype),o}).apply(null,arguments)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Router",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"withRouter",{enumerable:!0,get:function(){return f.default}}),t.useRouter=function(){return u.default.useContext(s.RouterContext)},t.createRouter=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return h.router=o(c.default,i(t)),h.readyCallbacks.forEach((function(e){return e()})),h.readyCallbacks=[],h.router},t.makePublicRouterInstance=function(e){var t=e,r={},n=!0,o=!1,a=void 0;try{for(var u,s=d[Symbol.iterator]();!(n=(u=s.next()).done);n=!0){var l=u.value;"object"!==typeof t[l]?r[l]=t[l]:r[l]=Object.assign(Array.isArray(t[l])?[]:{},t[l])}}catch(f){o=!0,a=f}finally{try{n||null==s.return||s.return()}finally{if(o)throw a}}return r.events=c.default.events,v.forEach((function(e){r[e]=function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var a;return(a=t)[e].apply(a,i(n))}})),r},t.default=void 0;var u=p(r(2784)),c=p(r(29918)),s=r(33220),l=p(r(10274)),f=p(r(14959));function p(e){return e&&e.__esModule?e:{default:e}}var h={router:null,readyCallbacks:[],ready:function(e){if(this.router)return e();this.readyCallbacks.push(e)}},d=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],v=["push","replace","reload","back","prefetch","beforePopState"];function y(){if(!h.router){throw new Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n')}return h.router}Object.defineProperty(h,"events",{get:function(){return c.default.events}}),d.forEach((function(e){Object.defineProperty(h,e,{get:function(){return y()[e]}})})),v.forEach((function(e){h[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o,a=y();return(o=a)[e].apply(o,i(r))}})),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach((function(e){h.ready((function(){c.default.events.on(e,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o="on".concat(e.charAt(0).toUpperCase()).concat(e.substring(1)),a=h;if(a[o])try{var u;(u=a)[o].apply(u,i(r))}catch(c){console.error("Error when running the Router event: ".concat(o)),console.error(l.default(c)?"".concat(c.message,"\n").concat(c.stack):c+"")}}))}))}));var m=h;t.default=m},20747:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}t.zD=function(e){e.forEach(v)};var o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(2784)),a=r(77188),i=r(27029),u=r(49071);function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=arguments,r=function(r){var n=null!=t[r]?t[r]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){c(e,t,n[t])}))},n=1;n<arguments.length;n++)r(n);return e}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var f=new Map,p=new Set,h=["onLoad","dangerouslySetInnerHTML","children","onError","strategy"],d=function(e){var t=e.src,r=e.id,o=e.onLoad,a=void 0===o?function(){}:o,u=e.dangerouslySetInnerHTML,c=e.children,s=void 0===c?"":c,l=e.strategy,d=void 0===l?"afterInteractive":l,v=e.onError,y=r||t;if(!y||!p.has(y)){if(f.has(t))return p.add(y),void f.get(t).then(a,v);var m=document.createElement("script"),g=new Promise((function(e,t){m.addEventListener("load",(function(t){e(),a&&a.call(this,t)})),m.addEventListener("error",(function(e){t(e)}))})).catch((function(e){v&&v(e)}));t&&f.set(t,g),p.add(y),u?m.innerHTML=u.__html||"":s?m.textContent="string"===typeof s?s:Array.isArray(s)?s.join(""):"":t&&(m.src=t);var _=!0,b=!1,w=void 0;try{for(var S,P=Object.entries(e)[Symbol.iterator]();!(_=(S=P.next()).done);_=!0){var x=n(S.value,2),E=x[0],O=x[1];if(void 0!==O&&!h.includes(E)){var R=i.DOMAttributeNames[E]||E.toLowerCase();m.setAttribute(R,O)}}}catch(k){b=!0,w=k}finally{try{_||null==P.return||P.return()}finally{if(b)throw w}}m.setAttribute("data-nscript",d),document.body.appendChild(m)}};function v(e){var t=e.strategy,r=void 0===t?"afterInteractive":t;"afterInteractive"===r?d(e):"lazyOnload"===r&&window.addEventListener("load",(function(){u.requestIdleCallback((function(){return d(e)}))}))}},70988:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trackWebVitalMetric=function(e){a.push(e),o.forEach((function(t){return t(e)}))},t.useExperimentalWebVitalsReport=function(e){var t=n.useRef(0);n.useEffect((function(){for(var r=function(r){e(r),t.current=a.length},n=t.current;n<a.length;n++)r(a[n]);return o.add(r),function(){o.delete(r)}}),[e])},t.webVitalsCallbacks=void 0;var n=r(2784),o=new Set;t.webVitalsCallbacks=o;var a=[]},14959:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(t){return o.default.createElement(e,Object.assign({router:a.useRouter()},t))};t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,!1;return t};var n,o=(n=r(2784))&&n.__esModule?n:{default:n},a=r(93642)},72918:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function s(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=a(e);if(t){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return i(this,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=p(r(2784)),f=p(r(75913));function p(e){return e&&e.__esModule?e:{default:e}}var h={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function d(e){var t=e.res,r=e.err;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}var v=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(c,e);var t,r,a,i=s(c);function c(){return n(this,c),i.apply(this,arguments)}return t=c,(r=[{key:"render",value:function(){var e=this.props.statusCode,t=this.props.title||h[e]||"An unexpected error has occurred";return l.default.createElement("div",{style:y.error},l.default.createElement(f.default,null,l.default.createElement("title",null,e?"".concat(e,": ").concat(t):"Application error: a client-side exception has occurred")),l.default.createElement("div",null,l.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body { margin: 0 }"}}),e?l.default.createElement("h1",{style:y.h1},e):null,l.default.createElement("div",{style:y.desc},l.default.createElement("h2",{style:y.h2},this.props.title||e?t:l.default.createElement(l.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}])&&o(t.prototype,r),a&&o(t,a),c}(l.default.Component);v.displayName="ErrorPage",v.getInitialProps=d,v.origGetInitialProps=d,t.default=v;var y={error:{color:"#000",background:"#fff",fontFamily:'-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block",textAlign:"left",lineHeight:"49px",height:"49px",verticalAlign:"middle"},h1:{display:"inline-block",borderRight:"1px solid rgba(0, 0, 0,.3)",margin:0,marginRight:"20px",padding:"10px 23px 10px 0",fontSize:"24px",fontWeight:500,verticalAlign:"top"},h2:{fontSize:"14px",fontWeight:"normal",lineHeight:"inherit",margin:0,padding:0}}},53989:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.AmpStateContext=void 0;var o=((n=r(2784))&&n.__esModule?n:{default:n}).default.createContext({});t.AmpStateContext=o},84342:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInAmpMode=i,t.useAmp=function(){return i(o.default.useContext(a.AmpStateContext))};var n,o=(n=r(2784))&&n.__esModule?n:{default:n},a=r(53989);function i(e){var t=void 0===e?{}:e,r=t.ampFirst,n=void 0!==r&&r,o=t.hybrid,a=void 0!==o&&o,i=t.hasQuery;return n||a&&(void 0!==i&&i)}},77188:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.HeadManagerContext=void 0;var o=((n=r(2784))&&n.__esModule?n:{default:n}).default.createContext({});t.HeadManagerContext=o},75913:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHead=l,t.default=void 0;var o,a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(2784)),i=(o=r(83993))&&o.__esModule?o:{default:o},u=r(53989),c=r(77188),s=r(84342);function l(e){var t=void 0!==e&&e,r=[a.default.createElement("meta",{charSet:"utf-8"})];return t||r.push(a.default.createElement("meta",{name:"viewport",content:"width=device-width"})),r}function f(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((function(e,t){return"string"===typeof t||"number"===typeof t?e:e.concat(t)}),[])):e.concat(t)}var p=["name","httpEquiv","charSet","itemProp"];function h(e,t){return e.reduce((function(e,t){var r=a.default.Children.toArray(t.props.children);return e.concat(r)}),[]).reduce(f,[]).reverse().concat(l(t.inAmpMode)).filter(function(){var e=new Set,t=new Set,r=new Set,n={};return function(o){var a=!0,i=!1;if(o.key&&"number"!==typeof o.key&&o.key.indexOf("$")>0){i=!0;var u=o.key.slice(o.key.indexOf("$")+1);e.has(u)?a=!1:e.add(u)}switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(var c=0,s=p.length;c<s;c++){var l=p[c];if(o.props.hasOwnProperty(l))if("charSet"===l)r.has(l)?a=!1:r.add(l);else{var f=o.props[l],h=n[l]||new Set;"name"===l&&i||!h.has(f)?(h.add(f),n[l]=h):a=!1}}}return a}}()).reverse().map((function(e,r){var o=e.key||r;if(!t.inAmpMode&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some((function(t){return e.props.href.startsWith(t)}))){var i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){n(e,t,r[t])}))}return e}({},e.props||{});return i["data-href"]=i.href,i.href=void 0,i["data-optimized-fonts"]=!0,a.default.cloneElement(e,i)}return a.default.cloneElement(e,{key:o})}))}var d=function(e){var t=e.children,r=a.useContext(u.AmpStateContext),n=a.useContext(c.HeadManagerContext);return a.default.createElement(i.default,{reduceComponentsToState:h,headManager:n,inAmpMode:s.isInAmpMode(r)},t)};t.default=d},78458:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLocalePath=function(e,t){var r,n=e.split("/");return(t||[]).some((function(t){return!(!n[1]||n[1].toLowerCase()!==t.toLowerCase())&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)})),{pathname:e,detectedLocale:r}}},8744:function(e,t){"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=Object.create(null);return{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];(e[t]||[]).slice().map((function(e){e.apply(void 0,r(o))}))}}}},33220:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.RouterContext=void 0;var o=((n=r(2784))&&n.__esModule?n:{default:n}).default.createContext(null);t.RouterContext=o},29918:function(e,t,r){"use strict";var n,o=(n=r(92021))&&n.__esModule?n:{default:n};function a(e,t,r,n,o,a,i){try{var u=e[a](i),c=u.value}catch(s){return void r(s)}u.done?t(c):Promise.resolve(c).then(n,o)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function u(e){a(i,n,o,u,c,"next",e)}function c(e){a(i,n,o,u,c,"throw",e)}u(void 0)}))}}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){c(e,t,r[t])}))}return e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,r,n){return!1},t.addLocale=R,t.delLocale=k,t.hasBasePath=C,t.addBasePath=A,t.delBasePath=T,t.isLocalURL=L,t.interpolateAs=M,t.resolveHref=N,t.default=void 0;var f=r(60583),p=r(21437),h=E(r(10274)),d=r(94863),v=r(78458),y=E(r(8744)),m=r(34750),g=r(39032),_=r(3881),b=r(62519),w=E(r(72094)),S=r(66164),P=r(67722),x=r(90910);function E(e){return e&&e.__esModule?e:{default:e}}function O(){return Object.assign(new Error("Route Cancelled"),{cancelled:!0})}function R(e,t,r){return e}function k(e,t){return e}function j(e){var t=e.indexOf("?"),r=e.indexOf("#");return(t>-1||r>-1)&&(e=e.substring(0,t>-1?t:r)),e}function C(e){return""===(e=j(e))||e.startsWith("/")}function A(e){return function(e,t){if(!e.startsWith("/")||!t)return e;var r=j(e);return f.normalizePathTrailingSlash("".concat(t).concat(r))+e.substr(r.length)}(e,"")}function T(e){return(e=e.slice("".length)).startsWith("/")||(e="/".concat(e)),e}function L(e){if(e.startsWith("/")||e.startsWith("#")||e.startsWith("?"))return!0;try{var t=m.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&C(r.pathname)}catch(n){return!1}}function M(e,t,r){var n="",o=P.getRouteRegex(e),a=o.groups,i=(t!==e?S.getRouteMatcher(o)(t):"")||r;n=e;var u=Object.keys(a);return u.every((function(e){var t=i[e]||"",r=a[e],o=r.repeat,u=r.optional,c="[".concat(o?"...":"").concat(e,"]");return u&&(c="".concat(t?"":"/","[").concat(c,"]")),o&&!Array.isArray(t)&&(t=[t]),(u||e in i)&&(n=n.replace(c,o?t.map((function(e){return encodeURIComponent(e)})).join("/"):encodeURIComponent(t))||"/")}))||(n=""),{params:u,result:n}}function I(e,t){var r={};return Object.keys(e).forEach((function(n){t.includes(n)||(r[n]=e[n])})),r}function N(e,t,r){var n,o="string"===typeof t?t:m.formatWithValidation(t),a=o.match(/^[a-zA-Z]{1,}:\/\//),i=a?o.substr(a[0].length):o;if((i.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href passed to next/router: ".concat(o,", repeated forward-slashes (//) or backslashes \\ are not valid in the href"));var u=m.normalizeRepeatedSlashes(i);o=(a?a[0]:"")+u}if(!L(o))return r?[o]:o;try{n=new URL(o.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(y){n=new URL("/","http://n")}try{var c=new URL(o,n);c.pathname=f.normalizePathTrailingSlash(c.pathname);var s="";if(g.isDynamicRoute(c.pathname)&&c.searchParams&&r){var l=b.searchParamsToUrlQuery(c.searchParams),p=M(c.pathname,c.pathname,l),h=p.result,d=p.params;h&&(s=m.formatWithValidation({pathname:h,hash:c.hash,query:I(l,d)}))}var v=c.origin===n.origin?c.href.slice(c.origin.length):c.href;return r?[v,s||v]:v}catch(_){return r?[o]:o}}function F(e){var t=m.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function D(e,t,r){var n=l(N(e,t,!0),2),o=n[0],a=n[1],i=m.getLocationOrigin(),u=o.startsWith(i),c=a&&a.startsWith(i);o=F(o),a=a?F(a):a;var s=u?o:A(o),f=r?F(N(e,r)):a||o;return{url:s,as:c?f:A(f)}}function B(e,t){var r=f.removePathTrailingSlash(d.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some((function(t){if(g.isDynamicRoute(t)&&P.getRouteRegex(t).re.test(r))return e=t,!0})),f.removePathTrailingSlash(e))}var q=Symbol("SSG_DATA_NOT_FOUND");function z(e,t,r){return fetch(e,{credentials:"same-origin"}).then((function(n){if(!n.ok){if(t>1&&n.status>=500)return z(e,t-1,r);if(404===n.status)return n.json().then((function(e){if(e.notFound)return{notFound:q};throw new Error("Failed to load static props")}));throw new Error("Failed to load static props")}return r.text?n.text():n.json()}))}function H(e,t,r,n,o){var a=new URL(e,window.location.href).href;return void 0!==n[a]?n[a]:n[a]=z(e,t?3:1,{text:r}).catch((function(e){throw t||p.markAssetError(e),e})).then((function(e){return o||delete n[a],e})).catch((function(e){throw delete n[a],e}))}var U=function(){function e(t,r,n,o){var a,i=o.initialProps,u=o.pageLoader,c=o.App,s=o.wrapApp,l=o.Component,p=o.err,h=o.subscription,d=o.isFallback,v=o.locale,y=(o.locales,o.defaultLocale,o.domainLocales,o.isPreview),b=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sdc={},this.sdr={},this.sde={},this._idx=0,this.onPopState=function(e){var t=e.state;if(t){if(t.__N){var r=t.url,n=t.as,o=t.options,a=t.idx;b._idx=a;var i=_.parseRelativeUrl(r).pathname;b.isSsr&&n===b.asPath&&i===b.pathname||b._bps&&!b._bps(t)||b.change("replaceState",r,n,Object.assign({},o,{shallow:o.shallow&&b._shallow,locale:o.locale||b.defaultLocale}),undefined)}}else{var u=b.pathname,c=b.query;b.changeState("replaceState",m.formatWithValidation({pathname:A(u),query:c}),m.getURL())}},this.route=f.removePathTrailingSlash(t),this.components={},"/_error"!==t)&&(this.components[this.route]={Component:l,initial:!0,props:i,err:p,__N_SSG:i&&i.__N_SSG,__N_SSP:i&&i.__N_SSP,__N_RSC:!!(null===(a=l)||void 0===a?void 0:a.__next_rsc__)});this.components["/_app"]={Component:c,styleSheets:[]},this.events=e.events,this.pageLoader=u,this.pathname=t,this.query=r;var w=g.isDynamicRoute(t)&&self.__NEXT_DATA__.autoExport;if(this.asPath=w?t:n,this.basePath="",this.sub=h,this.clc=null,this._wrapApp=s,this.isSsr=!0,this.isFallback=d,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!w&&!self.location.search),this.isPreview=!!y,this.isLocaleDomain=!1,"//"!==n.substr(0,2)){var S={locale:v};S._shouldResolveHref=n!==t,this.changeState("replaceState",m.formatWithValidation({pathname:A(t),query:r}),m.getURL(),S)}window.addEventListener("popstate",this.onPopState)}var t,r,n;return t=e,(r=[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"push",value:function(e,t,r){var n,o=void 0===r?{}:r;return e=(n=D(this,e,t)).url,t=n.as,this.change("pushState",e,t,o)}},{key:"replace",value:function(e,t,r){var n,o=void 0===r?{}:r;return e=(n=D(this,e,t)).url,t=n.as,this.change("replaceState",e,t,o)}},{key:"change",value:function(t,r,n,a,u){return i(o.default.mark((function i(){var c,d,v,y,b,w,x,E,O,N,F,z,H,U,W,G,V,$,X,K,Q,Y,J,Z,ee,te,re,ne,oe,ae,ie,ue,ce,se,le,fe,pe,he;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(L(r)){o.next=3;break}return window.location.href=r,o.abrupt("return",!1);case 3:c=a._h||a._shouldResolveHref||j(r)===j(n),a._h&&(this.isReady=!0),d=this.locale,o.next=18;break;case 18:if(a._h||(this.isSsr=!1),m.ST&&performance.mark("routeChange"),v=a.shallow,y={shallow:void 0!==v&&v},this._inFlightRoute&&this.abortComponentLoad(this._inFlightRoute,y),n=A(R(C(n)?T(n):n,a.locale,this.defaultLocale)),b=k(C(n)?T(n):n,this.locale),this._inFlightRoute=n,w=d!==this.locale,a._h||!this.onlyAHashChange(b)||w){o.next=35;break}return this.asPath=b,e.events.emit("hashChangeStart",n,y),this.changeState(t,r,n,a),this.scrollToHash(b),this.notify(this.components[this.route],null),e.events.emit("hashChangeComplete",n,y),o.abrupt("return",!0);case 35:return x=_.parseRelativeUrl(r),E=x.pathname,O=x.query,o.prev=38,o.t0=l,o.next=43,Promise.all([this.pageLoader.getPageList(),p.getClientBuildManifest(),this.pageLoader.getMiddlewareList()]);case 43:o.t1=o.sent,F=(0,o.t0)(o.t1,2),N=F[0],F[1].__rewrites,o.next=54;break;case 50:return o.prev=50,o.t2=o.catch(38),window.location.href=n,o.abrupt("return",!1);case 54:if(this.urlIsNew(b)||w||(t="replaceState"),z=n,E=E?f.removePathTrailingSlash(T(E)):E,c&&"/_error"!==E&&(a._shouldResolveHref=!0,x.pathname=B(E,N),x.pathname!==E&&(E=x.pathname,x.pathname=A(E),r=m.formatWithValidation(x))),L(n)){o.next=63;break}o.next=61;break;case 61:return window.location.href=n,o.abrupt("return",!1);case 63:if(z=k(T(z),this.locale),1===a._h){o.next=84;break}return o.next=67,this._preflightRequest({as:n,cache:!0,pages:N,pathname:E,query:O});case 67:if("rewrite"!==(H=o.sent).type){o.next=72;break}O=s({},O,H.parsedAs.query),z=H.asPath,E=H.resolvedHref,x.pathname=H.resolvedHref,r=m.formatWithValidation(x),o.next=84;break;case 72:if("redirect"!==H.type||!H.newAs){o.next=76;break}return o.abrupt("return",this.change(t,H.newUrl,H.newAs,a));case 76:if("redirect"!==H.type||!H.destination){o.next=81;break}return window.location.href=H.destination,o.abrupt("return",new Promise((function(){})));case 81:if("refresh"!==H.type){o.next=84;break}return window.location.href=n,o.abrupt("return",new Promise((function(){})));case 84:if(U=f.removePathTrailingSlash(E),!g.isDynamicRoute(U)){o.next=100;break}if(W=_.parseRelativeUrl(z),G=W.pathname,V=P.getRouteRegex(U),$=S.getRouteMatcher(V)(G),K=(X=U===G)?M(U,G,O):{},$&&(!X||K.result)){o.next=99;break}if(!((Q=Object.keys(V.groups).filter((function(e){return!O[e]}))).length>0)){o.next=97;break}throw new Error((X?"The provided `href` (".concat(r,") value is missing query values (").concat(Q.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(G,") is incompatible with the `href` value (").concat(U,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(X?"href-interpolation-failed":"incompatible-href-as"));case 97:o.next=100;break;case 99:X?n=m.formatWithValidation(Object.assign({},W,{pathname:K.result,query:I(O,K.params)})):Object.assign(O,$);case 100:return e.events.emit("routeChangeStart",n,y),o.prev=101,o.next=105,this.getRouteInfo(U,E,O,n,z,y);case 105:if(Z=o.sent,ee=Z.error,te=Z.props,re=Z.__N_SSG,ne=Z.__N_SSP,!re&&!ne||!te){o.next=132;break}if(!te.pageProps||!te.pageProps.__N_REDIRECT){o.next=117;break}if(!(oe=te.pageProps.__N_REDIRECT).startsWith("/")||!1===te.pageProps.__N_REDIRECT_BASE_PATH){o.next=115;break}return(ae=_.parseRelativeUrl(oe)).pathname=B(ae.pathname,N),ie=D(this,oe,oe),ue=ie.url,ce=ie.as,o.abrupt("return",this.change(t,ue,ce,a));case 115:return window.location.href=oe,o.abrupt("return",new Promise((function(){})));case 117:if(this.isPreview=!!te.__N_PREVIEW,te.notFound!==q){o.next=132;break}return o.prev=120,o.next=123,this.fetchComponent("/404");case 123:se="/404",o.next=129;break;case 126:o.prev=126,o.t3=o.catch(120),se="/_error";case 129:return o.next=131,this.getRouteInfo(se,se,O,n,z,{shallow:!1});case 131:Z=o.sent;case 132:return e.events.emit("beforeHistoryChange",n,y),this.changeState(t,r,n,a),a._h&&"/_error"===E&&500===(null===(Y=self.__NEXT_DATA__.props)||void 0===Y||null===(J=Y.pageProps)||void 0===J?void 0:J.statusCode)&&(null===te||void 0===te?void 0:te.pageProps)&&(te.pageProps.statusCode=500),le=a.shallow&&this.route===U,pe=null!==(fe=a.scroll)&&void 0!==fe?fe:!le,he=pe?{x:0,y:0}:null,o.next=141,this.set(U,E,O,b,Z,null!==u&&void 0!==u?u:he).catch((function(e){if(!e.cancelled)throw e;ee=ee||e}));case 141:if(!ee){o.next=144;break}throw e.events.emit("routeChangeError",ee,b,y),ee;case 144:return e.events.emit("routeChangeComplete",n,y),o.abrupt("return",!0);case 149:if(o.prev=149,o.t4=o.catch(101),!h.default(o.t4)||!o.t4.cancelled){o.next=153;break}return o.abrupt("return",!1);case 153:throw o.t4;case 154:case"end":return o.stop()}}),i,this,[[38,50],[101,149],[120,126]])})).bind(this))()}},{key:"changeState",value:function(e,t,r,n){var o=void 0===n?{}:n;"pushState"===e&&m.getURL()===r||(this._shallow=o.shallow,window.history[e]({url:t,as:r,options:o,__N:!0,idx:this._idx="pushState"!==e?this._idx:this._idx+1},"",r))}},{key:"handleRouteInfoError",value:function(t,r,n,a,u,c){return i(o.default.mark((function i(){var s,l,f,d;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!t.cancelled){o.next=2;break}throw t;case 2:if(!p.isAssetError(t)&&!c){o.next=6;break}throw e.events.emit("routeChangeError",t,a,u),window.location.href=a,O();case 6:if(o.prev=6,"undefined"!==typeof s&&"undefined"!==typeof l){o.next=18;break}return o.next=14,this.fetchComponent("/_error");case 14:f=o.sent,s=f.page,l=f.styleSheets;case 18:if((d={props:void 0,Component:s,styleSheets:l,err:t,error:t}).props){o.next=30;break}return o.prev=20,o.next=23,this.getInitialProps(s,{err:t,pathname:r,query:n});case 23:d.props=o.sent,o.next=30;break;case 26:o.prev=26,o.t0=o.catch(20),console.error("Error in error page `getInitialProps`: ",o.t0),d.props={};case 30:return o.abrupt("return",d);case 33:return o.prev=33,o.t1=o.catch(6),o.abrupt("return",this.handleRouteInfoError(h.default(o.t1)?o.t1:new Error(o.t1+""),r,n,a,u,!0));case 36:case"end":return o.stop()}}),i,this,[[6,33],[20,26]])})).bind(this))()}},{key:"getRouteInfo",value:function(e,t,r,n,a,u){var c=this;return i(o.default.mark((function i(){var s,l,f,p,d,v,y,g,_,b,w,S;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(o.prev=0,s=this.components[e],!u.shallow||!s||this.route!==e){o.next=4;break}return o.abrupt("return",s);case 4:if(l=void 0,s&&!("initial"in s)&&(l=s),o.t0=l,o.t0){o.next=11;break}return o.next=10,this.fetchComponent(e).then((function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP,__N_RSC:!!e.page.__next_rsc__}}));case 10:o.t0=o.sent;case 11:f=o.t0,p=f.Component,d=f.__N_SSG,v=f.__N_SSP,y=f.__N_RSC,o.next=17;break;case 17:return(d||v||y)&&(g=this.pageLoader.getDataHref({href:m.formatWithValidation({pathname:t,query:r}),asPath:a,ssg:d,rsc:y,locale:this.locale})),o.next=21,this._getData((function(){return d||v?H(g,c.isSsr,!1,d?c.sdc:c.sdr,!!d&&!c.isPreview):c.getInitialProps(p,{pathname:t,query:r,asPath:n,locale:c.locale,locales:c.locales,defaultLocale:c.defaultLocale})}));case 21:if(_=o.sent,!y){o.next=29;break}return o.next=25,this._getData((function(){return c._getFlightData(g)}));case 25:b=o.sent,w=b.fresh,S=b.data,_.pageProps=Object.assign(_.pageProps,{__flight_serialized__:S,__flight_fresh__:w});case 29:return f.props=_,this.components[e]=f,o.abrupt("return",f);case 34:return o.prev=34,o.t1=o.catch(0),o.abrupt("return",this.handleRouteInfoError(h.default(o.t1)?o.t1:new Error(o.t1+""),t,r,n,u));case 37:case"end":return o.stop()}}),i,this,[[0,34]])})).bind(this))()}},{key:"set",value:function(e,t,r,n,o,a){return this.isFallback=!1,this.route=e,this.pathname=t,this.query=r,this.asPath=n,this.notify(o,a)}},{key:"beforePopState",value:function(e){this._bps=e}},{key:"onlyAHashChange",value:function(e){if(!this.asPath)return!1;var t=l(this.asPath.split("#"),2),r=t[0],n=t[1],o=l(e.split("#"),2),a=o[0],i=o[1];return!(!i||r!==a||n!==i)||r===a&&n!==i}},{key:"scrollToHash",value:function(e){var t=l(e.split("#"),2)[1];if(""!==t&&"top"!==t){var r=document.getElementById(t);if(r)r.scrollIntoView();else{var n=document.getElementsByName(t)[0];n&&n.scrollIntoView()}}else window.scrollTo(0,0)}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(e,t,r){var n=void 0===t?e:t,a=void 0===r?{}:r,u=this;return i(o.default.mark((function t(){var r,i,c,l,p,h,d,v,y,g;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=_.parseRelativeUrl(e),i=r.pathname,c=r.query,t.next=5,this.pageLoader.getPageList();case 5:l=t.sent,p=n,t.next=20;break;case 12:d=t.sent,h=d.__rewrites,v=w.default(A(R(n,this.locale)),l,h,r.query,(function(e){return B(e,l)}),this.locales),p=k(T(v.asPath),this.locale),v.matchedPage&&v.resolvedHref&&(i=v.resolvedHref,r.pathname=i,e=m.formatWithValidation(r)),t.next=21;break;case 20:r.pathname=B(r.pathname,l),r.pathname!==i&&(i=r.pathname,r.pathname=i,e=m.formatWithValidation(r));case 21:t.next=23;break;case 23:return t.next=25,this._preflightRequest({as:A(n),cache:!0,pages:l,pathname:i,query:c});case 25:return"rewrite"===(y=t.sent).type&&(r.pathname=y.resolvedHref,i=y.resolvedHref,c=s({},c,y.parsedAs.query),p=y.asPath,e=m.formatWithValidation(r)),g=f.removePathTrailingSlash(i),t.next=30,Promise.all([this.pageLoader._isSsg(g).then((function(t){return!!t&&H(u.pageLoader.getDataHref({href:e,asPath:p,ssg:!0,locale:"undefined"!==typeof a.locale?a.locale:u.locale}),!1,!1,u.sdc,!0)})),this.pageLoader[a.priority?"loadPage":"prefetch"](g)]);case 30:case"end":return t.stop()}}),t,this)})).bind(this))()}},{key:"fetchComponent",value:function(e){var t=this;return i(o.default.mark((function r(){var n,a,i,u;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=!1,a=this.clc=function(){n=!0},i=function(){if(n){var r=new Error('Abort fetching component for route: "'.concat(e,'"'));throw r.cancelled=!0,r}a===t.clc&&(t.clc=null)},r.prev=3,r.next=6,this.pageLoader.loadPage(e);case 6:return u=r.sent,i(),r.abrupt("return",u);case 11:throw r.prev=11,r.t0=r.catch(3),i(),r.t0;case 15:case"end":return r.stop()}}),r,this,[[3,11]])})).bind(this))()}},{key:"_getData",value:function(e){var t=this,r=!1,n=function(){r=!0};return this.clc=n,e().then((function(e){if(n===t.clc&&(t.clc=null),r){var o=new Error("Loading initial props cancelled");throw o.cancelled=!0,o}return e}))}},{key:"_getFlightData",value:function(e){var t=this,r=new URL(e,window.location.href).href;return!this.isPreview&&this.sdc[r]?Promise.resolve({fresh:!1,data:this.sdc[r]}):H(e,!0,!0,this.sdc,!1).then((function(e){return t.sdc[r]=e,{fresh:!0,data:e}}))}},{key:"_preflightRequest",value:function(e){return i(o.default.mark((function t(){var r,n,a,i,u,c,s,p,h,d,y;return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=k(C(e.as)?T(e.as):e.as,this.locale),t.next=4,this.pageLoader.getMiddlewareList();case 4:if(t.sent.some((function(e){var t=l(e,2),r=t[0],o=t[1];return S.getRouteMatcher(x.getMiddlewareRegex(r,!o))(n)}))){t.next=8;break}return t.abrupt("return",{type:"next"});case 8:return t.next=10,this._getPreflightData({preflightHref:e.as,shouldCache:e.cache});case 10:if(a=t.sent,!(null===(r=a.rewrite)||void 0===r?void 0:r.startsWith("/"))){t.next=18;break}return i=_.parseRelativeUrl(v.normalizeLocalePath(C(a.rewrite)?T(a.rewrite):a.rewrite,this.locales).pathname),u=f.removePathTrailingSlash(i.pathname),e.pages.includes(u)?(c=!0,s=u):(s=B(u,e.pages))!==i.pathname&&e.pages.includes(s)&&(c=!0),t.abrupt("return",{type:"rewrite",asPath:i.pathname,parsedAs:i,matchedPage:c,resolvedHref:s});case 18:if(!a.redirect){t.next=24;break}if(!a.redirect.startsWith("/")){t.next=23;break}return p=f.removePathTrailingSlash(v.normalizeLocalePath(C(a.redirect)?T(a.redirect):a.redirect,this.locales).pathname),h=D(this,p,p),d=h.url,y=h.as,t.abrupt("return",{type:"redirect",newUrl:d,newAs:y});case 23:return t.abrupt("return",{type:"redirect",destination:a.redirect});case 24:if(!a.refresh||a.ssr){t.next=26;break}return t.abrupt("return",{type:"refresh"});case 26:return t.abrupt("return",{type:"next"});case 27:case"end":return t.stop()}}),t,this)})).bind(this))()}},{key:"_getPreflightData",value:function(e){var t=this,r=e.preflightHref,n=e.shouldCache,o=void 0!==n&&n,a=new URL(r,window.location.href).href;return!this.isPreview&&o&&this.sde[a]?Promise.resolve(this.sde[a]):fetch(r,{method:"HEAD",credentials:"same-origin",headers:{"x-middleware-preflight":"1"}}).then((function(e){if(!e.ok)throw new Error("Failed to preflight request");return{redirect:e.headers.get("Location"),refresh:e.headers.has("x-middleware-refresh"),rewrite:e.headers.get("x-middleware-rewrite"),ssr:!!e.headers.get("x-middleware-ssr")}})).then((function(e){return o&&(t.sde[a]=e),e})).catch((function(e){throw delete t.sde[a],e}))}},{key:"getInitialProps",value:function(e,t){var r=this.components["/_app"].Component,n=this._wrapApp(r);return t.AppTree=n,m.loadGetInitialProps(r,{AppTree:n,Component:e,router:this,ctx:t})}},{key:"abortComponentLoad",value:function(t,r){this.clc&&(e.events.emit("routeChangeError",O(),t,r),this.clc(),this.clc=null)}},{key:"notify",value:function(e,t){return this.sub(e,this.components["/_app"].Component,t)}}])&&u(t.prototype,r),n&&u(t,n),e}();U.events=y.default(),t.default=U},10437:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=function(e){var t=e.auth,r=e.hostname,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",c=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(s+=":"+e.port));c&&"object"===typeof c&&(c=String(n.urlQueryToSearchParams(c)));var l=e.search||c&&"?".concat(c)||"";a&&":"!==a.substr(-1)&&(a+=":");e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s="");u&&"#"!==u[0]&&(u="#"+u);l&&"?"!==l[0]&&(l="?"+l);return i=i.replace(/[?#]/g,encodeURIComponent),l=l.replace("#","%23"),"".concat(a).concat(s).concat(i).concat(l).concat(u)};var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(62519));var o=/https?|ftp|gopher|file/},88738:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=void 0===t?"":t;return("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e))+r}},90910:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMiddlewareRegex=function(e,t){var r=void 0===t||t,o=n.getParametrizedRoute(e),a=r?"(?!_next).*":"",i=r?"(?:(/.*)?)":"";if("routeKeys"in o)return"/"===o.parameterizedRoute?{groups:{},namedRegex:"^/".concat(a,"$"),re:new RegExp("^/".concat(a,"$")),routeKeys:{}}:{groups:o.groups,namedRegex:"^".concat(o.namedParameterizedRoute).concat(i,"$"),re:new RegExp("^".concat(o.parameterizedRoute).concat(i,"$")),routeKeys:o.routeKeys};if("/"===o.parameterizedRoute)return{groups:{},re:new RegExp("^/".concat(a,"$"))};return{groups:{},re:new RegExp("^".concat(o.parameterizedRoute).concat(i,"$"))}};var n=r(67722)},39032:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};var r=/\/\[[^/]+?\](?=\/|$)/},3881:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){var r=new URL(n.getLocationOrigin()),a=t?new URL(t,r):r,i=new URL(e,a),u=i.pathname,c=i.searchParams,s=i.search,l=i.hash,f=i.href;if(i.origin!==r.origin)throw new Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:u,query:o.searchParamsToUrlQuery(c),search:s,hash:l,href:f.slice(r.origin.length)}};var n=r(34750),o=r(62519)},62519:function(e,t){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(c){o=!0,a=c}finally{try{n||null==u.return||u.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function n(e){return"string"===typeof e||"number"===typeof e&&!isNaN(e)||"boolean"===typeof e?String(e):""}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){var t={};return e.forEach((function(e,r){"undefined"===typeof t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]})),t},t.urlQueryToSearchParams=function(e){var t=new URLSearchParams;return Object.entries(e).forEach((function(e){var o=r(e,2),a=o[0],i=o[1];Array.isArray(i)?i.forEach((function(e){return t.append(a,n(e))})):t.set(a,n(i))})),t},t.assign=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.forEach((function(t){Array.from(t.keys()).forEach((function(t){return e.delete(t)})),t.forEach((function(t,r){return e.append(r,t)}))})),e}},66164:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRouteMatcher=function(e){var t=e.re,r=e.groups;return function(e){var o=t.exec(e);if(!o)return!1;var a=function(e){try{return decodeURIComponent(e)}catch(t){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach((function(e){var t=r[e],n=o[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map((function(e){return a(e)})):t.repeat?[a(n)]:a(n))})),i}};var n=r(34750)},67722:function(e,t){"use strict";function r(e){var t=(e.replace(/\/$/,"")||"/").slice(1).split("/"),r={},n=1;return{parameterizedRoute:t.map((function(e){if(e.startsWith("[")&&e.endsWith("]")){var t=function(e){var t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));var r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}(e.slice(1,-1)),o=t.key,a=t.optional,i=t.repeat;return r[o]={pos:n++,repeat:i,optional:a},i?a?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}return"/".concat(e.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&"))})).join(""),groups:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.getParametrizedRoute=r,t.getRouteRegex=function(e){var t=r(e);if("routeKeys"in t)return{re:new RegExp("^".concat(t.parameterizedRoute,"(?:/)?$")),groups:t.groups,routeKeys:t.routeKeys,namedRegex:"^".concat(t.namedParameterizedRoute,"(?:/)?$")};return{re:new RegExp("^".concat(t.parameterizedRoute,"(?:/)?$")),groups:t.groups}}},96112:function(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=function(e){r=e},t.default=void 0;t.default=function(){return r}},83993:function(e,t,r){"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?n(e):t}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var s=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=a(e);if(t){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return i(this,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(2784));var p=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(i,e);var t,r,n,a=l(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=a.call(this,e)).emitChange=function(){t._hasHeadManager&&t.props.headManager.updateHead(t.props.reduceComponentsToState(c(t.props.headManager.mountedInstances),t.props))},t._hasHeadManager=t.props.headManager&&t.props.headManager.mountedInstances,t}return t=i,(r=[{key:"componentDidMount",value:function(){this._hasHeadManager&&this.props.headManager.mountedInstances.add(this),this.emitChange()}},{key:"componentDidUpdate",value:function(){this.emitChange()}},{key:"componentWillUnmount",value:function(){this._hasHeadManager&&this.props.headManager.mountedInstances.delete(this),this.emitChange()}},{key:"render",value:function(){return null}}])&&o(t.prototype,r),n&&o(t,n),i}(f.Component);t.default=p},34750:function(e,t,r){"use strict";var n,o=(n=r(92021))&&n.__esModule?n:{default:n};function a(e,t,r,n,o,a,i){try{var u=e[a](i),c=u.value}catch(s){return void r(s)}u.done?t(c):Promise.resolve(c).then(n,o)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function u(e){a(i,n,o,u,c,"next",e)}function c(e){a(i,n,o,u,c,"throw",e)}u(void 0)}))}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function s(e,t,r){return(s=c()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&p(o,r.prototype),o}).apply(null,arguments)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e,t){return!t||"object"!==d(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var d=function(e){return e&&"undefined"!==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function v(e){var t="function"===typeof Map?new Map:void 0;return(v=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return s(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),p(n,e)})(e)}function y(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=l(e);if(t){var o=l(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return f(this,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){var t,r=!1;return function(){for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return r||(r=!0,t=e.apply(void 0,h(o))),t}},t.getLocationOrigin=_,t.getURL=function(){var e=window.location.href,t=_();return e.substring(t.length)},t.getDisplayName=b,t.isResSent=w,t.normalizeRepeatedSlashes=function(e){var t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?".concat(t.slice(1).join("?")):"")},t.loadGetInitialProps=S,t.formatWithValidation=function(e){0;return m.formatUrl(e)},t.HtmlContext=t.ST=t.SP=t.urlObjectKeys=void 0;var m=r(10437),g=r(2784);function _(){var e=window.location,t=e.protocol,r=e.hostname,n=e.port;return"".concat(t,"//").concat(r).concat(n?":"+n:"")}function b(e){return"string"===typeof e?e:e.displayName||e.name||"Unknown"}function w(e){return e.finished||e.headersSent}function S(e,t){return P.apply(this,arguments)}function P(){return(P=i(o.default.mark((function e(t,r){var n,a,i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=5;break;case 5:if(n=r.res||r.ctx&&r.ctx.res,t.getInitialProps){e.next=13;break}if(!r.ctx||!r.Component){e.next=12;break}return e.next=10,S(r.Component,r.ctx);case 10:return e.t0=e.sent,e.abrupt("return",{pageProps:e.t0});case 12:return e.abrupt("return",{});case 13:return e.next=15,t.getInitialProps(r);case 15:if(a=e.sent,!n||!w(n)){e.next=18;break}return e.abrupt("return",a);case 18:if(a){e.next=21;break}throw i='"'.concat(b(t),'.getInitialProps()" should resolve to an object. But found "').concat(a,'" instead.'),new Error(i);case 21:return e.abrupt("return",a);case 23:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];var x="undefined"!==typeof performance;t.SP=x;var E=x&&"function"===typeof performance.mark&&"function"===typeof performance.measure;t.ST=E;var O=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(r,e);var t=y(r);function r(){return u(this,r),t.apply(this,arguments)}return r}(v(Error));t.DecodeError=O;var R=g.createContext(null);t.HtmlContext=R},29600:function(e){e.exports=function(){var e={770:function(e,t){!function(e){"use strict";var t,r,n,o,a=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},i=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var r=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return r.observe({type:e,buffered:!0}),r}}catch(e){}},u=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},c=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},s=function(e,t,r){var n;return function(o){t.value>=0&&(o||r)&&(t.delta=t.value-(n||0),(t.delta||void 0===n)&&(n=t.value,e(t)))}},l=-1,f=function(){return"hidden"===document.visibilityState?0:1/0},p=function(){u((function(e){var t=e.timeStamp;l=t}),!0)},h=function(){return l<0&&(l=f(),p(),c((function(){setTimeout((function(){l=f(),p()}),0)}))),{get firstHiddenTime(){return l}}},d=function(e,t){var r,n=h(),o=a("FCP"),u=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime<n.firstHiddenTime&&(o.value=e.startTime,o.entries.push(e),r(!0)))},l=performance.getEntriesByName&&performance.getEntriesByName("first-contentful-paint")[0],f=l?null:i("paint",u);(l||f)&&(r=s(e,o,t),l&&u(l),c((function(n){o=a("FCP"),r=s(e,o,t),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-n.timeStamp,r(!0)}))}))})))},v=!1,y=-1,m={passive:!0,capture:!0},g=new Date,_=function(e,o){t||(t=o,r=e,n=new Date,S(removeEventListener),b())},b=function(){if(r>=0&&r<n-g){var e={entryType:"first-input",name:t.type,target:t.target,cancelable:t.cancelable,startTime:t.timeStamp,processingStart:t.timeStamp+r};o.forEach((function(t){t(e)})),o=[]}},w=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var r=function(){_(e,t),o()},n=function(){o()},o=function(){removeEventListener("pointerup",r,m),removeEventListener("pointercancel",n,m)};addEventListener("pointerup",r,m),addEventListener("pointercancel",n,m)}(t,e):_(t,e)}},S=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,w,m)}))},P=new Set;e.getCLS=function(e,t){v||(d((function(e){y=e.value})),v=!0);var r,n=function(t){y>-1&&e(t)},o=a("CLS",0),l=0,f=[],p=function(e){if(!e.hadRecentInput){var t=f[0],n=f[f.length-1];l&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(l+=e.value,f.push(e)):(l=e.value,f=[e]),l>o.value&&(o.value=l,o.entries=f,r())}},h=i("layout-shift",p);h&&(r=s(n,o,t),u((function(){h.takeRecords().map(p),r(!0)})),c((function(){l=0,y=-1,o=a("CLS",0),r=s(n,o,t)})))},e.getFCP=d,e.getFID=function(e,n){var l,f=h(),p=a("FID"),d=function(e){e.startTime<f.firstHiddenTime&&(p.value=e.processingStart-e.startTime,p.entries.push(e),l(!0))},v=i("first-input",d);l=s(e,p,n),v&&u((function(){v.takeRecords().map(d),v.disconnect()}),!0),v&&c((function(){var i;p=a("FID"),l=s(e,p,n),o=[],r=-1,t=null,S(addEventListener),i=d,o.push(i),b()}))},e.getLCP=function(e,t){var r,n=h(),o=a("LCP"),l=function(e){var t=e.startTime;t<n.firstHiddenTime&&(o.value=t,o.entries.push(e)),r()},f=i("largest-contentful-paint",l);if(f){r=s(e,o,t);var p=function(){P.has(o.id)||(f.takeRecords().map(l),f.disconnect(),P.add(o.id),r(!0))};["keydown","click"].forEach((function(e){addEventListener(e,p,{once:!0,capture:!0})})),u(p,!0),c((function(n){o=a("LCP"),r=s(e,o,t),requestAnimationFrame((function(){requestAnimationFrame((function(){o.value=performance.now()-n.timeStamp,P.add(o.id),r(!0)}))}))}))}},e.getTTFB=function(e){var t,r=a("TTFB");t=function(){try{var t=performance.getEntriesByType("navigation")[0]||function(){var e=performance.timing,t={entryType:"navigation",startTime:0};for(var r in e)"navigationStart"!==r&&"toJSON"!==r&&(t[r]=Math.max(e[r]-e.navigationStart,0));return t}();if(r.value=r.delta=t.responseStart,r.value<0)return;r.entries=[t],e(r)}catch(e){}},"complete"===document.readyState?setTimeout(t,0):addEventListener("pageshow",t)},Object.defineProperty(e,"__esModule",{value:!0})}(t)}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{}},a=!0;try{e[n].call(o.exports,o,o.exports,r),a=!1}finally{a&&delete t[n]}return o.exports}return r.ab="//",r(770)}()},10274:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"object"===typeof e&&null!==e&&"name"in e&&"message"in e}},94863:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePathSep=r,t.denormalizePagePath=function(e){(e=r(e)).startsWith("/index/")?e=e.slice(6):"/index"===e&&(e="/");return e}},92021:function(e){var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),i=new R(n||[]);return a._invoke=function(e,t,r){var n=l;return function(o,a){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw a;return j()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var u=x(i,r);if(u){if(u===d)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=s(e,t,r);if("normal"===c.type){if(n=r.done?h:f,c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=h,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(n){return{type:"throw",arg:n}}}e.wrap=c;var l="suspendedStart",f="suspendedYield",p="executing",h="completed",d={};function v(){}function y(){}function m(){}var g={};g[a]=function(){return this};var _=Object.getPrototypeOf,b=_&&_(_(k([])));b&&b!==r&&n.call(b,a)&&(g=b);var w=m.prototype=v.prototype=Object.create(g);function S(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function P(e,t){function r(o,a,i,u){var c=s(e[o],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,u)}),(function(e){r("throw",e,i,u)})):t.resolve(f).then((function(e){l.value=e,i(l)}),(function(e){return r("throw",e,i,u)}))}u(c.arg)}var o;this._invoke=function(e,n){function a(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(a,a):a()}}function x(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,x(e,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=s(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,d;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function R(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function k(e){if(e){var r=e[a];if(r)return r.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:j}}function j(){return{value:t,done:!0}}return y.prototype=w.constructor=m,m.constructor=y,m[u]=y.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},S(P.prototype),P.prototype[i]=function(){return this},e.AsyncIterator=P,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new P(c(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},S(w),w[u]="Generator",w[a]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=k,R.prototype={constructor:R,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=t}catch(r){Function("r","regeneratorRuntime = r")(t)}},34406:function(e){var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!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)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],s=!1,l=-1;function f(){s&&u&&(s=!1,u.length?c=u.concat(c):l=-1,c.length&&p())}function p(){if(!s){var e=i(f);s=!0;for(var t=c.length;t;){for(u=c,c=[];++l<t;)u&&u[l].run();l=-1,t=c.length}u=null,s=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function d(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new h(e,t)),1!==c.length||s||i(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=d,n.addListener=d,n.once=d,n.off=d,n.removeListener=d,n.removeAllListeners=d,n.emit=d,n.prependListener=d,n.prependOnceListener=d,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},9839:function(e){"use strict";e.exports=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0}},58284:function(e,t,r){"use strict";t.__esModule=!0,t.useStyleRegistry=t.createStyleRegistry=t.StyleRegistry=void 0;var n=r(35465);t.StyleRegistry=n.StyleRegistry,t.createStyleRegistry=n.createStyleRegistry,t.useStyleRegistry=n.useStyleRegistry},64247:function(e,t,r){"use strict";t.__esModule=!0,t.computeId=function(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;a[n]||(a[n]="jsx-"+(0,o.default)(e+"-"+r));return a[n]},t.computeSelector=function(e,t){"undefined"===typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;a[r]||(a[r]=t.replace(/__jsx-style-dynamic-selector/g,e));return a[r]};var n,o=(n=r(9839))&&n.__esModule?n:{default:n};var a={}},74346:function(e,t,r){"use strict";var n=r(34406);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}t.__esModule=!0,t.default=void 0;var a="undefined"!==typeof n&&n.env&&!0,i=function(e){return"[object String]"===Object.prototype.toString.call(e)},u=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,o=t.optimizeForSpeed,u=void 0===o?a:o,s=t.isBrowser,l=void 0===s?"undefined"!==typeof window:s;c(i(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",c("boolean"===typeof u,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=u,this._isBrowser=l,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var f=this._isBrowser&&document.querySelector('meta[property="csp-nonce"]');this._nonce=f?f.getAttribute("content"):null}var t,r,n,u=e.prototype;return u.setOptimizeForSpeed=function(e){c("boolean"===typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},u.isOptimizeForSpeed=function(){return this._optimizeForSpeed},u.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,this._isBrowser&&this._optimizeForSpeed)return this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),void(this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0));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}}},u.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},u.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},u.insertRule=function(e,t){if(c(i(e),"`insertRule` accepts only strings"),!this._isBrowser)return"number"!==typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var r=this.getSheet();"number"!==typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(o){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},u.replaceRule=function(e,t){if(this._optimizeForSpeed||!this._isBrowser){var r=this._isBrowser?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(o){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];c(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},u.deleteRule=function(e){if(this._isBrowser)if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}else this._serverSheet.deleteRule(e)},u.flush=function(){this._injected=!1,this._rulesCount=0,this._isBrowser?(this._tags.forEach((function(e){return e&&e.parentNode.removeChild(e)})),this._tags=[]):this._serverSheet.cssRules=[]},u.cssRules=function(){var e=this;return this._isBrowser?this._tags.reduce((function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,(function(t){return t.cssText===e._deletedRulePlaceholder?null:t}))):t.push(null),t}),[]):this._serverSheet.cssRules},u.makeStyleTag=function(e,t,r){t&&c(i(t),"makeStyleTag acceps only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var o=document.head||document.getElementsByTagName("head")[0];return r?o.insertBefore(n,r):o.appendChild(n),n},t=e,(r=[{key:"length",get:function(){return this._rulesCount}}])&&o(t.prototype,r),n&&o(t,n),e}();function c(e,t){if(!e)throw new Error("StyleSheet: "+t+".")}t.default=u},35465:function(e,t,r){"use strict";t.__esModule=!0,t.createStyleRegistry=l,t.StyleRegistry=function(e){var t=e.registry,r=e.children,n=(0,o.useContext)(s),a=(0,o.useState)((function(){return n||t||l()}))[0];return o.default.createElement(s.Provider,{value:a},r)},t.useStyleRegistry=function(){return(0,o.useContext)(s)},t.StyleSheetContext=t.StyleSheetRegistry=void 0;var n,o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}r.default=e,t&&t.set(e,r);return r}(r(2784)),a=(n=r(74346))&&n.__esModule?n:{default:n},i=r(64247);function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}var c=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,o=t.optimizeForSpeed,i=void 0!==o&&o,u=t.isBrowser,c=void 0===u?"undefined"!==typeof window:u;this._sheet=n||new a.default({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),n&&"boolean"===typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._isBrowser=c,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()),this._isBrowser&&!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,o=r.rules;if(n in this._instancesCounts)this._instancesCounts[n]+=1;else{var a=o.map((function(e){return t._sheet.insertRule(e)})).filter((function(e){return-1!==e}));this._indices[n]=a,this._instancesCounts[n]=1}},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw new 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 Boolean(e[1])})))},t.styles=function(e){return function(e,t){return void 0===t&&(t={}),e.map((function(e){var r=e[0],n=e[1];return o.default.createElement("style",{id:"__"+r,key:"__"+r,nonce:t.nonce?t.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})}))}(this.cssRules(),e)},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var o=(0,i.computeId)(n,r);return{styleId:o,rules:Array.isArray(t)?t.map((function(e){return(0,i.computeSelector)(o,e)})):[(0,i.computeSelector)(o,t)]}}return{styleId:(0,i.computeId)(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}();t.StyleSheetRegistry=c;var s=(0,o.createContext)(null);function l(){return new c}t.StyleSheetContext=s},95620:function(e,t,r){e.exports=r(58284)},72094:function(){}},function(e){e.O(0,[774],(function(){return t=9043,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{70314:function(e,t,r){e.exports=r(96112)},33394:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(92373)}])},90162:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(s){o=!0,a=s}finally{try{n||null==l.return||l.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}t.default=void 0;var o,a=(o=r(2784))&&o.__esModule?o:{default:o},i=r(29918),l=r(93642),s=r(22030);var c={};function u(e,t,r,n){if(e&&i.isLocalURL(t)){e.prefetch(t,r,n).catch((function(e){0}));var o=n&&"undefined"!==typeof n.locale?n.locale:e&&e.locale;c[t+"%"+r+(o?"%"+o:"")]=!0}}var f=function(e){var t,r=!1!==e.prefetch,o=l.useRouter(),f=a.default.useMemo((function(){var t=n(i.resolveHref(o,e.href,!0),2),r=t[0],a=t[1];return{href:r,as:e.as?i.resolveHref(o,e.as):a||r}}),[o,e.href,e.as]),h=f.href,d=f.as,v=e.children,g=e.replace,m=e.shallow,p=e.scroll,x=e.locale;"string"===typeof v&&(v=a.default.createElement("a",null,v));var y=(t=a.default.Children.only(v))&&"object"===typeof t&&t.ref,b=n(s.useIntersection({rootMargin:"200px"}),2),j=b[0],w=b[1],C=a.default.useCallback((function(e){j(e),y&&("function"===typeof y?y(e):"object"===typeof y&&(y.current=e))}),[y,j]);a.default.useEffect((function(){var e=w&&r&&i.isLocalURL(h),t="undefined"!==typeof x?x:o&&o.locale,n=c[h+"%"+d+(t?"%"+t:"")];e&&!n&&u(o,h,d,{locale:t})}),[d,h,w,x,r,o]);var k={ref:C,onClick:function(e){t.props&&"function"===typeof t.props.onClick&&t.props.onClick(e),e.defaultPrevented||function(e,t,r,n,o,a,l,s){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&i.isLocalURL(r))&&(e.preventDefault(),null==l&&n.indexOf("#")>=0&&(l=!1),t[o?"replace":"push"](r,n,{shallow:a,locale:s,scroll:l}))}(e,o,h,d,g,m,p,x)},onMouseEnter:function(e){t.props&&"function"===typeof t.props.onMouseEnter&&t.props.onMouseEnter(e),i.isLocalURL(h)&&u(o,h,d,{priority:!0})}};if(e.passHref||"a"===t.type&&!("href"in t.props)){var A="undefined"!==typeof x?x:o&&o.locale,E=o&&o.isLocaleDomain&&i.getDomainLocale(d,A,o&&o.locales,o&&o.domainLocales);k.href=E||i.addBasePath(i.addLocale(d,A,o&&o.defaultLocale))}return a.default.cloneElement(t,k)};t.default=f},22030:function(e,t,r){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(n=(i=l.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(s){o=!0,a=s}finally{try{n||null==l.return||l.return()}finally{if(o)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootMargin,r=e.disabled||!i,s=o.useRef(),c=n(o.useState(!1),2),u=c[0],f=c[1],h=o.useCallback((function(e){s.current&&(s.current(),s.current=void 0),r||u||e&&e.tagName&&(s.current=function(e,t,r){var n=function(e){var t=e.rootMargin||"",r=l.get(t);if(r)return r;var n=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=n.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)}))}),e);return l.set(t,r={id:t,observer:o,elements:n}),r}(r),o=n.id,a=n.observer,i=n.elements;return i.set(e,t),a.observe(e),function(){i.delete(e),a.unobserve(e),0===i.size&&(a.disconnect(),l.delete(o))}}(e,(function(e){return e&&f(e)}),{rootMargin:t}))}),[r,t,u]);return o.useEffect((function(){if(!i&&!u){var e=a.requestIdleCallback((function(){return f(!0)}));return function(){return a.cancelIdleCallback(e)}}}),[u]),[h,u]};var o=r(2784),a=r(49071),i="undefined"!==typeof IntersectionObserver;var l=new Map},18663:function(e){"use strict";e.exports={title:"EventCatalog",tagline:"Discover, Explore and Document your Event Driven Architectures",organizationName:"Your Company",editUrl:"https://github.com/boyney123/eventcatalog-demo/edit/master",trailingSlash:!0,logo:{alt:"EventCatalog Logo",src:"logo.svg"},footerLinks:[{label:"Events",href:"/events"},{label:"Services",href:"/services"},{label:"Visualiser",href:"/visualiser"},{label:"3D Node Graph",href:"/overview"},{label:"GitHub",href:"https://github.com/boyney123/eventcatalog-demo/edit/master"}],generators:[["@eventcatalog/plugin-doc-generator-asyncapi",{file:"./asyncapi.yml"}]],users:[{id:"dboyne",name:"David Boyne",avatarUrl:"https://pbs.twimg.com/profile_images/1262283153563140096/DYRDqKg6_400x400.png",role:"Developer",summary:"Currently building tools for Event Architectures."},{id:"mSmith",name:"Matthew Smith",avatarUrl:"https://randomuser.me/api/portraits/lego/3.jpg",role:"Developer",summary:"About Fugiat ipsum ipsum deserunt culpa aute sint do nostrud anim incididunt cillum culpa consequat."}]}},55008:function(e,t,r){"use strict";r.d(t,{K3:function(){return u},ZR:function(){return f},aF:function(){return h},wG:function(){return d}});var n=r(52322),o=r(2784),a=r(21023),i=r.n(a),l=r(18663),s=r.n(l),c=o.createContext(s());function u(e){var t=e.children;return(0,n.jsx)(c.Provider,{value:s(),children:t})}var f=function(){return(0,o.useContext)(c)},h=function(){var e=f();return{getUserById:function(t){return(e.users||[]).find((function(e){return e.id===t}))}}},d=function(){var e=f();return{getEditUrl:function(t){return i().join(e.editUrl,t)},hasEditUrl:!!e.editUrl}}},92373:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return g}});var n=r(52322),o=(r(7915),r(97729)),a=r(70314),i=r(39097),l=r(5632),s=r(55008),c=[{name:"Events",href:"/events"},{name:"Services",href:"/services"},{name:"Domains",href:"/domains"},{name:"Visualiser",href:"/visualiser"},{name:"3D Node Graph",href:"/overview"}];function u(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function f(){var e=(0,s.ZR)(),t=e.title,r=e.homepageLink,o=e.logo,f=(0,l.useRouter)(),h=(0,a.default)().publicRuntimeConfig,d=(void 0===h?{}:h).basePath,v=void 0===d?"":d,g=o||{alt:"EventCatalog Logo",src:"logo.svg"};return(0,n.jsx)("div",{className:"bg-gray-800",children:(0,n.jsx)("div",{className:"max-w-7xl mx-auto ",children:(0,n.jsxs)("div",{className:"relative flex items-center justify-between h-16",children:[(0,n.jsx)("div",{className:"flex-1 flex items-center justify-center sm:items-stretch sm:justify-start",children:(0,n.jsxs)("div",{className:"flex-shrink-0 flex items-center text-white font-bold",children:[!r&&(0,n.jsx)(i.default,{href:"/",children:(0,n.jsxs)("a",{className:"flex items-center",children:[(0,n.jsx)("img",{alt:"logo",className:"text-white w-8 inline-block mr-3",src:"".concat(v,"/").concat(g.src)}),(0,n.jsx)("span",{className:"text-xl",children:t})]})}),r&&(0,n.jsxs)("a",{href:r,className:"flex items-center",children:[(0,n.jsx)("img",{alt:"logo",className:"text-white w-8 inline-block mr-3",src:"".concat(v,"/").concat(g.src)}),(0,n.jsx)("span",{className:"text-xl",children:t})]})]})}),(0,n.jsx)("div",{className:"hidden sm:block sm:ml-6",children:(0,n.jsx)("div",{className:"flex space-x-4",children:c.map((function(e){var t=f.pathname===e.href;return(0,n.jsx)(i.default,{href:e.href,children:(0,n.jsx)("a",{className:u(t?"bg-gray-900 text-white":"text-gray-300 hover:bg-gray-700 hover:text-white","px-3 py-2 rounded-md text-sm font-medium"),"aria-current":t?"page":void 0,children:e.name})},e.name)}))})})]})})})}r(2784);function h(){var e=(0,s.ZR)(),t=e.organizationName,r=e.footerLinks,o=void 0===r?[]:r,a=(new Date).getFullYear();return(0,n.jsx)("footer",{className:"bg-gray-800",children:(0,n.jsxs)("div",{className:"max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8",children:[o&&(0,n.jsx)("nav",{className:"-mx-5 -my-2 flex flex-wrap justify-center","aria-label":"Footer",children:o.map((function(e){return(0,n.jsx)("div",{className:"px-5 py-2",children:(0,n.jsx)("a",{href:e.href,className:"text-base text-gray-500 hover:text-gray-400",children:e.label})},e.label)}))}),(0,n.jsxs)("p",{className:"mt-8 text-center text-base text-gray-400",children:["Copyright \xa9 ",a," ",t,". Built with"," ",(0,n.jsx)("a",{className:"underline",href:"https://eventcatalog.dev",target:"_blank",rel:"noreferrer",children:"EventCatalog."})]})]})})}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){d(e,t,r[t])}))}return e}var g=function(e){var t=e.Component,r=e.pageProps,i=(0,s.ZR)(),l=i.title,c=void 0===l?"EventCatalog | Discover, Explore and Document your Event Driven Architectures.":l,u=i.tagline,d=void 0===u?"An open source tool powered by markdown to document your Event Driven Architecture.":u,g=i.homepageLink,m=void 0===g?"https://eventcatalog.dev/":g,p=i.openGraph,x=void 0===p?{}:p,y=(0,a.default)().publicRuntimeConfig,b=(void 0===y?{}:y).basePath,j=void 0===b?"":b,w=x.ogTitle,C=void 0===w?c:w,k=x.ogDescription,A=void 0===k?d:k,E=x.ogImage,N=void 0===E?"https://eventcatalog.dev/img/opengraph.png":E,D=x.ogUrl,_=void 0===D?m:D;return(0,n.jsxs)(s.K3,{children:[(0,n.jsxs)(o.default,{children:[(0,n.jsx)("title",{children:c}),(0,n.jsx)("script",{src:"//unpkg.com/three"}),(0,n.jsx)("script",{src:"//unpkg.com/three/examples/js/renderers/CSS2DRenderer.js"}),(0,n.jsx)("link",{rel:"stylesheet",href:"https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css"}),(0,n.jsx)("meta",{name:"description",content:d}),(0,n.jsx)("link",{rel:"icon",href:"".concat(j,"/favicon.ico")}),_&&""!==_&&(0,n.jsx)("meta",{property:"og:url",content:_}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),C&&(0,n.jsx)("meta",{property:"og:title",content:C}),A&&(0,n.jsx)("meta",{property:"og:description",content:A}),N&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{property:"og:image",content:N}),(0,n.jsx)("meta",{property:"og:image:alt",content:"".concat(C," | ").concat(A)}),(0,n.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,n.jsx)("meta",{property:"og:image:height",content:"600"})]}),(0,n.jsx)("meta",{property:"og:locale",content:"en-GB"}),(0,n.jsx)("meta",{name:"author",content:"David Boyne"}),(0,n.jsx)("link",{rel:"stylesheet",href:"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/atom-one-light.min.css"})]}),(0,n.jsx)(f,{}),(0,n.jsx)(t,v({},r)),(0,n.jsx)(h,{})]})}},7915:function(){},97729:function(e,t,r){e.exports=r(75913)},39097:function(e,t,r){e.exports=r(90162)},5632:function(e,t,r){e.exports=r(93642)},21023:function(e,t,r){"use strict";var n=r(34406);function o(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function a(e,t){for(var r,n="",o=0,a=-1,i=0,l=0;l<=e.length;++l){if(l<e.length)r=e.charCodeAt(l);else{if(47===r)break;r=47}if(47===r){if(a===l-1||1===i);else if(a!==l-1&&2===i){if(n.length<2||2!==o||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2))if(n.length>2){var s=n.lastIndexOf("/");if(s!==n.length-1){-1===s?(n="",o=0):o=(n=n.slice(0,s)).length-1-n.lastIndexOf("/"),a=l,i=0;continue}}else if(2===n.length||1===n.length){n="",o=0,a=l,i=0;continue}t&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+e.slice(a+1,l):n=e.slice(a+1,l),o=l-a-1;a=l,i=0}else 46===r&&-1!==i?++i:i=-1}return n}var i={resolve:function(){for(var e,t="",r=!1,i=arguments.length-1;i>=-1&&!r;i--){var l;i>=0?l=arguments[i]:(void 0===e&&(e=n.cwd()),l=e),o(l),0!==l.length&&(t=l+"/"+t,r=47===l.charCodeAt(0))}return t=a(t,!r),r?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(o(e),0===e.length)return".";var t=47===e.charCodeAt(0),r=47===e.charCodeAt(e.length-1);return 0!==(e=a(e,!t)).length||t||(e="."),e.length>0&&r&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return o(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var r=arguments[t];o(r),r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":i.normalize(e)},relative:function(e,t){if(o(e),o(t),e===t)return"";if((e=i.resolve(e))===(t=i.resolve(t)))return"";for(var r=1;r<e.length&&47===e.charCodeAt(r);++r);for(var n=e.length,a=n-r,l=1;l<t.length&&47===t.charCodeAt(l);++l);for(var s=t.length-l,c=a<s?a:s,u=-1,f=0;f<=c;++f){if(f===c){if(s>c){if(47===t.charCodeAt(l+f))return t.slice(l+f+1);if(0===f)return t.slice(l+f)}else a>c&&(47===e.charCodeAt(r+f)?u=f:0===f&&(u=0));break}var h=e.charCodeAt(r+f);if(h!==t.charCodeAt(l+f))break;47===h&&(u=f)}var d="";for(f=r+u+1;f<=n;++f)f!==n&&47!==e.charCodeAt(f)||(0===d.length?d+="..":d+="/..");return d.length>0?d+t.slice(l+u):(l+=u,47===t.charCodeAt(l)&&++l,t.slice(l))},_makeLong:function(e){return e},dirname:function(e){if(o(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,a=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!a){n=i;break}}else a=!1;return-1===n?r?"/":".":r&&1===n?"//":e.slice(0,n)},basename:function(e,t){if(void 0!==t&&"string"!==typeof t)throw new TypeError('"ext" argument must be a string');o(e);var r,n=0,a=-1,i=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var l=t.length-1,s=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!i){n=r+1;break}}else-1===s&&(i=!1,s=r+1),l>=0&&(c===t.charCodeAt(l)?-1===--l&&(a=r):(l=-1,a=s))}return n===a?a=s:-1===a&&(a=e.length),e.slice(n,a)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!i){n=r+1;break}}else-1===a&&(i=!1,a=r+1);return-1===a?"":e.slice(n,a)},extname:function(e){o(e);for(var t=-1,r=0,n=-1,a=!0,i=0,l=e.length-1;l>=0;--l){var s=e.charCodeAt(l);if(47!==s)-1===n&&(a=!1,n=l+1),46===s?-1===t?t=l:1!==i&&(i=1):-1!==t&&(i=-1);else if(!a){r=l+1;break}}return-1===t||-1===n||0===i||1===i&&t===n-1&&t===r+1?"":e.slice(t,n)},format:function(e){if(null===e||"object"!==typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}("/",e)},parse:function(e){o(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,n=e.charCodeAt(0),a=47===n;a?(t.root="/",r=1):r=0;for(var i=-1,l=0,s=-1,c=!0,u=e.length-1,f=0;u>=r;--u)if(47!==(n=e.charCodeAt(u)))-1===s&&(c=!1,s=u+1),46===n?-1===i?i=u:1!==f&&(f=1):-1!==i&&(f=-1);else if(!c){l=u+1;break}return-1===i||-1===s||0===f||1===f&&i===s-1&&i===l+1?-1!==s&&(t.base=t.name=0===l&&a?e.slice(1,s):e.slice(l,s)):(0===l&&a?(t.name=e.slice(1,i),t.base=e.slice(1,s)):(t.name=e.slice(l,i),t.base=e.slice(l,s)),t.ext=e.slice(i,s)),l>0?t.dir=e.slice(0,l-1):a&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],(function(){return t(33394),t(93642)}));var r=e.O();_N_E=r}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[406],{30876:function(e,n,t){"use strict";t.r(n),t.d(n,{MDXContext:function(){return s},MDXProvider:function(){return f},mdx:function(){return b},useMDXComponents:function(){return d},withMDXComponents:function(){return u}});var r=t(2784);function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(){return(a=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function c(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?i(Object(t),!0).forEach((function(n){o(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function l(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var s=r.createContext({}),u=function(e){return function(n){var t=d(n.components);return r.createElement(e,a({},n,{components:t}))}},d=function(e){var n=r.useContext(s),t=n;return e&&(t="function"===typeof e?e(n):c(c({},n),e)),t},f=function(e){var n=d(e.components);return r.createElement(s.Provider,{value:n},e.children)},m={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},p=r.forwardRef((function(e,n){var t=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),u=d(t),f=o,p=u["".concat(i,".").concat(f)]||u[f]||m[f]||a;return t?r.createElement(p,c(c({ref:n},s),{},{components:t})):r.createElement(p,c({ref:n},s))}));function b(e,n){var t=arguments,o=n&&n.mdxType;if("string"===typeof e||o){var a=t.length,i=new Array(a);i[0]=p;var c={};for(var l in n)hasOwnProperty.call(n,l)&&(c[l]=n[l]);c.originalType=e,c.mdxType="string"===typeof e?e:o,i[1]=c;for(var s=2;s<a;s++)i[s]=t[s];return r.createElement.apply(null,i)}return r.createElement.apply(null,t)}p.displayName="MDXCreateElement"},23816:function(e,n,t){"use strict";var r=t(2784),o=t(30876);function a(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var n=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}})),n.default=e,Object.freeze(n)}var c=a(r),l=i(o);"undefined"!==typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(e){var n=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-n))}})}),1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)}),n.R=function({compiledSource:e,scope:n,components:t={},lazy:o}){const[a,i]=r.useState(!o||"undefined"===typeof window);r.useEffect((()=>{if(o){const e=window.requestIdleCallback((()=>{i(!0)}));return()=>window.cancelIdleCallback(e)}}),[]);const s=r.useMemo((()=>{const t=Object.assign({mdx:l.mdx,React:c.default},n),r=Object.keys(t),o=Object.values(t),a=Reflect.construct(Function,r.concat(`${e}; return MDXContent;`));return a.apply(a,o)}),[n,e]);if(!a)return c.default.createElement("div",{dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0});const u=c.default.createElement(l.MDXProvider,{components:t},c.default.createElement(s,null));return o?c.default.createElement("div",null,u):u}},56574:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/domains/[domain]",function(){return t(95760)}])},28778:function(e,n,t){"use strict";var r=t(52322),o=(t(2784),t(17962)),a=["purple","pink","green","yellow","blue","indigo"];n.Z=function(e){var n=e.tags;return(0,r.jsx)("div",{className:" py-6 space-y-8",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h2",{className:"text-sm font-medium text-gray-500",children:[(0,r.jsx)(o.lO_,{className:"h-5 w-5 text-gray-400 inline-block mr-2","aria-hidden":"true"}),"Tags"]}),(0,r.jsx)("div",{className:"mt-3 space-y-2",children:n.map((function(e,n){var t=e.label,o=e.url,i=a[n%a.length];return o?(0,r.jsx)("a",{href:o,className:"inline-block underline",target:"_blank",rel:"noreferrer",children:(0,r.jsx)("span",{className:"underline inline-block mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-".concat(i,"-100 text-").concat(i,"-800"),children:t})}):(0,r.jsx)("span",{className:"inline-block mr-2 items-center px-2.5 py-0.5 rounded-full text-xs font-medium -top-0.5 relative bg-".concat(i,"-100 text-").concat(i,"-800"),children:t})}))})]})})}},95760:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return w},default:function(){return O}});var r=t(52322),o=t(97729),a=t(23816),i=t(62455),c=t(61790),l=(t(2784),t(39097)),s=t(17962),u=t(55746),d=t(28778),f=t(43553),m=t(17933);var p=function(e){var n=e.domain,t=n.name,o=n.owners,a=n.services,i=n.events,c=n.tags,p=void 0===c?[]:c,b=n.externalLinks;return(0,r.jsxs)("aside",{className:"hidden xl:block xl:pl-8 divide-y divide-gray-200",children:[(0,r.jsx)("h2",{className:"sr-only",children:"Details"}),i.length>0&&(0,r.jsx)(m.Z,{title:"Events (".concat(i.length,")"),titleIcon:{icon:s.FMB,className:"text-indigo-400"},items:i.map((function(e){return{label:e.name,href:"/domains/".concat(t,"/events/").concat(e.name),bgColor:"indigo"}}))}),a.length>0&&(0,r.jsx)(m.Z,{title:"Services (".concat(a.length,")"),titleIcon:{icon:s.FMB,className:"text-green-400"},items:a.map((function(e){return{label:e.name,href:"/domains/".concat(t,"/services/").concat(e.name),bgColor:"green"}}))}),o.length>0&&(0,r.jsx)(f.Z,{owners:o}),(0,r.jsx)(l.default,{href:"/visualiser?type=domain&name=".concat(n.name),children:(0,r.jsx)("a",{className:"hidden w-full md:inline-flex h-10 justify-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-800 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-200",children:(0,r.jsx)("span",{children:"View in Visualiser"})})}),b.length>0&&(0,r.jsx)(u.Z,{externalLinks:b}),p.length>0&&(0,r.jsx)(d.Z,{tags:p})]})},b=t(52428),g=t(4488),y=t(55008),x=t(46892),h=t(78484);function v(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function j(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){v(e,n,t[n])}))}return e}var w=!0;function O(e){var n=e.domain,t=e.markdown,l=e.notFound,s=(0,y.ZR)().title,u=(0,y.wG)(),d=u.getEditUrl,f=u.hasEditUrl;if(l)return(0,r.jsx)(g.Z,{type:"service",name:n.name,editUrl:f?d("/domains/".concat(n.name,"/index.md")):""});var m=n.name,v=n.summary,w=t.lastModifiedDate,O=function(e){return{Admonition:c.Z,NodeGraph:function(n){var t=n.title,o=n.maxHeight,a=n.maxZoom,i=n.fitView,c=n.zoomOnScroll,l=n.isAnimated,s=n.isDraggable;return(0,r.jsxs)("div",{className:"mx-auto w-full",children:[t&&(0,r.jsx)("h2",{className:"text-lg font-medium text-gray-900 underline",children:t}),(0,r.jsx)(h.Z,{source:"domain",data:e,rootNodeColor:(0,x.Z)(e.name),maxHeight:o,maxZoom:a,fitView:i,zoomOnScroll:c,isAnimated:l,isDraggable:s})]})}}}(n),E=[{name:"Domains",href:"/domains",current:!1},{name:m,href:"/domains/".concat(m),current:!0}];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.default,{children:(0,r.jsxs)("title",{children:[s," - ",m]})}),(0,r.jsx)(i.Z,{title:m,editUrl:f?d("/domains/".concat(m,"/index.md")):"",subtitle:v,lastModifiedDate:w,breadCrumbs:(0,r.jsx)(b.Z,{pages:E,homePath:"/domains"}),sidebar:(0,r.jsx)(p,{domain:n}),children:(0,r.jsx)(a.R,j({},t.source,{components:O}))})]})}}},function(e){e.O(0,[203,519,962,506,109,169,774,888,179],(function(){return n=56574,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[695],{80594:function(e,n,t){var r=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt,o="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g,l="object"==typeof self&&self&&self.Object===Object&&self,d=o||l||Function("return this")(),u=Object.prototype.toString,m=Math.max,f=Math.min,x=function(){return d.Date.now()};function h(e){var n=typeof e;return!!e&&("object"==n||"function"==n)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(h(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=h(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var t=i.test(e);return t||s.test(e)?c(e.slice(2),t?2:8):a.test(e)?NaN:+e}e.exports=function(e,n,t){var r,a,i,s,c,o,l=0,d=!1,u=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(n){var t=r,i=a;return r=a=void 0,l=n,s=e.apply(i,t)}function b(e){return l=e,c=setTimeout(j,n),d?p(e):s}function y(e){var t=e-o;return void 0===o||t>=n||t<0||u&&e-l>=i}function j(){var e=x();if(y(e))return N(e);c=setTimeout(j,function(e){var t=n-(e-o);return u?f(t,i-(e-l)):t}(e))}function N(e){return c=void 0,g&&r?p(e):(r=a=void 0,s)}function w(){var e=x(),t=y(e);if(r=arguments,a=this,o=e,t){if(void 0===c)return b(o);if(u)return c=setTimeout(j,n),p(o)}return void 0===c&&(c=setTimeout(j,n)),s}return n=v(n)||0,h(t)&&(d=!!t.leading,i=(u="maxWait"in t)?m(v(t.maxWait)||0,n):i,g="trailing"in t?!!t.trailing:g),w.cancel=function(){void 0!==c&&clearTimeout(c),l=0,r=o=a=c=void 0},w.flush=function(){return void 0===c?s:N(x())},w}},74461:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events",function(){return t(68209)}])},90526:function(e,n,t){"use strict";var r=t(52322),a=(t(2784),t(39097)),i=t(17962),s=t(46892),c=t(4573);function o(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")}n.Z=function(e){var n=e.events,t=void 0===n?[]:n,l=e.showMermaidDiagrams,d=void 0!==l&&l;return(0,r.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:t.map((function(e){var n=e.draft,t=e.domain,l=t?"/domains/".concat(t,"/events/").concat(e.name):"/events/".concat(e.name);return(0,r.jsx)("li",{className:"flex",children:(0,r.jsx)(a.default,{href:l,children:(0,r.jsxs)("a",{className:"flex shadow-sm rounded-md w-full",children:[(0,r.jsx)("div",{style:{background:(0,s.Z)(e.name)},className:o("bg-red-500","flex-shrink-0 flex items-center justify-center w-4 text-white text-sm font-medium rounded-l-md")}),(0,r.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,r.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,r.jsxs)("div",{className:"text-gray-900 font-bold hover:text-gray-600 break-all",children:[e.name,(0,r.jsxs)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800",children:["v",e.version]}),n&&(0,r.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"})]}),(0,r.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 ",children:e.summary}),d&&(0,r.jsx)("div",{className:"h-full items-center flex",children:(0,r.jsx)(c.Z,{source:"event",data:e,rootNodeColor:(0,s.Z)(e.name)})}),(0,r.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(i.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Producers (",e.producerNames.length,")"]}),(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(i.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Subscribers (",e.consumerNames.length,")"]}),e.domain&&(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(i.wZP,{className:"h-4 w-4 text-yellow-400 inline-block mr-2","aria-hidden":"true"}),e.domain]})]})]})})]})})},e.name)}))})}},4573:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var r=t(52322),a=t(2784),i=t(14689),s=t(70314),c=(0,s.default)().publicRuntimeConfig,o=(void 0===c?{}:c).basePath,l=void 0===o?"":o,d=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},u=function(e,n){return""!==l?"".concat(l,"/").concat(n,"/").concat(e):"/".concat(n,"/").concat(e)},m=function(e,n,t,r){return"flowchart LR\n\n".concat(n.map((function(n){return"l-".concat(n.id,"[").concat(n.name,"]:::producer--\x3e").concat(e.id,"[").concat(e.name,"]:::event\n")})).join(""),"\nclassDef event stroke:").concat(r,",stroke-width: 4px;\n\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\n\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n\n").concat(t.map((function(n){return"".concat(e.id,"[").concat(e.name,"]:::event--\x3er-").concat(n.id,"[").concat(n.name,"]:::consumer\n")})).join(""),"\n").concat(n.map((function(e){return"click l-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\n").concat(t.map((function(e){return"click r-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\nclick ").concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n\n')};i.Z.initialize({startOnLoad:!0,theme:"forest",securityLevel:"loose",flowchart:{useMaxWidth:!1,width:"1000px"},themeCSS:"\n .node {\n filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .2))\n }\n .mermaid svg {\n width: 10000px\n }\n .node rect {\n fill: white\n }\n ",fontFamily:"Fira Code",width:"100%"});var f=function(e){var n=e.data,t=e.source,s=void 0===t?"event":t,c=e.rootNodeColor,o=e.charts;if((0,a.useEffect)((function(){i.Z.contentLoaded()}),[]),o)return(0,r.jsx)(r.Fragment,{children:o.map((function(e,n){return(0,r.jsx)("div",{className:"mermaid",children:e},"chart-".concat(n))}))});var l="event"===s?function(e,n){var t=e.name,r=e.producerNames,a=e.consumerNames,i=void 0===n?"#2563eb":n,s=r.map(d).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:u(e,"services")}})),c=a.map(d).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:u(e,"services")}})),o={id:d(t.replace(/ /g,"_")),name:t,link:u(t,"events")};return m(o,s,c,i)}(n,c):function(e,n){var t=e.publishes,r=e.subscribes,a=e.name,i=void 0===n?"#2563eb":n,s=r.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:u(e.name,"events")}})),c=t.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:u(e.name,"events")}})),o={id:d(a.replace(/ /g,"_")),name:a,link:u(a,"services")};return m(o,s,c,i)}(n,c);return(0,r.jsx)("div",{className:"mermaid",children:l})}},68209:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return g},default:function(){return p}});var r=t(52322),a=t(2784),i=t(97729),s=t(80594),c=t.n(s),o=t(51930),l=t(54643),d=t(61519),u=t(90526),m=t(55008);function f(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function x(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),r.forEach((function(n){f(e,n,t[n])}))}return e}function h(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter(Boolean).join(" ")}var v=[{name:"Name",href:"#",current:!0},{name:"Version",href:"#",current:!1},{name:"Domains",href:"#",current:!1}],g=!0;function p(e){var n=e.events,t=e.services,s=e.domains,g=[{id:"domains",name:"Filter by Domains (".concat(s.length,")"),options:s.map((function(e){return{value:e,label:e,checked:!1}}))},{id:"services",name:"Filter by Services (".concat(t.length,")"),options:t.map((function(e){return{value:e,label:e,checked:!1}}))}],p=(0,a.useState)({services:[],domains:[]}),b=p[0],y=p[1],j=(0,a.useState)(!1),N=j[0],w=j[1],k=(0,a.useState)(n),_=k[0],O=k[1],S=(0,a.useState)(""),F=S[0],C=S[1];(0,a.useEffect)((function(){O(function(){if(!b.services&&!F&&!b.domains)return n;var e=n;return b.services.length>0&&(e=e.filter((function(e){var n=b.services,t=e.consumerNames.some((function(e){return n.indexOf(e)>-1})),r=e.producerNames.some((function(e){return n.indexOf(e)>-1}));return t||r}))),b.domains.length>0&&(e=e.filter((function(e){return b.domains.indexOf(e.domain)>-1}))),F&&(e=e.filter((function(e){return e.name.toLowerCase().includes(F.toLowerCase())}))),e}())}),[b,F]);var E=(0,a.useCallback)(c()((function(e){C(e.target.value)}),500),[_]),D=!!F||b.services.length>0,Z=(0,m.ZR)().title;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.default,{children:(0,r.jsxs)("title",{children:[Z," - All Events"]})}),(0,r.jsxs)("main",{className:"max-w-7xl mx-auto min-h-screen px-4 md:px-0",children:[(0,r.jsxs)("div",{className:"relative z-10 flex items-baseline justify-between pt-8 pb-6 border-b border-gray-200",children:[(0,r.jsxs)("h1",{className:"text-2xl font-extrabold tracking-tight text-gray-900",children:["Events (",n.length,")"]}),(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsxs)(o.v,{as:"div",className:"hidden relative text-left",children:[(0,r.jsx)("div",{children:(0,r.jsxs)(o.v.Button,{className:"group inline-flex justify-center text-sm font-medium text-gray-700 hover:text-gray-900",children:["Sort",(0,r.jsx)(d.v4q,{className:"flex-shrink-0 -mr-1 ml-1 h-5 w-5 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"})]})}),(0,r.jsx)(l.u,{as:a.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,r.jsx)(o.v.Items,{className:"origin-top-right absolute right-0 mt-2 w-40 rounded-md shadow-2xl bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,r.jsx)("div",{className:"py-1",children:v.map((function(e){return(0,r.jsx)(o.v.Item,{children:function(n){var t=n.active;return(0,r.jsx)("a",{href:e.href,className:h(e.current?"font-medium text-gray-900":"text-gray-500",t?"bg-gray-100":"","block px-4 py-2 text-sm"),children:e.name})}},e.name)}))})})})]})})]}),(0,r.jsx)("section",{className:"pt-6 pb-24",children:(0,r.jsxs)("div",{className:"grid grid-cols-4 gap-x-8 gap-y-10",children:[(0,r.jsxs)("form",{className:"hidden lg:block",children:[(0,r.jsxs)("div",{className:"border-b border-gray-200 pb-6",children:[(0,r.jsx)("label",{htmlFor:"event",className:"font-bold block text-sm font-medium text-gray-700",children:"Search Events"}),(0,r.jsxs)("div",{className:"mt-1 relative rounded-md shadow-sm",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,r.jsx)(d.W1M,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})}),(0,r.jsx)("input",{type:"text",name:"event",id:"event",onChange:E,className:"focus:ring-gray-500 focus:border-gray-500 block w-full pl-10 sm:text-sm border-gray-300 rounded-md"})]})]}),g.map((function(e){return e.options.length?(0,r.jsxs)("div",{className:"border-b border-gray-200 py-6",children:[(0,r.jsx)("h3",{className:"-my-3 flow-root",children:(0,r.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,r.jsx)("span",{className:"font-bold font-medium text-gray-900",children:e.name})})}),(0,r.jsx)("div",{className:"pt-6",children:(0,r.jsx)("div",{className:"space-y-4",children:e.options.map((function(n,t){return(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{id:"filter-".concat(e.id,"-").concat(t),name:"".concat(e.id,"[]"),defaultValue:n.value,type:"checkbox",onChange:function(t){return function(e,n,t){if(console.log(e,n,t),t.target.checked){var r=b[n].concat([e.value]);y(x({},b,f({},n,r)))}else{var a=b[n].filter((function(n){return n!==e.value}));y(x({},b,f({},n,a)))}}(n,e.id,t)},defaultChecked:n.checked,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,r.jsx)("label",{htmlFor:"filter-".concat(e.id,"-").concat(t),className:"ml-3 text-sm text-gray-600",children:n.label})]},n.value)}))})})]},e.id):null})),(0,r.jsxs)("div",{className:"border-b border-gray-200 py-6",children:[(0,r.jsx)("h3",{className:"-my-3 flow-root",children:(0,r.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,r.jsx)("span",{className:"font-bold font-medium text-gray-900",children:"Features"})})}),(0,r.jsx)("div",{className:"pt-6",children:(0,r.jsx)("div",{className:"space-y-4",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{id:"show-mermaid",type:"checkbox",onChange:function(e){return w(e.target.checked)},defaultChecked:N,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,r.jsx)("label",{htmlFor:"show-mermaid",className:"ml-3 text-sm text-gray-600",children:"Show Mermaid Diagrams"})]})})})]})]}),(0,r.jsx)("div",{className:"col-span-4 lg:col-span-3",children:(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-gray-500 text-xs font-medium uppercase tracking-wide",children:D?"Filtered Events (".concat(_.length,"/").concat(n.length,")"):"All Events (".concat(n.length,")")}),(0,r.jsx)(u.Z,{events:_,showMermaidDiagrams:N}),0===_.length&&(0,r.jsx)("div",{className:"text-gray-400 flex h-96 justify-center items-center",children:(0,r.jsxs)("div",{children:[(0,r.jsx)(d.W1M,{className:"w-6 h-6 inline-block mr-1"}),"No events found."]})})]})})]})})]})]})}},46892:function(e,n,t){"use strict";function r(e){for(var n=0,t=0;t<e.length;t++)n=e.charCodeAt(t)+((n<<5)-n);for(var r="#",a=0;a<3;a++){r+="00".concat((n>>8*a&255).toString(16)).substr(-2)}return r}t.d(n,{Z:function(){return r}})}},function(e){e.O(0,[812,519,962,274,774,888,179],(function(){return n=74461,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[709],{77860:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/overview",function(){return n(50656)}])},95805:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}t.default=function(e,t){var n=a.default,r={loading:function(e){e.error,e.isLoading;return e.pastDelay,null}};u=e,l=Promise,(null!=l&&"undefined"!==typeof Symbol&&l[Symbol.hasInstance]?l[Symbol.hasInstance](u):u instanceof l)?r.loader=function(){return e}:"function"===typeof e?r.loader=e:"object"===typeof e&&(r=o({},r,e));var u,l;var s=r=o({},r,t);if(s.suspense)throw new Error("Invalid suspense option usage in next/dynamic. Read more: https://nextjs.org/docs/messages/invalid-dynamic-suspense");if(s.suspense)return n(s);r.loadableGenerated&&delete(r=o({},r,r.loadableGenerated)).loadableGenerated;if("boolean"===typeof r.ssr){if(!r.ssr)return delete r.ssr,i(n,r);delete r.ssr}return n(r)};u(n(2784));var a=u(n(42060));function u(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return delete t.webpack,delete t.modules,e(t)}},46941:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var o=((r=n(2784))&&r.__esModule?r:{default:r}).default.createContext(null);t.LoadableContext=o},42060:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u,i=(u=n(2784))&&u.__esModule?u:{default:u},l=n(36718),s=n(46941);var c=[],d=[],f=!1;function p(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}var h=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}var t,n,o;return t=e,(n=[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,n=this._opts;if(t.loading){if("number"===typeof n.delay)if(0===n.delay)this._state.pastDelay=!0;else{var r=this;this._delay=setTimeout((function(){r._update({pastDelay:!0})}),n.delay)}if("number"===typeof n.timeout){var o=this;this._timeout=setTimeout((function(){o._update({timedOut:!0})}),n.timeout)}}this._res.promise.then((function(){e._update({}),e._clearTimeouts()})).catch((function(t){e._update({}),e._clearTimeouts()})),this._update({})}},{key:"_update",value:function(e){this._state=a({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach((function(e){return e()}))}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}])&&r(t.prototype,n),o&&r(t,o),e}();function y(e){return function(e,t){var n=function(){if(!o){var t=new h(e,r);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()},r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);r.suspense&&(r.lazy=i.default.lazy(r.loader));var o=null;if(!f&&"function"===typeof r.webpack&&!r.suspense){var u=r.webpack();d.push((function(e){var t=!0,r=!1,o=void 0;try{for(var a,i=u[Symbol.iterator]();!(t=(a=i.next()).done);t=!0){var l=a.value;if(-1!==e.indexOf(l))return n()}}catch(s){r=!0,o=s}finally{try{t||null==i.return||i.return()}finally{if(r)throw o}}}))}var c=r.suspense?function(e,t){return i.default.createElement(r.lazy,a({},e,{ref:t}))}:function(e,t){n();var a=i.default.useContext(s.LoadableContext),u=l.useSubscription(o);return i.default.useImperativeHandle(t,(function(){return{retry:o.retry}}),[]),a&&Array.isArray(r.modules)&&r.modules.forEach((function(e){a(e)})),i.default.useMemo((function(){return u.loading||u.error?i.default.createElement(r.loading,{isLoading:u.loading,pastDelay:u.pastDelay,timedOut:u.timedOut,error:u.error,retry:o.retry}):u.loaded?i.default.createElement(function(e){return e&&e.__esModule?e.default:e}(u.loaded),e):null}),[e,u])};return c.preload=function(){return!r.suspense&&n()},c.displayName="LoadableComponent",i.default.forwardRef(c)}(p,e)}function m(e,t){for(var n=[];e.length;){var r=e.pop();n.push(r(t))}return Promise.all(n).then((function(){if(e.length)return m(e,t)}))}y.preloadAll=function(){return new Promise((function(e,t){m(c).then(e,t)}))},y.preloadReady=function(e){var t=void 0===e?[]:e;return new Promise((function(e){var n=function(){return f=!0,e()};m(d,t).then(n,n)}))},window.__NEXT_PRELOADREADY=y.preloadReady;var v=y;t.default=v},50656:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return d}});var r=n(52322),o=(n(2784),n(48090)),a=n(97729),u=n(25237),i=n(55008),l=(0,u.default)((function(){return Promise.all([n.e(546),n.e(5),n.e(802)]).then(n.bind(n,87802)).then((function(e){return e.default}))}),{loadableGenerated:{webpack:function(){return[87802]},modules:["overview.tsx -> react-force-graph-3d"]},ssr:!1});function s(e){var t=e.node.id;return(0,r.jsx)("div",{className:"text-sm text-center p-1 rounded-md ",children:t})}var c=function(e){return e.length>30?"".concat(e.substring(0,30),"..."):e};var d=!0;t.default=function(e){var t=e.events,n=e.services,u=(0,i.ZR)().title,d=t.map((function(e){var t=e.name;return{id:c(t),group:1,type:"event"}})),f=n.map((function(e){return{id:c(e),group:2,type:"service"}})),p=t.reduce((function(e,t){var n=t.consumerNames,r=void 0===n?[]:n,o=t.producerNames,a=void 0===o?[]:o,u=t.name,i=r.map((function(e){return{source:c(u),target:c(e)}})),l=a.map((function(e){return{source:c(e),target:c(u)}}));return e.concat(i).concat(l)}),[]),h={nodes:d.concat(f),links:p},y=[new window.THREE.CSS2DRenderer];return(0,r.jsxs)("div",{className:"min-h-screen",children:[(0,r.jsx)(a.default,{children:(0,r.jsxs)("title",{children:[u," - 3D Node Graph"]})}),(0,r.jsx)(l,{extraRenderers:y,graphData:h,nodeAutoColorBy:"group",nodeRelSize:9,nodeThreeObject:function(e){var t=document.createElement("div");return t.innerHTML=o.renderToString((0,r.jsx)(s,{node:e})),e.height="100px",t.style.color=e.color,new THREE.CSS2DObject(t)},nodeThreeObjectExtend:!0,enableNodeDrag:!1,nodeOpacity:.2,linkDirectionalParticles:2,linkDirectionalParticleWidth:2,linkDirectionalParticleColor:function(){return"rgba(236, 72, 153, 1)"}})]})}},25237:function(e,t,n){e.exports=n(95805)}},function(e){e.O(0,[774,888,179],(function(){return t=77860,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[54],{17891:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/services",function(){return r(46378)}])},44938:function(e,n,r){"use strict";var t=r(52322),a=(r(2784),r(39097)),s=r(17962),c=r(4573),i=r(46892);n.Z=function(e){var n=e.services,r=void 0===n?[]:n,o=e.showMermaidDiagrams,l=void 0!==o&&o;return(0,t.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:r.map((function(e){var n=e.draft,r=e.domain,o=r?"/domains/".concat(r,"/services/").concat(e.name):"/services/".concat(e.name);return(0,t.jsx)("li",{className:"flex",children:(0,t.jsx)(a.default,{href:o,children:(0,t.jsxs)("a",{className:"flex shadow-sm w-full",children:[(0,t.jsx)("div",{style:{background:(0,i.Z)(e.name)},className:"w-4 rounded-l-md"}),(0,t.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,t.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"text-gray-900 font-bold",children:e.name}),n&&(0,t.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"}),(0,t.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 line-clamp-3",children:e.summary})]}),l&&(0,t.jsx)("div",{className:"h-full items-center flex",children:(0,t.jsx)(c.Z,{source:"service",data:e,rootNodeColor:(0,i.Z)(e.name)})}),(0,t.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,t.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,t.jsx)(s.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Subscribe Events (",e.subscribes.length,")"]}),(0,t.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,t.jsx)(s.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Publish Events (",e.publishes.length,")"]})]})]})})]})})},e.name)}))})}},4573:function(e,n,r){"use strict";r.d(n,{Z:function(){return x}});var t=r(52322),a=r(2784),s=r(14689),c=r(70314),i=(0,c.default)().publicRuntimeConfig,o=(void 0===i?{}:i).basePath,l=void 0===o?"":o,d=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},m=function(e,n){return""!==l?"".concat(l,"/").concat(n,"/").concat(e):"/".concat(n,"/").concat(e)},u=function(e,n,r,t){return"flowchart LR\n\n".concat(n.map((function(n){return"l-".concat(n.id,"[").concat(n.name,"]:::producer--\x3e").concat(e.id,"[").concat(e.name,"]:::event\n")})).join(""),"\nclassDef event stroke:").concat(t,",stroke-width: 4px;\n\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\n\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n\n").concat(r.map((function(n){return"".concat(e.id,"[").concat(e.name,"]:::event--\x3er-").concat(n.id,"[").concat(n.name,"]:::consumer\n")})).join(""),"\n").concat(n.map((function(e){return"click l-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\n").concat(r.map((function(e){return"click r-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\nclick ").concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n\n')};s.Z.initialize({startOnLoad:!0,theme:"forest",securityLevel:"loose",flowchart:{useMaxWidth:!1,width:"1000px"},themeCSS:"\n .node {\n filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .2))\n }\n .mermaid svg {\n width: 10000px\n }\n .node rect {\n fill: white\n }\n ",fontFamily:"Fira Code",width:"100%"});var x=function(e){var n=e.data,r=e.source,c=void 0===r?"event":r,i=e.rootNodeColor,o=e.charts;if((0,a.useEffect)((function(){s.Z.contentLoaded()}),[]),o)return(0,t.jsx)(t.Fragment,{children:o.map((function(e,n){return(0,t.jsx)("div",{className:"mermaid",children:e},"chart-".concat(n))}))});var l="event"===c?function(e,n){var r=e.name,t=e.producerNames,a=e.consumerNames,s=void 0===n?"#2563eb":n,c=t.map(d).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services")}})),i=a.map(d).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services")}})),o={id:d(r.replace(/ /g,"_")),name:r,link:m(r,"events")};return u(o,c,i,s)}(n,i):function(e,n){var r=e.publishes,t=e.subscribes,a=e.name,s=void 0===n?"#2563eb":n,c=t.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:m(e.name,"events")}})),i=r.map(d).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:m(e.name,"events")}})),o={id:d(a.replace(/ /g,"_")),name:a,link:m(a,"services")};return u(o,c,i,s)}(n,i);return(0,t.jsx)("div",{className:"mermaid",children:l})}},46378:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSG:function(){return x},default:function(){return h}});var t=r(52322),a=r(2784),s=r(97729),c=r(51930),i=r(54643),o=r(61519),l=r(44938),d=r(55008);function m(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.filter(Boolean).join(" ")}var u=[{name:"Name",href:"#",current:!0},{name:"Version",href:"#",current:!1},{name:"Domains",href:"#",current:!1}],x=!0;function h(e){var n=e.services,r=(0,a.useState)(!1),x=r[0],h=r[1],f=(0,d.ZR)().title;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{children:(0,t.jsxs)("title",{children:[f," - All Services"]})}),(0,t.jsxs)("main",{className:"max-w-7xl mx-auto md:min-h-screen px-4 md:px-0",children:[(0,t.jsxs)("div",{className:"relative z-10 flex items-baseline justify-between pt-8 pb-6 border-b border-gray-200",children:[(0,t.jsxs)("h1",{className:"text-2xl font-extrabold tracking-tight text-gray-900",children:["Services (",n.length,")"]}),(0,t.jsx)("div",{className:"flex items-center",children:(0,t.jsxs)(c.v,{as:"div",className:"relative hidden text-left",children:[(0,t.jsx)("div",{children:(0,t.jsxs)(c.v.Button,{className:"group inline-flex justify-center text-sm font-medium text-gray-700 hover:text-gray-900",children:["Sort",(0,t.jsx)(o.v4q,{className:"flex-shrink-0 -mr-1 ml-1 h-5 w-5 text-gray-400 group-hover:text-gray-500","aria-hidden":"true"})]})}),(0,t.jsx)(i.u,{as:a.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,t.jsx)(c.v.Items,{className:"origin-top-right absolute right-0 mt-2 w-40 rounded-md shadow-2xl bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,t.jsx)("div",{className:"py-1",children:u.map((function(e){return(0,t.jsx)(c.v.Item,{children:function(n){var r=n.active;return(0,t.jsx)("a",{href:e.href,className:m(e.current?"font-medium text-gray-900":"text-gray-500",r?"bg-gray-100":"","block px-4 py-2 text-sm"),children:e.name})}},e.name)}))})})})]})})]}),(0,t.jsx)("section",{className:"pt-6 pb-24",children:(0,t.jsxs)("div",{className:"grid grid-cols-4 gap-x-8 gap-y-10",children:[(0,t.jsx)("form",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"border-b border-gray-200 pb-6",children:[(0,t.jsx)("h3",{className:"-my-3 flow-root",children:(0,t.jsx)("div",{className:"py-3 bg-white w-full flex items-center justify-between text-sm text-gray-400 hover:text-gray-500",children:(0,t.jsx)("span",{className:"font-medium text-gray-900",children:"Features"})})}),(0,t.jsx)("div",{className:"pt-6",children:(0,t.jsx)("div",{className:"space-y-4",children:(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("input",{id:"show-mermaid",type:"checkbox",onChange:function(e){return h(e.target.checked)},defaultChecked:x,className:"h-4 w-4 border-gray-300 rounded text-gray-600 focus:ring-gray-500"}),(0,t.jsx)("label",{htmlFor:"show-mermaid",className:"ml-3 text-sm text-gray-600",children:"Show Mermaid Diagrams"})]})})})]})}),(0,t.jsx)("div",{className:"col-span-4 lg:col-span-3",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-gray-500 text-xs font-medium uppercase tracking-wide",children:"Services"}),(0,t.jsx)(l.Z,{services:n,showMermaidDiagrams:x})]})})]})})]})]})}},46892:function(e,n,r){"use strict";function t(e){for(var n=0,r=0;r<e.length;r++)n=e.charCodeAt(r)+((n<<5)-n);for(var t="#",a=0;a<3;a++){t+="00".concat((n>>8*a&255).toString(16)).substr(-2)}return t}r.d(n,{Z:function(){return t}})}},function(e){e.O(0,[812,519,962,274,774,888,179],(function(){return n=17891,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[108],{84852:function(e,n,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/users/[id]",function(){return s(10429)}])},43854:function(e,n,s){"use strict";var r=s(52322),a=(s(2784),s(39097)),t=s(17962),i=s(46892);n.Z=function(e){var n=e.domains,s=void 0===n?[]:n;return(0,r.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:s.map((function(e){return(0,r.jsx)("li",{className:"flex",children:(0,r.jsx)(a.default,{href:"/domains/".concat(e.name),children:(0,r.jsxs)("a",{className:"flex shadow-sm w-full",children:[(0,r.jsx)("div",{style:{background:(0,i.Z)(e.name)},className:"w-4 rounded-l-md"}),(0,r.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,r.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-gray-900 font-bold",children:e.name}),(0,r.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 line-clamp-3",children:e.summary})]}),(0,r.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(t.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Services (",e.services.length,")"]}),(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(t.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Events (",e.events.length,")"]})]})]})})]})})},e.name)}))})}},90526:function(e,n,s){"use strict";var r=s(52322),a=(s(2784),s(39097)),t=s(17962),i=s(46892),l=s(4573);function c(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];return n.filter(Boolean).join(" ")}n.Z=function(e){var n=e.events,s=void 0===n?[]:n,d=e.showMermaidDiagrams,o=void 0!==d&&d;return(0,r.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:s.map((function(e){var n=e.draft,s=e.domain,d=s?"/domains/".concat(s,"/events/").concat(e.name):"/events/".concat(e.name);return(0,r.jsx)("li",{className:"flex",children:(0,r.jsx)(a.default,{href:d,children:(0,r.jsxs)("a",{className:"flex shadow-sm rounded-md w-full",children:[(0,r.jsx)("div",{style:{background:(0,i.Z)(e.name)},className:c("bg-red-500","flex-shrink-0 flex items-center justify-center w-4 text-white text-sm font-medium rounded-l-md")}),(0,r.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,r.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,r.jsxs)("div",{className:"text-gray-900 font-bold hover:text-gray-600 break-all",children:[e.name,(0,r.jsxs)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800",children:["v",e.version]}),n&&(0,r.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"})]}),(0,r.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 ",children:e.summary}),o&&(0,r.jsx)("div",{className:"h-full items-center flex",children:(0,r.jsx)(l.Z,{source:"event",data:e,rootNodeColor:(0,i.Z)(e.name)})}),(0,r.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(t.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Producers (",e.producerNames.length,")"]}),(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(t.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Subscribers (",e.consumerNames.length,")"]}),e.domain&&(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(t.wZP,{className:"h-4 w-4 text-yellow-400 inline-block mr-2","aria-hidden":"true"}),e.domain]})]})]})})]})})},e.name)}))})}},44938:function(e,n,s){"use strict";var r=s(52322),a=(s(2784),s(39097)),t=s(17962),i=s(4573),l=s(46892);n.Z=function(e){var n=e.services,s=void 0===n?[]:n,c=e.showMermaidDiagrams,d=void 0!==c&&c;return(0,r.jsx)("ul",{className:"mt-3 grid grid-cols-1 gap-5 md:grid-cols-2",children:s.map((function(e){var n=e.draft,s=e.domain,c=s?"/domains/".concat(s,"/services/").concat(e.name):"/services/".concat(e.name);return(0,r.jsx)("li",{className:"flex",children:(0,r.jsx)(a.default,{href:c,children:(0,r.jsxs)("a",{className:"flex shadow-sm w-full",children:[(0,r.jsx)("div",{style:{background:(0,l.Z)(e.name)},className:"w-4 rounded-l-md"}),(0,r.jsx)("div",{className:"w-full border-t border-r border-b border-gray-200 bg-white rounded-r-md ",children:(0,r.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{className:"text-gray-900 font-bold",children:e.name}),n&&(0,r.jsx)("span",{className:"ml-2 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-500 text-gray-100",children:"Draft"}),(0,r.jsx)("div",{className:"text-gray-500 text-xs font-normal mt-2 line-clamp-3",children:e.summary})]}),d&&(0,r.jsx)("div",{className:"h-full items-center flex",children:(0,r.jsx)(i.Z,{source:"service",data:e,rootNodeColor:(0,l.Z)(e.name)})}),(0,r.jsxs)("div",{className:"flex space-x-4 text-xs pt-2 relative bottom-0 left-0",children:[(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(t.FMB,{className:"h-4 w-4 text-green-400 inline-block mr-2","aria-hidden":"true"}),"Subscribe Events (",e.subscribes.length,")"]}),(0,r.jsxs)("div",{className:" font-medium text-gray-500",children:[(0,r.jsx)(t.FMB,{className:"h-4 w-4 text-indigo-400 inline-block mr-2","aria-hidden":"true"}),"Publish Events (",e.publishes.length,")"]})]})]})})]})})},e.name)}))})}},4573:function(e,n,s){"use strict";s.d(n,{Z:function(){return u}});var r=s(52322),a=s(2784),t=s(14689),i=s(70314),l=(0,i.default)().publicRuntimeConfig,c=(void 0===l?{}:l).basePath,d=void 0===c?"":c,o=function(e){return e.length>"50"?"".concat(e.substring(0,"50"),"..."):e},m=function(e,n){return""!==d?"".concat(d,"/").concat(n,"/").concat(e):"/".concat(n,"/").concat(e)},x=function(e,n,s,r){return"flowchart LR\n\n".concat(n.map((function(n){return"l-".concat(n.id,"[").concat(n.name,"]:::producer--\x3e").concat(e.id,"[").concat(e.name,"]:::event\n")})).join(""),"\nclassDef event stroke:").concat(r,",stroke-width: 4px;\n\nclassDef producer stroke:#75d7b6,stroke-width: 2px;\n\nclassDef consumer stroke:#818cf8,stroke-width: 2px;\n\n").concat(s.map((function(n){return"".concat(e.id,"[").concat(e.name,"]:::event--\x3er-").concat(n.id,"[").concat(n.name,"]:::consumer\n")})).join(""),"\n").concat(n.map((function(e){return"click l-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\n").concat(s.map((function(e){return"click r-".concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n')})).join(""),"\nclick ").concat(e.id,' href "').concat(e.link,'" "Go to ').concat(e.name,'" _self\n\n')};t.Z.initialize({startOnLoad:!0,theme:"forest",securityLevel:"loose",flowchart:{useMaxWidth:!1,width:"1000px"},themeCSS:"\n .node {\n filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .2))\n }\n .mermaid svg {\n width: 10000px\n }\n .node rect {\n fill: white\n }\n ",fontFamily:"Fira Code",width:"100%"});var u=function(e){var n=e.data,s=e.source,i=void 0===s?"event":s,l=e.rootNodeColor,c=e.charts;if((0,a.useEffect)((function(){t.Z.contentLoaded()}),[]),c)return(0,r.jsx)(r.Fragment,{children:c.map((function(e,n){return(0,r.jsx)("div",{className:"mermaid",children:e},"chart-".concat(n))}))});var d="event"===i?function(e,n){var s=e.name,r=e.producerNames,a=e.consumerNames,t=void 0===n?"#2563eb":n,i=r.map(o).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services")}})),l=a.map(o).map((function(e){return{id:e.replace(/ /g,"_"),name:e,link:m(e,"services")}})),c={id:o(s.replace(/ /g,"_")),name:s,link:m(s,"events")};return x(c,i,l,t)}(n,l):function(e,n){var s=e.publishes,r=e.subscribes,a=e.name,t=void 0===n?"#2563eb":n,i=r.map(o).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:m(e.name,"events")}})),l=s.map(o).map((function(e){return{id:e.name.replace(/ /g,"_"),name:e.name,link:m(e.name,"events")}})),c={id:o(a.replace(/ /g,"_")),name:a,link:m(a,"services")};return x(c,i,l,t)}(n,l);return(0,r.jsx)("div",{className:"mermaid",children:d})}},10429:function(e,n,s){"use strict";s.r(n),s.d(n,{__N_SSG:function(){return c},default:function(){return d}});var r=s(52322),a=s(90526),t=s(44938),i=s(43854),l=s(55008),c=!0;function d(e){var n=e.events,s=e.services,c=e.domains,d=e.userId,o=(0,(0,l.aF)().getUserById)(d);return(0,r.jsx)("div",{className:"flex relative min-h-screen",children:(0,r.jsx)("div",{className:"flex-1 ",children:(0,r.jsx)("div",{className:"py-8 xl:py-10",children:(0,r.jsxs)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 xl:max-w-7xl xl:grid xl:grid-cols-4",children:[(0,r.jsxs)("div",{className:"xl:col-span-3 xl:pr-8 xl:border-r xl:border-gray-200 min-h-screen",children:[(0,r.jsx)("div",{className:"xl:border-b pb-4 flex justify-between ",children:(0,r.jsx)("div",{className:"space-y-2",children:(0,r.jsx)("h1",{className:"text-3xl font-bold text-gray-900 relative",children:o.name})})}),(0,r.jsxs)("div",{className:"border-b border-gray-100 pb-6",children:[(0,r.jsxs)("h1",{className:"text-lg font-bold text-gray-800 relative mt-4",children:["Owner of Events (",n.length,")"]}),(0,r.jsx)(a.Z,{events:n})]}),(0,r.jsxs)("div",{className:"border-b border-gray-100 pb-6",children:[(0,r.jsxs)("h1",{className:"text-lg font-bold text-gray-800 relative mt-4 ",children:["Owner of Services (",s.length,")"]}),(0,r.jsx)(t.Z,{services:s})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("h1",{className:"text-lg font-bold text-gray-800 relative mt-4",children:["Owner of Domains (",c.length,")"]}),(0,r.jsx)(i.Z,{domains:c})]})]}),(0,r.jsxs)("div",{className:"px-8",children:[(0,r.jsxs)("div",{className:"flex items-center space-x-5 mt-4 ",children:[(0,r.jsx)("div",{className:"flex-shrink-0",children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("img",{className:"h-16 w-16 rounded-full",src:o.avatarUrl,alt:""}),(0,r.jsx)("span",{className:"absolute inset-0 shadow-inner rounded-full","aria-hidden":"true"})]})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-xl font-bold text-gray-900",children:o.name}),(0,r.jsx)("p",{className:"text-sm font-medium text-gray-500",children:o.role})]})]}),(0,r.jsx)("div",{className:"mt-6 flow-root border-t border-gray-200 py-6 text-sm",children:o.summary})]})]})})})})}},46892:function(e,n,s){"use strict";function r(e){for(var n=0,s=0;s<e.length;s++)n=e.charCodeAt(s)+((n<<5)-n);for(var r="#",a=0;a<3;a++){r+="00".concat((n>>8*a&255).toString(16)).substr(-2)}return r}s.d(n,{Z:function(){return r}})}},function(e){e.O(0,[812,962,774,888,179],(function(){return n=84852,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[742],{80594:function(e,t,n){var r=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,u=c||l||Function("return this")(),d=Object.prototype.toString,f=Math.max,m=Math.min,v=function(){return u.Date.now()};function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(p(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=p(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||o.test(e)?s(e.slice(2),n?2:8):a.test(e)?NaN:+e}e.exports=function(e,t,n){var r,a,i,o,s,c,l=0,u=!1,d=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function x(t){var n=r,i=a;return r=a=void 0,l=t,o=e.apply(i,n)}function h(e){return l=e,s=setTimeout(j,t),u?x(e):o}function g(e){var n=e-c;return void 0===c||n>=t||n<0||d&&e-l>=i}function j(){var e=v();if(g(e))return N(e);s=setTimeout(j,function(e){var n=t-(e-c);return d?m(n,i-(e-l)):n}(e))}function N(e){return s=void 0,y&&r?x(e):(r=a=void 0,o)}function w(){var e=v(),n=g(e);if(r=arguments,a=this,c=e,n){if(void 0===s)return h(c);if(d)return s=setTimeout(j,t),x(c)}return void 0===s&&(s=setTimeout(j,t)),o}return t=b(t)||0,p(n)&&(u=!!n.leading,i=(d="maxWait"in n)?f(b(n.maxWait)||0,t):i,y="trailing"in n?!!n.trailing:y),w.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=c=a=s=void 0},w.flush=function(){return void 0===s?o:N(v())},w}},2060:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/visualiser",function(){return n(84031)}])},84031:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return g}});var r=n(52322),a=n(2784),i=n(97729),o=n(5632),s=n(80594),c=n.n(s),l=n(17962),u=n(55008),d=n(78484),f=n(46892);function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){m(e,t,n[t])}))}return e}function p(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var b=function(e,t){return t.filter((function(t){return t.name.indexOf(e)>-1}))};function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(" ")}function x(e){var t=e.title,n=e.data,i=e.currentSelectedItem,o=e.onClick,s=e.filterBy,c=e.type,l=(0,a.useState)(n)[0];return(0,r.jsxs)("div",{children:[(0,r.jsxs)("span",{className:"font-bold block py-2",children:[t," "," ",s&&(0,r.jsxs)(r.Fragment,{children:["(",n.length,"/",l.length,")"]}),!s&&(0,r.jsxs)(r.Fragment,{children:["(",l.length,")"]})]}),0===n.length&&(0,r.jsxs)("span",{className:"text-sm text-gray-300",children:["No ",c,"s found"]}),(0,r.jsx)("ul",{className:"space-y-4 overflow-auto",children:n.map((function(e){var t=!!i&&i.label===e.name;return(0,r.jsx)(h,{type:c,data:e,onClick:function(e){return o(e,c)},isSelected:t},e.name)}))})]})}function h(e){var t=e.data,n=e.onClick,a=e.type,i=e.isSelected,o=i?"border-green-500 bg-green-50 shadow-md ":"";return(0,r.jsx)("li",{className:"flex",children:(0,r.jsxs)("button",{type:"button",onClick:function(){return n(t,a)},className:"flex shadow-sm rounded-md w-full text-left border ".concat(o),children:[(0,r.jsx)("div",{style:{background:(0,f.Z)(t.name)},className:y("bg-red-500","flex-shrink-0 flex h-full items-center justify-center w-4 text-white text-sm font-medium rounded-l-md")}),(0,r.jsx)("div",{className:"w-full rounded-r-md border-t border-r border-b ".concat(i?"bg-green-50":"bg-white"),children:(0,r.jsxs)("div",{className:"p-4 text-sm space-y-2 flex flex-col justify-between h-full",children:[(0,r.jsx)("div",{className:"text-gray-900 font-bold hover:text-gray-600 break-all text-xs xl:text-md",children:t.name}),(0,r.jsx)("div",{className:"hidden xl:block text-gray-500 text-xs font-normal mt-2 ",children:t.summary})]})})]})})}var g=!0;t.default=function(e){var t=e.events,n=e.services,s=e.domains,m=(0,u.ZR)().title,y=(0,a.useState)(""),h=y[0],g=y[1],j=(0,a.useState)(),N=j[0],w=j[1],O=(0,a.useState)({events:t,services:n,domains:s}),S=O[0],k=O[1],E=(0,o.useRouter)(),_=E.query,C=E.isReady,T=_.name,A=_.type,P=p(t.map((function(e){return v({},e,{type:"event",label:"Event: ".concat(e.name)})}))).concat(p(n.map((function(e){return v({},e,{type:"service",label:"Service: ".concat(e.name)})}))),p(s.map((function(e){return v({},e,{type:"domain",label:"Domain: ".concat(e.name)})})))),D=[{title:"Domains",type:"domain",data:S.domains},{title:"Events",type:"event",data:S.events},{title:"Services",type:"service",data:S.services}],B=function(e,t){w({label:e.name,data:e,type:t})},I=(0,a.useCallback)(c()((function(e){g(e.target.value)}),500),[S]),F=(0,a.useCallback)((function(){return h?{events:b(h,t),services:b(h,n),domains:b(h,s)}:{events:t,services:n,domains:s}}),[t,n,s,h]);return(0,a.useEffect)((function(){var e=F();k(e)}),[h,F]),(0,a.useEffect)((function(){if(C){var e=t[0],r={label:e.name,type:"event",data:e};if(T&&A){var a={event:t,service:n,domain:s}[A.toString()].find((function(e){return e.name===T})),i=a?{label:a.name,type:A,data:a}:r;w(i)}else w(r)}}),[T,A,t,s,n,C]),(0,r.jsxs)("div",{className:"h-screen overflow-hidden",children:[(0,r.jsx)(i.default,{children:(0,r.jsxs)("title",{children:[m," - Visualiser"]})}),(0,r.jsx)("div",{className:"sm:hidden px-4 py-2 bg-gray-200 border-b border-gray-300",children:(0,r.jsx)("div",{className:"relative rounded-md shadow-sm",children:(0,r.jsxs)("select",{className:" block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md",onChange:function(e){var t=e.target.value,n=JSON.parse(t);w(n)},children:[(0,r.jsx)("option",{children:"Please select your event or service"}),P.map((function(e){return(0,r.jsx)("option",{value:JSON.stringify({label:e.name,data:e,type:e.type}),children:e.label})}))]})})}),(0,r.jsxs)("div",{className:"grid grid-cols-8 xl:grid-cols-6",children:[(0,r.jsxs)("div",{className:"hidden sm:block col-span-2 xl:col-span-1 bg-white px-4 h-screen overflow-auto border-r-2 shadow-md border-gray-200 py-3",children:[(0,r.jsx)("div",{className:"border-b border-gray-200 pb-6",children:(0,r.jsxs)("div",{className:"mt-1 relative rounded-md shadow-sm",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,r.jsx)(l.W1M,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})}),(0,r.jsx)("input",{type:"text",name:"event",id:"event",onChange:I,placeholder:"Find Event, Service or Domain",className:"focus:ring-gray-500 focus:border-gray-500 block w-full pl-10 sm:text-sm border-gray-300 rounded-md"})]})}),(0,r.jsx)("div",{className:"space-y-6",children:D.map((function(e){return(0,r.jsx)(x,{title:e.title,filterBy:h,data:e.data,currentSelectedItem:N,type:e.type,onClick:B})}))})]}),(0,r.jsx)("div",{className:"bg-gray-200 h-screen col-span-12 sm:col-span-6 xl:col-span-5",children:N&&(0,r.jsx)(d.Z,{source:N.type,data:N.data,title:"Visualiser",subtitle:"".concat(N.data.name," (").concat(N.type,")"),rootNodeColor:(0,f.Z)(N.label),fitView:!0,isAnimated:!0,isDraggable:!0,includeBackground:!0,renderWithBorder:!1,maxHeight:"100%",includeEdgeLabels:!0,includeNodeIcons:!0})})]})]})}}},function(e){e.O(0,[203,519,962,506,109,774,888,179],(function(){return t=2060,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST=function(s,e,a,c,n,i,t,d,f,m,o,v,u,r,b,k,h,j){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-fe1a9e09c7f51e66.js"],"/_error":["static/chunks/pages/_error-5a714c45c50a8db4.js"],"/domains":[s,"static/chunks/pages/domains-6ab78cb1bc2f4200.js"],"/domains/[domain]":[c,e,s,n,i,t,"static/chunks/pages/domains/[domain]-e39d527b56fd45c8.js"],"/domains/[domain]/events/[name]":[a,c,d,f,m,e,s,n,o,v,i,t,u,r,"static/chunks/pages/domains/[domain]/events/[name]-a5fb5b26471e703b.js"],"/domains/[domain]/events/[name]/logs":[e,b,k,"static/chunks/pages/domains/[domain]/events/[name]/logs-9678f8d15063d3b5.js"],"/domains/[domain]/events/[name]/v/[version]":[a,c,d,f,m,e,s,n,o,v,i,t,u,r,"static/chunks/pages/domains/[domain]/events/[name]/v/[version]-a7fa6002267ccd3b.js"],"/domains/[domain]/services/[name]":[a,c,e,s,n,i,t,h,"static/chunks/pages/domains/[domain]/services/[name]-80d6d803e5466b81.js"],"/events":[a,e,s,j,"static/chunks/pages/events-5a41c37b360b2fce.js"],"/events/[name]":[a,c,d,f,m,e,s,n,o,v,i,t,u,r,"static/chunks/pages/events/[name]-d3d2a03948b8dfeb.js"],"/events/[name]/logs":[e,b,k,"static/chunks/pages/events/[name]/logs-279caf3ba628e52c.js"],"/events/[name]/v/[version]":[a,c,d,f,m,e,s,n,o,v,i,t,u,r,"static/chunks/pages/events/[name]/v/[version]-93d978734b0dc0a3.js"],"/overview":["static/chunks/pages/overview-dc5e91549c7e3d52.js"],"/services":[a,e,s,j,"static/chunks/pages/services-7fe5a823f1b25f18.js"],"/services/[name]":[a,c,e,s,n,i,t,h,"static/chunks/pages/services/[name]-148079bb388f8c53.js"],"/users/[id]":[a,s,"static/chunks/pages/users/[id]-b255611073ef76e0.js"],"/visualiser":[c,e,s,n,i,"static/chunks/pages/visualiser-2fc8224670ac5dff.js"],sortedPages:["/","/_app","/_error","/domains","/domains/[domain]","/domains/[domain]/events/[name]","/domains/[domain]/events/[name]/logs","/domains/[domain]/events/[name]/v/[version]","/domains/[domain]/services/[name]","/events","/events/[name]","/events/[name]/logs","/events/[name]/v/[version]","/overview","/services","/services/[name]","/users/[id]","/visualiser"]}}("static/chunks/962-17a425b16c23bd0f.js","static/chunks/519-2ec6fc3cdbaa4dc2.js","static/chunks/176cb4e4-8a0f6f010ef8accb.js","static/chunks/b744740b-229c238b25b9eeac.js","static/chunks/506-12764fcf4b5d93b0.js","static/chunks/109-716dea1303010b4f.js","static/chunks/169-b33dfdaf2847d062.js","static/chunks/1df474da-91f6061ee61707c6.js","static/chunks/7f5d3f51-7158fdd5a44cedd5.js","static/chunks/2edb282b-9e1cce5842787609.js","static/chunks/5-f60eecf67567a225.js","static/chunks/650-555944cc1eb7714e.js","static/chunks/178-75b1f3cd9df47a72.js","static/css/7e14b4dede1671ad.css","static/chunks/364-9c039ca46569869e.js","static/css/5eeed9cb243ce668.css","static/chunks/585-aa9262ea1bcf9d5b.js","static/chunks/274-11c4d093341d7201.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"pageProps":{"changes":[],"event":{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[],"consumers":[],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/RemovedItemFromCart.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"RemovedItemFromCart\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n },\n \"quantity\": {\n \"type\": \"number\",\n \"description\": \"How many items the user wants to remove to their shopping cart\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 1\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"RemovedItemFromCart","href":"/events/RemovedItemFromCart","current":false},{"name":"Logs","href":"/events/RemovedItemFromCart/history","current":true}]},"__N_SSG":true}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"pageProps":{"event":{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"producers":[],"consumers":[],"historicVersions":[],"schema":{"snippet":"{\n \"$id\": \"https://example.com/RemovedItemFromCart.json\",\n \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n \"title\": \"RemovedItemFromCart\",\n \"type\": \"object\",\n \"properties\": {\n \"metadata\": {\n \"type\": \"object\",\n \"properties\": {\n \"correlationId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"domain\": {\n \"type\": \"string\",\n \"description\": \"The domain of the event\"\n },\n \"service\": {\n \"type\": \"string\",\n \"description\": \"The name of the service that triggered the event\"\n }\n },\n \"required\": [\"correlationId\", \"domain\"]\n },\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"userId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the user\"\n },\n \"itemId\": {\n \"type\": \"string\",\n \"description\": \"The ID of the shopping item\"\n },\n \"quantity\": {\n \"type\": \"number\",\n \"description\": \"How many items the user wants to remove to their shopping cart\",\n \"minimum\": 1,\n \"maximum\": 100,\n \"default\": 1\n }\n }\n }\n }\n}","language":"json","extension":"json"},"examples":[]},"eventPath":"/events/RemovedItemFromCart","breadCrumbs":[{"name":"Events","href":"/events","current":false},{"name":"RemovedItemFromCart","href":"/events/RemovedItemFromCart","current":true}],"markdown":{"content":"\n<Admonition>When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.</Admonition>\n\n### Details\n\nThis event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\n\nWe have a frontend application that allows users to buy things from our store. This front end interacts directly with the `Basket Service` to add items to the cart. The `Basket Service` will raise the events.\n\n\n<NodeGraph title=\"Consumer/Producer Diagram\" />\n\n<Schema />","source":{"compiledSource":"var p=Object.defineProperty,c=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var d=(e,t,o)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,i=(e,t)=>{for(var o in t||(t={}))a.call(t,o)&&d(e,o,t[o]);if(r)for(var o of r(t))s.call(t,o)&&d(e,o,t[o]);return e},m=(e,t)=>c(e,l(t));var h=(e,t)=>{var o={};for(var n in e)a.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&r)for(var n of r(e))t.indexOf(n)<0&&s.call(e,n)&&(o[n]=e[n]);return o};const makeShortcode=e=>function(o){return console.warn(\"Component \"+e+\" was not imported, exported, or provided by MDXProvider as global scope\"),mdx(\"div\",i({},o))},Admonition=makeShortcode(\"Admonition\"),NodeGraph=makeShortcode(\"NodeGraph\"),Schema=makeShortcode(\"Schema\"),layoutProps={},MDXLayout=\"wrapper\";function MDXContent(o){var n=o,{components:e}=n,t=h(n,[\"components\"]);return mdx(MDXLayout,m(i(i({},layoutProps),t),{components:e,mdxType:\"MDXLayout\"}),mdx(Admonition,{mdxType:\"Admonition\"},\"When firing this event make sure you set the `correlation-id` in the headers. Our schemas have standard metadata make sure you read and follow it.\"),mdx(\"h3\",null,\"Details\"),mdx(\"p\",null,\"This event can be triggered multiple times per customer. Everytime the customer adds an item to their shopping cart this event will be triggered.\"),mdx(\"p\",null,\"We have a frontend application that allows users to buy things from our store. This front end interacts directly with the \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" to add items to the cart. The \",mdx(\"inlineCode\",{parentName:\"p\"},\"Basket Service\"),\" will raise the events.\"),mdx(NodeGraph,{title:\"Consumer/Producer Diagram\",mdxType:\"NodeGraph\"}),mdx(Schema,{mdxType:\"Schema\"}))}MDXContent.isMDXComponent=!0;\n","scope":{}},"lastModifiedDate":"2022/3/1"},"loadedVersion":"latest"},"__N_SSG":true}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"domains":[{"name":"Shopping","summary":"Domain for everything shopping\n","owners":["dboyne","mSmith"],"tags":[],"externalLinks":[],"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[]}],"services":[{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"userId":"dboyne"},"__N_SSG":true}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"domains":[{"name":"Shopping","summary":"Domain for everything shopping\n","owners":["dboyne","mSmith"],"tags":[],"externalLinks":[],"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[]}],"services":[],"userId":"mSmith"},"__N_SSG":true}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"pageProps":{"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"OrderComplete","version":"0.0.1","summary":"Event represents when an order has been complete. (Delivered and finished)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":"Shopping","producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[{"name":"Payment Service","summary":"Event based application that integrates with Stripe.\n","domain":null,"owners":["dboyne"],"repository":{},"tags":[],"externalLinks":[],"publishes":[{"name":"PaymentProcessed","version":"0.0.1","summary":"Holds information about the payment that has been processed.\n","domain":null,"producerNames":["Payment Service"],"consumerNames":["Orders Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderRequested","version":"0.0.1","summary":"Holds information about the customers order.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Payment Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]},{"name":"Shipping Service","summary":"Event based application that handles processing of shipments, preparing them and dispatching them.\n","domain":null,"owners":["dboyne"],"repository":{"language":"JavaScript","url":"https://github.com/boyney123/pretend-shipping-service"},"tags":[],"externalLinks":[],"publishes":[{"name":"ShipmentDelivered","version":"0.0.1","summary":"Event represents when a shipment has been delivered and received.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Order Service","Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"subscribes":[{"name":"OrderConfirmed","version":"0.0.1","summary":"Event represents when an order has been confirmed and ready to be processed (shipped for example)\n","domain":null,"producerNames":["Orders Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentDispatched","version":"0.0.1","summary":"Event represents when a shipment has been dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]},{"name":"ShipmentPrepared","version":"0.0.1","summary":"Event represents when a shipment has finished being prepared and is ready to be dispatched.\n","domain":null,"producerNames":["Shipping Service"],"consumerNames":["Shipping Service"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}]}],"domains":[{"name":"Shopping","summary":"Domain for everything shopping\n","owners":["dboyne","mSmith"],"tags":[],"externalLinks":[],"events":[{"name":"AddedItemToCart","version":"0.0.2","summary":"Holds information about what the user added to their shopping cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":["0.0.2","0.0.1"]},{"name":"RemovedItemFromCart","version":"0.0.1","summary":"Holds information about what the user removed from their cart.\n","domain":null,"producerNames":["Basket Service"],"consumerNames":["Data Lake"],"owners":["dboyne","mSmith"],"externalLinks":[],"historicVersions":[]}],"services":[]}]},"__N_SSG":true}
|