@omer-x/buttler 1.5.0 → 2.0.0-alpha.1
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/README.md +76 -6
- package/bin/cli.js +160 -59
- package/drizzle/20261105041530_awesome_spiral/migration.sql +6 -0
- package/drizzle/20261105041530_awesome_spiral/snapshot.json +64 -0
- package/drizzle/20261108004152_overconfident_gunslinger/migration.sql +6 -0
- package/drizzle/20261108004152_overconfident_gunslinger/snapshot.json +117 -0
- package/drizzle/20261109034417_nervous_namora/migration.sql +27 -0
- package/drizzle/20261109034417_nervous_namora/snapshot.json +333 -0
- package/drizzle/20261124013742_medical_rhodey/migration.sql +2 -0
- package/drizzle/20261124013742_medical_rhodey/snapshot.json +353 -0
- package/drizzle/20261124075450_wooden_moondragon/migration.sql +9 -0
- package/drizzle/20261124075450_wooden_moondragon/snapshot.json +430 -0
- package/drizzle/20261124131152_greedy_betty_ross/migration.sql +7 -0
- package/drizzle/20261124131152_greedy_betty_ross/snapshot.json +498 -0
- package/drizzle/20261125085214_blushing_the_liberteens/migration.sql +8 -0
- package/drizzle/20261125085214_blushing_the_liberteens/snapshot.json +571 -0
- package/package.json +49 -44
- package/ui/.next/BUILD_ID +1 -1
- package/ui/.next/app-path-routes-manifest.json +22 -10
- package/ui/.next/build-manifest.json +147 -23
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/admin.js +30 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/auth-context.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/backoff-timeout.js +209 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/call-credentials.js +163 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/call-interface.js +100 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/call-number.js +24 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/call.js +152 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/certificate-provider.js +141 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/channel-credentials.js +431 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/channel-options.js +73 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/channel.js +68 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/channelz.js +599 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/client-interceptors.js +434 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/client.js +433 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/compression-algorithms.js +26 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/compression-filter.js +307 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/connectivity-state.js +28 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/constants.js +64 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/control-plane-status.js +42 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/deadline.js +110 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/duration.js +74 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/environment.js +23 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/error.js +40 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/events.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/experimental.js +58 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/filter-stack.js +82 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/filter.js +38 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/channelz.js +3 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Any.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/BoolValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/BytesValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/DescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/DoubleValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Duration.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Edition.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/EnumDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/EnumOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/EnumValueDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/EnumValueOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/ExtensionRangeOptions.js +10 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FeatureSet.js +56 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FeatureSetDefaults.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FieldDescriptorProto.js +32 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FieldOptions.js +36 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FileDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FileDescriptorSet.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FileOptions.js +11 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FloatValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/GeneratedCodeInfo.js +11 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Int32Value.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Int64Value.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/MessageOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/MethodDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/MethodOptions.js +11 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/OneofDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/OneofOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/ServiceDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/ServiceOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/SourceCodeInfo.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/StringValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/SymbolVisibility.js +10 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Timestamp.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/UInt32Value.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/UInt64Value.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/UninterpretedOption.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Address.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Channel.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js +14 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelData.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelRef.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelTrace.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js +15 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Channelz.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetChannelRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetChannelResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServerRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServerResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServersRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServersResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetSocketRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetSocketResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Security.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Server.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ServerData.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ServerRef.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Socket.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketData.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketOption.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketRef.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Subchannel.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SubchannelRef.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/orca.js +3 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/AnyRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/BoolRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/BytesRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/DoubleRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/DurationRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/EnumRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/FieldRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/Fixed32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/Fixed64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/FloatRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/Int32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/Int64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/KnownRegex.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/MapRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/MessageRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/RepeatedRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/SFixed32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/SFixed64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/SInt32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/SInt64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/StringRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/TimestampRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/UInt32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/UInt64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/xds/data/orca/v3/OrcaLoadReport.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/xds/service/orca/v3/OpenRcaService.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/xds/service/orca/v3/OrcaLoadReportRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/http_proxy.js +274 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/index.js +148 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/internal-channel.js +677 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-child-handler.js +151 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-outlier-detection.js +571 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-pick-first.js +514 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-round-robin.js +204 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-weighted-round-robin.js +392 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer.js +116 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancing-call.js +321 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/logging.js +129 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/make-client.js +143 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/metadata.js +277 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/object-stream.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/orca.js +323 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/picker.js +86 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/priority-queue.js +120 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolver-dns.js +363 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolver-ip.js +106 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolver-uds.js +51 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolver.js +89 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolving-call.js +345 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolving-load-balancer.js +312 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/retrying-call.js +768 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/server-call.js +226 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/server-credentials.js +314 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/server-interceptors.js +838 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/server.js +1651 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/service-config.js +430 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/single-subchannel-channel.js +233 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/status-builder.js +68 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/stream-decoder.js +100 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel-address.js +202 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel-call.js +606 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel-interface.js +114 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel-pool.js +137 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel.js +417 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/tls-helpers.js +34 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/transport.js +691 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/uri-parser.js +152 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/node_modules/@grpc/proto-loader/build/src/index.js +246 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/node_modules/@grpc/proto-loader/build/src/util.js +89 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/node_modules/@grpc/proto-loader/package.json +69 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/package.json +89 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/channelz.proto +564 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/protoc-gen-validate/LICENSE +202 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/protoc-gen-validate/validate/validate.proto +797 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/xds/LICENSE +201 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/xds/xds/data/orca/v3/orca_load_report.proto +58 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/xds/xds/service/orca/v3/orca.proto +36 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/config.js +135 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/container.js +1085 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/docker.js +1879 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/exec.js +139 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/image.js +279 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/network.js +171 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/node.js +135 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/plugin.js +372 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/proto/auth.proto +54 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/secret.js +134 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/service.js +183 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/session.js +63 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/task.js +97 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/util.js +106 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/volume.js +90 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/.travis.yml +6 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/LICENSE +21 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/README.md +165 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/index.js +363 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/package.json +41 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/index.js +346 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/extract.js +257 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/headers.js +295 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/index.js +2 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/pack.js +255 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/package.json +58 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/index.js +104 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/max.js +7 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/md5.js +17 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/native.js +11 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/nil.js +7 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/parse.js +44 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/regex.js +7 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/rng.js +17 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/sha1.js +17 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/stringify.js +38 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v1.js +131 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v1ToV6.js +26 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v3.js +11 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v35.js +63 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v4.js +32 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v5.js +11 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v6.js +38 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v6ToV1.js +26 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v7.js +152 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/validate.js +12 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/version.js +15 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/package.json +142 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/package.json +40 -0
- package/ui/.next/prerender-manifest.json +982 -12
- package/ui/.next/required-server-files.json +158 -90
- package/ui/.next/routes-manifest.json +330 -32
- package/ui/.next/server/app/[locale]/(auth)/install/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page/server-reference-manifest.json +115 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page.js +44 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page.js +29 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/page/server-reference-manifest.json +15 -0
- package/ui/.next/server/app/[locale]/(base)/page.js +31 -0
- package/ui/.next/server/app/[locale]/(base)/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/server-reference-manifest.json +185 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js +51 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/server-reference-manifest.json +185 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js +50 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/server-reference-manifest.json +185 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js +51 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/server-reference-manifest.json +225 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js +53 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/server-reference-manifest.json +165 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page.js +45 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/server-reference-manifest.json +35 -0
- package/ui/.next/server/app/[locale]/(base)/services/page.js +42 -0
- package/ui/.next/server/app/[locale]/(base)/services/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/server-reference-manifest.json +125 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page.js +46 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/install.html +0 -0
- package/ui/.next/server/app/[locale]/install.meta +47 -0
- package/ui/.next/server/app/[locale]/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +40 -0
- package/ui/.next/server/app/[locale]/install.segments/_full.segment.rsc +41 -0
- package/ui/.next/server/app/[locale]/install.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/[locale]/login.html +0 -0
- package/ui/.next/server/app/[locale]/login.meta +47 -0
- package/ui/.next/server/app/[locale]/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +40 -0
- package/ui/.next/server/app/[locale]/login.segments/_full.segment.rsc +39 -0
- package/ui/.next/server/app/[locale]/login.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.html +0 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.meta +57 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +44 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.html +0 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.meta +57 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.html +0 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.meta +57 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/[locale]/services/[id].html +0 -0
- package/ui/.next/server/app/[locale]/services/[id].meta +52 -0
- package/ui/.next/server/app/[locale]/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +41 -0
- package/ui/.next/server/app/[locale]/services/[id].segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id].segments/_tree.segment.rsc +8 -0
- package/ui/.next/server/app/[locale]/services/new.html +0 -0
- package/ui/.next/server/app/[locale]/services/new.meta +52 -0
- package/ui/.next/server/app/[locale]/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +40 -0
- package/ui/.next/server/app/[locale]/services/new.segments/_full.segment.rsc +41 -0
- package/ui/.next/server/app/[locale]/services/new.segments/_tree.segment.rsc +8 -0
- package/ui/.next/server/app/[locale]/services.html +0 -0
- package/ui/.next/server/app/[locale]/services.meta +47 -0
- package/ui/.next/server/app/[locale]/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +51 -0
- package/ui/.next/server/app/[locale]/services.segments/_full.segment.rsc +55 -0
- package/ui/.next/server/app/[locale]/services.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/[locale]/settings.html +0 -0
- package/ui/.next/server/app/[locale]/settings.meta +47 -0
- package/ui/.next/server/app/[locale]/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +39 -0
- package/ui/.next/server/app/[locale]/settings.segments/_full.segment.rsc +39 -0
- package/ui/.next/server/app/[locale]/settings.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/[locale].html +0 -0
- package/ui/.next/server/app/[locale].meta +42 -0
- package/ui/.next/server/app/[locale].segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +37 -0
- package/ui/.next/server/app/[locale].segments/_full.segment.rsc +38 -0
- package/ui/.next/server/app/[locale].segments/_tree.segment.rsc +6 -0
- package/ui/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/_global-error/page/build-manifest.json +22 -0
- package/ui/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/_global-error/page.js +13 -0
- package/ui/.next/server/app/_global-error/page.js.map +5 -0
- package/ui/.next/server/app/_global-error/page.js.nft.json +1 -0
- package/ui/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/_global-error.html +1 -0
- package/ui/.next/server/app/_global-error.meta +30 -0
- package/ui/.next/server/app/_global-error.rsc +29 -0
- package/ui/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +29 -0
- package/ui/.next/server/app/_global-error.segments/_full.segment.rsc +29 -0
- package/ui/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -0
- package/ui/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/_not-found/page/build-manifest.json +22 -0
- package/ui/.next/server/app/_not-found/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/_not-found/page.js +15 -1
- package/ui/.next/server/app/_not-found/page.js.map +5 -0
- package/ui/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/ui/.next/server/app/_not-found/page_client-reference-manifest.js +3 -1
- package/ui/.next/server/app/_not-found.html +1 -1
- package/ui/.next/server/app/_not-found.meta +27 -0
- package/ui/.next/server/app/_not-found.rsc +31 -24
- package/ui/.next/server/app/_not-found.segments/_full.segment.rsc +32 -0
- package/ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +33 -0
- package/ui/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -0
- package/ui/.next/server/app/api/db/backup/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/db/backup/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/db/backup/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/api/db/backup/route.js +15 -1
- package/ui/.next/server/app/api/db/backup/route.js.map +5 -0
- package/ui/.next/server/app/api/db/backup/route.js.nft.json +1 -1
- package/ui/.next/server/app/api/db/backup/route_client-reference-manifest.js +3 -1
- package/ui/.next/server/app/api/services/[id]/logs/stream/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route/server-reference-manifest.json +25 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route.js +21 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route.js.map +5 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route.js.nft.json +1 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route.js +15 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route.js.map +5 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route.js.nft.json +1 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/api/sources/github/branches/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/sources/github/branches/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/sources/github/branches/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/api/sources/github/branches/route.js +19 -0
- package/ui/.next/server/app/api/sources/github/branches/route.js.map +5 -0
- package/ui/.next/server/app/api/sources/github/branches/route.js.nft.json +1 -0
- package/ui/.next/server/app/api/sources/github/branches/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/api/sources/github/repos/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/sources/github/repos/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/sources/github/repos/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/api/sources/github/repos/route.js +19 -0
- package/ui/.next/server/app/api/sources/github/repos/route.js.map +5 -0
- package/ui/.next/server/app/api/sources/github/repos/route.js.nft.json +1 -0
- package/ui/.next/server/app/api/sources/github/repos/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/cloudflare/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/cloudflare/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/cloudflare/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/cloudflare/route.js +21 -0
- package/ui/.next/server/app/auth/cloudflare/route.js.map +5 -0
- package/ui/.next/server/app/auth/cloudflare/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/cloudflare/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/github/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/github/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/github/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/github/route.js +13 -0
- package/ui/.next/server/app/auth/github/route.js.map +5 -0
- package/ui/.next/server/app/auth/github/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/github/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/github-install/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/github-install/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/github-install/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/github-install/route.js +15 -0
- package/ui/.next/server/app/auth/github-install/route.js.map +5 -0
- package/ui/.next/server/app/auth/github-install/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/github-install/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/instance/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/instance/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/instance/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/instance/route.js +12 -0
- package/ui/.next/server/app/auth/instance/route.js.map +5 -0
- package/ui/.next/server/app/auth/instance/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/instance/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/setup/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/setup/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/setup/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/setup/route.js +13 -0
- package/ui/.next/server/app/auth/setup/route.js.map +5 -0
- package/ui/.next/server/app/auth/setup/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/setup/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/en/install.html +1 -0
- package/ui/.next/server/app/en/install.meta +47 -0
- package/ui/.next/server/app/en/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +36 -0
- package/ui/.next/server/app/en/install.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/install.segments/_full.segment.rsc +46 -0
- package/ui/.next/server/app/en/install.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/en/login.html +1 -0
- package/ui/.next/server/app/en/login.meta +47 -0
- package/ui/.next/server/app/en/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +36 -0
- package/ui/.next/server/app/en/login.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/login.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/en/login.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/en/services/[id]/builds.html +1 -0
- package/ui/.next/server/app/en/services/[id]/builds.meta +58 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +47 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up.segment.rsc +33 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/_full.segment.rsc +73 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/en/services/[id]/logs.html +1 -0
- package/ui/.next/server/app/en/services/[id]/logs.meta +58 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +48 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up.segment.rsc +34 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/_full.segment.rsc +74 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/en/services/[id]/settings.html +1 -0
- package/ui/.next/server/app/en/services/[id]/settings.meta +58 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +48 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +34 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/_full.segment.rsc +75 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/en/services/[id].html +1 -0
- package/ui/.next/server/app/en/services/[id].meta +53 -0
- package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +45 -0
- package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up.segment.rsc +33 -0
- package/ui/.next/server/app/en/services/[id].segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id].segments/_full.segment.rsc +74 -0
- package/ui/.next/server/app/en/services/[id].segments/_tree.segment.rsc +8 -0
- package/ui/.next/server/app/en/services/new.html +1 -0
- package/ui/.next/server/app/en/services/new.meta +53 -0
- package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +44 -0
- package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up.segment.rsc +33 -0
- package/ui/.next/server/app/en/services/new.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/new.segments/_full.segment.rsc +69 -0
- package/ui/.next/server/app/en/services/new.segments/_tree.segment.rsc +8 -0
- package/ui/.next/server/app/en/services.html +1 -0
- package/ui/.next/server/app/en/services.meta +48 -0
- package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +42 -0
- package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up.segment.rsc +32 -0
- package/ui/.next/server/app/en/services.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services.segments/_full.segment.rsc +73 -0
- package/ui/.next/server/app/en/services.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/en/settings.html +1 -0
- package/ui/.next/server/app/en/settings.meta +48 -0
- package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +32 -0
- package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +33 -0
- package/ui/.next/server/app/en/settings.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/settings.segments/_full.segment.rsc +65 -0
- package/ui/.next/server/app/en/settings.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/en.html +1 -0
- package/ui/.next/server/app/en.meta +42 -0
- package/ui/.next/server/app/en.segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +45 -0
- package/ui/.next/server/app/en.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en.segments/_full.segment.rsc +62 -0
- package/ui/.next/server/app/en.segments/_tree.segment.rsc +6 -0
- package/ui/.next/server/app/webhooks/github/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/webhooks/github/route/build-manifest.json +12 -0
- package/ui/.next/server/app/webhooks/github/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/webhooks/github/route.js +20 -0
- package/ui/.next/server/app/webhooks/github/route.js.map +5 -0
- package/ui/.next/server/app/webhooks/github/route.js.nft.json +1 -0
- package/ui/.next/server/app/webhooks/github/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app-paths-manifest.json +22 -10
- package/ui/.next/server/chunks/1oeh_server_app_api_sources_github_branches_route_actions_1bw0q1bdnkb7k.js +3 -0
- package/ui/.next/server/chunks/[externals]__16n-vz_2p2541._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__04tl1dat3on_2._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0b1qz1hj0p20c._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0gh0uoxmttq-k._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0q_y890--33_5._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0seii5yz165qe._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0t-09tfm5-unm._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0t8cq-tdu7dt5._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0wtmvgs4b4a72._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__12udgfypv-16z._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__12uj0887q1ayr._.js +5 -0
- package/ui/.next/server/chunks/[root-of-the-server]__156dfvjma1155._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1lelc_ro6_mho._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1rf_6saum-z_d._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1scxqky7parj6._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1tnosm88zpozo._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1ukr105klaen2._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1w3vh-httwncf._.js +84 -0
- package/ui/.next/server/chunks/[turbopack]_runtime.js +935 -0
- package/ui/.next/server/chunks/_0-08w0j6upuro._.js +19 -0
- package/ui/.next/server/chunks/_0146k0if4moum._.js +3 -0
- package/ui/.next/server/chunks/_03halr20g-8bs._.js +3 -0
- package/ui/.next/server/chunks/_0c5m7ucsoah02._.js +3 -0
- package/ui/.next/server/chunks/_0etmci43pbufz._.js +57 -0
- package/ui/.next/server/chunks/_0fakz5bf_8pur._.js +3 -0
- package/ui/.next/server/chunks/_0fbnknqoj9au_._.js +3 -0
- package/ui/.next/server/chunks/_0gwhwrnj7ocnj._.js +3 -0
- package/ui/.next/server/chunks/_0karc_u8bb50q._.js +3 -0
- package/ui/.next/server/chunks/_0lw2g-1r5g45q._.js +3 -0
- package/ui/.next/server/chunks/_0nu_d29y_czf6._.js +54 -0
- package/ui/.next/server/chunks/_0ofjmpyvs6ul6._.js +3 -0
- package/ui/.next/server/chunks/_0xa0_ovy64zj7._.js +57 -0
- package/ui/.next/server/chunks/_0zkm9iridyfzh._.js +8 -0
- package/ui/.next/server/chunks/_14zlq9i7i3bl-._.js +3 -0
- package/ui/.next/server/chunks/_18xra6v5t_o45._.js +3 -0
- package/ui/.next/server/chunks/_1bh2nprq-awfy._.js +3 -0
- package/ui/.next/server/chunks/_1bq3sfcvzysrs._.js +3 -0
- package/ui/.next/server/chunks/_1ddptkvp76c-m._.js +9 -0
- package/ui/.next/server/chunks/_1duy_bxbcax0g._.js +9 -0
- package/ui/.next/server/chunks/_1hom9geso8mh2._.js +3 -0
- package/ui/.next/server/chunks/_1nlr92m-cxatd._.js +3 -0
- package/ui/.next/server/chunks/_1s6yh1-j0stln._.js +57 -0
- package/ui/.next/server/chunks/_1ux2nt1zdyn0-._.js +19 -0
- package/ui/.next/server/chunks/_205giqmll3u97._.js +3 -0
- package/ui/.next/server/chunks/_20a674o2515bv._.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_api_db_backup_route_actions_0g6ljpmyzdttd.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_api_sources_dockerhub_tags_route_actions_1vr86a4z3rit-.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_api_sources_github_repos_route_actions_0e5y8klzd2xng.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_cloudflare_route_actions_0q3d2o-17kx4t.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_github-install_route_actions_1gowzbw-w9t4k.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_github_route_actions_1ve_5728pjjtf.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_instance_route_actions_0y48n_s42d57t.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_setup_route_actions_0b-lmtbiezknn.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_webhooks_github_route_actions_05ts0zz0_11y7.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_01thkjpd3ze1x._.js +16 -0
- package/ui/.next/server/chunks/node_modules_next_0br6x7vj8yluw._.js +16 -0
- package/ui/.next/server/chunks/node_modules_next_1lo724y0ayaf6._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_03bge59x-kx8t._.js +10 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0_7m9yc-1xbeb._.js +54 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0asya_d53xspt._.js +10 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0iktj_b1skihl._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0n2og9jackhd2._.js +54 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0qad2-g67md1w._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0v54j4d7kbf11._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0w_6_3_nokpiu._.js +10 -0
- package/ui/.next/server/chunks/node_modules_next_dist_19okfwys7ask2._.js +54 -0
- package/ui/.next/server/chunks/node_modules_next_dist_1l2dhw9vnb27k._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_1n9spowd2r_5c._.js +54 -0
- package/ui/.next/server/chunks/node_modules_next_dist_1xbj516r0frq7._.js +3 -0
- package/ui/.next/server/chunks/src_0o62sbxgy6bsy._.js +57 -0
- package/ui/.next/server/chunks/src_1blp7j39u7nfe._.js +3 -0
- package/ui/.next/server/chunks/src_1gxoul9hz0c2d._.js +3 -0
- package/ui/.next/server/chunks/src_1jcil3p45z5jf._.js +3 -0
- package/ui/.next/server/chunks/src_1z80lrk153ij8._.js +57 -0
- package/ui/.next/server/chunks/src_211k8381ylin7._.js +3 -0
- package/ui/.next/server/chunks/src_core_01hbgvb0ullx2._.js +3 -0
- package/ui/.next/server/chunks/src_core_0s6ngauoj5p1n._.js +3 -0
- package/ui/.next/server/chunks/src_core_0ty7fxwao_is6._.js +3 -0
- package/ui/.next/server/chunks/src_core_1j6vv6o_pbisw._.js +3 -0
- package/ui/.next/server/chunks/src_core_build_ts_1w4o1q_gv2fnz._.js +5 -0
- package/ui/.next/server/chunks/src_core_cloudflare_domains_ts_0iceczzim091l._.js +3 -0
- package/ui/.next/server/chunks/src_core_cloudflare_tunnel_ts_089fv-f8qrsgc._.js +3 -0
- package/ui/.next/server/chunks/src_core_docker_ingress_ts_0k5y-exk0jujc._.js +3 -0
- package/ui/.next/server/chunks/src_core_docker_status_ts_0_sv17u6yx63t._.js +3 -0
- package/ui/.next/server/chunks/src_core_docker_tunnel_ts_0a1cq4o2gv4cz._.js +3 -0
- package/ui/.next/server/chunks/src_core_github_app_ts_1-ye9_ml2tj8-._.js +3 -0
- package/ui/.next/server/chunks/src_core_github_repos_ts_1mc-epu0z4enk._.js +3 -0
- package/ui/.next/server/chunks/src_core_nginx_ts_1bg68o99-jq87._.js +59 -0
- package/ui/.next/server/chunks/src_core_nginx_ts_1rvs3_6875ras._.js +59 -0
- package/ui/.next/server/chunks/src_core_settings_ts_0tp-oc1884iob._.js +3 -0
- package/ui/.next/server/chunks/src_core_settings_ts_1hcogi90bhvb7._.js +3 -0
- package/ui/.next/server/chunks/src_core_settings_ts_1mdt19mqp5pzi._.js +3 -0
- package/ui/.next/server/chunks/src_core_storage_ts_1tmiqzjak_i1r._.js +3 -0
- package/ui/.next/server/chunks/src_database_index_ts_1vzqbmlp-k92u._.js +26 -0
- package/ui/.next/server/chunks/src_operations_20gnjmon6t7yh._.js +3 -0
- package/ui/.next/server/chunks/ssr/1daa_@omer-x_tailwind-ui-kit_dist_components_dialog_AnimatedPopup_165_8l_656x7i.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__00sv8zxh_5jl1._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__05b3bu3znu9bo._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__08-ebu_kqgbr-._.js +14 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__09xlfu5wytwkq._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ai9eb5tkexh4._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0dm_kxgpszvv-._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0drv11-4w87e2._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0h97alnf636kr._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0hu_b5tmvame_._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ktv4mwammozc._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ql4zrbgrh_8x._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0wvwdlp9vkys_._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__132clfs6nokf6._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__14jml0yhiold9._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1_el7is2iy_-8._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1a91ucu_h_7kg._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1ca4vimwd_884._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1el9cow-18yf7._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1fz83aiqt1p_g._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1iy0cb7kzkjrq._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1jiq5wb0hvbag._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1oppye8ve06rx._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1oyqb2s2p-4ad._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1p_zg_jwhqsyk._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1pb7oi97dnmzg._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1ttr-59q6kcbh._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1tujkrifmxs_p._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1xmh68o1ku99_._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1z04xod1llqqd._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__213i1nlxvmwk9._.js +3 -0
- package/ui/.next/server/chunks/ssr/[turbopack]_runtime.js +935 -0
- package/ui/.next/server/chunks/ssr/_0-wzn53wb0kys._.js +3 -0
- package/ui/.next/server/chunks/ssr/_00cc9bycztnxx._.js +3 -0
- package/ui/.next/server/chunks/ssr/_01e3rinj2_l0i._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0257bgoti-zpl._.js +3 -0
- package/ui/.next/server/chunks/ssr/_03mjbc5iu4-0t._.js +3 -0
- package/ui/.next/server/chunks/ssr/_03yw69lobi4lm._.js +3 -0
- package/ui/.next/server/chunks/ssr/_045ukfxgkrnjs._.js +3 -0
- package/ui/.next/server/chunks/ssr/_067n8rpbsh0bc._.js +3 -0
- package/ui/.next/server/chunks/ssr/_07ufozddb8s9r._.js +4 -0
- package/ui/.next/server/chunks/ssr/_08r9mb2mbnczy._.js +57 -0
- package/ui/.next/server/chunks/ssr/_0_qywkd_6kzqc._.js +16 -0
- package/ui/.next/server/chunks/ssr/_0bw_5lgeb32vn._.js +16 -0
- package/ui/.next/server/chunks/ssr/_0gthv16q_rqwx._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0i5-qw-3yy6gn._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0l5h_g6g26cch._.js +32 -0
- package/ui/.next/server/chunks/ssr/_0m7ajo-96czt3._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0nnq48ip-8ji-._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0nuq-e7fnuzxf._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0py52-ib4m58g._.js +8 -0
- package/ui/.next/server/chunks/ssr/_0q_ty5-s_ojhi._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0sid4-3pb734p._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0u-trbbp5y8mk._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0yfah9gezazo5._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0ymxsb_ki8zel._.js +57 -0
- package/ui/.next/server/chunks/ssr/_11hffrysj8ccd._.js +3 -0
- package/ui/.next/server/chunks/ssr/_11zzjiiyv_16p._.js +3 -0
- package/ui/.next/server/chunks/ssr/_12gl1cg0-6m84._.js +3 -0
- package/ui/.next/server/chunks/ssr/_12p0hrdhqcio6._.js +3 -0
- package/ui/.next/server/chunks/ssr/_14pr8k-21_dud._.js +19 -0
- package/ui/.next/server/chunks/ssr/_18ge21re3r-uk._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1975r9mjak44f._.js +3 -0
- package/ui/.next/server/chunks/ssr/_19w_0onn2cdmy._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1c9ja4120f5e7._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1cwumh2lem642._.js +4 -0
- package/ui/.next/server/chunks/ssr/_1czbl6nnvitkl._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1czfqaem07udj._.js +57 -0
- package/ui/.next/server/chunks/ssr/_1gxrg8g_1z61n._.js +9 -0
- package/ui/.next/server/chunks/ssr/_1hfss60b6ap9d._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1j5g-1pklmyv3._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1j_fg04_leqmf._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1jvwyvy2mdunl._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1kkyy_gbyr-bg._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1kpy3x-i93hmq._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1tcz5rcgonbsu._.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app_[locale]_(auth)_install_page_actions_0q608mh34etxn.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app_[locale]_(auth)_login_page_actions_1vlrup6n3cy9r.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js +3 -0
- package/ui/.next/server/chunks/ssr/dictionaries_en_json_[json]_cjs_1pkm_n6uii6ve._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_0613afe-n-giu._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_09h9wf5os0vez._.js +23 -0
- package/ui/.next/server/chunks/ssr/node_modules_0bh4y86fdvx3u._.js +23 -0
- package/ui/.next/server/chunks/ssr/node_modules_0difw-6bio6t9._.js +5 -0
- package/ui/.next/server/chunks/ssr/node_modules_0m4futnh2n1n0._.js +23 -0
- package/ui/.next/server/chunks/ssr/node_modules_1-vjafv6x6e-0._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_16kqn5r2-3r66._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_19t6r27kxzb6-._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_1rlxdoxv0hxj9._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@base-ui_0qr8dwuv-esmv._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@base-ui_0wk9rvun80yi-._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@base-ui_react_toast_index_parts_mjs_1etbhn8k3xcr9._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@fortawesome_react-fontawesome_dist_index_0w8d9rk-bs6d1.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@omer-x_next-form-actions_dist_index_mjs_1c5mg0xduv-_v._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@omer-x_tailwind-ui-kit_dist_utils_cn_0ohi7kntyza4d.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_0x2abhyqy1255._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_1na_3hspfxjcn._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_0-amwqbrge23p._.js +6 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_0bz0l6wvy_f2l._.js +10 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_0veabqxxrw0ch._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_0z_oheoyvwq5g._.js +5 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1c5t_vsn6u8fr._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1jk4kd1etvl9x._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1tv-t1m7txvh5._.js +10 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1uapduyhelki_._.js +54 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1yi9lobqsg0d0._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_0bew68i643j53._.js +33 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_0gv6bzf9otp9u._.js +33 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_compiled_@edge-runtime_cookies_index_1kiz_an963mbg.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_compiled_@opentelemetry_api_index_1oy1nwhip-98t.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_08t62w__hb9s1._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_09w-_c8cnnbp-.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bgt3n50ngum7.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0i7he04se8idk.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0o_q-cl5t_j5y.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0r10zrxng849l.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1-ng_z96-b_1v.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_12x_y2ineb7-m.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18-rk0s1mmvnl.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z4y02i7.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1a9etgsu8cjol.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1sv4vxjkyi7o7.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1zhkgdf7b9lnr.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_server_route-modules_app-page_vendored_1wzm776lz3ux_._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_1n1b_a2rq9puf.js +5 -0
- package/ui/.next/server/chunks/ssr/src_00htxlrowbzez._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0204en52_8p3i._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_05sh4p2uehbos._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0bnikiwqnj5ci._.js +59 -0
- package/ui/.next/server/chunks/ssr/src_0osnajz6l9y4w._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0q7_3v3fnv20b._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0unk8-b7ur6o4._.js +59 -0
- package/ui/.next/server/chunks/ssr/src_1f0ho9ewh9vke._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1iyfq6dudriyk._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1oiyj5tki7jmf._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1qzgwz16tevm3._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1spp4h7q0g3hj._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_cloudflare_ts_0fwbybngp80nf._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_service_ts_0leald8wxwln3._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_setup_ts_1j3o9o1z2x8l-._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_user_ts_15o74nrxk2-dn._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(auth)_layout_tsx_00_uxpi57fxpi._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_services_[id]_builds_page_tsx_043p8qtyhmhg8._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_services_[id]_page_tsx_0hd62fq604aua._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_services_not-found_tsx_0rse1zgktynz7._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_unauthorized_tsx_0euh0m224yi72._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_0dw7q_n_p1894._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_domains_1zedpj1shtch0._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_services_1ckwhi_x497s9._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_settings_03t8-861u9lau._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_settings_134gcfbqnn8ia._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_settings_1y90r_5ge35ie._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_02f6f7rscof07._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_0xquh5wh6_5p0._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_build_ts_137f9fwr3qgv8._.js +5 -0
- package/ui/.next/server/chunks/ssr/src_core_cloudflare_tunnel_ts_06ejjwtfxdagd._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_docker_builds_ts_189l3irnv_2va._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_docker_ingress_ts_0v7q2dx4d_gfp._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_docker_tunnel_ts_1805lsnks1qba._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_github_app_ts_0ylz626ookc1g._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_nginx_ts_0ddpkgw8r0osc._.js +3 -0
- package/ui/.next/server/functions-config-manifest.json +11 -1
- package/ui/.next/server/instrumentation.js +4 -1
- package/ui/.next/server/middleware-build-manifest.js +157 -1
- package/ui/.next/server/middleware-manifest.json +2 -2
- package/ui/.next/server/middleware.js +5 -0
- package/ui/.next/server/next-font-manifest.js +1 -1
- package/ui/.next/server/next-font-manifest.json +6 -1
- package/ui/.next/server/pages/404.html +1 -1
- package/ui/.next/server/pages/500.html +1 -1
- package/ui/.next/server/pages-manifest.json +2 -4
- package/ui/.next/server/prefetch-hints.json +300 -0
- package/ui/.next/server/preview-props.json +5 -0
- package/ui/.next/server/server-reference-manifest.js +1 -1
- package/ui/.next/server/server-reference-manifest.json +676 -1
- package/ui/.next/static/chunks/00r1p2nh1kipz.js +1 -0
- package/ui/.next/static/chunks/05gxa8tr690lu.js +1 -0
- package/ui/.next/static/chunks/08m3mlwdpjhqa.js +1 -0
- package/ui/.next/static/chunks/0er9dc_qscrpf.js +3 -0
- package/ui/.next/static/chunks/0wj0noag-9_fs.js +1 -0
- package/ui/.next/static/chunks/10m4ed4sinix2.js +1 -0
- package/ui/.next/static/chunks/1943uma78gvle.js +1 -0
- package/ui/.next/static/chunks/1hboyrpaz1yko.js +1 -0
- package/ui/.next/static/chunks/1k5vm6ry6wq60.js +22 -0
- package/ui/.next/static/chunks/1n7hyxug-qmmf.js +1 -0
- package/ui/.next/static/chunks/1pcw6gskne7pf.js +31 -0
- package/ui/.next/static/chunks/20od0wichpr35.js +1 -0
- package/ui/.next/static/chunks/29ff4faj7vef6.js +1 -0
- package/ui/.next/static/chunks/2dd4k9ts17atr.css +1 -0
- package/ui/.next/static/chunks/2f8eqac26a_-k.js +3 -0
- package/ui/.next/static/chunks/2ickgswajvaz7.js +1 -0
- package/ui/.next/static/chunks/3-3jc4cqytds3.js +1 -0
- package/ui/.next/static/chunks/312l7hfxly56v.css +1 -0
- package/ui/.next/static/chunks/32vuew10abq29.js +1 -0
- package/ui/.next/static/chunks/33ycku3z0wxyz.js +1 -0
- package/ui/.next/static/chunks/35uvm9kv04fdr.js +1 -0
- package/ui/.next/static/chunks/39r-cmc0-jpz9.js +1 -0
- package/ui/.next/static/chunks/3htgsexlb92yb.js +1 -0
- package/ui/.next/static/chunks/41c3808a7as1l.js +1 -0
- package/ui/.next/static/chunks/turbopack-2u1d16houkiyo.js +1 -0
- package/ui/.next/static/v8Q5mbcaFRVQGsxQKUzYH/_buildManifest.js +11 -0
- package/ui/.next/static/v8Q5mbcaFRVQGsxQKUzYH/_clientMiddlewareManifest.js +6 -0
- package/ui/.next/static/v8Q5mbcaFRVQGsxQKUzYH/_ssgManifest.js +1 -0
- package/ui/package.json +49 -44
- package/ui/server.js +4 -4
- package/ui/src/core/access.test.ts +32 -0
- package/ui/src/core/access.ts +12 -0
- package/ui/src/core/auth-coverage.test.ts +99 -0
- package/ui/src/core/auth.test.ts +104 -0
- package/ui/src/core/auth.ts +58 -0
- package/ui/src/core/backup.ts +7 -0
- package/ui/src/core/build.test.ts +200 -0
- package/ui/src/core/build.ts +166 -0
- package/ui/src/core/cloudflare/client.test.ts +67 -0
- package/ui/src/core/cloudflare/client.ts +41 -0
- package/ui/src/core/cloudflare/connection.test.ts +134 -0
- package/ui/src/core/cloudflare/connection.ts +72 -0
- package/ui/src/core/cloudflare/domains.test.ts +463 -0
- package/ui/src/core/cloudflare/domains.ts +312 -0
- package/ui/src/core/cloudflare/errors.ts +26 -0
- package/ui/src/core/cloudflare/oauth.test.ts +108 -0
- package/ui/src/core/cloudflare/oauth.ts +111 -0
- package/ui/src/core/cloudflare/records.ts +118 -0
- package/ui/src/core/cloudflare/tunnel.test.ts +284 -0
- package/ui/src/core/cloudflare/tunnel.ts +174 -0
- package/ui/src/core/cloudflare/zones.ts +35 -0
- package/ui/src/core/config.ts +87 -0
- package/ui/src/core/console.ts +14 -0
- package/ui/src/core/docker/build-history.test.ts +153 -0
- package/ui/src/core/docker/build-history.ts +165 -0
- package/ui/src/core/docker/build-session.test.ts +88 -0
- package/ui/src/core/docker/build-session.ts +111 -0
- package/ui/src/core/docker/buildkit.test.ts +50 -0
- package/ui/src/core/docker/buildkit.ts +116 -0
- package/ui/src/core/docker/builds.test.ts +128 -0
- package/ui/src/core/docker/builds.ts +107 -0
- package/ui/src/core/docker/containers.ts +10 -0
- package/ui/src/core/docker/errors.ts +13 -0
- package/ui/src/core/docker/ingress.test.ts +304 -0
- package/ui/src/core/docker/ingress.ts +161 -0
- package/ui/src/core/docker/labels.ts +8 -0
- package/ui/src/core/docker/logs.test.ts +152 -0
- package/ui/src/core/docker/logs.ts +146 -0
- package/ui/src/core/docker/removal.test.ts +120 -0
- package/ui/src/core/docker/removal.ts +37 -0
- package/ui/src/core/docker/status.test.ts +525 -0
- package/ui/src/core/docker/status.ts +434 -0
- package/ui/src/core/docker/subnets.test.ts +38 -0
- package/ui/src/core/docker/subnets.ts +35 -0
- package/ui/src/core/docker/tunnel.test.ts +151 -0
- package/ui/src/core/docker/tunnel.ts +129 -0
- package/ui/src/core/docker.test.ts +33 -0
- package/ui/src/core/docker.ts +252 -0
- package/ui/src/core/dockerhub.test.ts +139 -0
- package/ui/src/core/dockerhub.ts +118 -0
- package/ui/src/core/domains.test.ts +87 -0
- package/ui/src/core/domains.ts +44 -0
- package/ui/src/core/env.ts +10 -0
- package/ui/src/core/environment-variables.test.ts +26 -0
- package/ui/src/core/environment-variables.ts +33 -0
- package/ui/src/core/git.test.ts +91 -0
- package/ui/src/core/git.ts +94 -0
- package/ui/src/core/github/app.test.ts +301 -0
- package/ui/src/core/github/app.ts +287 -0
- package/ui/src/core/github/client.test.ts +153 -0
- package/ui/src/core/github/client.ts +91 -0
- package/ui/src/core/github/errors.ts +68 -0
- package/ui/src/core/github/repos.test.ts +214 -0
- package/ui/src/core/github/repos.ts +303 -0
- package/ui/src/core/github/users.test.ts +134 -0
- package/ui/src/core/github/users.ts +74 -0
- package/ui/src/core/github/webhooks.test.ts +28 -0
- package/ui/src/core/github/webhooks.ts +26 -0
- package/ui/src/core/headers.ts +17 -0
- package/ui/src/core/home.ts +5 -0
- package/ui/src/core/log-file.ts +17 -0
- package/ui/src/core/mega.ts +15 -0
- package/ui/src/core/nginx-conf.test.ts +62 -0
- package/ui/src/core/nginx-conf.ts +97 -0
- package/ui/src/core/nginx.test.ts +418 -0
- package/ui/src/core/nginx.ts +264 -0
- package/ui/src/core/provider.ts +26 -0
- package/ui/src/core/queue.test.ts +27 -0
- package/ui/src/core/queue.ts +11 -0
- package/ui/src/core/reachability.test.ts +127 -0
- package/ui/src/core/reachability.ts +96 -0
- package/ui/src/core/redact.test.ts +31 -0
- package/ui/src/core/redact.ts +33 -0
- package/ui/src/core/secrets.test.ts +52 -0
- package/ui/src/core/secrets.ts +84 -0
- package/ui/src/core/service.ts +13 -0
- package/ui/src/core/session.test.ts +53 -0
- package/ui/src/core/session.ts +61 -0
- package/ui/src/core/settings.ts +25 -0
- package/ui/src/core/setup-code.test.ts +93 -0
- package/ui/src/core/setup-code.ts +53 -0
- package/ui/src/core/setup-progress.test.ts +78 -0
- package/ui/src/core/setup-progress.ts +47 -0
- package/ui/src/core/setup.test.ts +46 -0
- package/ui/src/core/setup.ts +21 -0
- package/ui/src/core/shared-state.test.ts +17 -0
- package/ui/src/core/shared-state.ts +9 -0
- package/ui/src/core/storage.ts +40 -0
- package/drizzle/0000_bored_night_thrasher.sql +0 -64
- package/drizzle/0001_colorful_punisher.sql +0 -1
- package/drizzle/0002_friendly_silver_samurai.sql +0 -1
- package/drizzle/0003_flaky_mac_gargan.sql +0 -12
- package/drizzle/meta/0000_snapshot.json +0 -444
- package/drizzle/meta/0001_snapshot.json +0 -451
- package/drizzle/meta/0002_snapshot.json +0 -459
- package/drizzle/meta/0003_snapshot.json +0 -458
- package/drizzle/meta/_journal.json +0 -34
- package/ui/.next/app-build-manifest.json +0 -119
- package/ui/.next/react-loadable-manifest.json +0 -1886
- package/ui/.next/server/app/api/logs/route.js +0 -1
- package/ui/.next/server/app/api/logs/route.js.nft.json +0 -1
- package/ui/.next/server/app/api/logs/route_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/index.html +0 -1
- package/ui/.next/server/app/index.meta +0 -7
- package/ui/.next/server/app/index.rsc +0 -25
- package/ui/.next/server/app/page.js +0 -1
- package/ui/.next/server/app/page.js.nft.json +0 -1
- package/ui/.next/server/app/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/[id]/databases/page.js +0 -1
- package/ui/.next/server/app/services/[id]/databases/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/[id]/databases/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/[id]/edit/page.js +0 -1
- package/ui/.next/server/app/services/[id]/edit/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/[id]/edit/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/[id]/networks/page.js +0 -1
- package/ui/.next/server/app/services/[id]/networks/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/[id]/networks/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/[id]/page.js +0 -1
- package/ui/.next/server/app/services/[id]/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/[id]/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/page.js +0 -1
- package/ui/.next/server/app/services/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/settings/page.js +0 -1
- package/ui/.next/server/app/settings/page.js.nft.json +0 -1
- package/ui/.next/server/app/settings/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/settings.html +0 -1
- package/ui/.next/server/app/settings.meta +0 -7
- package/ui/.next/server/app/settings.rsc +0 -34
- package/ui/.next/server/app/webhook/route.js +0 -1
- package/ui/.next/server/app/webhook/route.js.nft.json +0 -1
- package/ui/.next/server/app/webhook/route_client-reference-manifest.js +0 -1
- package/ui/.next/server/chunks/15.js +0 -1
- package/ui/.next/server/chunks/230.js +0 -2
- package/ui/.next/server/chunks/256.js +0 -1
- package/ui/.next/server/chunks/277.js +0 -1
- package/ui/.next/server/chunks/298.js +0 -1
- package/ui/.next/server/chunks/312.js +0 -13
- package/ui/.next/server/chunks/54.js +0 -1
- package/ui/.next/server/chunks/548.js +0 -6
- package/ui/.next/server/chunks/629.js +0 -1
- package/ui/.next/server/chunks/664.js +0 -5
- package/ui/.next/server/chunks/704.js +0 -1
- package/ui/.next/server/chunks/719.js +0 -20
- package/ui/.next/server/chunks/744.js +0 -1
- package/ui/.next/server/chunks/754.js +0 -13
- package/ui/.next/server/middleware-react-loadable-manifest.js +0 -1
- package/ui/.next/server/pages/_app.js +0 -1
- package/ui/.next/server/pages/_app.js.nft.json +0 -1
- package/ui/.next/server/pages/_document.js +0 -1
- package/ui/.next/server/pages/_document.js.nft.json +0 -1
- package/ui/.next/server/pages/_error.js +0 -1
- package/ui/.next/server/pages/_error.js.nft.json +0 -1
- package/ui/.next/server/webpack-runtime.js +0 -1
- package/ui/.next/static/chunks/101-f8060fad2a86c89b.js +0 -1
- package/ui/.next/static/chunks/188-fbd648b10be73507.js +0 -1
- package/ui/.next/static/chunks/198-1027f3b62c561202.js +0 -1
- package/ui/.next/static/chunks/273-e344e36fb8554c48.js +0 -1
- package/ui/.next/static/chunks/31-3e15c585dc25c05a.js +0 -1
- package/ui/.next/static/chunks/381-c5d8207a0006622e.js +0 -1
- package/ui/.next/static/chunks/4bd1b696-f26b251b6bbb8917.js +0 -1
- package/ui/.next/static/chunks/547-b14e6bfc25a27f08.js +0 -1
- package/ui/.next/static/chunks/684-37e9ad3bebe7dd4c.js +0 -1
- package/ui/.next/static/chunks/app/_not-found/page-5a99fff9ceda237e.js +0 -1
- package/ui/.next/static/chunks/app/api/db/backup/route-4278a48f189f175f.js +0 -1
- package/ui/.next/static/chunks/app/api/logs/route-fa5f6d53e0d05746.js +0 -1
- package/ui/.next/static/chunks/app/layout-9358e1d1f80d47da.js +0 -1
- package/ui/.next/static/chunks/app/page-4da413bc341e298c.js +0 -1
- package/ui/.next/static/chunks/app/services/[id]/databases/page-2d47fa6f7e3b072f.js +0 -1
- package/ui/.next/static/chunks/app/services/[id]/edit/page-14ef4a07ef0b420a.js +0 -1
- package/ui/.next/static/chunks/app/services/[id]/networks/page-26483518bd55b083.js +0 -1
- package/ui/.next/static/chunks/app/services/[id]/page-9e92684b9072449e.js +0 -1
- package/ui/.next/static/chunks/app/services/page-ee27acd5d4c38a6b.js +0 -1
- package/ui/.next/static/chunks/app/settings/page-e7d6be120bd70470.js +0 -1
- package/ui/.next/static/chunks/app/webhook/route-2b4c15cd096d1fd7.js +0 -1
- package/ui/.next/static/chunks/framework-52167c1502110d79.js +0 -1
- package/ui/.next/static/chunks/main-2b7fe41c42f3f521.js +0 -1
- package/ui/.next/static/chunks/main-app-eddb5e8f0a78bf63.js +0 -1
- package/ui/.next/static/chunks/pages/_app-8e94039938385921.js +0 -1
- package/ui/.next/static/chunks/pages/_error-7b2d139042a6a5ab.js +0 -1
- package/ui/.next/static/chunks/webpack-500a50586ea029a7.js +0 -1
- package/ui/.next/static/css/001936a28cd34ad6.css +0 -1
- package/ui/.next/static/css/3b7050fdbfea86d9.css +0 -1
- package/ui/.next/static/css/565f4925fe90494c.css +0 -1
- package/ui/.next/static/umf8fzleKBuB_bkoXqQnP/_buildManifest.js +0 -1
- package/ui/.next/static/umf8fzleKBuB_bkoXqQnP/_ssgManifest.js +0 -1
- /package/ui/.next/static/chunks/{polyfills-42372ed130431b0a.js → 0cz1d0mv5g_q7.js} +0 -0
- /package/ui/.next/static/media/{logo.d9d22550.png → logo.3_3wnbg_4_jdb.png} +0 -0
package/ui/.next/server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_1n1b_a2rq9puf.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
module.exports=[32886,a=>{"use strict";var b,c,d=a.i(72131);function e(a,b){let c=b&&b.cache?b.cache:j,d=b&&b.serializer?b.serializer:h;return(b&&b.strategy?b.strategy:function(a,b){var c,d;let e=1===a.length?f:g;return c=b.cache.create(),d=b.serializer,e.bind(this,a,c,d)})(a,{cache:c,serializer:d})}function f(a,b,c,d){let e=null==d||"number"==typeof d||"boolean"==typeof d?d:c(d),f=b.get(e);return void 0===f&&(f=a.call(this,d),b.set(e,f)),f}function g(a,b,c){let d=Array.prototype.slice.call(arguments,3),e=c(d),f=b.get(e);return void 0===f&&(f=a.apply(this,d),b.set(e,f)),f}let h=function(){return JSON.stringify(arguments)};var i=class{constructor(){this.cache=Object.create(null)}get(a){return this.cache[a]}set(a,b){this.cache[a]=b}};let j={create:function(){return new i}},k={variadic:function(a,b){var c,d;return c=b.cache.create(),d=b.serializer,g.bind(this,a,c,d)},monadic:function(a,b){var c,d;return c=b.cache.create(),d=b.serializer,f.bind(this,a,c,d)}};class l extends Error{constructor(a,b){let c=a;b&&(c+=": "+b),super(c),this.code=a,b&&(this.originalMessage=b)}}var m=((b=m||{}).MISSING_MESSAGE="MISSING_MESSAGE",b.MISSING_FORMAT="MISSING_FORMAT",b.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",b.INSUFFICIENT_PATH="INSUFFICIENT_PATH",b.INVALID_MESSAGE="INVALID_MESSAGE",b.INVALID_KEY="INVALID_KEY",b.FORMATTING_ERROR="FORMATTING_ERROR",b);function n(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function o(a,b){return e(a,{cache:{create:()=>({get:a=>b[a],set(a,c){b[a]=c}})},strategy:k.variadic})}function p(a,b){return o((...b)=>new a(...b),b)}function q(a){return{getDateTimeFormat:p(Intl.DateTimeFormat,a.dateTime),getNumberFormat:p(Intl.NumberFormat,a.number),getPluralRules:p(Intl.PluralRules,a.pluralRules),getRelativeTimeFormat:p(Intl.RelativeTimeFormat,a.relativeTime),getListFormat:p(Intl.ListFormat,a.list),getDisplayNames:p(Intl.DisplayNames,a.displayNames)}}let r=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,s=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,t=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,u=/^(@+)?(\+|#+)?[rs]?$/g,v=/(\*)(0+)|(#+)(0+)|(0+)/g,w=/^(0+)$/;function x(a){let b={};return"r"===a[a.length-1]?b.roundingPriority="morePrecision":"s"===a[a.length-1]&&(b.roundingPriority="lessPrecision"),a.replace(u,function(a,c,d){return"string"!=typeof d?(b.minimumSignificantDigits=c.length,b.maximumSignificantDigits=c.length):"+"===d?b.minimumSignificantDigits=c.length:"#"===c[0]?b.maximumSignificantDigits=c.length:(b.minimumSignificantDigits=c.length,b.maximumSignificantDigits=c.length+("string"==typeof d?d.length:0)),""}),b}function y(a){switch(a){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function z(a){let b=y(a);return b||{}}let A=((c={})[c.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",c[c.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",c[c.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",c[c.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",c[c.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",c[c.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",c[c.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",c[c.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",c[c.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",c[c.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",c[c.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",c[c.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",c[c.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",c[c.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",c[c.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",c[c.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",c[c.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",c[c.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",c[c.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",c[c.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",c[c.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",c[c.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",c[c.INVALID_TAG=23]="INVALID_TAG",c[c.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",c[c.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",c[c.UNCLOSED_TAG=27]="UNCLOSED_TAG",c);function B(a){return!!(a&&"object"==typeof a&&0===a.type)}function C(a){return!!(a&&"object"==typeof a&&1===a.type)}let D=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,E={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},F=RegExp(`^${D.source}*`),G=RegExp(`${D.source}*$`);function H(a,b){return{start:a,end:b}}let I=!!Object.fromEntries,J=!!String.prototype.trimStart,K=!!String.prototype.trimEnd,L=I?Object.fromEntries:function(a){let b={};for(let[c,d]of a)b[c]=d;return b},M=J?function(a){return a.trimStart()}:function(a){return a.replace(F,"")},N=K?function(a){return a.trimEnd()}:function(a){return a.replace(G,"")},O=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var P=class{constructor(a,b={}){this.message=a,this.position={offset:0,line:1,column:1},this.ignoreTag=!!b.ignoreTag,this.locale=b.locale,this.requiresOtherClause=!!b.requiresOtherClause,this.shouldParseSkeletons=!!b.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let a=this.message.charCodeAt(0);if(35!==a&&39!==a&&60!==a&&123!==a&&125!==a){let a=function(a){if(0===a.length)return null;let b=1,c=1;for(let d=0;d<a.length;){let e=a.charCodeAt(d);switch(e){case 35:case 39:case 60:case 123:case 125:return null}if(10===e)b++,c=1,d++;else if(c++,e>=55296&&e<=56319&&d+1<a.length){let b=a.charCodeAt(d+1);d+=b>=56320&&b<=57343?2:1}else d++}return{offset:a.length,line:b,column:c}}(this.message);if(a){let b=this.clonePosition();return this.position=a,{val:[{type:0,value:this.message,location:H(b,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(a,b,c){let d=[];for(;!this.isEOF();){let e=this.char();if(123===e){let b=this.parseArgument(a,c);if(b.err)return b;d.push(b.val)}else if(125===e&&a>0)break;else if(35===e&&("plural"===b||"selectordinal"===b)){let a=this.clonePosition();this.bump(),d.push({type:7,location:H(a,this.clonePosition())})}else if(60!==e||this.ignoreTag||47!==this.peek())if(60===e&&!this.ignoreTag&&Q(this.peek()||0)){let c=this.parseTag(a,b);if(c.err)return c;d.push(c.val)}else{let c=this.parseLiteral(a,b);if(c.err)return c;d.push(c.val)}else if(!c)return this.error(26,H(this.clonePosition(),this.clonePosition()));else break}return{val:d,err:null}}parseTag(a,b){let c=this.clonePosition();this.bump();let d=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${d}/>`,location:H(c,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,H(c,this.clonePosition()));{let e=this.parseMessage(a+1,b,!0);if(e.err)return e;let f=e.val,g=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,H(c,this.clonePosition()));{if(this.isEOF()||!Q(this.char()))return this.error(23,H(g,this.clonePosition()));let a=this.clonePosition();return d!==this.parseTagName()?this.error(26,H(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:d,children:f,location:H(c,this.clonePosition())},err:null}:this.error(23,H(g,this.clonePosition()))}}}parseTagName(){var a;let b=this.offset();for(this.bump();!this.isEOF()&&(45===(a=this.char())||46===a||a>=48&&a<=57||95===a||a>=97&&a<=122||a>=65&&a<=90||183==a||a>=192&&a<=214||a>=216&&a<=246||a>=248&&a<=893||a>=895&&a<=8191||a>=8204&&a<=8205||a>=8255&&a<=8256||a>=8304&&a<=8591||a>=11264&&a<=12271||a>=12289&&a<=55295||a>=63744&&a<=64975||a>=65008&&a<=65533||a>=65536&&a<=983039);)this.bump();return this.message.slice(b,this.offset())}parseLiteral(a,b){let c=this.clonePosition(),d="";for(;;){let c=this.tryParseQuote(b);if(c){d+=c;continue}let e=this.tryParseUnquoted(a,b);if(e){d+=e;continue}let f=this.tryParseLeftAngleBracket();if(f){d+=f;continue}break}return{val:{type:0,value:d,location:H(c,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var a;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Q(a=this.peek()||0)||47===a)?null:(this.bump(),"<")}tryParseQuote(a){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===a||"selectordinal"===a)break;return null;default:return null}this.bump();let b=[this.char()];for(this.bump();!this.isEOF();){let a=this.char();if(39===a)if(39===this.peek())b.push(39),this.bump();else{this.bump();break}else b.push(a);this.bump()}return String.fromCodePoint(...b)}tryParseUnquoted(a,b){if(this.isEOF())return null;let c=this.char();return 60===c||123===c||35===c&&("plural"===b||"selectordinal"===b)||125===c&&a>0?null:(this.bump(),String.fromCodePoint(c))}parseArgument(a,b){let c=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,H(c,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,H(c,this.clonePosition()));let d=this.parseIdentifierIfPossible().value;if(!d)return this.error(3,H(c,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,H(c,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:d,location:H(c,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,H(c,this.clonePosition()));return this.parseArgumentOptions(a,b,d,c);default:return this.error(3,H(c,this.clonePosition()))}}parseIdentifierIfPossible(){var a;let b=this.clonePosition(),c=this.offset(),d=(a=this.message,O.lastIndex=c,O.exec(a)[1]??""),e=c+d.length;return this.bumpTo(e),{value:d,location:H(b,this.clonePosition())}}parseArgumentOptions(a,b,c,d){let e=this.clonePosition(),f=this.parseIdentifierIfPossible().value,g=this.clonePosition();switch(f){case"":return this.error(4,H(e,g));case"number":case"date":case"time":{this.bumpSpace();let a=null;if(this.bumpIf(",")){this.bumpSpace();let b=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;let d=N(c.val);if(0===d.length)return this.error(6,H(this.clonePosition(),this.clonePosition()));a={style:d,styleLocation:H(b,this.clonePosition())}}let b=this.tryParseArgumentClose(d);if(b.err)return b;let e=H(d,this.clonePosition());if(a&&a.style.startsWith("::")){let b=M(a.style.slice(2));if("number"===f){let d=this.parseNumberSkeletonFromString(b,a.styleLocation);if(d.err)return d;return{val:{type:2,value:c,location:e,style:d.val},err:null}}{let d;if(0===b.length)return this.error(10,e);let g=b;return this.locale&&(g=function(a,b){let c="";for(let d=0;d<a.length;d++){let e=a.charAt(d);if("j"===e){let f=0;for(;d+1<a.length&&a.charAt(d+1)===e;)f++,d++;let g=1+(1&f),h=f<2?1:3+(f>>1),i=function(a){let b,c=a.hourCycle;if(void 0===c&&(c=a.getHourCycles?.()[0]??a.hourCycles?.[0]),c)switch(c){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let d=a.language;return"root"!==d&&(b=a.maximize().region),(E[`${d}-${b}`]||E[b||""]||E[d||""]||E[`${d}-001`]||E["001"])[0].charAt(0)}(b);for(("H"==i||"k"==i)&&(h=0);h-- >0;)c+="a";for(;g-- >0;)c=i+c}else"J"===e?c+="H":c+=e}return c}(b,this.locale)),{val:{type:"date"===f?3:4,value:c,location:e,style:{type:1,pattern:g,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?(d={},g.replace(r,a=>{let b=a.length;switch(a[0]){case"G":d.era=4===b?"long":5===b?"narrow":"short";break;case"y":d.year=2===b?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":d.month=["numeric","2-digit","short","long","narrow"][b-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":d.day=["numeric","2-digit"][b-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":d.weekday=4===b?"long":5===b?"narrow":"short";break;case"e":if(b<4)throw RangeError("`e..eee` (weekday) patterns are not supported");d.weekday=["short","long","narrow","short"][b-3];break;case"c":if(b<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");d.weekday=["short","long","narrow","short"][b-3];break;case"a":d.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":d.hourCycle="h12",d.hour=["numeric","2-digit"][b-1];break;case"H":d.hourCycle="h23",d.hour=["numeric","2-digit"][b-1];break;case"K":d.hourCycle="h11",d.hour=["numeric","2-digit"][b-1];break;case"k":d.hourCycle="h24",d.hour=["numeric","2-digit"][b-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":d.minute=["numeric","2-digit"][b-1];break;case"s":d.second=["numeric","2-digit"][b-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":d.timeZoneName=b<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),d):{}}},err:null}}}return{val:{type:"number"===f?2:"date"===f?3:4,value:c,location:e,style:a?.style??null},err:null}}case"plural":case"selectordinal":case"select":{let e=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,H(e,{...e}));this.bumpSpace();let g=this.parseIdentifierIfPossible(),h=0;if("select"!==f&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(13,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();let a=this.tryParseDecimalInteger(13,14);if(a.err)return a;this.bumpSpace(),g=this.parseIdentifierIfPossible(),h=a.val}let i=this.tryParsePluralOrSelectOptions(a,f,b,g);if(i.err)return i;let j=this.tryParseArgumentClose(d);if(j.err)return j;let k=H(d,this.clonePosition());if("select"===f)return{val:{type:5,value:c,options:L(i.val),location:k},err:null};return{val:{type:6,value:c,options:L(i.val),offset:h,pluralType:"plural"===f?"cardinal":"ordinal",location:k},err:null}}default:return this.error(5,H(e,g))}}tryParseArgumentClose(a){return this.isEOF()||125!==this.char()?this.error(1,H(a,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let a=0,b=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,H(a,this.clonePosition()));this.bump();break}case 123:a+=1,this.bump();break;case 125:if(!(a>0))return{val:this.message.slice(b.offset,this.offset()),err:null};a-=1;break;default:this.bump()}return{val:this.message.slice(b.offset,this.offset()),err:null}}parseNumberSkeletonFromString(a,b){let c=[];try{c=function(a){if(0===a.length)throw Error("Number skeleton cannot be empty");let b=a.split(s).filter(a=>a.length>0),c=[];for(let a of b){let b=a.split("/");if(0===b.length)throw Error("Invalid number skeleton");let[d,...e]=b;for(let a of e)if(0===a.length)throw Error("Invalid number skeleton");c.push({stem:d,options:e})}return c}(a)}catch{return this.error(7,b)}return{val:{type:0,tokens:c,location:b,parsedOptions:this.shouldParseSkeletons?function(a){let b={};for(let c of a){switch(c.stem){case"percent":case"%":b.style="percent";continue;case"%x100":b.style="percent",b.scale=100;continue;case"currency":b.style="currency",b.currency=c.options[0];continue;case"group-off":case",_":b.useGrouping=!1;continue;case"precision-integer":case".":b.maximumFractionDigits=0;continue;case"measure-unit":case"unit":b.style="unit",b.unit=c.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":b.notation="compact",b.compactDisplay="short";continue;case"compact-long":case"KK":b.notation="compact",b.compactDisplay="long";continue;case"scientific":b={...b,notation:"scientific",...c.options.reduce((a,b)=>({...a,...z(b)}),{})};continue;case"engineering":b={...b,notation:"engineering",...c.options.reduce((a,b)=>({...a,...z(b)}),{})};continue;case"notation-simple":b.notation="standard";continue;case"unit-width-narrow":b.currencyDisplay="narrowSymbol",b.unitDisplay="narrow";continue;case"unit-width-short":b.currencyDisplay="code",b.unitDisplay="short";continue;case"unit-width-full-name":b.currencyDisplay="name",b.unitDisplay="long";continue;case"unit-width-iso-code":b.currencyDisplay="symbol";continue;case"scale":b.scale=parseFloat(c.options[0]);continue;case"rounding-mode-floor":b.roundingMode="floor";continue;case"rounding-mode-ceiling":b.roundingMode="ceil";continue;case"rounding-mode-down":b.roundingMode="trunc";continue;case"rounding-mode-up":b.roundingMode="expand";continue;case"rounding-mode-half-even":b.roundingMode="halfEven";continue;case"rounding-mode-half-down":b.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":b.roundingMode="halfExpand";continue;case"integer-width":if(c.options.length>1)throw RangeError("integer-width stems only accept a single optional option");c.options[0].replace(v,function(a,c,d,e,f,g){if(c)b.minimumIntegerDigits=d.length;else if(e&&f)throw Error("We currently do not support maximum integer digits");else if(g)throw Error("We currently do not support exact integer digits");return""});continue}if(w.test(c.stem)){b.minimumIntegerDigits=c.stem.length;continue}if(t.test(c.stem)){if(c.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");c.stem.replace(t,function(a,c,d,e,f,g){return"*"===d?b.minimumFractionDigits=c.length:e&&"#"===e[0]?b.maximumFractionDigits=e.length:f&&g?(b.minimumFractionDigits=f.length,b.maximumFractionDigits=f.length+g.length):(b.minimumFractionDigits=c.length,b.maximumFractionDigits=c.length),""});let a=c.options[0];"w"===a?b={...b,trailingZeroDisplay:"stripIfInteger"}:a&&(b={...b,...x(a)});continue}if(u.test(c.stem)){b={...b,...x(c.stem)};continue}let a=y(c.stem);a&&(b={...b,...a});let d=function(a){let b;if("E"===a[0]&&"E"===a[1]?(b={notation:"engineering"},a=a.slice(2)):"E"===a[0]&&(b={notation:"scientific"},a=a.slice(1)),b){let c=a.slice(0,2);if("+!"===c?(b.signDisplay="always",a=a.slice(2)):"+?"===c&&(b.signDisplay="exceptZero",a=a.slice(2)),!w.test(a))throw Error("Malformed concise eng/scientific notation");b.minimumIntegerDigits=a.length}return b}(c.stem);d&&(b={...b,...d})}return b}(c):{}},err:null}}tryParsePluralOrSelectOptions(a,b,c,d){let e=!1,f=[],g=new Set,{value:h,location:i}=d;for(;;){if(0===h.length){let a=this.clonePosition();if("select"!==b&&this.bumpIf("=")){let b=this.tryParseDecimalInteger(16,19);if(b.err)return b;i=H(a,this.clonePosition()),h=this.message.slice(a.offset,this.offset())}else break}if(g.has(h))return this.error("select"===b?21:20,i);"other"===h&&(e=!0),this.bumpSpace();let d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===b?17:18,H(this.clonePosition(),this.clonePosition()));let j=this.parseMessage(a+1,b,c);if(j.err)return j;let k=this.tryParseArgumentClose(d);if(k.err)return k;f.push([h,{value:j.val,location:H(d,this.clonePosition())}]),g.add(h),this.bumpSpace(),{value:h,location:i}=this.parseIdentifierIfPossible()}return 0===f.length?this.error("select"===b?15:16,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!e?this.error(22,H(this.clonePosition(),this.clonePosition())):{val:f,err:null}}tryParseDecimalInteger(a,b){let c=1,d=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(c=-1);let e=!1,f=0;for(;!this.isEOF();){let a=this.char();if(a>=48&&a<=57)e=!0,f=10*f+(a-48),this.bump();else break}let g=H(d,this.clonePosition());return e?Number.isSafeInteger(f*=c)?{val:f,err:null}:this.error(b,g):this.error(a,g)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let a=this.position.offset;if(a>=this.message.length)throw Error("out of bound");let b=this.message.codePointAt(a);if(void 0===b)throw Error(`Offset ${a} is at invalid UTF-16 code unit boundary`);return b}error(a,b){return{val:null,err:{kind:a,message:this.message,location:b}}}bump(){if(this.isEOF())return;let a=this.char();10===a?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=a<65536?1:2)}bumpIf(a){if(this.message.startsWith(a,this.offset())){for(let b=0;b<a.length;b++)this.bump();return!0}return!1}bumpUntil(a){let b=this.offset(),c=this.message.indexOf(a,b);return c>=0?(this.bumpTo(c),!0):(this.bumpTo(this.message.length),!1)}bumpTo(a){if(this.offset()>a)throw Error(`targetOffset ${a} must be greater than or equal to the current offset ${this.offset()}`);for(a=Math.min(a,this.message.length);;){let b=this.offset();if(b===a)break;if(b>a)throw Error(`targetOffset ${a} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var a;!this.isEOF()&&((a=this.char())>=9&&a<=13||32===a||133===a||a>=8206&&a<=8207||8232===a||8233===a);)this.bump()}peek(){if(this.isEOF())return null;let a=this.char(),b=this.offset();return this.message.charCodeAt(b+(a>=65536?2:1))??null}};function Q(a){return a>=97&&a<=122||a>=65&&a<=90}function R(a,b={}){let c=new P(a,b={shouldParseSkeletons:!0,requiresOtherClause:!0,...b}).parse();if(c.err){let a=SyntaxError(A[c.err.kind]);throw a.location=c.err.location,a.originalMessage=c.err.message,a}return b?.captureLocation||function a(b){b.forEach(b=>{if(delete b.location,5===b.type||6===b.type)for(let c in b.options)delete b.options[c].location,a(b.options[c].value);else 2===b.type&&B(b.style)||(3===b.type||4===b.type)&&C(b.style)?delete b.style.location:8===b.type&&a(b.children)})}(c.val),c.val}var S=class extends Error{constructor(a,b,c){super(a),this.code=b,this.originalMessage=c}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},T=class extends S{constructor(a,b,c,d){super(`Invalid values for "${a}": "${b}". Options are "${Object.keys(c).join('", "')}"`,"INVALID_VALUE",d)}},U=class extends S{constructor(a,b,c){super(`Value for "${a}" must be of type ${b}`,"INVALID_VALUE",c)}},V=class extends S{constructor(a,b){super(`The intl string context variable "${a}" was not provided to the string "${b}"`,"MISSING_VALUE",b)}};function W(a){return{create:()=>({get:b=>a[b],set(b,c){a[b]=c}})}}var X=class a{constructor(b,c=a.defaultLocale,d,f){var g;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=a=>{let b=this.formatToParts(a);if(1===b.length)return b[0].value;let c=b.reduce((a,b)=>(a.length&&0===b.type&&"string"==typeof a[a.length-1]?a[a.length-1]+=b.value:a.push(b.value),a),[]);return c.length<=1?c[0]||"":c},this.formatToParts=a=>(function a(b,c,d,e,f,g,h){if(1===b.length&&0===b[0].type)return[{type:0,value:b[0].value}];let i=[];for(let j of b){if(0===j.type){i.push({type:0,value:j.value});continue}if(7===j.type){"number"==typeof g&&i.push({type:0,value:d.getNumberFormat(c).format(g)});continue}let{value:b}=j;if(!(f&&b in f))throw new V(b,h);let k=f[b];if(1===j.type){k&&"string"!=typeof k&&"number"!=typeof k&&"bigint"!=typeof k||(k="string"==typeof k||"number"==typeof k||"bigint"==typeof k?String(k):""),i.push({type:+("string"!=typeof k),value:k});continue}if(3===j.type){let a="string"==typeof j.style?e.date[j.style]:C(j.style)?j.style.parsedOptions:void 0;i.push({type:0,value:d.getDateTimeFormat(c,a).format(k)});continue}if(4===j.type){let a="string"==typeof j.style?e.time[j.style]:C(j.style)?j.style.parsedOptions:e.time.medium;i.push({type:0,value:d.getDateTimeFormat(c,a).format(k)});continue}if(2===j.type){let a="string"==typeof j.style?e.number[j.style]:B(j.style)?j.style.parsedOptions:void 0;if(a&&a.scale){let b=a.scale||1;if("bigint"==typeof k){if(!Number.isInteger(b))throw TypeError(`Cannot apply fractional scale ${b} to bigint value. Scale must be an integer when formatting bigint.`);k*=BigInt(b)}else k*=b}i.push({type:0,value:d.getNumberFormat(c,a).format(k)});continue}if(8===j.type){let{children:b,value:k}=j,l=f[k];if("function"!=typeof l)throw new U(k,"function",h);let m=l(a(b,c,d,e,f,g).map(a=>a.value));Array.isArray(m)||(m=[m]),i.push(...m.map(a=>({type:+("string"!=typeof a),value:a})))}if(5===j.type){let b=k,g=(Object.prototype.hasOwnProperty.call(j.options,b)?j.options[b]:void 0)||j.options.other;if(!g)throw new T(j.value,k,Object.keys(j.options),h);i.push(...a(g.value,c,d,e,f));continue}if(6===j.type){let b=`=${k}`,g=Object.prototype.hasOwnProperty.call(j.options,b)?j.options[b]:void 0;if(!g){if(!Intl.PluralRules)throw new S(`Intl.PluralRules is not available in this environment.
|
|
2
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
+
`,"MISSING_INTL_API",h);let a="bigint"==typeof k?Number(k):k,b=d.getPluralRules(c,{type:j.pluralType}).select(a-(j.offset||0));g=(Object.prototype.hasOwnProperty.call(j.options,b)?j.options[b]:void 0)||j.options.other}if(!g)throw new T(j.value,k,Object.keys(j.options),h);let l="bigint"==typeof k?Number(k):k;i.push(...a(g.value,c,d,e,f,l-(j.offset||0)));continue}}return i.length<2?i:i.reduce((a,b)=>{let c=a[a.length-1];return c&&0===c.type&&0===b.type?c.value+=b.value:a.push(b),a},[])})(this.ast,this.locales,this.formatters,this.formats,a,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=c,this.resolvedLocale=a.resolveLocale(c),"string"==typeof b){if(this.message=b,!a.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...c}=f||{};this.ast=a.__parse(b,{...c,locale:this.resolvedLocale})}else this.ast=b;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(g=a.formats,d?Object.keys(g).reduce((a,b)=>{var c,e;return a[b]=(c=g[b],(e=d[b])?{...c,...e,...Object.keys(c).reduce((a,b)=>(a[b]={...c[b],...e[b]},a),{})}:c),a},{...g}):g),this.formatters=f&&f.formatters||function(a={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:e((...a)=>new Intl.NumberFormat(...a),{cache:W(a.number),strategy:k.variadic}),getDateTimeFormat:e((...a)=>new Intl.DateTimeFormat(...a),{cache:W(a.dateTime),strategy:k.variadic}),getPluralRules:e((...a)=>new Intl.PluralRules(...a),{cache:W(a.pluralRules),strategy:k.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return a.memoizedDefaultLocale||(a.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),a.memoizedDefaultLocale}static{this.resolveLocale=a=>{if(void 0===Intl.Locale)return;let b=Intl.NumberFormat.supportedLocalesOf(a);return new Intl.Locale(b.length>0?b[0]:"string"==typeof a?a:a[0])}}static{this.__parse=R}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};function Y(...[a,b,c,e]){let f;if(Array.isArray(b))throw new l(m.INVALID_MESSAGE,void 0);if("object"==typeof b)throw new l(m.INSUFFICIENT_PATH,void 0);if("string"==typeof b){let a=c||/'[{}<#|']/.test(b)?void 0:b;if(a)return a}let{cache:g,formats:h,formatters:i,globalFormats:j,locale:k,timeZone:n}=e;i.getMessageFormat||(i.getMessageFormat=o((...a)=>new X(a[0],a[1],a[2],{formatters:i,...a[3]}),g.message));try{let a,c,d,e;f=i.getMessageFormat(b,k,(a=X.formats.date,c=X.formats.time,d={...j?.dateTime,...h?.dateTime},e={date:{...a,...d},time:{...c,...d},number:{...j?.number,...h?.number}},n&&["date","time"].forEach(a=>{let b=e[a];for(let[a,c]of Object.entries(b))b[a]={timeZone:n,...c}}),e),{formatters:{...i,getDateTimeFormat:(a,b)=>i.getDateTimeFormat(a,{...b,timeZone:b?.timeZone??n})}})}catch(a){throw new l(m.INVALID_MESSAGE,void 0)}let p=f.format(c);return(0,d.isValidElement)(p)||Array.isArray(p)||"string"==typeof p?p:String(p)}function Z(...a){return a.filter(Boolean).join(".")}function $(a){return Z(a.namespace,a.key)}function _(a){console.error(a)}function aa(a,b,c,d){let e=Z(d,c);if(!b)throw Error(e);let f=b;return c.split(".").forEach(b=>{let c=f[b];if(null==b||null==c)throw Error(e+` (${a})`);f=c}),f}Y.raw=!0;let ab={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};var ac=a.i(87924);let ad=(0,d.createContext)(void 0);function ae(){let a=(0,d.useContext)(ad);if(!a)throw Error(void 0);return a}let af=!1;a.s(["R",0,function({children:a,formats:b,getMessageFallback:c,locale:e,messages:f,now:g,onError:h,timeZone:i}){let j=(0,d.useContext)(ad),k=(0,d.useMemo)(()=>j?.cache||n(),[e,j?.cache]),l=(0,d.useMemo)(()=>j?.formatters||q(k),[k,j?.formatters]),m=(0,d.useMemo)(()=>({...function({formats:a,getMessageFallback:b,messages:c,onError:d,...e}){return{...e,formats:a||void 0,messages:c||void 0,onError:d||_,getMessageFallback:b||$}}({locale:e,formats:void 0===b?j?.formats:b,getMessageFallback:c||j?.getMessageFallback,messages:void 0===f?j?.messages:f,now:g||j?.now,onError:h||j?.onError,timeZone:i||j?.timeZone}),formatters:l,cache:k}),[k,b,l,c,e,f,g,h,j,i]);return(0,ac.jsx)(ad.Provider,{value:m,children:a})},"B",0,function(){let{formats:a,formatters:b,locale:c,now:e,onError:f,timeZone:g}=ae();return(0,d.useMemo)(()=>(function(a){let{_cache:b=n(),_formatters:c=q(b),formats:d,locale:e,onError:f=_,timeZone:g}=a;function h(a){return a?.timeZone||(g?a={...a,timeZone:g}:f(new l(m.ENVIRONMENT_FALLBACK,void 0))),a}function i(a,b,c,d,e){let g;try{g=function(a,b,c){let d;if("string"==typeof b){if(!(d=a?.[b])){let a=new l(m.MISSING_FORMAT,void 0);throw f(a),a}}else d=b;return c&&(d={...d,...c}),d}(c,a,b)}catch{return e()}try{return d(g)}catch(a){return f(new l(m.FORMATTING_ERROR,a.message)),e()}}function j(a,b,f){return i(b,f,d?.dateTime,b=>(b=h(b),c.getDateTimeFormat(e,b).format(a)),()=>String(a))}function k(){return a.now?a.now:(f(new l(m.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:j,number:function(a,b,f){return i(b,f,d?.number,b=>c.getNumberFormat(e,b).format(a),()=>String(a))},relativeTime:function(a,b){try{var d;let f,g,h,i={};b instanceof Date||"number"==typeof b?f=new Date(b):b&&(f=null!=b.now?new Date(b.now):k(),g=b.unit,i.style=b.style,i.numberingSystem=b.numberingSystem),f||(f=k());let j=(new Date(a).getTime()-f.getTime())/1e3;g||(g=(h=Math.abs(j))<60?"second":h<3600?"minute":h<86400?"hour":h<604800?"day":h<2628e3?"week":h<31536e3?"month":"year"),i.numeric="second"===g?"auto":"always";let l=(d=g,Math.round(j/ab[d]));return c.getRelativeTimeFormat(e,i).format(l,g)}catch(b){return f(new l(m.FORMATTING_ERROR,b.message)),String(a)}},list:function(a,b,f){let g=[],h=new Map,j=0;for(let b of a){let a;"object"==typeof b?(a=String(j),h.set(a,b)):a=String(b),g.push(a),j++}return i(b,f,d?.list,a=>{let b=c.getListFormat(e,a).formatToParts(g).map(a=>"literal"===a.type?a.value:h.get(a.value)||a.value);return h.size>0?b:b.join("")},()=>String(a))},dateTimeRange:function(a,b,f,g){return i(f,g,d?.dateTime,d=>(d=h(d),c.getDateTimeFormat(e,d).formatRange(a,b)),()=>[j(a),j(b)].join(" – "))},displayName:function(a,b,f){return i(b,f,d?.displayName,b=>c.getDisplayNames(e,b).of(a),()=>a)}}})({formats:a,locale:c,now:e,onError:f,timeZone:g,_formatters:b}),[a,b,e,c,f,g])},"X",0,function(){return ae().locale},"r",0,function(a){return function(a,b){let{cache:c,formats:e,formatters:f,getMessageFallback:g,locale:h,onError:i,timeZone:j}=ae(),k=a["!"],n="!"===b?void 0:b.slice(2);return j||af||(af=!0,i(new l(m.ENVIRONMENT_FALLBACK,void 0))),(0,d.useMemo)(()=>{var a;let b;return b=function(a,b,c){try{if(!b)throw Error(void 0);let d=c?aa(a,b,c):b;if(!d)throw Error(c);return d}catch(a){return new l(m.MISSING_MESSAGE,a.message)}}((a={cache:c,formatters:f,getMessageFallback:g,messages:k,namespace:n,onError:i,formats:e,locale:h,timeZone:j}).locale,a.messages,a.namespace),function({cache:a,formats:b,formatters:c,getMessageFallback:e=$,locale:f,messagesOrError:g,namespace:h,onError:i,timeZone:j}){let k=g instanceof l;function n(a,b,c,d){let f=new l(b,c);return i(f),d??e({error:f,key:a,namespace:h})}function o(o,p,q,r){let s;if(k){if(!r)return i(g),e({error:g,key:o,namespace:h});s=r}else try{s=aa(f,g,o,h)}catch(a){if(!r)return n(o,m.MISSING_MESSAGE,a.message,r);s=r}try{let e,g=Z(h,o);return Y(g,s,p?(e={},Object.keys(p).forEach(a=>{let b,c=0,f=p[a];b="function"==typeof f?b=>{let e=f(b);return(0,d.isValidElement)(e)?(0,d.cloneElement)(e,{key:a+c++}):e}:f,e[a]=b}),e):p,{cache:a,formatters:c,globalFormats:b,formats:q,locale:f,timeZone:j})}catch(c){let a,b;return c instanceof l?(a=c.code,b=c.originalMessage):(a=m.FORMATTING_ERROR,b=c.message),n(o,a,b,r)}}function p(a,b,c,d){let e=o(a,b,c,d);return"string"!=typeof e?n(a,m.INVALID_MESSAGE,void 0):e}return p.rich=o,p.markup=(a,b,c,d)=>o(a,b,c,d),p.raw=a=>{if(k)return i(g),e({error:g,key:a,namespace:h});try{return aa(f,g,a,h)}catch(b){return n(a,m.MISSING_MESSAGE,b.message)}},p.has=a=>{if(k)return!1;try{return aa(f,g,a,h),!0}catch{return!1}},p}({...a,messagesOrError:b})},[c,f,g,k,n,i,e,h,j])}({"!":ae().messages},a?`!.${a}`:"!")}],32886)}];
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=node_modules_use-intl_dist_esm_production_react_1n1b_a2rq9puf.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[48492,a=>{"use strict";var b=a.i(7997),c=a.i(43405),d=a.i(32776),e=a.i(717),f=a.i(41380);let g=async()=>{let a=await (0,d.f)("InstallPage.domain");return(0,b.jsx)("a",{href:`${f.c}/install?step=domain`,className:"inline-block text-xs font-medium text-slate-200 underline hover:text-white",children:a("change")})};var h=a.i(19974),i=a.i(58382),j=a.i(25008),k=a.i(25004),l=a.i(46863),m=a.i(56049),n=a.i(4707),o=a.i(32439),p=a.i(38522);let q=async({error:a})=>{let c=await (0,d.f)("SettingsPage.cloudflare"),e=await (0,d.f)("Domains"),f=await (0,n.x)()==="connected"?await (0,p.s)():null,g=await (0,n.x)();return"connected"!==g?(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsx)(k.f,{error:a}),"lost"===g&&(0,b.jsx)("p",{className:"text-sm text-amber-400",children:c("lost")}),(0,b.jsxs)("div",{className:"space-y-1 text-sm text-slate-400",children:[(0,b.jsx)("p",{children:c("description")}),(0,b.jsx)("p",{children:c("access")}),(0,b.jsx)("p",{children:c("localhost")})]}),(0,b.jsx)(l.default,{action:h.r,isLost:"lost"===g})]}):f&&f.length>0?(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsx)("p",{className:"text-sm text-slate-400",children:c("tunnel.missing")}),(0,b.jsx)(m.default,{action:h.k,accounts:(0,o.getAccounts)(f)})]}):(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsx)("p",{className:"text-sm text-amber-400",children:c(f?"noZones":"zonesFailed")}),(0,b.jsx)(j.default,{action:i.f,label:e("retry"),pendingLabel:e("retrying")}),(0,b.jsx)(l.default,{action:h.r,isLost:!0})]})};var r=a.i(90184),s=a.i(74897),t=a.i(3015),u=a.i(41378),v=a.i(75306);let w=async({hostname:a,problem:{reason:c,details:e}})=>{let[f,g]=await Promise.all([(0,d.f)("InstallPage.domain"),(0,d.f)("Domains")]);return(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("p",{className:"text-xs break-words text-amber-400",children:f(`problems.${c}`,{hostname:a,details:e})}),(0,b.jsx)("p",{className:"text-xs text-slate-500",children:f("checking")}),(0,b.jsx)(j.default,{action:i.f,label:g("retry"),pendingLabel:g("retrying")}),(0,b.jsx)(v.default,{})]})};var x=a.i(21684);let y=async({hostname:a})=>{let c=await (0,p.K)();if("ready"===c.state&&c.zones.length>0)return(0,b.jsx)(u.default,{action:r.b,zones:c.zones,currentHostname:a},a);let e=await (0,d.f)("Domains");return(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsx)("p",{className:"text-sm text-amber-400",children:e(`zones.${c.state}`)}),(0,b.jsx)(j.default,{action:i.f,label:e("retry"),pendingLabel:e("retrying")}),(0,b.jsx)(l.default,{action:h.r,isLost:!0})]})},z=async({progress:a,isLocal:c})=>{let e=await (0,d.f)("InstallPage.domain");return(0,b.jsxs)("div",{className:"space-y-6",children:[(0,b.jsx)("p",{className:"text-sm text-slate-400",children:e("description")}),"domain"===a.step&&null!==a.hostname&&(0,b.jsxs)("div",{className:"space-y-2 rounded-lg border border-slate-800 bg-slate-950/50 p-4",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("span",{className:"min-w-0 font-mono text-sm break-all text-slate-300",children:a.hostname}),"active"!==a.status.state&&(0,b.jsx)(t.f,{state:a.status.state})]}),a.problem?(0,b.jsx)(w,{hostname:a.hostname,problem:a.problem}):(0,b.jsx)(s.f,{hostname:a.hostname,status:a.status})]}),c?(0,b.jsx)(y,{hostname:a.hostname}):(0,b.jsx)(g,{}),"github"===a.step&&(0,b.jsx)(x.L,{href:"/install",className:"inline-block text-sm font-medium text-slate-200 underline hover:text-white",children:e("keep",{hostname:a.hostname})})]})};var A=a.i(96151),B=a.i(54324);let C=async({origin:a})=>{let c=await (0,d.f)("InstallPage");return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"mb-6 space-y-2 text-sm text-slate-400",children:[(0,b.jsx)("p",{children:c("description")}),(0,b.jsx)("p",{children:c("github.origin",{origin:a})}),(0,b.jsx)(g,{})]}),(0,b.jsx)(A.default,{publicOrigin:a,localOrigin:f.c}),(0,b.jsxs)("div",{className:"relative my-6",children:[(0,b.jsx)("div",{className:"absolute inset-0 flex items-center",children:(0,b.jsx)("div",{className:"w-full border-t border-slate-800"})}),(0,b.jsx)("div",{className:"relative flex justify-center text-xs uppercase",children:(0,b.jsx)("span",{className:"bg-slate-900 px-2 font-medium text-slate-500",children:c("orManual")})})]}),(0,b.jsx)(B.default,{publicOrigin:a})]})};var D=a.i(45946),E=a.i(86164);let F=["cloudflare","domain","github","login"],G=async({current:a})=>{let c=await (0,d.f)("InstallPage.steps"),e=F.indexOf(a);return(0,b.jsx)("ol",{className:"mb-6 flex flex-wrap justify-center gap-x-4 gap-y-1 text-xs",children:F.map((a,d)=>(0,b.jsx)("li",{"aria-current":d===e?"step":void 0,className:(0,E.f)("text-slate-500",d<e&&"text-emerald-400",d===e&&"font-semibold text-slate-100"),children:c("item",{number:d+1,name:c(a)})},a))})};var H=a.i(35330),I=a.i(55905),J=a.i(74315),K=a.i(8490);async function L(){let a=await (0,d.f)("InstallPage.linkRequired");return(0,b.jsxs)(H.f,{className:"max-w-md text-center",children:[(0,b.jsx)("h1",{className:"text-2xl font-bold tracking-tight text-slate-100",children:a("title")}),(0,b.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-slate-400",children:a.rich("description",{command:a=>(0,b.jsx)("code",{className:"font-mono text-slate-200",children:a})})})]})}async function M({searchParams:a}){let[c,d,{step:e,cloudflare:h}]=await Promise.all([(0,K.f)(),(0,I.S)(),a]);if("cloudflare"===c.step)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(G,{current:"cloudflare"}),(0,b.jsx)(q,{error:h})]});let i=(0,I.T)(d);if("domain"===c.step||i&&"domain"===e)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(G,{current:"domain"}),(0,b.jsx)(z,{progress:c,isLocal:i})]});let j=`https://${c.hostname}`,k=(0,f.Q)(j);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(G,{current:"github"}),d===j||null===k?(0,b.jsx)(C,{origin:j}):(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsx)(D.default,{hostname:c.hostname,url:k}),(0,b.jsx)(g,{})]})]})}async function N({searchParams:a}){if(await (0,c.connection)(),!await (0,J.f)())return(0,b.jsx)(L,{});let f=await (0,d.f)("InstallPage");return(0,b.jsxs)(H.f,{className:"max-w-lg",children:[(0,b.jsx)("h1",{className:"mb-4 text-center text-2xl font-bold tracking-tight text-slate-100",children:f("title")}),(0,b.jsx)(e.Suspense,{fallback:(0,b.jsx)("p",{className:"text-center text-sm text-slate-400",children:f("loading")}),children:(0,b.jsx)(M,{searchParams:a})})]})}a.s(["default",0,function({searchParams:a}){return(0,b.jsx)(e.Suspense,{fallback:(0,b.jsx)(H.f,{className:"h-64 max-w-lg animate-pulse"}),children:(0,b.jsx)(N,{searchParams:a})})}],48492)},51085,function(a){a.n(a.i(48492))},74450,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/ManifestForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/ManifestForm.tsx","default");a.s(["default",0,b])},96151,a=>{"use strict";var b=a.i(74450);a.n(b)},48543,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/ManualInstallForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/ManualInstallForm.tsx","default");a.s(["default",0,b])},54324,a=>{"use strict";var b=a.i(48543);a.n(b)},12027,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/setup/MoveToDomain.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/setup/MoveToDomain.tsx","default");a.s(["default",0,b])},45946,a=>{"use strict";var b=a.i(12027);a.n(b)},61780,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/setup/SetupPoller.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/setup/SetupPoller.tsx","default");a.s(["default",0,b])},75306,a=>{"use strict";var b=a.i(61780);a.n(b)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_00htxlrowbzez._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[82247,a=>{"use strict";var b=a.i(7997),c=a.i(32776),d=a.i(717),e=a.i(87889),f=a.i(74583),g=a.i(43405),h=a.i(19974),i=a.i(25004),j=a.i(56049),k=a.i(32439),l=a.i(21684);let m=async({zones:a})=>{let[d,e]=await Promise.all([(0,k.getTunnelInfo)(),(0,c.f)("SettingsPage.cloudflare.tunnel")]),f=(0,k.getAccounts)(a??[]);if(!d)return 0===f.length?null:(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:e("title")}),(0,b.jsx)("p",{className:"mt-1 text-xs text-slate-400",children:e("missing")})]}),(0,b.jsx)(j.default,{action:h.k,accounts:f})]});let g=f.find(({id:a})=>a===d.accountId);return(0,b.jsxs)("div",{children:[(0,b.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:e("title")}),(0,b.jsx)("p",{className:"mt-1 text-xs text-slate-400",children:e("running",{account:g?.name??d.accountId})}),(0,b.jsx)(l.L,{href:{pathname:"/services/[id]",params:{id:d.serviceId}},className:"mt-2 inline-block text-xs font-medium text-slate-200 underline hover:text-white",children:e("open")})]})},n=async({zones:a})=>{let d=await (0,c.f)("SettingsPage.cloudflare");return a?0===a.length?(0,b.jsx)("p",{className:"text-sm text-slate-500",children:d("noZones")}):(0,b.jsxs)("div",{children:[(0,b.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:d("zones")}),(0,b.jsx)("ul",{className:"mt-2 divide-y divide-slate-800/80",children:a.map(({id:a,name:c,accountName:d})=>(0,b.jsxs)("li",{className:"flex flex-wrap items-center gap-x-3 py-2",children:[(0,b.jsx)("span",{className:"min-w-0 font-mono text-sm break-all text-slate-300",children:c}),(0,b.jsx)("span",{className:"ml-auto text-xs text-slate-500",children:d})]},a))})]}):(0,b.jsx)("p",{className:"text-sm text-amber-400",children:d("zonesFailed")})};var o=a.i(46863),p=a.i(40504),q=a.i(66417),r=a.i(25008),s=a.i(78481);let t=async()=>{let a=await (0,s.W)();if(0===a.length)return null;let[d,e,f]=await Promise.all([(0,s.L)(a),(0,c.f)("SettingsPage.cloudflare.leftovers"),(0,c.f)("Domains")]);return(0,b.jsxs)("div",{className:"space-y-3",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:e("title")}),(0,b.jsx)("p",{className:"mt-1 text-xs text-slate-400",children:e("description")})]}),(0,b.jsx)("ul",{className:"divide-y divide-slate-800/80",children:a.map((a,c)=>{let{failure:e,details:g}=d[c];return(0,b.jsxs)("li",{className:"space-y-1 py-2",children:[(0,b.jsx)("p",{className:"font-mono text-sm break-all text-slate-300",children:a}),e&&(0,b.jsx)("p",{className:"text-xs break-words text-slate-400",children:f(`failures.${e}`,{hostname:a,details:g??""})})]},a)})}),(0,b.jsx)(r.default,{action:q.r,label:f("retry"),pendingLabel:f("retrying")})]})};var u=a.i(35330),v=a.i(4707),w=a.i(38522);let x=async({searchParams:a})=>{await (0,g.connection)();let[{cloudflare:d},e]=await Promise.all([a,(0,c.f)("SettingsPage.cloudflare")]),f=await (0,v.x)()==="connected"?await (0,w.s)():null,j=await (0,v.x)();return(0,b.jsxs)(u.f,{className:"flex max-w-2xl flex-col gap-6 p-6",children:[(0,b.jsxs)("div",{className:"flex items-start gap-3",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-base font-semibold text-slate-100",children:e("title")}),(0,b.jsx)("p",{className:"mt-1 text-xs text-slate-400",children:e("description")})]}),"connected"===j&&(0,b.jsx)("span",{className:"ml-auto shrink-0 rounded border border-emerald-500/20 bg-emerald-500/10 px-1.5 py-0.5 text-xs text-emerald-400",children:e("connected")})]}),"connected"!==j&&(0,b.jsx)(i.f,{error:d}),"lost"===j&&(0,b.jsx)("p",{className:"rounded-md border border-amber-500/20 bg-amber-500/10 px-4 py-3 text-sm text-amber-400",children:e("lost")}),"connected"===j?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(n,{zones:f}),(0,b.jsx)(m,{zones:f})]}):(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"space-y-1 text-xs text-slate-400",children:[(0,b.jsx)("p",{children:e("access")}),(0,b.jsx)("p",{children:e("localhost")})]}),(0,b.jsx)(o.default,{action:h.r,isLost:"lost"===j})]}),(0,b.jsx)(t,{}),"disconnected"!==j&&(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)(p.default,{action:h.U}),(0,b.jsx)("p",{className:"text-xs text-slate-500",children:e("disconnectHelp")})]})]})};var y=a.i(90184),z=a.i(74897),A=a.i(3015),B=a.i(43884),C=a.i(41378),D=a.i(10287),E=a.i(66146);let F=async({hostname:a})=>{let[d,e,f]=await Promise.all([(0,D.K)(),(0,E.getSetting)("github_app_domain"),(0,c.f)("SettingsPage.domain.github")]);if(e===a)return null;let g=[{label:f("callback"),path:"/auth/github"},{label:f("webhook"),path:"/webhooks/github"},{label:f("setup"),path:"/services/new"}];return(0,b.jsxs)("div",{className:"rounded-lg border border-slate-800 bg-slate-950/50 p-4",children:[(0,b.jsx)("h3",{className:"text-sm font-semibold text-slate-200",children:f("title")}),(0,b.jsx)("p",{className:"mt-1 text-xs text-slate-400",children:f("description")}),(0,b.jsx)("dl",{className:"mt-3 space-y-2",children:g.map(({label:c,path:d})=>(0,b.jsxs)("div",{children:[(0,b.jsx)("dt",{className:"text-xs text-slate-500",children:c}),(0,b.jsx)("dd",{className:"font-mono text-sm break-all text-slate-300",children:`https://${a}${d}`})]},d))}),d&&(0,b.jsx)("a",{href:d.htmlUrl,target:"_blank",rel:"noreferrer",className:"mt-3 inline-block text-xs font-medium text-slate-200 underline hover:text-white",children:f("open")})]})};var G=a.i(55370),H=a.i(75553),I=a.i(21327);let J=async()=>{await (0,g.connection)();let[a,d,e]=await Promise.all([(0,I.U)(H.f),(0,w.K)(),(0,c.f)("SettingsPage.domain")]),f=null===a?null:(await (0,s.L)([a]))[0];return(0,b.jsxs)(u.f,{className:"flex max-w-2xl flex-col gap-6 p-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-base font-semibold text-slate-100",children:e("title")}),(0,b.jsx)("p",{className:"mt-1 text-xs text-slate-400",children:e("description")}),(0,b.jsx)("p",{className:"mt-1 text-xs text-slate-400",children:e("warning")})]}),null!==a&&f&&(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsx)("span",{className:"min-w-0 font-mono text-sm break-all text-slate-300",children:a}),(0,b.jsx)(A.f,{state:f.state})]}),(0,b.jsx)(z.f,{hostname:a,status:f})]}),"ready"===d.state&&d.zones.length>0?(0,b.jsx)(C.default,{action:y.b,zones:d.zones,currentHostname:a},a):(0,b.jsx)(B.f,{state:d.state}),null!==a&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(F,{hostname:a}),(0,b.jsx)("div",{children:(0,b.jsx)(G.default,{action:y.J,hostname:a})})]})]})};var K=a.i(45049),L=a.i(21070),M=a.i(67327),N=a.i(22090);async function O(a){return await a.query.users.findMany({orderBy:(a,{asc:b})=>[b(a.role),b(a.createdAt),b(a.id)]})}let P=async()=>{await (0,g.connection)();let[a,d]=await Promise.all([O(H.f),(0,c.f)("SettingsPage.users")]);return(0,b.jsxs)(u.f,{className:"flex max-w-2xl flex-col gap-6 p-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-base font-semibold text-slate-100",children:d("title")}),(0,b.jsx)("p",{className:"mt-1 text-xs text-slate-400",children:d("description")})]}),(0,b.jsx)(M.default,{action:L.g}),(0,b.jsx)("ul",{className:"divide-y divide-slate-800/80",children:a.map(a=>(0,b.jsxs)("li",{className:"flex min-h-14 items-center gap-3 py-2",children:[(0,b.jsx)(K.default,{src:a.avatar,alt:"",width:32,height:32,className:"size-8 shrink-0 rounded-full bg-slate-800"}),(0,b.jsx)("span",{className:"min-w-0 truncate text-sm font-medium text-slate-100",children:`@${a.login}`}),(0,b.jsx)("div",{className:"ml-auto shrink-0",children:"admin"===a.role?(0,b.jsx)("span",{className:"rounded border border-slate-700 bg-slate-800 px-1.5 py-0.5 text-xs text-slate-300",children:d("admin")}):(0,b.jsx)(N.default,{action:L.$.bind(null,a.id),login:a.login})})]},a.id))})]})};async function Q({searchParams:a}){let g=await (0,c.f)("SettingsPage");return(0,b.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,b.jsxs)("div",{className:"border-b border-slate-800/80 pb-6",children:[(0,b.jsx)("h1",{className:"text-2xl font-bold tracking-tight text-slate-100",children:g("title")}),(0,b.jsx)("p",{className:"mt-1 text-sm text-slate-400",children:g("subtitle")})]}),(0,b.jsx)(d.Suspense,{fallback:(0,b.jsx)(f.f,{}),children:(0,b.jsx)(e.f,{adminOnly:!0,children:(0,b.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,b.jsx)(d.Suspense,{fallback:(0,b.jsx)(f.f,{}),children:(0,b.jsx)(x,{searchParams:a})}),(0,b.jsx)(d.Suspense,{fallback:(0,b.jsx)(f.f,{}),children:(0,b.jsx)(J,{})}),(0,b.jsx)(P,{})]})})})]})}a.s(["default",0,Q],82247)},43266,function(a){a.n(a.i(82247))},31723,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/settings/AddUserForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/settings/AddUserForm.tsx","default");a.s(["default",0,b])},67327,a=>{"use strict";var b=a.i(31723);a.n(b)},61452,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/settings/DisconnectCloudflareForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/settings/DisconnectCloudflareForm.tsx","default");a.s(["default",0,b])},40504,a=>{"use strict";var b=a.i(61452);a.n(b)},50029,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/settings/RemoveDashboardDomainModal.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/settings/RemoveDashboardDomainModal.tsx","default");a.s(["default",0,b])},55370,a=>{"use strict";var b=a.i(50029);a.n(b)},14868,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/settings/RemoveUserForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/settings/RemoveUserForm.tsx","default");a.s(["default",0,b])},22090,a=>{"use strict";var b=a.i(14868);a.n(b)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_0204en52_8p3i._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[66417,a=>{"use strict";var b=a.i(37936),c=a.i(71466),d=a.i(18558),e=a.i(39791),f=a.i(61482),g=a.i(78481),h=a.i(32157),i=a.i(98449),j=a.i(10454),k=a.i(75553),l=a.i(90709),m=a.i(33870),n=a.i(87705),o=a.i(20887),p=a.i(32389),q=a.i(13095);async function r(a){try{await (0,h.d)(a),await (0,j.Y)()}catch(b){console.error(`Failed to revert the domain change of service ${a}:`,b)}await (0,g.i)()}let s=(0,c.E)({middlewares:[o.f],schema:e.f.object({subdomain:f.f.string().transform(i.Q),zoneId:f.f.string(),port:f.f.string().transform(Number).refine(i.V,"invalid_port")}),action:({subdomain:a,zoneId:b,port:e})=>async f=>{let o=await (0,n.f)(k.f,f);if(!o||"system"===o.type)return(0,c.W)("error","add_failed");let p=await (0,g.K)(b);if(!p)return(0,c.W)("error","zone_unavailable");let q=(0,i.X)(a,p.name);if(!(0,i.E)(q))return(0,c.W)("error","invalid_hostname");if(!(0,l.f)(k.f,{hostname:q,serviceId:f,port:e}))return(0,c.W)("error","hostname_taken");try{await (0,h.d)(f)}catch(a){return console.error(`Failed to connect service ${f} to the reverse proxy:`,a),await (0,m.f)(k.f,f,q),await r(f),(0,c.W)("error","connect_failed")}try{await (0,j.Y)()}catch(a){return console.error(`Failed to add ${q} to the reverse proxy:`,a),await (0,m.f)(k.f,f,q),await r(f),(0,c.W)("error","reload_failed")}return await (0,g.i)(),(0,d.updateTag)(`getSingleService(${f})`),{}}}),t=(0,c.E)({middlewares:[o.f],schema:e.f.object({}),action:()=>async(a,b)=>{let e=await (0,m.f)(k.f,a,b);if(!e)return(0,c.W)("error","remove_failed");await (0,g.i)();try{await (0,j.Y)()}catch(d){return console.error(`Failed to remove ${b} from the reverse proxy:`,d),(0,l.f)(k.f,e),await r(a),(0,c.W)("error","reload_failed")}try{await (0,h.d)(a)}catch(b){console.error(`Failed to disconnect service ${a} from the reverse proxy:`,b)}return(0,d.updateTag)(`getSingleService(${a})`),{}}}),u=(0,c.E)({middlewares:[p.f],schema:e.f.object({}),action:()=>async()=>(await (0,g.i)({verify:!0}),(0,d.refresh)(),{})}),v=(0,c.E)({middlewares:[p.f],schema:e.f.object({}),action:()=>async(a,b)=>(await (0,g.i)({takeover:{hostname:a,records:b}}),(0,d.refresh)(),{})});(0,q.ensureServerEntryExports)([s,t,u,v]),(0,b.registerServerReference)(s,"7f837063d696985bec8ab543208a93131b84d2e7d6",null),(0,b.registerServerReference)(t,"7f0154cd3fead3322a36f54af0a970038b6533c363",null),(0,b.registerServerReference)(u,"7f54def86a9a9f07a79efa4c173f89a7665a08eca1",null),(0,b.registerServerReference)(v,"7f73ff092065d8a6329ee10fb496776caec930f8e0",null),a.s(["A",0,s,"$",0,t,"r",0,u,"Q",0,v])},32389,a=>{"use strict";var b=a.i(40421);async function c(){await (0,b.s)()}a.s(["f",0,c])},90709,33870,a=>{"use strict";var b=a.i(93321),c=a.i(13574),d=a.i(65661),e=a.i(21327);async function f(a,d,e){let[f]=await a.delete(c.domains).where((0,b.b)((0,b.u)(c.domains.serviceId,d),(0,b.u)(c.domains.hostname,e))).returning();return f}a.s(["f",0,function(a,f){return a.transaction(a=>{let g=(0,b.b)((0,b.u)(d.settings.key,e.a),(0,b.u)(d.settings.value,f.hostname));return!a.select().from(d.settings).where(g).get()&&a.insert(c.domains).values(f).onConflictDoNothing().returning().all().length>0},{behavior:"immediate"})}],90709),a.s(["f",0,f],33870)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_05sh4p2uehbos._.js.map
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
module.exports=[10454,a=>{"use strict";var b=a.i(50227),c=a.i(75553),d=a.i(13765),e=a.i(21327),f=a.i(76049),g=a.i(51514),h=a.i(30959),i=a.i(32157),j=a.i(79724);let k="host.docker.internal";function l({hostname:a,host:b,port:c}){return`
|
|
2
|
+
server {
|
|
3
|
+
listen 80;
|
|
4
|
+
listen [::]:80;
|
|
5
|
+
server_name ${a};
|
|
6
|
+
|
|
7
|
+
location / {
|
|
8
|
+
set $upstream "${b}:${c}";
|
|
9
|
+
proxy_pass http://$upstream;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
`}var m=a.i(83476),n=a.i(27610);let o="nginx:alpine",p="buttler.service-id",q="nginx/conf.d",r="default.conf",s=`${k}:host-gateway`,t=(0,m.f)("nginx-queue");function u(a){return 404===a.statusCode||"no such container"===a.reason}async function v(){try{let{State:a}=await g.docker.getContainer(h.A).inspect();return a.Running&&!a.Restarting}catch(a){if(u(a))return!1;throw a}}async function w(...a){let{exitCode:b,output:c}=await (0,g.executeCommandInContainer)(h.A,["nginx",...a]);if(0!==b)throw Error(`"nginx ${a.join(" ")}" failed: ${c}`)}async function x(a){await (null===a?(0,n.M)(q,r):(0,n.v)(q,r,a))}async function y(a,b){let c=await (0,n.J)(q,r),d=await v();if(await (0,n.v)(q,r,function(a,b=null){return`# Generated by Buttler, changes will be lost
|
|
13
|
+
resolver 127.0.0.11 valid=5s ipv6=off;
|
|
14
|
+
resolver_timeout 5s;
|
|
15
|
+
server_names_hash_bucket_size 512;
|
|
16
|
+
client_max_body_size 0;
|
|
17
|
+
|
|
18
|
+
map $http_upgrade $connection_upgrade {
|
|
19
|
+
default upgrade;
|
|
20
|
+
"" close;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
proxy_http_version 1.1;
|
|
24
|
+
proxy_set_header Host $host;
|
|
25
|
+
proxy_set_header X-Forwarded-Host $host;
|
|
26
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
27
|
+
proxy_set_header X-Forwarded-Proto https;
|
|
28
|
+
proxy_set_header Upgrade $http_upgrade;
|
|
29
|
+
proxy_set_header Connection $connection_upgrade;
|
|
30
|
+
|
|
31
|
+
server {
|
|
32
|
+
listen 80 default_server;
|
|
33
|
+
listen [::]:80 default_server;
|
|
34
|
+
server_name _;
|
|
35
|
+
|
|
36
|
+
location /healthz {
|
|
37
|
+
access_log off;
|
|
38
|
+
default_type text/plain;
|
|
39
|
+
return 200 "healthy\\n";
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
location / {
|
|
43
|
+
return 404;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
${b?function({hostname:a,port:b}){return`
|
|
47
|
+
server {
|
|
48
|
+
listen 80;
|
|
49
|
+
listen [::]:80;
|
|
50
|
+
server_name ${a};
|
|
51
|
+
|
|
52
|
+
location / {
|
|
53
|
+
proxy_pass http://${k}:${b};
|
|
54
|
+
proxy_buffering off;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
`}(b):""}${a.map(l).join("")}`}(a.map(({hostname:a,serviceId:b,port:c})=>({hostname:a,host:(0,i._)(b),port:c})),null===b?null:{hostname:b,port:Number(process.env.PORT)||3e3})),d)try{await w("-t"),await w("-s","reload")}catch(a){throw await x(c),a}}function z(a=c.f){return t(async()=>{let[b,c]=await Promise.all([(0,f.f)(a),(0,e.U)(a)]);await y(b,c)})}async function A(){await (0,i.m)();try{await (0,j.O)()}catch(a){console.error("Failed to connect the reverse proxy to the tunnel:",a)}}async function B(){try{await g.docker.getImage(o).inspect()}catch{await (0,g.pullImage)(o)}}async function C(a){let e=a?.db??c.f,f=await (0,d.f)(e),i=g.docker.getContainer(h.A);try{let a=await i.inspect();if(!function({Config:a,HostConfig:b}){if(!a.Labels[p])return!1;let c=b.ExtraHosts??[],d=Object.keys(b.PortBindings??{});return!c.includes(s)||d.length>0}(a))return await A(),await z(e),a.State.Running||await i.start(),i;await B(),await i.remove({force:!0})}catch(a){if(!u(a))throw a}await B(),await z(e);let j=await g.docker.createContainer({name:h.A,Image:o,Labels:{"com.docker.compose.project":"buttler",[p]:f.id},HostConfig:{Binds:[`${b.default.dirname((0,n.Q)(q,r))}:/etc/nginx/conf.d`],ExtraHosts:[s],RestartPolicy:{Name:"always"}},Tty:!1});return await A(),await j.start(),j}a.s(["k",0,function(a,b){return t(async()=>{let[d,g]=await Promise.all([(0,f.f)(c.f),(0,e.U)(c.f)]),h=d.filter(b=>b.serviceId!==a);if(h.length===d.length)return b();await y(h,g);let i=!1;try{return i=await b()}finally{i||await y(d,g).catch(b=>{console.error(`Failed to serve the domains of service ${a} again:`,b)})}})},"x",0,C,"Y",0,z],10454)},13765,a=>{"use strict";var b=a.i(43678);async function c(a){let c=await a.query.services.findFirst({where:{type:"system",name:"Reverse Proxy Server"}});if(c)return c;let[d]=await a.insert(b.services).values({id:crypto.randomUUID(),name:"Reverse Proxy Server",type:"system",repository:"nginx",branch:"alpine"}).returning();return d}a.s(["f",0,c])},21327,76049,a=>{"use strict";let b="dashboard_domain";async function c(a){let c=await a.query.settings.findFirst({where:{key:b}});return c?.value??null}a.s(["a",0,b,"U",0,c],21327),a.s(["f",0,function(a){return a.query.domains.findMany({orderBy:{hostname:"asc"}})}],76049)}];
|
|
58
|
+
|
|
59
|
+
//# sourceMappingURL=src_0bnikiwqnj5ci._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[59211,a=>{"use strict";var b=a.i(7997),c=a.i(32776),d=a.i(72623);async function e(){let a=await (0,c.f)("AccessPage");return(0,b.jsx)(d.f,{title:a("forbidden.title"),description:a("forbidden.description"),href:"/services",linkLabel:a("forbidden.link")})}a.s(["default",0,e])},10122,function(a){a.n(a.i(59211))},72623,a=>{"use strict";var b=a.i(7997),c=a.i(21684);a.s(["f",0,({title:a,description:d,href:e,linkLabel:f})=>(0,b.jsxs)("div",{className:"flex flex-col items-center gap-2 py-16 text-center",children:[(0,b.jsx)("h1",{className:"text-xl font-semibold text-slate-100",children:a}),(0,b.jsx)("p",{className:"text-sm text-slate-400",children:d}),(0,b.jsx)(c.L,{href:e,className:"mt-4 text-sm font-medium text-slate-300 hover:text-white",children:f})]})])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_0osnajz6l9y4w._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[46169,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/domains/DomainActionForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/domains/DomainActionForm.tsx","default");a.s(["default",0,b])},25008,a=>{"use strict";var b=a.i(46169);a.n(b)},74897,3015,a=>{"use strict";var b=a.i(7997),c=a.i(32776),d=a.i(66417),e=a.i(25008);let f=async({hostname:a,status:{state:f,failure:g,details:h}})=>{if("active"===f)return null;let i=await (0,c.f)("Domains");return"taken"===g&&null!==h?(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("p",{className:"text-xs break-words text-amber-400",children:i("failures.taken",{hostname:a,details:h})}),(0,b.jsx)(e.default,{action:d.Q.bind(null,a,h),label:i("replace"),pendingLabel:i("replacing")})]}):(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("p",{className:"text-xs break-words text-slate-400",children:g?i(`failures.${g}`,{hostname:a,details:h??""}):i(`help.${f}`)}),"disconnected"!==f&&(0,b.jsx)(e.default,{action:d.r,label:i("retry"),pendingLabel:i("retrying")})]})};a.s(["f",0,f],74897);var g=a.i(86164);let h={active:"border-emerald-500/20 bg-emerald-500/10 text-emerald-400",pending:"border-sky-500/20 bg-sky-500/10 text-sky-400",failed:"border-rose-500/20 bg-rose-500/10 text-rose-400",disconnected:"border-slate-700 bg-slate-800/50 text-slate-400"},i=async({state:a})=>{let d=await (0,c.f)("Domains.states");return(0,b.jsx)("span",{className:(0,g.f)("shrink-0 rounded border px-1.5 py-0.5 text-xs",h[a]),children:d(a)})};a.s(["f",0,i],3015)},43884,a=>{"use strict";var b=a.i(7997),c=a.i(32776),d=a.i(21684);let e=async({state:a})=>{let e=await (0,c.f)("Domains");return(0,b.jsxs)("p",{className:"text-sm text-amber-400",children:[e(`zones.${a}`)," ",(0,b.jsx)(d.L,{href:"/settings",className:"font-medium underline hover:text-amber-300",children:e("zones.open")})]})};a.s(["f",0,e])},38522,a=>{"use strict";var b=a.i(717),c=a.i(78481),d=a.i(35025);let e=(0,b.cache)(async()=>{try{return await (0,d.f)()}catch(a){return console.error("Failed to load the zones of Cloudflare:",a),null}}),f=(0,b.cache)(async()=>{try{let a=await (0,c.M)();if(!a)return{state:"disconnected"};return{state:"ready",zones:a.map(({id:a,name:b})=>({id:a,name:b}))}}catch(a){return console.error("Failed to load the zones of Cloudflare:",a),{state:"unavailable"}}});a.s(["K",0,f,"s",0,e])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_0q7_3v3fnv20b._.js.map
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
module.exports=[10454,a=>{"use strict";var b=a.i(50227),c=a.i(75553),d=a.i(13765),e=a.i(21327),f=a.i(76049),g=a.i(51514),h=a.i(30959),i=a.i(32157),j=a.i(79724);let k="host.docker.internal";function l({hostname:a,host:b,port:c}){return`
|
|
2
|
+
server {
|
|
3
|
+
listen 80;
|
|
4
|
+
listen [::]:80;
|
|
5
|
+
server_name ${a};
|
|
6
|
+
|
|
7
|
+
location / {
|
|
8
|
+
set $upstream "${b}:${c}";
|
|
9
|
+
proxy_pass http://$upstream;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
`}var m=a.i(83476),n=a.i(27610);let o="nginx:alpine",p="buttler.service-id",q="nginx/conf.d",r="default.conf",s=`${k}:host-gateway`,t=(0,m.f)("nginx-queue");function u(a){return 404===a.statusCode||"no such container"===a.reason}async function v(){try{let{State:a}=await g.docker.getContainer(h.A).inspect();return a.Running&&!a.Restarting}catch(a){if(u(a))return!1;throw a}}async function w(...a){let{exitCode:b,output:c}=await (0,g.executeCommandInContainer)(h.A,["nginx",...a]);if(0!==b)throw Error(`"nginx ${a.join(" ")}" failed: ${c}`)}async function x(a){await (null===a?(0,n.M)(q,r):(0,n.v)(q,r,a))}async function y(a,b){let c=await (0,n.J)(q,r),d=await v();if(await (0,n.v)(q,r,function(a,b=null){return`# Generated by Buttler, changes will be lost
|
|
13
|
+
resolver 127.0.0.11 valid=5s ipv6=off;
|
|
14
|
+
resolver_timeout 5s;
|
|
15
|
+
server_names_hash_bucket_size 512;
|
|
16
|
+
client_max_body_size 0;
|
|
17
|
+
|
|
18
|
+
map $http_upgrade $connection_upgrade {
|
|
19
|
+
default upgrade;
|
|
20
|
+
"" close;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
proxy_http_version 1.1;
|
|
24
|
+
proxy_set_header Host $host;
|
|
25
|
+
proxy_set_header X-Forwarded-Host $host;
|
|
26
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
27
|
+
proxy_set_header X-Forwarded-Proto https;
|
|
28
|
+
proxy_set_header Upgrade $http_upgrade;
|
|
29
|
+
proxy_set_header Connection $connection_upgrade;
|
|
30
|
+
|
|
31
|
+
server {
|
|
32
|
+
listen 80 default_server;
|
|
33
|
+
listen [::]:80 default_server;
|
|
34
|
+
server_name _;
|
|
35
|
+
|
|
36
|
+
location /healthz {
|
|
37
|
+
access_log off;
|
|
38
|
+
default_type text/plain;
|
|
39
|
+
return 200 "healthy\\n";
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
location / {
|
|
43
|
+
return 404;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
${b?function({hostname:a,port:b}){return`
|
|
47
|
+
server {
|
|
48
|
+
listen 80;
|
|
49
|
+
listen [::]:80;
|
|
50
|
+
server_name ${a};
|
|
51
|
+
|
|
52
|
+
location / {
|
|
53
|
+
proxy_pass http://${k}:${b};
|
|
54
|
+
proxy_buffering off;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
`}(b):""}${a.map(l).join("")}`}(a.map(({hostname:a,serviceId:b,port:c})=>({hostname:a,host:(0,i._)(b),port:c})),null===b?null:{hostname:b,port:Number(process.env.PORT)||3e3})),d)try{await w("-t"),await w("-s","reload")}catch(a){throw await x(c),a}}function z(a=c.f){return t(async()=>{let[b,c]=await Promise.all([(0,f.f)(a),(0,e.U)(a)]);await y(b,c)})}async function A(){await (0,i.m)();try{await (0,j.O)()}catch(a){console.error("Failed to connect the reverse proxy to the tunnel:",a)}}async function B(){try{await g.docker.getImage(o).inspect()}catch{await (0,g.pullImage)(o)}}async function C(a){let e=a?.db??c.f,f=await (0,d.f)(e),i=g.docker.getContainer(h.A);try{let a=await i.inspect();if(!function({Config:a,HostConfig:b}){if(!a.Labels[p])return!1;let c=b.ExtraHosts??[],d=Object.keys(b.PortBindings??{});return!c.includes(s)||d.length>0}(a))return await A(),await z(e),a.State.Running||await i.start(),i;await B(),await i.remove({force:!0})}catch(a){if(!u(a))throw a}await B(),await z(e);let j=await g.docker.createContainer({name:h.A,Image:o,Labels:{"com.docker.compose.project":"buttler",[p]:f.id},HostConfig:{Binds:[`${b.default.dirname((0,n.Q)(q,r))}:/etc/nginx/conf.d`],ExtraHosts:[s],RestartPolicy:{Name:"always"}},Tty:!1});return await A(),await j.start(),j}a.s(["k",0,function(a,b){return t(async()=>{let[d,g]=await Promise.all([(0,f.f)(c.f),(0,e.U)(c.f)]),h=d.filter(b=>b.serviceId!==a);if(h.length===d.length)return b();await y(h,g);let i=!1;try{return i=await b()}finally{i||await y(d,g).catch(b=>{console.error(`Failed to serve the domains of service ${a} again:`,b)})}})},"x",0,C,"Y",0,z],10454)},13765,a=>{"use strict";var b=a.i(43678);async function c(a){let c=await a.query.services.findFirst({where:{type:"system",name:"Reverse Proxy Server"}});if(c)return c;let[d]=await a.insert(b.services).values({id:crypto.randomUUID(),name:"Reverse Proxy Server",type:"system",repository:"nginx",branch:"alpine"}).returning();return d}a.s(["f",0,c])},21327,76049,a=>{"use strict";let b="dashboard_domain";async function c(a){let c=await a.query.settings.findFirst({where:{key:b}});return c?.value??null}a.s(["a",0,b,"U",0,c],21327),a.s(["f",0,function(a){return a.query.domains.findMany({orderBy:{hostname:"asc"}})}],76049)}];
|
|
58
|
+
|
|
59
|
+
//# sourceMappingURL=src_0unk8-b7ur6o4._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[46169,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/domains/DomainActionForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/domains/DomainActionForm.tsx","default");a.s(["default",0,b])},25008,a=>{"use strict";var b=a.i(46169);a.n(b)},74897,3015,a=>{"use strict";var b=a.i(7997),c=a.i(32776),d=a.i(66417),e=a.i(25008);let f=async({hostname:a,status:{state:f,failure:g,details:h}})=>{if("active"===f)return null;let i=await (0,c.f)("Domains");return"taken"===g&&null!==h?(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("p",{className:"text-xs break-words text-amber-400",children:i("failures.taken",{hostname:a,details:h})}),(0,b.jsx)(e.default,{action:d.Q.bind(null,a,h),label:i("replace"),pendingLabel:i("replacing")})]}):(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("p",{className:"text-xs break-words text-slate-400",children:g?i(`failures.${g}`,{hostname:a,details:h??""}):i(`help.${f}`)}),"disconnected"!==f&&(0,b.jsx)(e.default,{action:d.r,label:i("retry"),pendingLabel:i("retrying")})]})};a.s(["f",0,f],74897);var g=a.i(86164);let h={active:"border-emerald-500/20 bg-emerald-500/10 text-emerald-400",pending:"border-sky-500/20 bg-sky-500/10 text-sky-400",failed:"border-rose-500/20 bg-rose-500/10 text-rose-400",disconnected:"border-slate-700 bg-slate-800/50 text-slate-400"},i=async({state:a})=>{let d=await (0,c.f)("Domains.states");return(0,b.jsx)("span",{className:(0,g.f)("shrink-0 rounded border px-1.5 py-0.5 text-xs",h[a]),children:d(a)})};a.s(["f",0,i],3015)},25004,a=>{"use strict";var b=a.i(7997),c=a.i(32776);let d=async({error:a})=>{if("access_denied"!==a&&"invalid_state"!==a&&"failed"!==a)return null;let d=await (0,c.f)("SettingsPage.cloudflare.errors");return(0,b.jsx)("p",{className:"rounded-md border border-rose-500/20 bg-rose-500/10 px-4 py-3 text-sm text-rose-400",children:d(a)})};a.s(["f",0,d])},76169,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/settings/ConnectCloudflareForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/settings/ConnectCloudflareForm.tsx","default");a.s(["default",0,b])},46863,a=>{"use strict";var b=a.i(76169);a.n(b)},59383,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/settings/DashboardDomainForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/settings/DashboardDomainForm.tsx","default");a.s(["default",0,b])},41378,a=>{"use strict";var b=a.i(59383);a.n(b)},86577,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/settings/SetUpTunnelForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/settings/SetUpTunnelForm.tsx","default");a.s(["default",0,b])},56049,a=>{"use strict";var b=a.i(86577);a.n(b)},38522,a=>{"use strict";var b=a.i(717),c=a.i(78481),d=a.i(35025);let e=(0,b.cache)(async()=>{try{return await (0,d.f)()}catch(a){return console.error("Failed to load the zones of Cloudflare:",a),null}}),f=(0,b.cache)(async()=>{try{let a=await (0,c.M)();if(!a)return{state:"disconnected"};return{state:"ready",zones:a.map(({id:a,name:b})=>({id:a,name:b}))}}catch(a){return console.error("Failed to load the zones of Cloudflare:",a),{state:"unavailable"}}});a.s(["K",0,f,"s",0,e])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_1f0ho9ewh9vke._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[66417,a=>{"use strict";var b=a.i(37936),c=a.i(71466),d=a.i(18558),e=a.i(39791),f=a.i(61482),g=a.i(78481),h=a.i(32157),i=a.i(98449),j=a.i(10454),k=a.i(75553),l=a.i(90709),m=a.i(33870),n=a.i(87705),o=a.i(20887),p=a.i(32389),q=a.i(13095);async function r(a){try{await (0,h.d)(a),await (0,j.Y)()}catch(b){console.error(`Failed to revert the domain change of service ${a}:`,b)}await (0,g.i)()}let s=(0,c.E)({middlewares:[o.f],schema:e.f.object({subdomain:f.f.string().transform(i.Q),zoneId:f.f.string(),port:f.f.string().transform(Number).refine(i.V,"invalid_port")}),action:({subdomain:a,zoneId:b,port:e})=>async f=>{let o=await (0,n.f)(k.f,f);if(!o||"system"===o.type)return(0,c.W)("error","add_failed");let p=await (0,g.K)(b);if(!p)return(0,c.W)("error","zone_unavailable");let q=(0,i.X)(a,p.name);if(!(0,i.E)(q))return(0,c.W)("error","invalid_hostname");if(!(0,l.f)(k.f,{hostname:q,serviceId:f,port:e}))return(0,c.W)("error","hostname_taken");try{await (0,h.d)(f)}catch(a){return console.error(`Failed to connect service ${f} to the reverse proxy:`,a),await (0,m.f)(k.f,f,q),await r(f),(0,c.W)("error","connect_failed")}try{await (0,j.Y)()}catch(a){return console.error(`Failed to add ${q} to the reverse proxy:`,a),await (0,m.f)(k.f,f,q),await r(f),(0,c.W)("error","reload_failed")}return await (0,g.i)(),(0,d.updateTag)(`getSingleService(${f})`),{}}}),t=(0,c.E)({middlewares:[o.f],schema:e.f.object({}),action:()=>async(a,b)=>{let e=await (0,m.f)(k.f,a,b);if(!e)return(0,c.W)("error","remove_failed");await (0,g.i)();try{await (0,j.Y)()}catch(d){return console.error(`Failed to remove ${b} from the reverse proxy:`,d),(0,l.f)(k.f,e),await r(a),(0,c.W)("error","reload_failed")}try{await (0,h.d)(a)}catch(b){console.error(`Failed to disconnect service ${a} from the reverse proxy:`,b)}return(0,d.updateTag)(`getSingleService(${a})`),{}}}),u=(0,c.E)({middlewares:[p.f],schema:e.f.object({}),action:()=>async()=>(await (0,g.i)({verify:!0}),(0,d.refresh)(),{})}),v=(0,c.E)({middlewares:[p.f],schema:e.f.object({}),action:()=>async(a,b)=>(await (0,g.i)({takeover:{hostname:a,records:b}}),(0,d.refresh)(),{})});(0,q.ensureServerEntryExports)([s,t,u,v]),(0,b.registerServerReference)(s,"7f837063d696985bec8ab543208a93131b84d2e7d6",null),(0,b.registerServerReference)(t,"7f0154cd3fead3322a36f54af0a970038b6533c363",null),(0,b.registerServerReference)(u,"7f54def86a9a9f07a79efa4c173f89a7665a08eca1",null),(0,b.registerServerReference)(v,"7f73ff092065d8a6329ee10fb496776caec930f8e0",null),a.s(["A",0,s,"$",0,t,"r",0,u,"Q",0,v])},32389,a=>{"use strict";var b=a.i(40421);async function c(){await (0,b.s)()}a.s(["f",0,c])},90709,33870,a=>{"use strict";var b=a.i(93321),c=a.i(13574),d=a.i(65661),e=a.i(21327);async function f(a,d,e){let[f]=await a.delete(c.domains).where((0,b.b)((0,b.u)(c.domains.serviceId,d),(0,b.u)(c.domains.hostname,e))).returning();return f}a.s(["f",0,function(a,f){return a.transaction(a=>{let g=(0,b.b)((0,b.u)(d.settings.key,e.a),(0,b.u)(d.settings.value,f.hostname));return!a.select().from(d.settings).where(g).get()&&a.insert(c.domains).values(f).onConflictDoNothing().returning().all().length>0},{behavior:"immediate"})}],90709),a.s(["f",0,f],33870)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_1iyfq6dudriyk._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[57505,a=>{"use strict";var b=a.i(7997),c=a.i(717),d=a.i(87889),e=a.i(74583),f=a.i(43405),g=a.i(97584),h=a.i(32776),i=a.i(28983),j=a.i(79110),k=a.i(66417),l=a.i(74897),m=a.i(3015),n=a.i(43884),o=a.i(69666),p=a.i(5776),q=a.i(35330),r=a.i(78481),s=a.i(38522);let t=async({service:a})=>{let[c,d,e]=await Promise.all([(0,s.K)(),(0,r.L)(a.domains.map(({hostname:a})=>a)),(0,h.f)("ServicePage.settings.domains")]);return(0,b.jsxs)(q.f,{className:"flex flex-col gap-6 p-6",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-base font-semibold text-slate-100",children:e("title")}),(0,b.jsx)("p",{className:"mt-1 text-xs text-slate-400",children:e("description")})]}),"ready"===c.state&&c.zones.length>0?(0,b.jsx)(o.default,{action:k.A.bind(null,a.id),zones:c.zones,defaultPort:a.ports.at(0)?.internal}):(0,b.jsx)(n.f,{state:c.state}),0===a.domains.length?(0,b.jsx)("p",{className:"text-sm text-slate-500",children:e("empty")}):(0,b.jsx)("ul",{className:"divide-y divide-slate-800/80",children:a.domains.map(({hostname:c,port:e},f)=>(0,b.jsxs)("li",{className:"space-y-2 py-2",children:[(0,b.jsxs)("div",{className:"flex min-h-8 items-center gap-3",children:[(0,b.jsx)("span",{className:"min-w-0 font-mono text-sm break-all text-slate-300",children:`${c} → ${e}`}),(0,b.jsx)(m.f,{state:d[f].state}),(0,b.jsx)("div",{className:"ml-auto shrink-0",children:(0,b.jsx)(p.default,{action:k.$.bind(null,a.id,c),hostname:c})})]}),(0,b.jsx)(l.f,{hostname:c,status:d[f]})]},c))})]})};var u=a.i(25882);a.i(21684);var v=a.i(73727);let w=async({params:a})=>{await (0,f.connection)();let{id:d}=await a,[k,l,m]=await Promise.all([(0,u.K)(d),(0,g.f)(),(0,h.f)("ServicePage.settings")]);if(k||(0,v.notFound)(),"system"===k.type)return(0,b.jsx)(q.f,{className:"p-6 text-sm text-slate-500",children:m("systemService")});let{status:n}=k.runtime;return(0,b.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,b.jsx)(c.Suspense,{fallback:(0,b.jsx)(e.f,{}),children:(0,b.jsx)(t,{service:k})}),(0,b.jsxs)(q.f,{className:"flex flex-col gap-4 border-rose-500/20 p-6 sm:flex-row sm:items-center sm:justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{className:"text-base font-semibold text-slate-100",children:m("delete.title")}),(0,b.jsx)("p",{className:"mt-1 text-xs text-slate-400",children:m("delete.description")})]}),(0,b.jsx)("div",{className:"shrink-0",children:(0,b.jsx)(j.default,{action:i.A.bind(null,k.id,l),name:k.name,volumes:await (0,u.S)(k),disabled:"pulling"===n||"building"===n})})]})]})};a.s(["default",0,function({params:a}){return(0,b.jsx)(c.Suspense,{fallback:(0,b.jsx)(e.f,{}),children:(0,b.jsx)(d.f,{adminOnly:!0,children:(0,b.jsx)(w,{params:a})})})}],57505)},21679,function(a){a.n(a.i(57505))},50490,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/services/AddDomainForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/services/AddDomainForm.tsx","default");a.s(["default",0,b])},69666,a=>{"use strict";var b=a.i(50490);a.n(b)},15719,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/services/DeleteServiceModal.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/services/DeleteServiceModal.tsx","default");a.s(["default",0,b])},79110,a=>{"use strict";var b=a.i(15719);a.n(b)},37223,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/services/RemoveDomainForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/services/RemoveDomainForm.tsx","default");a.s(["default",0,b])},5776,a=>{"use strict";var b=a.i(37223);a.n(b)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_1oiyj5tki7jmf._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[46169,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/domains/DomainActionForm.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/domains/DomainActionForm.tsx","default");a.s(["default",0,b])},25008,a=>{"use strict";var b=a.i(46169);a.n(b)},74897,3015,a=>{"use strict";var b=a.i(7997),c=a.i(32776),d=a.i(66417),e=a.i(25008);let f=async({hostname:a,status:{state:f,failure:g,details:h}})=>{if("active"===f)return null;let i=await (0,c.f)("Domains");return"taken"===g&&null!==h?(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("p",{className:"text-xs break-words text-amber-400",children:i("failures.taken",{hostname:a,details:h})}),(0,b.jsx)(e.default,{action:d.Q.bind(null,a,h),label:i("replace"),pendingLabel:i("replacing")})]}):(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)("p",{className:"text-xs break-words text-slate-400",children:g?i(`failures.${g}`,{hostname:a,details:h??""}):i(`help.${f}`)}),"disconnected"!==f&&(0,b.jsx)(e.default,{action:d.r,label:i("retry"),pendingLabel:i("retrying")})]})};a.s(["f",0,f],74897);var g=a.i(86164);let h={active:"border-emerald-500/20 bg-emerald-500/10 text-emerald-400",pending:"border-sky-500/20 bg-sky-500/10 text-sky-400",failed:"border-rose-500/20 bg-rose-500/10 text-rose-400",disconnected:"border-slate-700 bg-slate-800/50 text-slate-400"},i=async({state:a})=>{let d=await (0,c.f)("Domains.states");return(0,b.jsx)("span",{className:(0,g.f)("shrink-0 rounded border px-1.5 py-0.5 text-xs",h[a]),children:d(a)})};a.s(["f",0,i],3015)},43884,a=>{"use strict";var b=a.i(7997),c=a.i(32776),d=a.i(21684);let e=async({state:a})=>{let e=await (0,c.f)("Domains");return(0,b.jsxs)("p",{className:"text-sm text-amber-400",children:[e(`zones.${a}`)," ",(0,b.jsx)(d.L,{href:"/settings",className:"font-medium underline hover:text-amber-300",children:e("zones.open")})]})};a.s(["f",0,e])},74583,a=>{"use strict";var b=a.i(7997),c=a.i(35330);a.s(["f",0,()=>(0,b.jsxs)(c.f,{className:"flex animate-pulse flex-col gap-4 p-6",children:[(0,b.jsx)("div",{className:"h-5 w-40 rounded bg-slate-800"}),(0,b.jsx)("div",{className:"h-40 rounded-xl bg-slate-950/60"})]})])},35330,a=>{"use strict";var b=a.i(7997),c=a.i(86164);a.s(["f",0,({className:a,...d})=>(0,b.jsx)("div",{className:(0,c.f)("w-full rounded-2xl border border-slate-800 bg-slate-900/80 p-8 shadow-2xl backdrop-blur-md",a),...d})])},38522,a=>{"use strict";var b=a.i(717),c=a.i(78481),d=a.i(35025);let e=(0,b.cache)(async()=>{try{return await (0,d.f)()}catch(a){return console.error("Failed to load the zones of Cloudflare:",a),null}}),f=(0,b.cache)(async()=>{try{let a=await (0,c.M)();if(!a)return{state:"disconnected"};return{state:"ready",zones:a.map(({id:a,name:b})=>({id:a,name:b}))}}catch(a){return console.error("Failed to load the zones of Cloudflare:",a),{state:"unavailable"}}});a.s(["K",0,f,"s",0,e])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_1qzgwz16tevm3._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[62736,a=>{"use strict";var b=a.i(7997),c=a.i(32776),d=a.i(717),e=a.i(45049),f=a.i(40421);let g=async()=>{let[a,d]=await Promise.all([(0,f.i)(),(0,c.f)("BaseLayout")]),g=a?.profile;return g?(0,b.jsxs)("div",{className:"flex h-10 min-w-0 items-center gap-3 pl-2",title:d("signedInWithGitHub"),children:[(0,b.jsx)("span",{className:"sr-only",children:d("signedInWithGitHub")}),(0,b.jsx)(e.default,{src:g.avatar,alt:"",width:32,height:32,className:"size-8 shrink-0 rounded-full bg-slate-800"}),(0,b.jsxs)("div",{className:"min-w-0 text-sm leading-tight",children:[g.name&&(0,b.jsx)("p",{className:"truncate font-medium text-slate-100",children:g.name}),(0,b.jsx)("p",{className:g.name?"truncate text-xs text-slate-400":"truncate font-medium text-slate-100",children:`@${g.login}`})]})]}):null},h=()=>(0,b.jsxs)("div",{"aria-hidden":!0,className:"flex h-10 animate-pulse items-center gap-3 pl-2",children:[(0,b.jsx)("div",{className:"size-8 shrink-0 rounded-full bg-slate-800"}),(0,b.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,b.jsx)("div",{className:"h-3 w-24 rounded bg-slate-800"}),(0,b.jsx)("div",{className:"h-2.5 w-16 rounded bg-slate-800"})]})]});var i=a.i(82413),j=a.i(37288);let k={src:a.i(52706).default,width:800,height:800,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA70lEQVR42j1Pu2qEUBS89W6fzc8ovhAEwcLKQhBRtFFxIdX+g43fkIdYWFj5qLKNgv6BooWFCn6ANifeQHLgDMNMMTMInXe9Xl9Zln34vv/Ej/nlcrlhD53kxbbtzzzPj6ZpoG1byLLssCzrHXuIJMl7URT7uq5Q1zVUVQXLskBZljtBEHfkum7e9z1s2wZJkkAURTDPM4zjCJ7n5eiEchgGmKYJwjCEIAig6zrAmuM4OaJp+i1N012WZRBFESRJAo7jII7jHcfjkjdd179UVT14ngdBEEBRlEPTtI/fkn8zGYZ5mKb5bRjGk6Ko/5k/dFKCXEMFqaIAAAAASUVORK5CYII="};var l=a.i(21684);let m=()=>(0,b.jsxs)(l.L,{href:"/services",className:"flex items-center gap-3 rounded-lg focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-slate-500",children:[(0,b.jsx)("span",{className:"size-8 shrink-0 overflow-hidden rounded-full bg-white",children:(0,b.jsx)(e.default,{src:k,alt:"",width:64,height:64,className:"size-full scale-130"})}),(0,b.jsx)("span",{className:"text-base font-semibold tracking-tight text-slate-100",children:"Buttler"})]});var n=a.i(4583);let o=({currentUser:a,isAdmin:c})=>(0,b.jsxs)("aside",{className:"sticky top-0 hidden h-dvh w-60 shrink-0 flex-col border-r border-slate-800 bg-slate-900/50 lg:flex",children:[(0,b.jsx)("div",{className:"flex h-16 shrink-0 items-center px-5",children:(0,b.jsx)(m,{})}),(0,b.jsx)(n.default,{isAdmin:c}),(0,b.jsxs)("div",{className:"flex items-center gap-2 border-t border-slate-800 p-3",children:[a,(0,b.jsx)(j.default,{})]})]});var p=a.i(68167);async function q({children:a}){let e=await (0,c.f)("BaseLayout"),j=(0,f.i)().then(a=>a?.role==="admin"),k=(0,b.jsx)(d.Suspense,{fallback:(0,b.jsx)(h,{}),children:(0,b.jsx)(g,{})});return(0,b.jsxs)("div",{className:"flex min-h-dvh flex-col lg:flex-row",children:[(0,b.jsx)("a",{href:"#content",className:"sr-only focus:not-sr-only focus:fixed focus:top-3 focus:left-3 focus:z-50 focus:rounded-lg focus:bg-slate-100 focus:px-4 focus:py-2 focus:text-sm focus:font-semibold focus:text-slate-950",children:e("skipToContent")}),(0,b.jsx)(o,{currentUser:k,isAdmin:j}),(0,b.jsx)(i.default,{currentUser:k,isAdmin:j}),(0,b.jsx)("main",{id:"content",className:"min-w-0 flex-1 scroll-mt-14 px-4 py-6 sm:px-6 lg:px-10 lg:py-8",children:(0,b.jsx)("div",{className:"mx-auto w-full max-w-7xl",children:(0,b.jsx)(p.default,{children:a})})})]})}a.s(["default",0,q],62736)},14171,function(a){a.n(a.i(62736))},28589,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/LogoutButton.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/LogoutButton.tsx","default");a.s(["default",0,b])},37288,a=>{"use strict";var b=a.i(28589);a.n(b)},70572,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/layout/MainNav.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/layout/MainNav.tsx","default");a.s(["default",0,b])},4583,a=>{"use strict";var b=a.i(70572);a.n(b)},45347,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/layout/MobileHeader.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/layout/MobileHeader.tsx","default");a.s(["default",0,b])},82413,a=>{"use strict";var b=a.i(45347);a.n(b)},85974,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/components/ui/toast.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/ui/toast.tsx","default");a.s(["default",0,b])},68167,a=>{"use strict";var b=a.i(85974);a.n(b)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_1spp4h7q0g3hj._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[19974,90184,a=>{"use strict";var b=a.i(37936),c=a.i(71466),d=a.i(18558);a.i(70396);var e=a.i(73727),f=a.i(39791),g=a.i(61482),h=a.i(4707),i=a.i(78481),j=a.i(68279),k=a.i(32439),l=a.i(35025),m=a.i(81601),n=a.i(20887),o=a.i(32389),p=a.i(13095);let q=(0,c.E)({middlewares:[o.f],schema:f.f.object({}),action:()=>async()=>{let{url:a,state:b,verifier:c}=(0,j.q)(),d=await (0,m.f)();d.cloudflare={state:b,verifier:c,expiresAt:Date.now()+6e5},await d.save(),(0,e.redirect)(a)}}),r=(0,c.E)({middlewares:[o.f],schema:f.f.object({accountId:g.f.string()}),action:({accountId:a})=>async()=>{try{if(!(0,k.getAccounts)(await (0,l.f)()).some(({id:b})=>b===a))throw Error("The account was not chosen while connecting");await (0,k.setUpTunnel)(a)}catch(a){return console.error("Failed to set up the Cloudflare tunnel:",a),(0,c.W)("error","setup_failed")}return await (0,i.i)({verify:!0}),(0,d.updateTag)("getAllServices()"),(0,d.refresh)(),{}}}),s=(0,c.E)({middlewares:[n.f],schema:f.f.object({}),action:()=>async()=>{try{await (0,k.removeTunnel)(),await (0,h.y)()}catch(a){return console.error("Failed to disconnect Cloudflare:",a),(0,c.W)("error","disconnect_failed")}return(0,d.updateTag)("getAllServices()"),(0,d.updateTag)("getSingleService(...)"),(0,d.refresh)(),{}}});(0,p.ensureServerEntryExports)([q,r,s]),(0,b.registerServerReference)(q,"7f6054f53a80af566fbe33f7faa2b7cdbee4925291",null),(0,b.registerServerReference)(r,"7fa32817588356a7b2be2793ba4344ba7fc6b00dcf",null),(0,b.registerServerReference)(s,"7f962edac3e8958fa88cc5446c58bb2cb5b417d9f3",null),a.s(["r",0,q,"U",0,s,"k",0,r],19974);var t=a.i(98449),u=a.i(10454),v=a.i(75553),w=a.i(93321),x=a.i(65661),y=a.i(21327);async function z(a){let b=await a.delete(x.settings).where((0,w.u)(x.settings.key,y.a)).returning();return b.at(0)?.value}var A=a.i(13574);function B(a,b){return a.transaction(a=>!a.select().from(A.domains).where((0,w.u)(A.domains.hostname,b)).get()&&(a.insert(x.settings).values({key:y.a,value:b}).onConflictDoUpdate({target:x.settings.key,set:{value:b}}).run(),!0),{behavior:"immediate"})}async function C(a){try{null===a?await z(v.f):B(v.f,a),await (0,u.Y)()}catch(a){console.error("Failed to revert the domain change of the dashboard:",a)}await (0,i.i)()}let D=(0,c.E)({middlewares:[o.f],schema:f.f.object({subdomain:g.f.string().transform(t.Q),zoneId:g.f.string()}),action:({subdomain:a,zoneId:b})=>async()=>{let e=await (0,i.K)(b);if(!e)return(0,c.W)("error","zone_unavailable");let f=(0,t.X)(a,e.name);if(!(0,t.E)(f))return(0,c.W)("error","invalid_hostname");let g=await (0,y.U)(v.f);if(!B(v.f,f))return(0,c.W)("error","hostname_taken");try{await (0,u.Y)()}catch(a){return console.error(`Failed to serve the dashboard at ${f}:`,a),await C(g),(0,c.W)("error","reload_failed")}return await (0,i.i)(),(0,d.refresh)(),{}}}),E=(0,c.E)({middlewares:[n.f],schema:f.f.object({}),action:()=>async()=>{let a=await z(v.f);if(void 0===a)return(0,c.W)("error","remove_failed");await (0,i.i)();try{await (0,u.Y)()}catch(b){return console.error(`Failed to stop serving the dashboard at ${a}:`,b),await C(a),(0,c.W)("error","reload_failed")}return(0,d.refresh)(),{}}});(0,p.ensureServerEntryExports)([D,E]),(0,b.registerServerReference)(D,"7f64b4c4f3545db4d75050e4daca03b33d89cb5acd",null),(0,b.registerServerReference)(E,"7f1f59c62088aa7566a87fc726eaf655988efbf22a",null),a.s(["J",0,E,"b",0,D],90184)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_actions_cloudflare_ts_0fwbybngp80nf._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[28983,a=>{"use strict";var b=a.i(37936),c=a.i(71466),d=a.i(18558),e=a.i(43405),f=a.i(61482),g=a.i(54757),g=g,h=g,i=a.i(39791),j=g,k=g,l=g,m=a.i(40421),n=a.i(51184),o=a.i(78481),p=a.i(32157),q=a.i(22394),r=a.i(13389),s=a.i(44566),t=a.i(50024),u=a.i(10454),v=a.i(75553),w=a.i(21684),x=a.i(62512),y=a.i(36819),z=a.i(66450),A=a.i(43678),B=a.i(48849);function C(a,b){return`${a}:${b}`}var D=a.i(55610);async function E(a,b){let c=await a.query.services.findFirst({where:{id:b},with:{ports:!0,environmentVariables:!0,volumes:!0}});return c?{...c,environmentVariables:c.environmentVariables.map(a=>({...a,value:a.isSecret?(0,x.w)(a.value,C(b,a.key)):a.value}))}:null}var F=a.i(87705),G=a.i(63432),H=a.i(93321),I=a.i(51674);class J extends Error{constructor(a){super(`The value of the variable must be entered again (${a})`)}}var K=a.i(20887);async function L(){await (0,m.f)()}var M=a.i(13095);function N(a,b){return f.f.string().transform((c,d)=>{try{return b.parse(JSON.parse(c||"[]"))}catch{return d.addIssue({code:"custom",message:a}),g.NEVER}})}let O=N("invalid_ports",h.array(i.f.object({external:j.coerce.number().int().min(1).max(65535),internal:j.coerce.number().int().min(1).max(65535)}))),P=i.f.object({key:f.f.string().min(1).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/),value:f.f.string(),scope:k.enum(t.E).default("runtime"),isSecret:l.boolean().default(!1)}),Q=N("invalid_volumes",h.array(i.f.object({name:f.f.string().trim().min(1,"volume_name_required"),containerPath:f.f.string().trim().min(1).startsWith("/")}))),R=(0,c.E)({middlewares:[L],schema:i.f.object({name:f.f.string().trim().min(1,"service_name_required"),type:k.enum(["github","dockerhub"]),repository:f.f.string().trim().min(1,"repository_required"),branch:f.f.string().trim().min(1,"branch_required"),ports:O.optional().default([]),environmentVariables:N("invalid_environment_variables",h.array(P)).optional().default([]),volumes:Q.optional().default([])}),action:a=>async b=>{let e="github"===a.type?a.environmentVariables:a.environmentVariables.map(a=>({...a,scope:"runtime"}));try{let b=await Promise.resolve(function(a,b){let{ports:c,environmentVariables:d,volumes:e,...f}=b,g=crypto.randomUUID();return a.transaction(a=>{let b=a.insert(A.services).values({id:g,...f}).returning().get();return c&&c.length>0&&a.insert(z.ports).values(c.map(a=>({serviceId:b.id,external:a.external,internal:a.internal}))).run(),d&&d.length>0&&a.insert(y.environmentVariables).values(d.map(a=>({serviceId:b.id,key:a.key,value:a.isSecret?(0,x.E)(a.value,C(b.id,a.key)):a.value,scope:a.scope,isSecret:a.isSecret}))).run(),e&&e.length>0&&a.insert(B.volumes).values(e.map(a=>({id:crypto.randomUUID(),serviceId:b.id,name:a.name,containerPath:a.containerPath}))).run(),b})}(v.f,{name:a.name,type:a.type,repository:a.repository,branch:a.branch,ports:a.ports,environmentVariables:e,volumes:a.volumes}));"github"===b.type&&(0,n.startBuilding)({...b,ports:a.ports,environmentVariables:e,volumes:a.volumes}),(0,d.updateTag)("getAllServices()")}catch{(0,c.W)("error","create_failed")}return(0,w.l)({locale:b,href:"/services"})}}),S=(0,c.E)({middlewares:[L],schema:i.f.object({name:f.f.string().trim().min(1).optional(),repository:f.f.string().trim().min(1).optional(),branch:f.f.string().trim().min(1).optional(),ports:O.optional(),environmentVariables:N("invalid_environment_variables",h.array(P.extend({value:f.f.string().nullable()}))).optional(),volumes:Q.optional()}),action:a=>async b=>{let e=await (0,F.f)(v.f,b);if(!e||"system"===e.type)return(0,c.W)("error","update_failed");let f="github"===e.type?a.environmentVariables:a.environmentVariables?.map(a=>({...a,scope:"runtime"}));try{!function(a,b,c){let{ports:d,environmentVariables:e,volumes:f,...g}=c;a.transaction(a=>{let c=a.update(A.services).set({...g,updatedAt:I.B`(CURRENT_TIMESTAMP)`}).where((0,H.u)(A.services.id,b)).returning().get();if(d&&(a.delete(z.ports).where((0,H.u)(z.ports.serviceId,b)).run(),d.length>0&&a.insert(z.ports).values(d.map(({external:a,internal:c})=>({serviceId:b,external:a,internal:c}))).run()),e){let c=a.select().from(y.environmentVariables).where((0,H.u)(y.environmentVariables.serviceId,b)).all(),d=e.map(a=>({serviceId:b,key:a.key,value:(({key:a,value:d,isSecret:e})=>{if(null!==d)return e?(0,x.E)(d,C(b,a)):d;let f=c.find(b=>b.key===a&&b.isSecret);if(!f||!e)throw new J(a);return f.value})(a),scope:a.scope,isSecret:a.isSecret}));a.delete(y.environmentVariables).where((0,H.u)(y.environmentVariables.serviceId,b)).run(),d.length>0&&a.insert(y.environmentVariables).values(d).run()}return f&&(a.delete(B.volumes).where((0,H.u)(B.volumes.serviceId,b)).run(),f.length>0&&a.insert(B.volumes).values(f.map(({name:a,containerPath:c})=>({serviceId:b,name:a,containerPath:c}))).run()),c})}(v.f,b,{...a,environmentVariables:f})}catch(a){return(0,c.W)("error",a instanceof J?"secret_value_required":"update_failed")}return(0,d.updateTag)("getAllServices()"),(0,d.updateTag)(`getSingleService(${b})`),{}}});async function T({id:a,volumes:b},c){if(await (0,q.I)(a),await (0,p.v)(a),await (0,q._)(a),c.length>0){let d=await (0,G.f)(v.f,a),e=b.map(a=>a.name).filter(a=>c.includes(a));await (0,q.V)(e.filter(a=>!d.includes(a)))}return(0,u.k)(a,async()=>!((0,r.I)(a)||(0,r.p)(a))&&(await (0,D.f)(v.f,a),!0))}let U=(0,c.E)({middlewares:[K.f],schema:i.f.object({volumes:N("invalid_volumes",h.array(f.f.string())).optional().default([])}),action:a=>async(b,e)=>{let f=await (0,F.f)(v.f,b);if(!f||"system"===f.type)return(0,c.W)("error","delete_failed");let{status:g}=await (0,r.m)(f);if("building"===g||"pulling"===g)return(0,c.W)("error","service_busy");let h=f.domains.length>0;h&&await (0,o.i)({withoutService:b});let i=await T(f,a.volumes).catch(a=>(console.error(`Failed to delete service ${b}:`,a),null));if(h&&await (0,o.i)(),null===i)return(0,c.W)("error","delete_failed");if(!i)return(0,c.W)("error","service_busy");try{await (0,n.deleteBuildLog)(b)}catch(a){console.error(`Failed to delete the build log of service ${b}:`,a)}return(0,d.updateTag)("getAllServices()"),(0,d.updateTag)(`getSingleService(${b})`),(0,w.l)({locale:e,href:"/services"})}});async function V(a){let b=await E(v.f,a);if(!b)throw Error(`Service not found: ${a}`);return b}function W(a){(0,r.p)(a.id)||((0,r.W)(a.id,!0),(0,e.after)(async()=>{try{await (0,r.e)(a)}catch(b){console.error(`Failed to pull and deploy service ${a.id}:`,b)}}))}async function X(a){await (0,m.f)();let b=await V(a);if("dockerhub"===b.type){let a=(0,s.f)(b);if(a&&!await (0,r.V)(a))return W(b),(0,d.refresh)(),{outcome:"pulling"}}return"github"!==b.type||await (0,n.findLatestImage)(b.id)?(await (0,r.K)(b),(0,d.refresh)(),{outcome:"started"}):((0,n.startBuilding)(b),(0,d.refresh)(),{outcome:"building"})}async function Y(a){await (0,m.f)();let b=await (0,F.f)(v.f,a);if(!b)throw Error(`Service not found: ${a}`);return await (0,r.D)(b),(0,d.refresh)(),{outcome:"stopped"}}async function Z(a){await (0,m.f)();let b=await V(a);return await (0,r.r)(b),(0,d.refresh)(),{outcome:"restarted"}}async function $(a){await (0,m.f)();let b=await V(a);if("github"!==b.type)throw Error(`Service cannot be built: ${a}`);return(0,r.I)(b.id)||(0,n.startBuilding)(b),(0,d.refresh)(),{outcome:"building"}}async function _(a){await (0,m.f)();let b=await V(a);return"dockerhub"!==b.type?Z(a):(W(b),(0,d.refresh)(),{outcome:"pulling"})}async function aa(a){await (0,m.f)()}async function ab(a,b,c){return await (0,m.f)(),{}}async function ac(a,b){await (0,m.f)()}async function ad(a,b,c){await (0,m.f)()}async function ae(a,b){await (0,m.f)()}async function af(a,b,c){await (0,m.f)()}async function ag(a,b,c){await (0,m.f)()}(0,M.ensureServerEntryExports)([X,Y,Z,$,_,aa,ab,ac,ad,ae,af,ag,R,S,U]),(0,b.registerServerReference)(X,"40469ad2ab867e2a4c88ee1dfa855af5f355cfed42",null),(0,b.registerServerReference)(Y,"40e9ac169c22f15723899aa5dd817fb384d4a1db8d",null),(0,b.registerServerReference)(Z,"40d9511b1f38276eed3e7dae34859e000a7603bf6b",null),(0,b.registerServerReference)($,"4012872c3147259af15070be6e4fea1402f67c269f",null),(0,b.registerServerReference)(_,"40b8a04bd679feaa0f972ccdde07b75989537f8170",null),(0,b.registerServerReference)(aa,"40e0ebe06c28521984a3cb8957f129b804fa4a2555",null),(0,b.registerServerReference)(ab,"704a2f78fad6b50a922142bdb1ef81793437bb25bd",null),(0,b.registerServerReference)(ac,"60d475e1f13bd30cc65b954fba35e0036c63071873",null),(0,b.registerServerReference)(ad,"70312db3486895cf629af6b42e1fa896d5642501dc",null),(0,b.registerServerReference)(ae,"60757c60f7669730ccae0113811ecf22cb8d18003a",null),(0,b.registerServerReference)(af,"70aab83bf51d8578d89e2ac38c9bea851e9792440d",null),(0,b.registerServerReference)(ag,"70a2bc0d0ff7cb54082f7588ca8cd980e3c74e002c",null),(0,b.registerServerReference)(R,"7fcb5dc68b749802de6868ffba4462dd154966a34a",null),(0,b.registerServerReference)(S,"7f5a3535a17ea6f930f44878019c143a6fd3a2fe5a",null),(0,b.registerServerReference)(U,"7f9e544fe97f8bf375df77c17429a9ca50fba5b02b",null),a.s(["u",0,af,"D",0,ae,"$",0,aa,"d",0,R,"A",0,U,"x",0,ag,"i",0,_,"B",0,Z,"g",0,ac,"c",0,X,"e",0,ad,"j",0,Y,"K",0,$,"k",0,ab,"y",0,S],28983)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_actions_service_ts_0leald8wxwln3._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[58382,8490,a=>{"use strict";var b=a.i(37936),c=a.i(71466),d=a.i(18558),e=a.i(39791),f=a.i(78481),g=a.i(32439),h=a.i(10454),i=a.i(32389),j=a.i(13095);async function k(a,b){try{await b}catch(b){console.error(a,b)}}let l=(0,c.E)({middlewares:[i.f],schema:e.f.object({}),action:()=>async()=>(await k("Failed to start the reverse proxy:",(0,h.x)()),await k("Failed to start the Cloudflare tunnel:",(0,g.provisionTunnel)()),await (0,f.i)({verify:!0}),(0,d.refresh)(),{})});(0,j.ensureServerEntryExports)([l]),(0,b.registerServerReference)(l,"7f4c01da4bb51b29c16f2eaf4a6c2b633bfc969573",null),a.s(["f",0,l],58382);var m=a.i(75553),n=a.i(21327),o=a.i(4707),p=a.i(98449),q=a.i(66680),r=a.i(794),s=a.i(43698),t=a.i(38754),u=a.i(5784);function v(a){let{code:b}=a;return"ENOTFOUND"===b||"ENODATA"===b}async function w(a){let b=new r.Resolver({timeout:2e3,tries:1}),c=await b.resolveNs(a);return(await Promise.allSettled(c.map(a=>b.resolve4(a)))).filter(a=>"fulfilled"===a.status).flatMap(({value:a})=>a)}async function x(a,b){try{let c=await w(b);if(0===c.length)return;let d=new r.Resolver({timeout:2e3,tries:1});return d.setServers(c),(await d.resolve4(a).catch(a=>{if(v(a))return[];throw a})).at(0)??null}catch{}}async function y(a,b){let c=void 0===b?void 0:await x(a,b);if(null===c)return{reason:"unknown_host",details:""};try{let b,{status:d,body:e}=await new Promise((b,d)=>{s.default.get({host:c??a,servername:a,headers:{Host:a},path:"/auth/instance",agent:!1,signal:AbortSignal.timeout(1e4)},a=>{(0,t.text)(a).then(c=>b({status:a.statusCode??0,body:c}),d)}).on("error",d)});return 200===d&&e===(0,u.f)("instance-id",()=>q.default.randomUUID())?null:(b=`${d}`,530===d?{reason:"no_tunnel",details:b}:502===d||504===d?{reason:"no_dashboard",details:b}:{reason:"other_response",details:b})}catch(a){if(v(a))return{reason:"unknown_host",details:""};return{reason:"no_connection",details:a instanceof Error?a.message:""}}}async function z(a){try{return(0,p.K)(a,await (0,f.M)()??[])?.name}catch(a){console.error("Failed to load the zones of Cloudflare:",a)}}async function A(){if(await (0,o.x)()!=="connected"||!await (0,g.getTunnelInfo)())return{step:"cloudflare"};let a=await (0,n.U)(m.f);if(null===a)return{step:"domain",hostname:a};let[b]=await (0,f.L)([a]);if("active"!==b.state)return{step:"domain",hostname:a,status:b,problem:null};let c=await y(a,await z(a));return c?{step:"domain",hostname:a,status:b,problem:c}:{step:"github",hostname:a}}a.s(["f",0,A],8490)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_actions_setup_ts_1j3o9o1z2x8l-._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[21070,a=>{"use strict";var b=a.i(37936),c=a.i(71466),d=a.i(18558),e=a.i(39791),f=a.i(61482),g=a.i(41373),h=a.i(27954);async function i(a,b=null){if(!/^[a-z\d][a-z\d_-]*$/i.test(a))return null;try{let{data:c}=await (0,g.f)(`/users/${a}`,b);if("User"!==c.type)return null;return{id:c.id,login:c.login,avatar:c.avatar_url}}catch(c){if((0,h.G)(c)&&404===c.status)return null;if(b&&(0,h.S)(c))return await i(a);throw c}}var j=a.i(81601),k=a.i(75553),l=a.i(9265);async function m(a,b){return(await a.insert(l.users).values({...b,role:"member"}).onConflictDoNothing().returning()).length>0}var n=a.i(93321);async function o(a,b){return(await a.delete(l.users).where((0,n.b)((0,n.u)(l.users.id,b),(0,n.u)(l.users.role,"member"))).returning()).length>0}var p=a.i(20887),q=a.i(13095);let r=(0,c.E)({middlewares:[p.f],schema:e.f.object({login:f.f.string().trim().transform(a=>a.replace(/^@/,""))}),action:({login:a})=>async()=>{let b,{githubToken:e}=await (0,j.f)();try{b=await i(a,e)}catch{return(0,c.W)("error","github_unreachable")}return b?await m(k.f,b)?((0,d.refresh)(),{}):(0,c.W)("error","already_added"):(0,c.W)("error","unknown_user")}}),s=(0,c.E)({middlewares:[p.f],schema:e.f.object({}),action:()=>async a=>await o(k.f,a)?((0,d.refresh)(),{}):(0,c.W)("error","remove_failed")});(0,q.ensureServerEntryExports)([r,s]),(0,b.registerServerReference)(r,"7ffe461709c8a63d1a9f166d4a47cc552e1757843d",null),(0,b.registerServerReference)(s,"7f27908afc5d599528c7a792555dec9ec6a4cf52d5",null),a.s(["g",0,r,"$",0,s],21070)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_actions_user_ts_15o74nrxk2-dn._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[53908,a=>{"use strict";var b=a.i(7997);a.s(["default",0,function({children:a}){return(0,b.jsx)("div",{className:"flex min-h-screen items-center justify-center p-4",children:a})}])},99377,function(a){a.n(a.i(53908))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_app_%5Blocale%5D_%28auth%29_layout_tsx_00_uxpi57fxpi._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[18119,a=>{"use strict";var b=a.i(7997),c=a.i(717),d=a.i(87889),e=a.i(86164),f=a.i(43405),g=a.i(57425),h=a.i(32776),i=a.i(35330),j=a.i(25882);a.i(21684);var k=a.i(73727);let l={ready:"border-emerald-500/20 bg-emerald-500/10 text-emerald-400",building:"border-sky-500/20 bg-sky-500/10 text-sky-400",failed:"border-rose-500/20 bg-rose-500/10 text-rose-400"},m=async({params:a})=>{await (0,f.connection)();let{id:c}=await a,[d,m,n]=await Promise.all([(0,j.K)(c),(0,h.f)("ServicePage.builds"),(0,g.f)()]);d||(0,k.notFound)();let o="github"===d.type?await (0,j.x)(c):[];return o&&0!==o.length?(0,b.jsx)(i.f,{className:"p-0",children:(0,b.jsx)("ul",{className:"divide-y divide-slate-800/80",children:o.map(a=>(0,b.jsxs)("li",{className:"flex flex-col gap-2 px-6 py-4",children:[(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-sm",children:[(0,b.jsx)("span",{className:(0,e.f)("rounded-full border px-2.5 py-0.5 text-xs font-medium",l[a.status]),children:m(`status.${a.status}`)}),(0,b.jsx)("span",{className:"font-mono text-slate-200",title:a.commit??void 0,children:a.commit?.slice(0,7)??m("unknownCommit")}),a.branch&&(0,b.jsx)("span",{className:"font-mono text-slate-500",children:a.branch}),a.id===d.runtime.imageId&&(0,b.jsx)("span",{className:"rounded border border-slate-700 bg-slate-800 px-1.5 py-0.5 text-xs text-slate-300",children:m("deployed")}),(0,b.jsxs)("span",{className:"ml-auto flex gap-3 text-xs text-slate-500",children:["ready"===a.status&&(0,b.jsx)("span",{children:n.number(a.size/1e6,{style:"unit",unit:"megabyte",maximumFractionDigits:1})}),a.builtAt&&(0,b.jsx)("span",{children:n.dateTime(new Date(a.builtAt),{dateStyle:"medium",timeStyle:"short"})})]})]}),"ready"===a.status&&a.tags.length>0&&(0,b.jsx)("p",{className:"font-mono text-xs break-all text-slate-500",children:a.tags.join(", ")}),"failed"===a.status&&(0,b.jsx)("p",{className:"font-mono text-xs break-words whitespace-pre-wrap text-rose-400",children:a.error})]},a.id))})}):(0,b.jsx)(i.f,{className:"p-6 text-sm text-slate-500",children:"github"!==d.type?m("notBuilt"):o?m("empty"):m("unavailable")})};var n=a.i(74583);a.s(["default",0,function({params:a}){return(0,b.jsx)(c.Suspense,{fallback:(0,b.jsx)(n.f,{}),children:(0,b.jsx)(d.f,{children:(0,b.jsx)(m,{params:a})})})}],18119)},19172,function(a){a.n(a.i(18119))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_app_%5Blocale%5D_%28base%29_services_%5Bid%5D_builds_page_tsx_043p8qtyhmhg8._.js.map
|
package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_services_[id]_page_tsx_0hd62fq604aua._.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[78901,a=>{"use strict";var b=a.i(7997),c=a.i(717),d=a.i(87889),e=a.i(43405),f=a.i(57425),g=a.i(32776),h=a.i(28983),i=a.i(18795);let j=({items:a})=>(0,b.jsx)("dl",{className:"grid grid-cols-1 gap-4 text-sm sm:grid-cols-2",children:a.map(({label:a,value:c,title:d})=>(0,b.jsxs)("div",{className:"min-w-0",children:[(0,b.jsx)("dt",{className:"text-xs font-medium text-slate-500",children:a}),(0,b.jsx)("dd",{className:"mt-0.5 truncate font-mono text-slate-300",title:d??c,children:c})]},a))});var k=a.i(35330);let l=({title:a,action:c,children:d})=>(0,b.jsxs)(k.f,{className:"p-6",children:[(0,b.jsxs)("div",{className:"mb-4 flex min-h-8 items-center justify-between gap-4",children:[(0,b.jsx)("h2",{className:"text-base font-semibold text-slate-100",children:a}),c]}),d]});var m=a.i(25882);a.i(21684);var n=a.i(73727);let o=async({params:a})=>{await (0,e.connection)();let{id:c}=await a,[d,k,o,p,q]=await Promise.all([(0,m.K)(c),(0,g.f)("ServicePage.info"),(0,g.f)("DashboardPage.service"),(0,g.f)("NewServicePage.envSection.scopes"),(0,f.f)()]);d||(0,n.notFound)();let{runtime:r,deployedImage:s}=d,t=k("notAvailable"),u="github"===d.type,v=[{label:k("container"),value:r.containerName??t},{label:k("containerId"),value:r.containerId?.slice(0,12)??t,title:r.containerId??void 0},{label:k("uptime"),value:r.uptime??t},{label:k("ipAddress"),value:r.ipAddresses.join(", ")||t}],w=[{label:k("type"),value:o(`types.${d.type}`)},{label:u?k("repository"):k("image"),value:d.repository??t},{label:u?k("branch"):k("tag"),value:d.branch??t},...u?[{label:k("deployedBuild"),value:s?.commit?.slice(0,7)??t,title:s?.commit??void 0},{label:k("builtAt"),value:s?q.dateTime(new Date(s.builtAt),{dateStyle:"medium",timeStyle:"short"}):t}]:[]],x=a=>"system"!==d.type&&(0,b.jsx)(i.default,{action:h.y.bind(null,d.id),edit:a});return(0,b.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,b.jsxs)("div",{className:"grid grid-cols-1 gap-4 lg:grid-cols-2",children:[(0,b.jsx)(l,{title:k("runtime"),children:(0,b.jsx)(j,{items:v})}),(0,b.jsx)(l,{title:k("source"),action:x({section:"source",isGitHub:u,repository:d.repository??"",branch:d.branch??""}),children:(0,b.jsx)(j,{items:w})}),(0,b.jsx)(l,{title:k("ports"),action:x({section:"ports",ports:d.ports}),children:0===d.ports.length?(0,b.jsx)("p",{className:"text-sm text-slate-500",children:k("noPorts")}):(0,b.jsx)("ul",{className:"flex flex-col gap-2 font-mono text-sm text-slate-300",children:d.ports.map(a=>(0,b.jsx)("li",{children:`${a.external} → ${a.internal}`},a.external))})}),(0,b.jsx)(l,{title:k("volumes"),action:x({section:"volumes",volumes:d.volumes}),children:0===d.volumes.length?(0,b.jsx)("p",{className:"text-sm text-slate-500",children:k("noVolumes")}):(0,b.jsx)("ul",{className:"flex flex-col gap-2 font-mono text-sm break-all text-slate-300",children:d.volumes.map(a=>(0,b.jsx)("li",{children:`${a.name} → ${a.containerPath}`},a.id))})})]}),(0,b.jsx)(l,{title:k("domains"),children:0===d.domains.length?(0,b.jsx)("p",{className:"text-sm text-slate-500",children:k("noDomains")}):(0,b.jsx)("ul",{className:"flex flex-col gap-2 font-mono text-sm break-all text-slate-300",children:d.domains.map(({hostname:a,port:c})=>(0,b.jsx)("li",{children:`${a} → ${c}`},a))})}),(0,b.jsx)(l,{title:k("variables"),action:x({section:"variables",isGitHub:u,variables:d.environmentVariables}),children:0===d.environmentVariables.length?(0,b.jsx)("p",{className:"text-sm text-slate-500",children:k("noVariables")}):(0,b.jsx)("div",{className:"overflow-x-auto",children:(0,b.jsxs)("table",{className:"w-full text-left text-sm",children:[(0,b.jsx)("thead",{className:"text-xs text-slate-500",children:(0,b.jsxs)("tr",{children:[(0,b.jsx)("th",{className:"pr-4 pb-2 font-medium",children:k("key")}),(0,b.jsx)("th",{className:"pr-4 pb-2 font-medium",children:k("value")}),u&&(0,b.jsx)("th",{className:"pb-2 font-medium",children:k("scope")})]})}),(0,b.jsx)("tbody",{className:"divide-y divide-slate-800/80",children:d.environmentVariables.map(a=>(0,b.jsxs)("tr",{children:[(0,b.jsx)("td",{className:"py-2 pr-4 font-mono text-slate-200",children:a.key}),(0,b.jsx)("td",{className:"py-2 pr-4 font-mono break-all text-slate-400",children:a.isSecret?(0,b.jsx)("span",{className:"rounded border border-amber-500/20 bg-amber-500/10 px-1.5 py-0.5 text-xs text-amber-400",children:k("secret")}):a.value}),u&&(0,b.jsx)("td",{className:"py-2 text-slate-400",children:p(a.scope)})]},a.key))})]})})})]})};var p=a.i(74583);a.s(["default",0,function({params:a}){return(0,b.jsx)(c.Suspense,{fallback:(0,b.jsx)(p.f,{}),children:(0,b.jsx)(d.f,{children:(0,b.jsx)(o,{params:a})})})}],78901)},9871,function(a){a.n(a.i(78901))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_app_%5Blocale%5D_%28base%29_services_%5Bid%5D_page_tsx_0hd62fq604aua._.js.map
|
package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_services_not-found_tsx_0rse1zgktynz7._.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[85454,a=>{"use strict";var b=a.i(7997),c=a.i(32776),d=a.i(21684);async function e(){let a=await (0,c.f)("ServicePage");return(0,b.jsxs)("div",{className:"flex flex-col items-center gap-2 py-16 text-center",children:[(0,b.jsx)("h1",{className:"text-xl font-semibold text-slate-100",children:a("notFound.title")}),(0,b.jsx)("p",{className:"text-sm text-slate-400",children:a("notFound.description")}),(0,b.jsx)(d.L,{href:"/services",className:"mt-4 text-sm font-medium text-slate-300 hover:text-white",children:a("back")})]})}a.s(["default",0,e])},5230,function(a){a.n(a.i(85454))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_app_%5Blocale%5D_%28base%29_services_not-found_tsx_0rse1zgktynz7._.js.map
|
package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_unauthorized_tsx_0euh0m224yi72._.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[21773,a=>{"use strict";var b=a.i(7997),c=a.i(32776),d=a.i(72623);async function e(){let a=await (0,c.f)("AccessPage");return(0,b.jsx)(d.f,{title:a("unauthorized.title"),description:a("unauthorized.description"),href:"/login",linkLabel:a("unauthorized.link")})}a.s(["default",0,e])},58665,function(a){a.n(a.i(21773))}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_app_%5Blocale%5D_%28base%29_unauthorized_tsx_0euh0m224yi72._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[3643,a=>{"use strict";var b=a.i(87924),c=a.i(15925),d=a.i(72131),e=a.i(99570),f=a.i(66718),g=a.i(70430);a.s(["default",0,({publicOrigin:a,localOrigin:h})=>{let i=(0,c.f)("InstallPage.manifest"),[j,k]=(0,d.useState)("Buttler"),[l,m]=(0,d.useState)(""),[n,o]=(0,d.useState)(!1),p={name:j,url:a,hook_attributes:{url:`${a}/webhooks/github`},redirect_url:`${a}/auth/github-install`,setup_url:`${a}/services/new`,setup_on_update:!0,callback_urls:[a,h].map(a=>`${a}/auth/github`),default_permissions:{contents:"read",metadata:"read"},default_events:["push"],public:n},q=l.trim()?`https://github.com/organizations/${encodeURIComponent(l.trim())}/settings/apps/new`:"https://github.com/settings/apps/new";return(0,b.jsxs)("form",{action:q,method:"post",className:"space-y-4",children:[(0,b.jsx)("input",{type:"hidden",name:"manifest",value:JSON.stringify(p)}),(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(g.f,{htmlFor:"appName",children:i("appNameLabel")}),(0,b.jsx)(f.f,{id:"appName",name:"appName",type:"text",value:j,onChange:a=>k(a.target.value),placeholder:"Buttler",required:!0})]}),(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(g.f,{htmlFor:"organization",children:i("organizationLabel")}),(0,b.jsx)(f.f,{id:"organization",name:"organization",type:"text",value:l,onChange:a=>m(a.target.value),placeholder:i("organizationPlaceholder")}),(0,b.jsx)("p",{className:"text-xs text-slate-500",children:i("organizationHelp")})]}),(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("input",{id:"isPublic",type:"checkbox",checked:n,onChange:a=>o(a.target.checked),className:"size-4 rounded border-slate-700 bg-slate-900 accent-slate-400"}),(0,b.jsx)(g.f,{htmlFor:"isPublic",children:i("publicLabel")})]}),(0,b.jsx)("p",{className:"text-xs text-slate-500",children:i("publicHelp")})]}),(0,b.jsx)(e.f,{type:"submit",size:"md",className:"w-full",children:i("submit")})]})}])},51345,a=>{"use strict";var b=a.i(87924),c=a.i(45094),d=a.i(15925),e=a.i(72131),f=a.i(5050);let g=(0,f.createServerReference)("601caec52650825ec1fe2320f20949b6e5519c4f15",f.callServer,void 0,f.findSourceMapURL,"installApp");var h=a.i(99570),i=a.i(66718),j=a.i(70430);let k={};a.s(["default",0,({publicOrigin:a})=>{let f=(0,d.f)("InstallPage.manual"),[l,m,n]=(0,e.useActionState)(g,k),[o,p]=(0,e.useState)(""),[q,r]=(0,e.useState)(""),[s,t]=(0,e.useState)(""),[u,v]=(0,e.useState)(""),w=`${a}/services/new`,x=async a=>{let b=a.target.files?.[0];b&&r((await b.text()).trim())};return(0,b.jsxs)("form",{action:m,className:"space-y-4",children:[(0,b.jsxs)("div",{className:"space-y-1.5 rounded-md border border-slate-800 bg-slate-900/60 p-3",children:[(0,b.jsx)("p",{className:"text-xs leading-relaxed text-slate-400",children:f.rich("setupUrlHint",{strong:a=>(0,b.jsx)("strong",{className:"font-medium text-slate-200",children:a})})}),(0,b.jsx)(i.f,{id:"setupUrl",type:"text",value:w,readOnly:!0,onFocus:a=>a.target.select(),"aria-label":f("setupUrlLabel"),className:"font-mono text-xs"})]}),(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(j.f,{htmlFor:"appId",children:f("appIdLabel")}),(0,b.jsx)(i.f,{id:"appId",name:"appId",type:"text",inputMode:"numeric",value:o,onChange:a=>p(a.target.value),placeholder:f("appIdPlaceholder"),required:!0})]}),(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(j.f,{htmlFor:"privateKey",children:f("privateKeyLabel")}),(0,b.jsx)("textarea",{id:"privateKey",name:"privateKey",rows:5,value:q,onChange:a=>r(a.target.value),placeholder:f("privateKeyPlaceholder"),spellCheck:!1,className:(0,c.f)("w-full rounded-md border border-slate-700 bg-slate-900/90 px-3 py-2 font-mono text-xs text-slate-100","placeholder:text-slate-500 shadow-xs hover:border-slate-600","focus:border-slate-400 focus:outline-slate-400 focus-visible:outline-slate-400")}),(0,b.jsx)("input",{id:"privateKeyFile",name:"privateKeyFile",type:"file",accept:".pem,application/x-pem-file",onChange:x,"aria-label":f("privateKeyFileLabel"),className:(0,c.f)("block w-full text-xs text-slate-400","file:mr-3 file:rounded-md file:border-0 file:bg-slate-800 file:px-3 file:py-1.5","file:text-xs file:font-medium file:text-slate-200 hover:file:bg-slate-700")}),(0,b.jsx)("p",{className:"text-xs text-slate-500",children:f("privateKeyHelp")})]}),(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(j.f,{htmlFor:"clientSecret",children:f("clientSecretLabel")}),(0,b.jsx)(i.f,{id:"clientSecret",name:"clientSecret",type:"password",value:s,onChange:a=>t(a.target.value),placeholder:f("clientSecretPlaceholder"),required:!0})]}),(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(j.f,{htmlFor:"webhookSecret",children:f("webhookSecretLabel")}),(0,b.jsx)(i.f,{id:"webhookSecret",name:"webhookSecret",type:"password",value:u,onChange:a=>v(a.target.value),placeholder:f("webhookSecretPlaceholder")})]}),l.error&&(0,b.jsx)("p",{role:"alert",className:"text-sm text-red-400",children:f(`errors.${l.error}`)}),(0,b.jsx)("div",{className:"pt-2",children:(0,b.jsx)(h.f,{type:"submit",variant:"secondary",size:"md",className:"w-full",disabled:n,children:f(n?"submitting":"submit")})})]})}],51345)},30457,a=>{"use strict";var b=a.i(87924),c=a.i(15925),d=a.i(72131);a.s(["default",0,({hostname:a,url:e})=>{let f=(0,c.f)("InstallPage.domain");return(0,d.useEffect)(()=>{window.location.assign(e)},[e]),(0,b.jsxs)("p",{className:"text-sm text-slate-400",children:[f("moving")," ",(0,b.jsx)("a",{href:e,className:"font-medium break-all text-slate-200 underline hover:text-white",children:a})]})}])},11316,a=>{"use strict";var b=a.i(72131),c=a.i(74994);a.s(["default",0,()=>{let a=(0,c.U)();return(0,b.useEffect)(()=>{let b=setInterval(()=>{a.refresh()},5e3);return()=>clearInterval(b)},[a]),null}])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_components_0dw7q_n_p1894._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[82524,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(99570),e=a.i(41921);a.s(["default",0,({action:a,label:f,pendingLabel:g})=>{let[h,i]=(0,c.useState)(!1),j=async(b,c)=>{i(!0);try{return await a(b,c)}finally{i(!1)}};return(0,b.jsx)(e.f,{action:j,className:"gap-0",children:(0,b.jsx)(d.f,{type:"submit",variant:"outline",size:"xs",pending:h,children:h?g:f})})}])},58874,7338,a=>{"use strict";var b=a.i(87924),c=a.i(15925),d=a.i(72131),e=a.i(66718),f=a.i(70430),g=a.i(80701);function h(a){return a.trim().toLowerCase()}function i(a,b){return""===a?b:`${a}.${b}`}function j(a){return!a.includes(".")}a.s(["K",0,function(a,b){return b.filter(({name:b})=>a===b||a.endsWith(`.${b}`)).sort((a,b)=>b.name.length-a.name.length).at(0)},"t",0,function(a,b){return a===b?"":a.slice(0,-(b.length+1))},"G",0,j,"X",0,i,"Q",0,h],7338),a.s(["f",0,({zones:a,subdomain:k,onSubdomainChange:l,zoneId:m,onZoneChange:n})=>{let o=(0,c.f)("Domains"),p=(0,d.useId)(),q=a.find(({id:a})=>a===m),r=h(k);return(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-end",children:[(0,b.jsxs)("div",{className:"min-w-0 flex-1 space-y-1.5",children:[(0,b.jsx)(f.f,{htmlFor:`${p}-subdomain`,children:o("subdomainLabel")}),(0,b.jsx)(e.f,{id:`${p}-subdomain`,name:"subdomain",autoComplete:"off",autoCapitalize:"none",spellCheck:!1,placeholder:o("subdomainPlaceholder"),value:k,onChange:a=>l(a.target.value)})]}),(0,b.jsxs)("div",{className:"min-w-0 flex-1 space-y-1.5",children:[(0,b.jsx)(f.f,{htmlFor:`${p}-zone`,children:o("zoneLabel")}),(0,b.jsx)(g.f,{id:`${p}-zone`,value:m,onChange:a=>n(a.target.value),children:a.map(({id:a,name:c})=>(0,b.jsx)("option",{value:a,children:c},a))})]})]}),q&&(0,b.jsx)("p",{className:"text-xs break-all text-slate-500",children:o("preview",{hostname:i(r,q.name)})}),!j(r)&&(0,b.jsx)("p",{className:"text-xs text-amber-400",children:o("certificateWarning")})]})}],58874)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_components_domains_1zedpj1shtch0._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[45549,a=>{"use strict";var b=a.i(87924),c=a.i(1540),d=a.i(3650),e=a.i(15925),f=a.i(72131),g=a.i(58874),h=a.i(99570),i=a.i(41921),j=a.i(66718),k=a.i(70430);a.s(["default",0,({action:a,zones:l,defaultPort:m})=>{let n=(0,e.f)("ServicePage.settings.domains"),o=(0,f.useId)(),[p,q]=(0,f.useState)(""),[r,s]=(0,f.useState)(l[0].id),[t,u]=(0,f.useState)(m?.toString()??""),[v,w]=(0,f.useState)(!1),x=async(b,c)=>{c.set("zoneId",r),w(!0);try{let d=await a(b,c);return 0===Object.keys(d).length&&q(""),d}finally{w(!1)}},y={add_failed:n("messages.add_failed"),connect_failed:n("messages.connect_failed"),invalid_hostname:n("messages.invalid_hostname"),hostname_taken:n("messages.hostname_taken"),reload_failed:n("messages.reload_failed"),zone_unavailable:n("messages.zone_unavailable"),INVALID_PORT:n("messages.invalid_port")};return(0,b.jsxs)(i.f,{action:x,messages:y,className:"flex w-full flex-col items-stretch gap-4",children:[(0,b.jsx)(g.f,{zones:l,subdomain:p,onSubdomainChange:q,zoneId:r,onZoneChange:s}),(0,b.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-end",children:[(0,b.jsxs)("div",{className:"space-y-1.5 sm:w-36",children:[(0,b.jsx)(k.f,{htmlFor:`${o}-port`,children:n("portLabel")}),(0,b.jsx)(j.f,{id:`${o}-port`,name:"port",type:"number",min:1,max:65535,required:!0,placeholder:n("portPlaceholder"),value:t,onChange:a=>u(a.target.value)})]}),(0,b.jsxs)(h.f,{type:"submit",variant:"primary",size:"md",pending:v,className:"gap-2",children:[!v&&(0,b.jsx)(d.f,{icon:c.faPlus,className:"size-3"}),(0,b.jsx)("span",{children:n(v?"adding":"add")})]})]})]})}])},96254,a=>{"use strict";var b=a.i(87924),c=a.i(40197),d=a.i(21341),e=a.i(68758),f=a.i(5358),g=a.i(49867),h=a.i(2992),i=a.i(62720),j=a.i(3650),k=a.i(63251),l=a.i(71698),m=a.i(26156),n=a.i(15925),o=a.i(72131),p=a.i(99570),q=a.i(41921),r=a.i(70430);let s=({action:a,volumes:c,onClose:d})=>{let e=(0,n.f)("ServicePage.delete"),f=(0,o.useId)(),[g,h]=(0,o.useState)(!1),i=async(b,c)=>{c.set("volumes",JSON.stringify(c.getAll("chosenVolume"))),h(!0);try{return await a(b,c)}finally{h(!1)}},j={delete_failed:e("messages.delete_failed"),service_busy:e("messages.service_busy")};return(0,b.jsxs)(q.f,{action:i,messages:j,className:"flex w-full flex-col items-stretch gap-6",children:[(0,b.jsx)("p",{className:"text-sm text-slate-300",children:e("description")}),c.length>0&&(0,b.jsxs)("fieldset",{disabled:g,className:"rounded-lg border border-slate-800 bg-slate-950/50 p-4",children:[(0,b.jsx)("legend",{className:"sr-only",children:e("volumes")}),(0,b.jsx)("p",{"aria-hidden":!0,className:"text-sm font-semibold text-slate-200",children:e("volumes")}),(0,b.jsx)("p",{className:"mt-1 text-xs text-slate-500",children:e("volumesHelp")}),(0,b.jsx)("ul",{className:"mt-3 space-y-2",children:c.map(({name:a,keptAs:c},d)=>{let g=`${f}-${d}`;return(0,b.jsxs)("li",{className:"flex items-start gap-2",children:[(0,b.jsx)("input",{id:g,type:"checkbox",name:"chosenVolume",value:a,disabled:null!==c,className:"mt-0.5 size-4 shrink-0 rounded border-slate-700 bg-slate-900 accent-rose-500"}),(0,b.jsxs)(r.f,{htmlFor:g,className:"min-w-0 font-mono font-normal tracking-normal break-all normal-case",children:[a,c&&(0,b.jsx)("span",{className:"ml-2 font-sans text-slate-500",children:e(`keptAs.${c}`)})]})]},a)})})]}),(0,b.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,b.jsx)(p.f,{type:"button",variant:"ghost",size:"sm",onClick:d,children:e("cancel")}),(0,b.jsx)(p.f,{type:"submit",variant:"danger",size:"sm",pending:g,children:g?e("submitting"):e("submit")})]})]})};a.s(["default",0,({action:a,volumes:q,name:r,disabled:t})=>{let u=(0,n.f)("ServicePage.delete"),[v,w]=(0,o.useState)(!1),x=()=>w(!1);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)(p.f,{size:"xs",variant:"outline",disabled:t,onClick:()=>w(!0),className:"gap-1.5 text-slate-300 hover:text-rose-400 hover:border-rose-500/40",children:[(0,b.jsx)(j.f,{icon:h.faTrash,className:"size-3 text-rose-400"}),(0,b.jsx)("span",{children:u("button")})]}),(0,b.jsx)(c.f.Root,{open:v,onOpenChange:w,children:(0,b.jsxs)(d.f.Portal,{children:[(0,b.jsx)(e.f.Backdrop,{render:(0,b.jsx)(l.f,{className:"fixed inset-0 z-40 bg-black/60 backdrop-blur-xs"})}),(0,b.jsxs)(f.f.Popup,{render:(0,b.jsx)(k.f,{className:"z-50 mt-0 flex max-h-[90dvh] w-full max-w-[min(32rem,calc(100vw-2rem))] flex-col rounded-2xl border border-slate-800 bg-slate-900 shadow-2xl"}),children:[(0,b.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-4 border-b border-slate-800 px-6 py-4",children:[(0,b.jsx)(g.f.Title,{render:(0,b.jsx)(m.f,{className:"min-w-0 truncate text-base font-semibold text-slate-100"}),children:u("title",{name:r})}),(0,b.jsx)(p.f,{size:"xs",variant:"ghost",onClick:x,"aria-label":u("close"),className:"size-7 shrink-0 p-0",children:(0,b.jsx)(j.f,{icon:i.faXmark,className:"size-3.5"})})]}),(0,b.jsx)("div",{className:"overflow-y-auto p-6",children:(0,b.jsx)(s,{action:a,volumes:q,onClose:x})})]})]})})]})}],96254)},29855,a=>{"use strict";var b=a.i(87924),c=a.i(15925),d=a.i(72131),e=a.i(99570),f=a.i(41921);a.s(["default",0,({action:a,hostname:g})=>{let h=(0,c.f)("ServicePage.settings.domains"),[i,j]=(0,d.useState)(!1),k=async(b,c)=>{j(!0);try{return await a(b,c)}finally{j(!1)}},l={reload_failed:h("messages.reload_failed"),remove_failed:h("messages.remove_failed")};return(0,b.jsx)(f.f,{action:k,messages:l,className:"gap-2",children:(0,b.jsx)(e.f,{type:"submit",variant:"ghost",size:"xs",pending:i,"aria-label":h("removeDomain",{hostname:g}),className:"text-slate-400 hover:text-rose-400",children:h(i?"removing":"remove")})})}])}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=src_components_services_1ckwhi_x497s9._.js.map
|