@calimero-network/mero-react 11.7.0 → 11.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1240,7 +1240,7 @@ interface WorkspaceReviewProps {
1240
1240
  * card and the node's own check. Read by the person before "Create workspace",
1241
1241
  * which stays disabled while the node has refused its check.
1242
1242
  */
1243
- declare function WorkspaceReview({ client, cluster, local, noun, release, creating, disabled, onBack, onCreate }: WorkspaceReviewProps): react_jsx_runtime.JSX.Element;
1243
+ declare function WorkspaceReview({ client, cluster, noun, release, creating, disabled, onBack, onCreate }: WorkspaceReviewProps): react_jsx_runtime.JSX.Element;
1244
1244
 
1245
1245
  /** The `postMessage` type the consent pop-up sends its opener when the node sends it back. */
1246
1246
  declare const CONSENT_RETURN_MESSAGE = "mero:consent-return";
@@ -1257,6 +1257,11 @@ declare function ConsentPopupReturn({ children }: {
1257
1257
  declare function clusterName(nodeUrl: string): string;
1258
1258
 
1259
1259
  type InviteRole = Exclude<OrgRole, 'owner'>;
1260
+ /** What `onJoined` gets: the org, and whether the account was already in it (nothing was redeemed). */
1261
+ interface JoinedInvite {
1262
+ org: string;
1263
+ alreadyMember: boolean;
1264
+ }
1260
1265
  /** An invite just created. */
1261
1266
  interface CreatedInvite {
1262
1267
  token: string;
@@ -1343,10 +1348,8 @@ interface AcceptInviteDialogProps {
1343
1348
  labels?: AcceptInviteLabels;
1344
1349
  /** Called when the node refuses the join or the request, with the error itself (to clear a spent stored token, say). A declined approval is not an error. */
1345
1350
  onError?: (error: unknown) => void;
1346
- /** Called once the person has joined (or, with `org`, chose to continue as a member), from the dialog or from a full-page approval. */
1347
- onJoined: (joined: {
1348
- org: string;
1349
- }) => void;
1351
+ /** Called once the person has joined (`alreadyMember: false`), or, with `org`, chose to continue as a member (`alreadyMember: true`; nothing was redeemed), from the dialog or from a full-page approval. */
1352
+ onJoined: (joined: JoinedInvite) => void;
1350
1353
  /** Where the node's consent page sends the person back. Default: this origin's root, where the app mounts `ConsentPopupReturn`. */
1351
1354
  returnTo?: string;
1352
1355
  client?: CalimeroClient;
@@ -1362,4 +1365,4 @@ declare function AcceptInviteDialog({ client, passkey, ...props }: AcceptInviteD
1362
1365
  /** The labels of the bits set in `mask`, in display order. */
1363
1366
  declare function describeCapabilities(mask: number): string[];
1364
1367
 
1365
- export { AcceptInviteDialog, type AcceptInviteDialogProps, type AcceptInviteLabels, type AppEvent, type AsyncState, type BlobHookOptions, CONSENT_RETURN_MESSAGE, CalimeroLogo, type CalimeroLogoProps, type CallOptions, type Codec, ConnectButton, type ConnectButtonProps, ConsentPopupReturn, type CreateApiKeyInput, type CreateAppInput, type CreateInviteInput, type CreatePhase, type CreateTeamInput, CreateWorkspaceDialog, type CreateWorkspaceDialogProps, type CreateWorkspaceLabels, type CreatedInvite, type CreatedWorkspace, type EphemeralEntry, type Failure, type FailureKind, InviteDialog, type InviteDialogProps, type InviteLabels, type InviteRedemption, type InviteRedemptionStatus, type InviteRole, LoginModal, type LoginModalProps, type LoginModalTab, MERO_CSS_VARS, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, type MutationOptions, NoAppError, NotConnectedError, type PolicyOptions, type ResolvedMeroTheme, type ResourceState, ReviewRelease, SessionReportingClient, type SessionStore, type SubscriptionEventData, type SubscriptionOptions, type TeamJoin, type TeamUpdate, UnreleasedApp, type UpgradeTarget, type UseBlobUrlOptions, type UseCreateWorkspaceOptions, type UseEphemeralOptions, type UseEphemeralResult, type UseViewOptions, type UseViewResult, type ViewOptions, type WaitOptions, WorkspaceReview, type WorkspaceReviewProps, clearAllStorage, clearAppId, clearCluster, clearNodeUrl, clusterName, cssVar, defaultMeroTheme, describeCapabilities, describeError, followEvents, getAppId, getCluster, getNodeUrl, inviteLink, isLoginRequired, jsonCodec, localStorageSessionStore, memorySessionStore, readInviteToken, reportSessions, resolveMeroTheme, resolvePolicy, setAppId, setCluster, setNodeUrl, shortAccount, themeToCssVars, useAccount, useApiKeys, useApp, useAppAbi, useApps, useBlobInfo, useBlobUrl, useBlobs, useConsent, useCreateApp, useCreateInvite, useCreateOrg, useCreateTeam, useCreateWorkspace, useCreateWorkspaceResume, useDeleteApp, useDeleteBlob, useDeleteOrg, useDeleteTeam, useEphemeral, useExecute, useInviteRedemption, useMero, useOrg, usePackages, usePasskeys, useRedeemInvite, useRemoveMember, useRemoveTeamMember, useSetAppMetadata, useSetCapabilities, useSetMember, useSetMemberMetadata, useSetOrgMetadata, useSetTeamMember, useSubscription, useTeam, useUpdateTeam, useUpgradeApp, useUploadBlob, useView };
1368
+ export { AcceptInviteDialog, type AcceptInviteDialogProps, type AcceptInviteLabels, type AppEvent, type AsyncState, type BlobHookOptions, CONSENT_RETURN_MESSAGE, CalimeroLogo, type CalimeroLogoProps, type CallOptions, type Codec, ConnectButton, type ConnectButtonProps, ConsentPopupReturn, type CreateApiKeyInput, type CreateAppInput, type CreateInviteInput, type CreatePhase, type CreateTeamInput, CreateWorkspaceDialog, type CreateWorkspaceDialogProps, type CreateWorkspaceLabels, type CreatedInvite, type CreatedWorkspace, type EphemeralEntry, type Failure, type FailureKind, InviteDialog, type InviteDialogProps, type InviteLabels, type InviteRedemption, type InviteRedemptionStatus, type InviteRole, type JoinedInvite, LoginModal, type LoginModalProps, type LoginModalTab, MERO_CSS_VARS, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, type MutationOptions, NoAppError, NotConnectedError, type PolicyOptions, type ResolvedMeroTheme, type ResourceState, ReviewRelease, SessionReportingClient, type SessionStore, type SubscriptionEventData, type SubscriptionOptions, type TeamJoin, type TeamUpdate, UnreleasedApp, type UpgradeTarget, type UseBlobUrlOptions, type UseCreateWorkspaceOptions, type UseEphemeralOptions, type UseEphemeralResult, type UseViewOptions, type UseViewResult, type ViewOptions, type WaitOptions, WorkspaceReview, type WorkspaceReviewProps, clearAllStorage, clearAppId, clearCluster, clearNodeUrl, clusterName, cssVar, defaultMeroTheme, describeCapabilities, describeError, followEvents, getAppId, getCluster, getNodeUrl, inviteLink, isLoginRequired, jsonCodec, localStorageSessionStore, memorySessionStore, readInviteToken, reportSessions, resolveMeroTheme, resolvePolicy, setAppId, setCluster, setNodeUrl, shortAccount, themeToCssVars, useAccount, useApiKeys, useApp, useAppAbi, useApps, useBlobInfo, useBlobUrl, useBlobs, useConsent, useCreateApp, useCreateInvite, useCreateOrg, useCreateTeam, useCreateWorkspace, useCreateWorkspaceResume, useDeleteApp, useDeleteBlob, useDeleteOrg, useDeleteTeam, useEphemeral, useExecute, useInviteRedemption, useMero, useOrg, usePackages, usePasskeys, useRedeemInvite, useRemoveMember, useRemoveTeamMember, useSetAppMetadata, useSetCapabilities, useSetMember, useSetMemberMetadata, useSetOrgMetadata, useSetTeamMember, useSubscription, useTeam, useUpdateTeam, useUpgradeApp, useUploadBlob, useView };
package/dist/index.d.ts CHANGED
@@ -1240,7 +1240,7 @@ interface WorkspaceReviewProps {
1240
1240
  * card and the node's own check. Read by the person before "Create workspace",
1241
1241
  * which stays disabled while the node has refused its check.
1242
1242
  */
1243
- declare function WorkspaceReview({ client, cluster, local, noun, release, creating, disabled, onBack, onCreate }: WorkspaceReviewProps): react_jsx_runtime.JSX.Element;
1243
+ declare function WorkspaceReview({ client, cluster, noun, release, creating, disabled, onBack, onCreate }: WorkspaceReviewProps): react_jsx_runtime.JSX.Element;
1244
1244
 
1245
1245
  /** The `postMessage` type the consent pop-up sends its opener when the node sends it back. */
1246
1246
  declare const CONSENT_RETURN_MESSAGE = "mero:consent-return";
@@ -1257,6 +1257,11 @@ declare function ConsentPopupReturn({ children }: {
1257
1257
  declare function clusterName(nodeUrl: string): string;
1258
1258
 
1259
1259
  type InviteRole = Exclude<OrgRole, 'owner'>;
1260
+ /** What `onJoined` gets: the org, and whether the account was already in it (nothing was redeemed). */
1261
+ interface JoinedInvite {
1262
+ org: string;
1263
+ alreadyMember: boolean;
1264
+ }
1260
1265
  /** An invite just created. */
1261
1266
  interface CreatedInvite {
1262
1267
  token: string;
@@ -1343,10 +1348,8 @@ interface AcceptInviteDialogProps {
1343
1348
  labels?: AcceptInviteLabels;
1344
1349
  /** Called when the node refuses the join or the request, with the error itself (to clear a spent stored token, say). A declined approval is not an error. */
1345
1350
  onError?: (error: unknown) => void;
1346
- /** Called once the person has joined (or, with `org`, chose to continue as a member), from the dialog or from a full-page approval. */
1347
- onJoined: (joined: {
1348
- org: string;
1349
- }) => void;
1351
+ /** Called once the person has joined (`alreadyMember: false`), or, with `org`, chose to continue as a member (`alreadyMember: true`; nothing was redeemed), from the dialog or from a full-page approval. */
1352
+ onJoined: (joined: JoinedInvite) => void;
1350
1353
  /** Where the node's consent page sends the person back. Default: this origin's root, where the app mounts `ConsentPopupReturn`. */
1351
1354
  returnTo?: string;
1352
1355
  client?: CalimeroClient;
@@ -1362,4 +1365,4 @@ declare function AcceptInviteDialog({ client, passkey, ...props }: AcceptInviteD
1362
1365
  /** The labels of the bits set in `mask`, in display order. */
1363
1366
  declare function describeCapabilities(mask: number): string[];
1364
1367
 
1365
- export { AcceptInviteDialog, type AcceptInviteDialogProps, type AcceptInviteLabels, type AppEvent, type AsyncState, type BlobHookOptions, CONSENT_RETURN_MESSAGE, CalimeroLogo, type CalimeroLogoProps, type CallOptions, type Codec, ConnectButton, type ConnectButtonProps, ConsentPopupReturn, type CreateApiKeyInput, type CreateAppInput, type CreateInviteInput, type CreatePhase, type CreateTeamInput, CreateWorkspaceDialog, type CreateWorkspaceDialogProps, type CreateWorkspaceLabels, type CreatedInvite, type CreatedWorkspace, type EphemeralEntry, type Failure, type FailureKind, InviteDialog, type InviteDialogProps, type InviteLabels, type InviteRedemption, type InviteRedemptionStatus, type InviteRole, LoginModal, type LoginModalProps, type LoginModalTab, MERO_CSS_VARS, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, type MutationOptions, NoAppError, NotConnectedError, type PolicyOptions, type ResolvedMeroTheme, type ResourceState, ReviewRelease, SessionReportingClient, type SessionStore, type SubscriptionEventData, type SubscriptionOptions, type TeamJoin, type TeamUpdate, UnreleasedApp, type UpgradeTarget, type UseBlobUrlOptions, type UseCreateWorkspaceOptions, type UseEphemeralOptions, type UseEphemeralResult, type UseViewOptions, type UseViewResult, type ViewOptions, type WaitOptions, WorkspaceReview, type WorkspaceReviewProps, clearAllStorage, clearAppId, clearCluster, clearNodeUrl, clusterName, cssVar, defaultMeroTheme, describeCapabilities, describeError, followEvents, getAppId, getCluster, getNodeUrl, inviteLink, isLoginRequired, jsonCodec, localStorageSessionStore, memorySessionStore, readInviteToken, reportSessions, resolveMeroTheme, resolvePolicy, setAppId, setCluster, setNodeUrl, shortAccount, themeToCssVars, useAccount, useApiKeys, useApp, useAppAbi, useApps, useBlobInfo, useBlobUrl, useBlobs, useConsent, useCreateApp, useCreateInvite, useCreateOrg, useCreateTeam, useCreateWorkspace, useCreateWorkspaceResume, useDeleteApp, useDeleteBlob, useDeleteOrg, useDeleteTeam, useEphemeral, useExecute, useInviteRedemption, useMero, useOrg, usePackages, usePasskeys, useRedeemInvite, useRemoveMember, useRemoveTeamMember, useSetAppMetadata, useSetCapabilities, useSetMember, useSetMemberMetadata, useSetOrgMetadata, useSetTeamMember, useSubscription, useTeam, useUpdateTeam, useUpgradeApp, useUploadBlob, useView };
1368
+ export { AcceptInviteDialog, type AcceptInviteDialogProps, type AcceptInviteLabels, type AppEvent, type AsyncState, type BlobHookOptions, CONSENT_RETURN_MESSAGE, CalimeroLogo, type CalimeroLogoProps, type CallOptions, type Codec, ConnectButton, type ConnectButtonProps, ConsentPopupReturn, type CreateApiKeyInput, type CreateAppInput, type CreateInviteInput, type CreatePhase, type CreateTeamInput, CreateWorkspaceDialog, type CreateWorkspaceDialogProps, type CreateWorkspaceLabels, type CreatedInvite, type CreatedWorkspace, type EphemeralEntry, type Failure, type FailureKind, InviteDialog, type InviteDialogProps, type InviteLabels, type InviteRedemption, type InviteRedemptionStatus, type InviteRole, type JoinedInvite, LoginModal, type LoginModalProps, type LoginModalTab, MERO_CSS_VARS, MeroContext, type MeroContextValue, MeroProvider, type MeroProviderConfig, type MeroProviderProps, type MeroTheme, type MutationOptions, NoAppError, NotConnectedError, type PolicyOptions, type ResolvedMeroTheme, type ResourceState, ReviewRelease, SessionReportingClient, type SessionStore, type SubscriptionEventData, type SubscriptionOptions, type TeamJoin, type TeamUpdate, UnreleasedApp, type UpgradeTarget, type UseBlobUrlOptions, type UseCreateWorkspaceOptions, type UseEphemeralOptions, type UseEphemeralResult, type UseViewOptions, type UseViewResult, type ViewOptions, type WaitOptions, WorkspaceReview, type WorkspaceReviewProps, clearAllStorage, clearAppId, clearCluster, clearNodeUrl, clusterName, cssVar, defaultMeroTheme, describeCapabilities, describeError, followEvents, getAppId, getCluster, getNodeUrl, inviteLink, isLoginRequired, jsonCodec, localStorageSessionStore, memorySessionStore, readInviteToken, reportSessions, resolveMeroTheme, resolvePolicy, setAppId, setCluster, setNodeUrl, shortAccount, themeToCssVars, useAccount, useApiKeys, useApp, useAppAbi, useApps, useBlobInfo, useBlobUrl, useBlobs, useConsent, useCreateApp, useCreateInvite, useCreateOrg, useCreateTeam, useCreateWorkspace, useCreateWorkspaceResume, useDeleteApp, useDeleteBlob, useDeleteOrg, useDeleteTeam, useEphemeral, useExecute, useInviteRedemption, useMero, useOrg, usePackages, usePasskeys, useRedeemInvite, useRemoveMember, useRemoveTeamMember, useSetAppMetadata, useSetCapabilities, useSetMember, useSetMemberMetadata, useSetOrgMetadata, useSetTeamMember, useSubscription, useTeam, useUpdateTeam, useUpgradeApp, useUploadBlob, useView };
package/dist/index.js CHANGED
@@ -1869,10 +1869,10 @@ function ConnectButton({
1869
1869
  }
1870
1870
 
1871
1871
  // src/create-workspace/workspaceReview.css
1872
- styleInject('.mero-cw,\n.mero-cw-review {\n --_ink: var(--cw-ink, light-dark(#0f1117, #eceef5));\n --_muted: var(--cw-muted, light-dark(#6b7280, #9097ab));\n --_line: var(--cw-line, light-dark(#e6e8ee, rgba(255, 255, 255, 0.16)));\n --_surface: var(--cw-surface, light-dark(#ffffff, #161b2b));\n --_primary-bg: var(--cw-primary-bg, light-dark(#0f1117, #eceef5));\n --_primary-ink: var(--cw-primary-ink, light-dark(#ffffff, #0f1117));\n --_focus: var(--cw-link, light-dark(#3b5bfd, #9aafff));\n --_good-bg: var(--cw-good-bg, light-dark(#dcfce7, #0e3324));\n --_good-ink: var(--cw-good-ink, light-dark(#15803d, #7fe0b0));\n --_bad-bg: var(--cw-bad-bg, light-dark(#ffe4ea, #3d0f1e));\n --_bad-ink: var(--cw-bad-ink, light-dark(#a2194b, #f78bb0));\n --_busy-bg: var(--cw-busy-bg, light-dark(#e3e9ff, #1c2650));\n --_busy-ink: var(--cw-busy-ink, light-dark(#3451d1, #9aafff));\n --_warn-bg: var(--cw-warn-bg, light-dark(#fff1d6, #3a2a08));\n --_warn-ink: var(--cw-warn-ink, light-dark(#8a5a00, #f2c36b));\n --_code-bg: var(--cw-code-bg, light-dark(#f4f5f8, #1f2538));\n font-family: var(--cw-font, inherit);\n}\n.mero-cw-review [data-kind=verified] {\n --_tone: var(--_good-ink);\n --_tone-bg: var(--_good-bg);\n}\n.mero-cw-review [data-kind=refused] {\n --_tone: var(--_bad-ink);\n --_tone-bg: var(--_bad-bg);\n}\n.mero-cw-review [data-kind=checking] {\n --_tone: var(--_busy-ink);\n --_tone-bg: var(--_busy-bg);\n}\n.mero-cw-review [data-kind=unsealed] {\n --_tone: var(--_muted);\n --_tone-bg: color-mix(in srgb, var(--_muted) 14%, var(--_surface));\n}\n.mero-cw-shield__icon {\n flex: none;\n color: var(--_tone);\n}\n.mero-cw-shield__tick {\n flex: none;\n margin-top: 2px;\n color: var(--_muted);\n}\n@media (prefers-reduced-motion: no-preference) {\n [data-kind=checking] .mero-cw-shield__icon {\n animation: mero-cw-shield-pulse 1.4s ease-in-out infinite;\n }\n}\n@keyframes mero-cw-shield-pulse {\n 50% {\n opacity: 0.4;\n }\n}\n.mero-cw-review {\n box-sizing: border-box;\n width: 100%;\n color: var(--_ink);\n font-size: 14px;\n line-height: 1.45;\n text-align: left;\n}\n.mero-cw-review *,\n.mero-cw-review *::before,\n.mero-cw-review *::after {\n box-sizing: border-box;\n}\n.mero-cw-review__title {\n margin: 0;\n font-size: 18px;\n font-weight: 700;\n line-height: 1.3;\n}\n.mero-cw-review__title:focus {\n outline: none;\n}\n.mero-cw-review__lede {\n margin: 4px 0 6px;\n color: var(--_muted);\n}\n.mero-cw-review__muted,\n.mero-cw-review__sub {\n color: var(--_muted);\n font-size: 12.5px;\n}\n.mero-cw-review__muted {\n margin: 8px 0 0;\n}\n.mero-cw-review__sub {\n display: block;\n margin-top: 2px;\n}\n.mero-cw-review__mono {\n font-family:\n ui-monospace,\n "SF Mono",\n SFMono-Regular,\n Menlo,\n Consolas,\n monospace;\n font-size: 12.5px;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__icon {\n flex: none;\n}\n.mero-cw-review__nobreak {\n white-space: nowrap;\n}\n.mero-cw-review__sec {\n padding: 14px 0;\n border-top: 1px solid var(--_line);\n}\n.mero-cw-review__h {\n display: flex;\n align-items: center;\n gap: 7px;\n margin: 0 0 10px;\n font-size: 13px;\n font-weight: 700;\n letter-spacing: 0.02em;\n}\n.mero-cw-review__h .mero-cw-shield__icon {\n margin-top: -1px;\n}\n.mero-cw-review__kv {\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin: 0;\n}\n.mero-cw-review__kv > div {\n display: grid;\n grid-template-columns: 96px minmax(0, 1fr);\n gap: 12px;\n}\n.mero-cw-review__kv dt {\n color: var(--_muted);\n}\n.mero-cw-review__kv dd {\n margin: 0;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__kv--raw {\n margin-bottom: 12px;\n}\n.mero-cw-review__tone--good {\n color: var(--_good-ink);\n}\n.mero-cw-review__tone--bad {\n color: var(--_bad-ink);\n font-weight: 600;\n}\n.mero-cw-review__copy,\n.mero-cw-review__link {\n margin-left: 8px;\n padding: 0;\n border: 0;\n background: none;\n color: var(--_focus);\n font: inherit;\n font-size: 12.5px;\n font-weight: 600;\n text-decoration: none;\n cursor: pointer;\n}\n.mero-cw-review__link {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n}\n.mero-cw-review__copy:hover,\n.mero-cw-review__link:hover {\n text-decoration: underline;\n}\n.mero-cw-review__sum {\n display: flex;\n flex-direction: column;\n gap: 10px;\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.mero-cw-review__sum li {\n display: flex;\n align-items: flex-start;\n gap: 10px;\n}\n.mero-cw-review__ic {\n display: grid;\n place-items: center;\n flex: none;\n width: 28px;\n height: 28px;\n border-radius: 50%;\n background: var(--_chip-bg);\n color: var(--_muted);\n}\n.mero-cw-review__sum li[data-tone=warn] .mero-cw-review__ic {\n background: var(--_warn-bg);\n color: var(--_warn-ink);\n}\n.mero-cw-review__sum li[data-tone=ok] .mero-cw-review__ic {\n background: var(--_good-bg);\n color: var(--_good-ink);\n}\n.mero-cw-review__tx {\n display: flex;\n flex-direction: column;\n min-width: 0;\n padding-top: 3px;\n}\n.mero-cw-review__tx span {\n color: var(--_muted);\n font-size: 12.5px;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__more {\n margin-top: 0;\n}\n.mero-cw-review__sum + .mero-cw-review__more {\n margin-top: 10px;\n}\n.mero-cw-review__more > summary,\n.mero-cw-review__how > summary {\n display: flex;\n align-items: center;\n gap: 6px;\n min-height: 32px;\n color: var(--_focus);\n font-weight: 600;\n cursor: pointer;\n list-style: none;\n}\n.mero-cw-review summary::-webkit-details-marker {\n display: none;\n}\n.mero-cw-review__more > summary::after,\n.mero-cw-review__how > summary::after,\n.mero-cw-review__grp > summary::after,\n.mero-cw-review__act > summary::after {\n content: "";\n flex: none;\n width: 7px;\n height: 7px;\n margin: 0 3px;\n border: solid currentColor;\n border-width: 0 2px 2px 0;\n transform: rotate(-45deg);\n transition: transform 0.15s ease;\n}\n.mero-cw-review details[open] > summary::after {\n transform: rotate(45deg);\n}\n.mero-cw-review summary:focus-visible,\n.mero-cw-review__btn:focus-visible,\n.mero-cw-review__chip:focus-visible,\n.mero-cw-review__copy:focus-visible,\n.mero-cw-review__link:focus-visible {\n outline: 2px solid var(--_focus);\n outline-offset: 2px;\n border-radius: 6px;\n}\n.mero-cw-review__chips {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n margin: 4px 0 10px;\n}\n.mero-cw-review__chip {\n min-height: 30px;\n padding: 0 11px;\n border: 1px solid var(--_line);\n border-radius: 999px;\n background: var(--_surface);\n color: var(--_ink);\n font: inherit;\n font-size: 12.5px;\n font-weight: 600;\n cursor: pointer;\n}\n.mero-cw-review__chip[aria-pressed=true] {\n border-color: transparent;\n background: var(--_primary-bg);\n color: var(--_primary-ink);\n}\n.mero-cw-review__grp {\n margin-top: 8px;\n border: 1px solid var(--_line);\n border-radius: 12px;\n}\n.mero-cw-review__grp > summary {\n display: flex;\n align-items: center;\n gap: 10px;\n min-height: 48px;\n padding: 8px 12px;\n cursor: pointer;\n list-style: none;\n color: var(--_muted);\n}\n.mero-cw-review__grp-text {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-width: 0;\n}\n.mero-cw-review__grp-text b {\n color: var(--_ink);\n}\n.mero-cw-review__grp-text span {\n font-size: 12.5px;\n}\n.mero-cw-review__count {\n flex: none;\n min-width: 22px;\n padding: 1px 7px;\n border-radius: 999px;\n background: var(--_chip-bg);\n color: var(--_ink);\n font-size: 12px;\n font-weight: 600;\n text-align: center;\n}\n.mero-cw-review__acts {\n border-top: 1px solid var(--_line);\n}\n.mero-cw-review__act + .mero-cw-review__act {\n border-top: 1px solid var(--_line);\n}\n.mero-cw-review__act > summary,\n.mero-cw-review__act-head {\n display: flex;\n align-items: center;\n gap: 8px;\n min-height: 40px;\n padding: 6px 12px;\n cursor: pointer;\n list-style: none;\n color: var(--_muted);\n}\n.mero-cw-review__act-head {\n cursor: default;\n}\n.mero-cw-review__act-main {\n display: flex;\n flex: 1 1 0;\n flex-direction: column;\n gap: 1px;\n min-width: 0;\n}\n.mero-cw-review__act-title {\n color: var(--_ink);\n font-weight: 600;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__act-doc {\n font-size: 12px;\n font-style: italic;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__act-doc code,\n.mero-cw-review__said code {\n font-family:\n ui-monospace,\n "SF Mono",\n SFMono-Regular,\n Menlo,\n Consolas,\n monospace;\n font-size: 0.92em;\n font-style: normal;\n}\n.mero-cw-review__act > summary::after {\n margin-left: 0;\n}\n.mero-cw-review__tags {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n justify-content: flex-end;\n gap: 4px;\n max-width: 55%;\n}\n.mero-cw-review__tag {\n padding: 1px 8px;\n border-radius: 999px;\n background: var(--_chip-bg);\n color: var(--_muted);\n font-size: 11.5px;\n font-weight: 600;\n white-space: nowrap;\n}\n.mero-cw-review__tag--passkey {\n background: var(--_warn-bg);\n color: var(--_warn-ink);\n}\n.mero-cw-review__tag--public {\n background: var(--_busy-bg);\n color: var(--_busy-ink);\n}\n.mero-cw-review__facts {\n padding: 2px 12px 12px;\n}\n.mero-cw-review__facts .mero-cw-review__kv {\n font-size: 12.5px;\n}\n.mero-cw-review__said {\n margin-top: 10px;\n padding: 8px 10px;\n border: 1px dashed var(--_line);\n border-radius: 8px;\n}\n.mero-cw-review__said span {\n color: var(--_muted);\n font-size: 11.5px;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n}\n.mero-cw-review__said p {\n margin: 2px 0 0;\n font-style: italic;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__note {\n margin: 10px 0 0;\n color: var(--_muted);\n font-size: 12px;\n}\n.mero-cw-review__claims {\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.mero-cw-review__claims li {\n display: flex;\n align-items: flex-start;\n gap: 7px;\n}\n.mero-cw-review__claims .mero-cw-shield__tick {\n margin-top: 3px;\n color: var(--_good-ink);\n}\n.mero-cw-review__claims--plain b {\n font-weight: 500;\n color: var(--_muted);\n}\n.mero-cw-review__claims + .mero-cw-review__grey {\n margin-top: 10px;\n}\n.mero-cw-review__how {\n margin-top: 6px;\n}\n.mero-cw-review__how ul {\n margin: 0 0 4px;\n padding-left: 18px;\n color: var(--_muted);\n font-size: 12.5px;\n}\n.mero-cw-review__except {\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin: 10px 0 0;\n padding: 0;\n list-style: none;\n}\n.mero-cw-review__except li {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n padding: 8px 10px;\n border-radius: 10px;\n background: var(--_warn-bg);\n color: var(--_warn-ink);\n font-weight: 600;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__except .mero-cw-review__icon {\n margin-top: 2px;\n}\n.mero-cw-review__grey {\n display: flex;\n flex-direction: column;\n gap: 2px;\n margin: 0;\n padding: 10px 12px;\n border-radius: 10px;\n background: var(--_tone-bg);\n color: var(--_ink);\n}\n.mero-cw-review__grey span {\n color: var(--_muted);\n font-size: 12.5px;\n}\n.mero-cw-review__alert {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: 8px 12px;\n margin: 10px 0 4px;\n padding: 10px 12px;\n border-radius: 10px;\n background: var(--_bad-bg);\n color: var(--_bad-ink);\n}\n.mero-cw-review__alert p {\n flex: 1 1 220px;\n margin: 0;\n font-weight: 600;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__buttons {\n position: sticky;\n bottom: calc(0px - var(--cw-review-inset, 0px));\n z-index: 1;\n display: flex;\n justify-content: space-between;\n gap: 10px;\n margin-top: 6px;\n padding: 14px 0 calc(env(safe-area-inset-bottom, 0px) + 8px);\n border-top: 1px solid var(--_line);\n background: var(--_surface);\n}\n.mero-cw-review__btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-height: 40px;\n padding: 0 18px;\n border: 1px solid var(--_line);\n border-radius: 999px;\n background: var(--_surface);\n color: var(--_ink);\n font: inherit;\n font-weight: 600;\n cursor: pointer;\n}\n.mero-cw-review__btn:hover:not(:disabled) {\n border-color: var(--_ink);\n}\n.mero-cw-review__btn:disabled {\n opacity: 0.55;\n cursor: not-allowed;\n}\n.mero-cw-review__buttons .mero-cw-review__btn {\n white-space: nowrap;\n}\n.mero-cw-review__btn--primary {\n border-color: transparent;\n background: var(--_primary-bg);\n color: var(--_primary-ink);\n}\n.mero-cw-review__btn--primary:hover:not(:disabled) {\n border-color: transparent;\n opacity: 0.88;\n}\n@media (max-width: 480px) {\n .mero-cw-review__kv > div {\n grid-template-columns: minmax(0, 1fr);\n gap: 0;\n }\n .mero-cw-review__kv dt {\n font-size: 12px;\n }\n .mero-cw-review__buttons .mero-cw-review__btn {\n flex: 1;\n padding: 0 12px;\n }\n .mero-cw-review__buttons .mero-cw-review__btn--primary {\n flex: 2;\n }\n}\n');
1872
+ styleInject('.mero-cw,\n.mero-cw-review {\n --_ink: var(--cw-ink, light-dark(#0f1117, #eceef5));\n --_muted: var(--cw-muted, light-dark(#6b7280, #9097ab));\n --_line: var(--cw-line, light-dark(#e6e8ee, rgba(255, 255, 255, 0.16)));\n --_surface: var(--cw-surface, light-dark(#ffffff, #161b2b));\n --_primary-bg: var(--cw-primary-bg, light-dark(#0f1117, #eceef5));\n --_primary-ink: var(--cw-primary-ink, light-dark(#ffffff, #0f1117));\n --_focus: var(--cw-link, light-dark(#3b5bfd, #9aafff));\n --_good-bg: var(--cw-good-bg, light-dark(#dcfce7, #0e3324));\n --_good-ink: var(--cw-good-ink, light-dark(#15803d, #7fe0b0));\n --_bad-bg: var(--cw-bad-bg, light-dark(#ffe4ea, #3d0f1e));\n --_bad-ink: var(--cw-bad-ink, light-dark(#a2194b, #f78bb0));\n --_busy-bg: var(--cw-busy-bg, light-dark(#e3e9ff, #1c2650));\n --_busy-ink: var(--cw-busy-ink, light-dark(#3451d1, #9aafff));\n --_warn-bg: var(--cw-warn-bg, light-dark(#fff1d6, #3a2a08));\n --_warn-ink: var(--cw-warn-ink, light-dark(#8a5a00, #f2c36b));\n --_code-bg: var(--cw-code-bg, light-dark(#f4f5f8, #1f2538));\n --_chip-bg: color-mix(in srgb, var(--_muted) 12%, transparent);\n --_control: var(--cw-control-line, light-dark(#858b9a, #6a7288));\n font-family: var(--cw-font, inherit);\n}\n.mero-cw-review [data-kind=verified] {\n --_tone: var(--_good-ink);\n --_tone-bg: var(--_good-bg);\n}\n.mero-cw-review [data-kind=refused] {\n --_tone: var(--_bad-ink);\n --_tone-bg: var(--_bad-bg);\n}\n.mero-cw-review [data-kind=checking] {\n --_tone: var(--_busy-ink);\n --_tone-bg: var(--_busy-bg);\n}\n.mero-cw-review [data-kind=unsealed] {\n --_tone: var(--_muted);\n --_tone-bg: color-mix(in srgb, var(--_muted) 14%, var(--_surface));\n}\n.mero-cw-shield__icon {\n flex: none;\n color: var(--_tone);\n}\n.mero-cw-shield__tick {\n flex: none;\n margin-top: 2px;\n color: var(--_muted);\n}\n@media (prefers-reduced-motion: no-preference) {\n [data-kind=checking] .mero-cw-shield__icon {\n animation: mero-cw-shield-pulse 1.4s ease-in-out infinite;\n }\n}\n@keyframes mero-cw-shield-pulse {\n 50% {\n opacity: 0.4;\n }\n}\n.mero-cw-review {\n box-sizing: border-box;\n width: 100%;\n color: var(--_ink);\n font-size: 15px;\n line-height: 1.5;\n text-align: left;\n}\n.mero-cw-review *,\n.mero-cw-review *::before,\n.mero-cw-review *::after {\n box-sizing: border-box;\n}\n.mero-cw-review__title {\n margin: 0;\n padding-right: 36px;\n font-size: 20px;\n font-weight: 700;\n line-height: 1.25;\n letter-spacing: -0.01em;\n text-wrap: balance;\n}\n.mero-cw-review__title:focus {\n outline: none;\n}\n.mero-cw-review__lede {\n margin: 4px 0 16px;\n color: var(--_muted);\n font-size: 14px;\n text-wrap: pretty;\n}\n.mero-cw-review__muted,\n.mero-cw-review__sub {\n color: var(--_muted);\n font-size: 12.5px;\n}\n.mero-cw-review__muted {\n margin: 8px 0 0;\n}\n.mero-cw-review__sub {\n display: block;\n margin-top: 2px;\n}\n.mero-cw-review__mono {\n font-family:\n ui-monospace,\n "SF Mono",\n SFMono-Regular,\n Menlo,\n Consolas,\n monospace;\n font-size: 12.5px;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__icon {\n flex: none;\n}\n.mero-cw-review__nobreak {\n white-space: nowrap;\n}\n.mero-cw-review__sec {\n padding: 14px 0;\n border-top: 1px solid var(--_line);\n}\n.mero-cw-review__h {\n display: flex;\n align-items: center;\n gap: 7px;\n margin: 0 0 10px;\n color: var(--_muted);\n font-size: 12px;\n font-weight: 600;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n}\n.mero-cw-review__h .mero-cw-shield__icon {\n margin-top: -1px;\n}\n.mero-cw-review__kv {\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin: 0;\n}\n.mero-cw-review__kv > div {\n display: grid;\n grid-template-columns: 96px minmax(0, 1fr);\n gap: 12px;\n}\n.mero-cw-review__kv dt {\n color: var(--_muted);\n}\n.mero-cw-review__kv dd {\n margin: 0;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__kv--raw {\n margin-bottom: 12px;\n}\n.mero-cw-review__tone--good {\n color: var(--_good-ink);\n}\n.mero-cw-review__tone--bad {\n color: var(--_bad-ink);\n font-weight: 600;\n}\n.mero-cw-review__copy,\n.mero-cw-review__link {\n margin-left: 8px;\n padding: 0;\n border: 0;\n background: none;\n color: var(--_focus);\n font: inherit;\n font-size: 12.5px;\n font-weight: 600;\n text-decoration: none;\n cursor: pointer;\n}\n.mero-cw-review__link {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n}\n.mero-cw-review__copy:hover,\n.mero-cw-review__link:hover {\n text-decoration: underline;\n}\n.mero-cw-review__sum {\n display: flex;\n flex-direction: column;\n gap: 10px;\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.mero-cw-review__sum li {\n display: flex;\n align-items: flex-start;\n gap: 10px;\n}\n.mero-cw-review__ic {\n display: grid;\n place-items: center;\n flex: none;\n width: 28px;\n height: 28px;\n border-radius: 50%;\n background: var(--_chip-bg);\n color: var(--_muted);\n}\n.mero-cw-review__sum li[data-tone=warn] .mero-cw-review__ic {\n background: var(--_warn-bg);\n color: var(--_warn-ink);\n}\n.mero-cw-review__sum li[data-tone=ok] .mero-cw-review__ic {\n background: var(--_good-bg);\n color: var(--_good-ink);\n}\n.mero-cw-review__tx {\n display: flex;\n flex-direction: column;\n min-width: 0;\n padding-top: 3px;\n}\n.mero-cw-review__tx span {\n color: var(--_muted);\n font-size: 12.5px;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__more {\n margin-top: 0;\n}\n.mero-cw-review__sum + .mero-cw-review__more {\n margin-top: 10px;\n}\n.mero-cw-review__more > summary,\n.mero-cw-review__how > summary {\n display: flex;\n align-items: center;\n gap: 6px;\n min-height: 44px;\n color: var(--_focus);\n font-weight: 600;\n cursor: pointer;\n list-style: none;\n}\n.mero-cw-review summary::-webkit-details-marker {\n display: none;\n}\n.mero-cw-review__more > summary::after,\n.mero-cw-review__how > summary::after,\n.mero-cw-review__grp > summary::after,\n.mero-cw-review__act > summary::after {\n content: "";\n flex: none;\n width: 7px;\n height: 7px;\n margin: 0 3px;\n border: solid currentColor;\n border-width: 0 2px 2px 0;\n transform: rotate(-45deg);\n transition: transform 0.15s ease;\n}\n.mero-cw-review details[open] > summary::after {\n transform: rotate(45deg);\n}\n.mero-cw-review summary:focus-visible,\n.mero-cw-review__btn:focus-visible,\n.mero-cw-review__chip:focus-visible,\n.mero-cw-review__copy:focus-visible,\n.mero-cw-review__link:focus-visible {\n outline: 2px solid var(--_focus);\n outline-offset: 2px;\n border-radius: 6px;\n}\n.mero-cw-review__chips {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n margin: 4px 0 10px;\n}\n.mero-cw-review__chip {\n min-height: 36px;\n padding: 0 12px;\n border: 1px solid var(--_line);\n border-radius: 999px;\n background: var(--_surface);\n color: var(--_ink);\n font: inherit;\n font-size: 12.5px;\n font-weight: 600;\n cursor: pointer;\n}\n.mero-cw-review__chip[aria-pressed=true] {\n border-color: transparent;\n background: var(--_primary-bg);\n color: var(--_primary-ink);\n}\n.mero-cw-review__grp {\n margin-top: 8px;\n border: 1px solid var(--_line);\n border-radius: 12px;\n}\n.mero-cw-review__grp > summary {\n display: flex;\n align-items: center;\n gap: 10px;\n min-height: 48px;\n padding: 8px 12px;\n cursor: pointer;\n list-style: none;\n color: var(--_muted);\n}\n.mero-cw-review__grp-text {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-width: 0;\n}\n.mero-cw-review__grp-text b {\n color: var(--_ink);\n}\n.mero-cw-review__grp-text span {\n font-size: 12.5px;\n}\n.mero-cw-review__count {\n flex: none;\n min-width: 22px;\n padding: 1px 7px;\n border-radius: 999px;\n background: var(--_chip-bg);\n color: var(--_ink);\n font-size: 12px;\n font-weight: 600;\n text-align: center;\n}\n.mero-cw-review__acts {\n border-top: 1px solid var(--_line);\n}\n.mero-cw-review__act + .mero-cw-review__act {\n border-top: 1px solid var(--_line);\n}\n.mero-cw-review__act > summary,\n.mero-cw-review__act-head {\n display: flex;\n align-items: center;\n gap: 8px;\n min-height: 40px;\n padding: 6px 12px;\n cursor: pointer;\n list-style: none;\n color: var(--_muted);\n}\n.mero-cw-review__act-head {\n cursor: default;\n}\n.mero-cw-review__act-main {\n display: flex;\n flex: 1 1 0;\n flex-direction: column;\n gap: 1px;\n min-width: 0;\n}\n.mero-cw-review__act-title {\n color: var(--_ink);\n font-weight: 600;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__act-doc {\n font-size: 12px;\n font-style: italic;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__act-doc code,\n.mero-cw-review__said code {\n font-family:\n ui-monospace,\n "SF Mono",\n SFMono-Regular,\n Menlo,\n Consolas,\n monospace;\n font-size: 0.92em;\n font-style: normal;\n}\n.mero-cw-review__act > summary::after {\n margin-left: 0;\n}\n.mero-cw-review__tags {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n justify-content: flex-end;\n gap: 4px;\n max-width: 55%;\n}\n.mero-cw-review__tag {\n padding: 1px 8px;\n border-radius: 999px;\n background: var(--_chip-bg);\n color: var(--_muted);\n font-size: 11.5px;\n font-weight: 600;\n white-space: nowrap;\n}\n.mero-cw-review__tag--passkey {\n background: var(--_warn-bg);\n color: var(--_warn-ink);\n}\n.mero-cw-review__tag--public {\n background: var(--_busy-bg);\n color: var(--_busy-ink);\n}\n.mero-cw-review__facts {\n padding: 2px 12px 12px;\n}\n.mero-cw-review__facts .mero-cw-review__kv {\n font-size: 12.5px;\n}\n.mero-cw-review__said {\n margin-top: 10px;\n padding: 8px 10px;\n border: 1px dashed var(--_line);\n border-radius: 8px;\n}\n.mero-cw-review__said span {\n color: var(--_muted);\n font-size: 11.5px;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.04em;\n}\n.mero-cw-review__said p {\n margin: 2px 0 0;\n font-style: italic;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__note {\n margin: 10px 0 0;\n color: var(--_muted);\n font-size: 12px;\n}\n.mero-cw-review__claims {\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.mero-cw-review__claims li {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n font-weight: 600;\n}\n.mero-cw-review__claims .mero-cw-shield__tick {\n margin-top: 3px;\n color: var(--_good-ink);\n}\n.mero-cw-review__claims--plain li {\n font-weight: 500;\n color: var(--_muted);\n}\n.mero-cw-review__claims + .mero-cw-review__grey {\n margin-top: 10px;\n}\n.mero-cw-review__how {\n margin: 12px 0 4px;\n font-size: 13px;\n}\n.mero-cw-review__how ul {\n margin: 4px 0 0;\n padding-left: 18px;\n color: var(--_muted);\n}\n.mero-cw-review__except {\n display: flex;\n flex-direction: column;\n gap: 6px;\n margin: 10px 0 0;\n padding: 0;\n list-style: none;\n}\n.mero-cw-review__except li {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n padding: 8px 10px;\n border-radius: 10px;\n background: var(--_warn-bg);\n color: var(--_warn-ink);\n font-size: 14px;\n font-weight: 600;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__except .mero-cw-review__icon {\n margin-top: 2px;\n}\n.mero-cw-review__grey {\n display: flex;\n flex-direction: column;\n gap: 2px;\n margin: 0;\n padding: 10px 12px;\n border-radius: 10px;\n background: var(--_tone-bg);\n color: var(--_ink);\n}\n.mero-cw-review__grey span {\n color: var(--_muted);\n font-size: 12.5px;\n}\n.mero-cw-review__alert {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: 8px 12px;\n margin: 10px 0 4px;\n padding: 10px 12px;\n border-radius: 10px;\n background: var(--_bad-bg);\n color: var(--_bad-ink);\n}\n.mero-cw-review__alert p {\n flex: 1 1 220px;\n margin: 0;\n font-weight: 600;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__buttons {\n position: sticky;\n bottom: calc(0px - var(--cw-review-inset, 0px));\n z-index: 1;\n display: flex;\n justify-content: flex-end;\n gap: 10px;\n margin-top: 8px;\n padding: 14px 0 calc(env(safe-area-inset-bottom, 0px) + 8px);\n border-top: 1px solid var(--_line);\n background: var(--_surface);\n}\n.mero-cw-review__btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-height: 44px;\n padding: 0 20px;\n border: 1px solid var(--_line);\n border-radius: 999px;\n background: var(--_surface);\n color: var(--_ink);\n font: inherit;\n font-weight: 600;\n cursor: pointer;\n}\n.mero-cw-review__btn:hover:not(:disabled) {\n border-color: var(--_ink);\n}\n.mero-cw-review__btn:disabled {\n opacity: 0.55;\n cursor: not-allowed;\n}\n.mero-cw-review__buttons .mero-cw-review__btn {\n white-space: nowrap;\n}\n.mero-cw-review__btn--primary {\n border-color: transparent;\n background: var(--_primary-bg);\n color: var(--_primary-ink);\n}\n.mero-cw-review__btn--primary:hover:not(:disabled) {\n border-color: transparent;\n opacity: 0.88;\n}\n.mero-cw-review__app {\n display: flex;\n align-items: center;\n gap: 12px;\n margin: 0 0 6px;\n padding: 12px;\n border: 1px solid var(--_line);\n border-radius: 14px;\n}\n.mero-cw-review__tile {\n display: grid;\n place-items: center;\n flex: none;\n width: 40px;\n height: 40px;\n border-radius: 10px;\n background: var(--_primary-bg);\n color: var(--_primary-ink);\n font-size: 18px;\n font-weight: 700;\n}\n.mero-cw-review__app-text {\n display: flex;\n flex-direction: column;\n min-width: 0;\n}\n.mero-cw-review__app-text b {\n overflow-wrap: anywhere;\n}\n.mero-cw-review__app-text span {\n color: var(--_muted);\n font-size: 13px;\n}\n.mero-cw-review__where {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 0;\n}\n.mero-cw-review__where-name {\n flex: 1;\n min-width: 0;\n font-weight: 600;\n overflow-wrap: anywhere;\n}\n.mero-cw-review__pill {\n flex: none;\n padding: 2px 10px;\n border-radius: 999px;\n background: var(--_tone-bg);\n color: var(--_tone);\n font-size: 12.5px;\n font-weight: 600;\n}\n.mero-cw-review__where[data-kind=unsealed] .mero-cw-review__pill {\n color: var(--_ink);\n}\n.mero-cw-review__app + .mero-cw-review__sec {\n border-top: 0;\n padding-top: 10px;\n}\n.mero-cw-review__tech {\n border-top: 1px solid var(--_line);\n padding-top: 4px;\n}\n.mero-cw-review__tech > details > .mero-cw-review__kv {\n margin: 4px 0 8px;\n font-size: 13.5px;\n}\n@media (max-width: 480px) {\n .mero-cw-review__kv > div {\n grid-template-columns: minmax(0, 1fr);\n gap: 0;\n }\n .mero-cw-review__kv dt {\n font-size: 12px;\n }\n .mero-cw-review__buttons .mero-cw-review__btn {\n flex: 1;\n padding: 0 12px;\n min-height: 48px;\n }\n .mero-cw-review__buttons .mero-cw-review__btn--primary {\n flex: 2;\n }\n}\n');
1873
1873
 
1874
1874
  // src/create-workspace/createWorkspace.css
1875
- styleInject('.mero-cw-overlay {\n position: fixed;\n inset: 0;\n z-index: var(--cw-z, 2147483000);\n display: grid;\n place-items: center;\n padding: 16px;\n background: rgba(15, 17, 23, 0.45);\n}\n.mero-cw-card {\n position: relative;\n box-sizing: border-box;\n width: 100%;\n max-width: 420px;\n max-height: calc(100dvh - 32px);\n display: flex;\n flex-direction: column;\n overflow: hidden;\n border-radius: 18px;\n background: var(--_surface);\n color: var(--_ink);\n box-shadow: 0 10px 30px rgba(15, 17, 23, 0.18);\n}\n.mero-cw-body {\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto;\n padding: 20px 22px 0;\n}\n.mero-cw-body > :last-child {\n margin-bottom: 20px;\n}\n.mero-cw-body .mero-cw-review__buttons {\n margin-bottom: 0;\n padding-bottom: 18px;\n}\n.mero-cw-card *,\n.mero-cw-card *::before,\n.mero-cw-card *::after {\n box-sizing: border-box;\n}\n.mero-cw-x {\n position: absolute;\n top: 12px;\n right: 14px;\n z-index: 2;\n display: grid;\n place-items: center;\n width: 28px;\n height: 28px;\n padding: 0;\n border: 0;\n border-radius: 50%;\n background: none;\n color: var(--_muted);\n cursor: pointer;\n}\n.mero-cw-x:hover {\n background: var(--_code-bg);\n color: var(--_ink);\n}\n.mero-cw-title {\n margin: 0 0 4px;\n padding-right: 28px;\n font-size: 17px;\n font-weight: 700;\n}\n.mero-cw-sub {\n margin: 0 0 14px;\n color: var(--_muted);\n font-size: 12.5px;\n line-height: 1.45;\n}\n.mero-cw-field {\n margin: 0 0 12px;\n}\n.mero-cw-field label {\n display: block;\n margin: 0 0 5px;\n font-size: 12px;\n font-weight: 600;\n}\n.mero-cw-field input {\n width: 100%;\n padding: 9px 11px;\n border: 1px solid var(--_line);\n border-radius: 10px;\n background: var(--_surface);\n color: var(--_ink);\n font: inherit;\n font-size: 13px;\n}\n.mero-cw-field select {\n width: 100%;\n padding: 9px 11px;\n border: 1px solid var(--_line);\n border-radius: 10px;\n background: var(--_surface);\n color: var(--_ink);\n font: inherit;\n font-size: 13px;\n}\n.mero-cw-field input:focus-visible,\n.mero-cw-field select:focus-visible {\n outline: 2px solid var(--_focus);\n outline-offset: 1px;\n}\n.mero-cw-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-height: 38px;\n padding: 0 16px;\n border: 1px solid var(--_line);\n border-radius: 999px;\n background: var(--_surface);\n color: var(--_ink);\n font: inherit;\n font-size: 13px;\n font-weight: 600;\n cursor: pointer;\n}\n.mero-cw-btn:disabled {\n opacity: 0.55;\n cursor: not-allowed;\n}\n.mero-cw-btn--primary {\n border-color: transparent;\n background: var(--_primary-bg);\n color: var(--_primary-ink);\n}\n.mero-cw-btn--full {\n width: 100%;\n}\n.mero-cw-btn:focus-visible,\n.mero-cw-link:focus-visible,\n.mero-cw-x:focus-visible {\n outline: 2px solid var(--_focus);\n outline-offset: 2px;\n}\n.mero-cw-link {\n border: 0;\n background: none;\n color: var(--_focus);\n font: inherit;\n font-size: 12.5px;\n font-weight: 600;\n cursor: pointer;\n}\n.mero-cw-link:hover {\n text-decoration: underline;\n}\n.mero-cw-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n margin-top: 14px;\n}\n.mero-cw-code {\n margin: 10px 0;\n padding: 10px;\n border-radius: 12px;\n background: var(--_code-bg);\n font-family:\n ui-monospace,\n "SF Mono",\n SFMono-Regular,\n Menlo,\n Consolas,\n monospace;\n font-size: 22px;\n font-weight: 700;\n letter-spacing: 3px;\n text-align: center;\n}\n.mero-cw-wait {\n display: flex;\n align-items: center;\n gap: 8px;\n color: var(--_muted);\n font-size: 12.5px;\n}\n.mero-cw-dot {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n background: var(--_focus);\n}\n@media (prefers-reduced-motion: no-preference) {\n .mero-cw-dot {\n animation: mero-cw-pulse 1.2s infinite;\n }\n}\n@keyframes mero-cw-pulse {\n 50% {\n opacity: 0.25;\n }\n}\n.mero-cw-error {\n margin: 0 0 12px;\n padding: 10px 12px;\n border-radius: 10px;\n background: var(--_bad-bg);\n color: var(--_bad-ink);\n font-size: 13px;\n font-weight: 600;\n overflow-wrap: anywhere;\n}\n.mero-cw-notice {\n position: fixed;\n right: 16px;\n bottom: 16px;\n z-index: var(--cw-z, 2147483000);\n max-width: 360px;\n padding: 10px 14px;\n border-radius: 10px;\n background: var(--_surface);\n color: var(--_ink);\n font-size: 13px;\n line-height: 1.4;\n box-shadow: 0 0 0 1px var(--_line), 0 12px 28px -12px rgba(14, 18, 34, 0.4);\n}\n.mero-cw-choices {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin: 0 0 12px;\n padding: 0;\n border: 0;\n}\n.mero-cw-choice {\n display: flex;\n align-items: flex-start;\n gap: 10px;\n padding: 10px 12px;\n border: 1px solid var(--_line);\n border-radius: 12px;\n cursor: pointer;\n}\n.mero-cw-choice:has(input:checked) {\n border-color: var(--_ink);\n}\n.mero-cw-choice input {\n margin-top: 3px;\n accent-color: var(--_primary-bg);\n}\n.mero-cw-choice b {\n display: block;\n font-size: 13px;\n}\n.mero-cw-choice .mero-cw-sub {\n display: block;\n margin: 2px 0 0;\n}\n.mero-cw-caps {\n display: flex;\n flex-direction: column;\n gap: 2px;\n margin: 0 0 14px;\n padding: 6px 4px;\n border-top: 1px solid var(--_line);\n border-bottom: 1px solid var(--_line);\n max-height: 220px;\n overflow-y: auto;\n}\n.mero-cw-cap {\n display: flex;\n flex-wrap: wrap;\n align-items: baseline;\n gap: 0 10px;\n padding: 6px 8px;\n font-size: 13px;\n}\n.mero-cw-cap label {\n display: flex;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n}\n.mero-cw-cap[data-disabled] {\n color: var(--_muted);\n}\n.mero-cw-cap[data-disabled] label {\n cursor: not-allowed;\n}\n.mero-cw-cap input {\n margin: 0;\n accent-color: var(--_primary-bg);\n}\n.mero-cw-hint {\n display: inline;\n color: var(--_muted);\n font-size: 11.5px;\n}\n.mero-cw-visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n white-space: nowrap;\n}\n');
1875
+ styleInject('.mero-cw-overlay {\n position: fixed;\n inset: 0;\n z-index: var(--cw-z, 2147483000);\n display: grid;\n place-items: center;\n padding: 16px;\n background: rgba(15, 17, 23, 0.5);\n overscroll-behavior: contain;\n}\n.mero-cw-card {\n position: relative;\n box-sizing: border-box;\n width: 100%;\n max-width: 440px;\n max-height: calc(100dvh - 32px);\n display: flex;\n flex-direction: column;\n overflow: hidden;\n border-radius: 18px;\n background: var(--_surface);\n color: var(--_ink);\n box-shadow: 0 0 0 1px var(--_line), 0 24px 64px -12px rgba(15, 17, 23, 0.35);\n}\n.mero-cw-body {\n flex: 1 1 auto;\n min-height: 0;\n overflow-y: auto;\n overscroll-behavior: contain;\n padding: 24px 24px 0;\n font-size: 15px;\n line-height: 1.5;\n}\n.mero-cw-body > :last-child {\n margin-bottom: 24px;\n}\n.mero-cw-body .mero-cw-review__buttons {\n margin-bottom: 0;\n padding-bottom: 18px;\n}\n.mero-cw-card *,\n.mero-cw-card *::before,\n.mero-cw-card *::after {\n box-sizing: border-box;\n}\n.mero-cw-x {\n position: absolute;\n top: 14px;\n right: 14px;\n z-index: 2;\n display: grid;\n place-items: center;\n width: 40px;\n height: 40px;\n padding: 0;\n border: 0;\n border-radius: 50%;\n background: none;\n color: var(--_muted);\n cursor: pointer;\n}\n.mero-cw-x:hover {\n background: var(--_code-bg);\n color: var(--_ink);\n}\n.mero-cw-title {\n margin: 0 0 4px;\n padding-right: 36px;\n font-size: 20px;\n font-weight: 700;\n line-height: 1.25;\n letter-spacing: -0.01em;\n text-wrap: balance;\n}\n.mero-cw-sub {\n margin: 0 0 20px;\n color: var(--_muted);\n font-size: 14px;\n line-height: 1.5;\n text-wrap: pretty;\n}\n.mero-cw-field {\n margin: 0 0 16px;\n}\n.mero-cw-field label {\n display: block;\n margin: 0 0 6px;\n font-size: 14px;\n font-weight: 600;\n}\n.mero-cw-field input {\n width: 100%;\n min-height: 48px;\n padding: 10px 14px;\n border: 1px solid var(--_control);\n border-radius: 12px;\n background: var(--_surface);\n color: var(--_ink);\n font: inherit;\n font-size: 16px;\n}\n.mero-cw-field select {\n width: 100%;\n min-height: 48px;\n padding: 10px 14px;\n border: 1px solid var(--_control);\n border-radius: 12px;\n background: var(--_surface);\n color: var(--_ink);\n font: inherit;\n font-size: 16px;\n}\n.mero-cw-field input:focus-visible,\n.mero-cw-field select:focus-visible {\n outline: 2px solid var(--_focus);\n outline-offset: 1px;\n}\n.mero-cw-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-height: 44px;\n padding: 0 20px;\n border: 1px solid var(--_line);\n border-radius: 999px;\n background: var(--_surface);\n color: var(--_ink);\n font: inherit;\n font-size: 15px;\n font-weight: 600;\n cursor: pointer;\n}\n.mero-cw-btn:hover:not(:disabled) {\n border-color: var(--_ink);\n}\n.mero-cw-btn:disabled {\n opacity: 0.55;\n cursor: not-allowed;\n}\n.mero-cw-btn--primary {\n border-color: transparent;\n background: var(--_primary-bg);\n color: var(--_primary-ink);\n}\n.mero-cw-btn--primary:hover:not(:disabled) {\n border-color: transparent;\n opacity: 0.88;\n}\n.mero-cw-btn--full {\n width: 100%;\n min-height: 48px;\n margin-top: 4px;\n}\n.mero-cw-btn:focus-visible,\n.mero-cw-link:focus-visible,\n.mero-cw-x:focus-visible {\n outline: 2px solid var(--_focus);\n outline-offset: 2px;\n}\n.mero-cw-link {\n min-height: 44px;\n padding: 0 4px;\n border: 0;\n background: none;\n color: var(--_focus);\n font: inherit;\n font-size: 14px;\n font-weight: 600;\n cursor: pointer;\n}\n.mero-cw-link:hover {\n text-decoration: underline;\n}\n.mero-cw-row {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n gap: 10px;\n margin-top: 16px;\n}\n.mero-cw-code {\n margin: 0 0 16px;\n padding: 18px 12px;\n border: 1px dashed var(--_control);\n border-radius: 14px;\n background: var(--_code-bg);\n font-family:\n ui-monospace,\n "SF Mono",\n SFMono-Regular,\n Menlo,\n Consolas,\n monospace;\n font-size: 28px;\n font-weight: 700;\n letter-spacing: 0.18em;\n text-align: center;\n font-variant-numeric: tabular-nums;\n}\n.mero-cw-wait {\n display: flex;\n align-items: center;\n gap: 8px;\n color: var(--_muted);\n font-size: 14px;\n}\n.mero-cw-dot {\n width: 8px;\n height: 8px;\n border-radius: 50%;\n background: var(--_focus);\n}\n@media (prefers-reduced-motion: no-preference) {\n .mero-cw-dot {\n animation: mero-cw-pulse 1.2s infinite;\n }\n}\n@keyframes mero-cw-pulse {\n 50% {\n opacity: 0.25;\n }\n}\n.mero-cw-error {\n margin: 0 0 16px;\n padding: 10px 12px;\n border-radius: 12px;\n background: var(--_bad-bg);\n color: var(--_bad-ink);\n font-size: 14px;\n font-weight: 600;\n overflow-wrap: anywhere;\n}\n.mero-cw-notice {\n position: fixed;\n right: 16px;\n bottom: 16px;\n z-index: var(--cw-z, 2147483000);\n max-width: 360px;\n padding: 10px 14px;\n border-radius: 10px;\n background: var(--_surface);\n color: var(--_ink);\n font-size: 13px;\n line-height: 1.4;\n box-shadow: 0 0 0 1px var(--_line), 0 12px 28px -12px rgba(14, 18, 34, 0.4);\n}\n.mero-cw-choices {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin: 0 0 12px;\n padding: 0;\n border: 0;\n}\n.mero-cw-choice {\n display: flex;\n align-items: flex-start;\n gap: 12px;\n padding: 12px 14px;\n border: 1px solid var(--_line);\n border-radius: 12px;\n cursor: pointer;\n}\n.mero-cw-choice:has(input:checked) {\n border-color: var(--_ink);\n}\n.mero-cw-choice input {\n width: 18px;\n height: 18px;\n margin-top: 2px;\n accent-color: var(--_primary-bg);\n}\n.mero-cw-choice b {\n display: block;\n font-size: 15px;\n}\n.mero-cw-choice .mero-cw-sub {\n display: block;\n margin: 2px 0 0;\n}\n.mero-cw-caps {\n display: flex;\n flex-direction: column;\n gap: 2px;\n margin: 0 0 14px;\n padding: 6px 4px;\n border-top: 1px solid var(--_line);\n border-bottom: 1px solid var(--_line);\n max-height: 220px;\n overflow-y: auto;\n}\n.mero-cw-cap {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 0 10px;\n min-height: 44px;\n padding: 4px 8px;\n font-size: 15px;\n}\n.mero-cw-cap label {\n display: flex;\n align-items: center;\n gap: 10px;\n cursor: pointer;\n}\n.mero-cw-cap[data-disabled] {\n color: var(--_muted);\n}\n.mero-cw-cap[data-disabled] label {\n cursor: not-allowed;\n}\n.mero-cw-cap input {\n width: 18px;\n height: 18px;\n margin: 0;\n accent-color: var(--_primary-bg);\n}\n.mero-cw-hint {\n display: inline;\n color: var(--_muted);\n font-size: 13px;\n}\n.mero-cw-visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip: rect(0 0 0 0);\n white-space: nowrap;\n}\n@media (prefers-reduced-motion: no-preference) {\n .mero-cw-overlay {\n animation: mero-cw-fade 160ms ease-out;\n }\n .mero-cw-card {\n animation: mero-cw-rise 220ms cubic-bezier(0.22, 1, 0.36, 1);\n }\n}\n@keyframes mero-cw-fade {\n from {\n opacity: 0;\n }\n}\n@keyframes mero-cw-rise {\n from {\n opacity: 0;\n transform: translateY(12px) scale(0.98);\n }\n}\n@media (max-width: 560px) {\n .mero-cw-overlay {\n place-items: end stretch;\n padding: 0;\n }\n .mero-cw-card {\n max-width: none;\n max-height: calc(100dvh - 24px);\n border-radius: 20px 20px 0 0;\n }\n .mero-cw-card::before {\n content: "";\n position: absolute;\n top: 8px;\n left: 50%;\n width: 36px;\n height: 4px;\n margin-left: -18px;\n border-radius: 999px;\n background: var(--_line);\n }\n .mero-cw-body {\n padding: 28px 20px 0;\n }\n .mero-cw-body > :last-child {\n margin-bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);\n }\n .mero-cw-body .mero-cw-review__buttons {\n padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);\n }\n .mero-cw-x {\n top: 16px;\n right: 12px;\n }\n .mero-cw-notice {\n left: 12px;\n right: 12px;\n bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);\n max-width: none;\n }\n}\n@media (max-width: 560px) and (prefers-reduced-motion: no-preference) {\n .mero-cw-card {\n animation: mero-cw-sheet 260ms cubic-bezier(0.22, 1, 0.36, 1);\n }\n}\n@keyframes mero-cw-sheet {\n from {\n transform: translateY(100%);\n }\n}\n');
1876
1876
  var subscribeNothing = () => () => void 0;
1877
1877
  var useMounted = () => useSyncExternalStore(subscribeNothing, () => true, () => false);
1878
1878
  var CloseIcon = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", width: "16", height: "16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { d: "m6 6 12 12M18 6 6 18", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }) });
@@ -2320,19 +2320,21 @@ function Diverged({ divergence }) {
2320
2320
  /* @__PURE__ */ jsx("span", { children: "This node runs different code than the release, so no statement about your data is made here." })
2321
2321
  ] }) });
2322
2322
  }
2323
- function ReviewBody({ review, release, cluster, local, noun }) {
2323
+ var STATUS = { verified: "Verified", checking: "Checking\u2026", unsealed: "Not sealed", refused: "Refused" };
2324
+ var IN_EXCEPTIONS = /* @__PURE__ */ new Set(["public", "publicCalls", "outside"]);
2325
+ function ReviewBody({ review, release, cluster, noun }) {
2324
2326
  const { client, state, loaded, retry } = review;
2325
2327
  const view = describeShield(state, { code: null });
2326
2328
  const card = loaded.status === "ready" ? loaded.card : null;
2327
2329
  const sealed = view.kind === "verified";
2328
2330
  const nodeRelease = state.status === "verified" && !state.mock ? state.release : void 0;
2329
2331
  const code = card ? codeLine(card, null, sealed) : null;
2330
- const summary = card ? summarize(card, sealed) : [];
2331
2332
  const risks = card ? exceptions(card, sealed) : [];
2333
+ const summary = card ? summarize(card, sealed).filter((line) => !(risks.length > 0 && IN_EXCEPTIONS.has(line.id))) : [];
2332
2334
  const statements = dataStatements(view.kind, "creator", noun);
2333
- const nodes = client && !local ? `${client.nodes.length} ${client.nodes.length === 1 ? "node" : "nodes"}` : "";
2334
2335
  const unreleased = loaded.status === "none";
2335
2336
  const unknown = unreleased ? "This build has no signed release, so what it can do and what leaves the sealed hardware is not known." : !card ? "What leaves the sealed hardware is not known until the app's details load." : !card.abi ? "This app publishes no action list, so what it makes visible to anyone is not known." : null;
2337
+ const appName = card?.name ?? release.package;
2336
2338
  return /* @__PURE__ */ jsxs(Fragment, { children: [
2337
2339
  loaded.status === "error" && /* @__PURE__ */ jsxs("div", { className: "mero-cw-review__alert", role: "alert", children: [
2338
2340
  /* @__PURE__ */ jsxs("p", { children: [
@@ -2341,84 +2343,24 @@ function ReviewBody({ review, release, cluster, local, noun }) {
2341
2343
  ] }),
2342
2344
  /* @__PURE__ */ jsx("button", { type: "button", className: "mero-cw-review__btn", onClick: retry, children: "Try again" })
2343
2345
  ] }),
2344
- /* @__PURE__ */ jsx(Section, { title: "The app", children: /* @__PURE__ */ jsxs("dl", { className: "mero-cw-review__kv", children: [
2345
- /* @__PURE__ */ jsxs("div", { children: [
2346
- /* @__PURE__ */ jsx("dt", { children: "App" }),
2347
- /* @__PURE__ */ jsx("dd", { children: unreleased ? `${release.package} (unreleased build)` : `${card?.name ?? release.package} v${release.version}` })
2348
- ] }),
2349
- card && /* @__PURE__ */ jsxs("div", { children: [
2350
- /* @__PURE__ */ jsx("dt", { children: "Publisher" }),
2351
- /* @__PURE__ */ jsxs("dd", { children: [
2352
- /* @__PURE__ */ jsx("span", { className: "mero-cw-review__mono", title: card.signer, children: shortSigner(card.signer) }),
2353
- /* @__PURE__ */ jsx(CopyButton, { text: card.signer, label: "Copy publisher" })
2354
- ] })
2355
- ] }),
2356
- code && /* @__PURE__ */ jsxs("div", { children: [
2357
- /* @__PURE__ */ jsx("dt", { children: "Code" }),
2358
- /* @__PURE__ */ jsxs("dd", { className: code.tone ? `mero-cw-review__tone--${code.tone}` : void 0, children: [
2359
- /* @__PURE__ */ jsx("span", { children: code.text }),
2360
- code.note && /* @__PURE__ */ jsx("span", { className: "mero-cw-review__sub", children: code.note })
2361
- ] })
2362
- ] })
2363
- ] }) }),
2364
- /* @__PURE__ */ jsxs(Section, { title: "What it can do", children: [
2365
- loaded.status === "loading" && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", role: "status", children: "Loading what this app can do\u2026" }),
2366
- loaded.status === "error" && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", children: "Not available until the review loads." }),
2367
- unreleased && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", children: "This app has no published release yet, so there is no signed review to show." }),
2368
- loaded.status === "refused" && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", children: "Not available: this node did not pass its check." }),
2369
- card && /* @__PURE__ */ jsxs(Fragment, { children: [
2370
- summary.length > 0 && /* @__PURE__ */ jsx("ul", { className: "mero-cw-review__sum", children: summary.map((line) => /* @__PURE__ */ jsxs("li", { "data-tone": line.tone, children: [
2371
- /* @__PURE__ */ jsx("span", { className: "mero-cw-review__ic", children: /* @__PURE__ */ jsx(Icon, { name: SUMMARY_ICON(line) }) }),
2372
- /* @__PURE__ */ jsxs("span", { className: "mero-cw-review__tx", children: [
2373
- /* @__PURE__ */ jsx("b", { children: line.title }),
2374
- /* @__PURE__ */ jsx("span", { children: line.detail })
2375
- ] })
2376
- ] }, line.id)) }),
2377
- !card.abi && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", children: "This app publishes no action list." }),
2378
- /* @__PURE__ */ jsx(AllActions, { card, signed: sealed }),
2379
- /* @__PURE__ */ jsx(SignedFacts, { card, signed: sealed })
2346
+ /* @__PURE__ */ jsxs("div", { className: "mero-cw-review__app", children: [
2347
+ /* @__PURE__ */ jsx("span", { className: "mero-cw-review__tile", "aria-hidden": "true", children: appName.replace(/^.*\./, "").charAt(0).toUpperCase() }),
2348
+ /* @__PURE__ */ jsxs("span", { className: "mero-cw-review__app-text", children: [
2349
+ /* @__PURE__ */ jsx("b", { children: appName }),
2350
+ /* @__PURE__ */ jsx("span", { children: unreleased ? "Unreleased build" : `Version ${release.version}` })
2380
2351
  ] })
2381
2352
  ] }),
2382
- /* @__PURE__ */ jsx(Section, { title: "Where it runs", kind: view.kind, children: /* @__PURE__ */ jsxs("dl", { className: "mero-cw-review__kv", children: [
2383
- /* @__PURE__ */ jsxs("div", { children: [
2384
- /* @__PURE__ */ jsx("dt", { children: "Cluster" }),
2385
- /* @__PURE__ */ jsx("dd", { children: cluster && /* @__PURE__ */ jsx(HostText, { text: cluster }) })
2386
- ] }),
2387
- nodes && /* @__PURE__ */ jsxs("div", { children: [
2388
- /* @__PURE__ */ jsx("dt", { children: "Nodes" }),
2389
- /* @__PURE__ */ jsx("dd", { children: nodes })
2390
- ] }),
2391
- nodeRelease && /* @__PURE__ */ jsxs("div", { children: [
2392
- /* @__PURE__ */ jsx("dt", { children: "Software" }),
2393
- /* @__PURE__ */ jsxs("dd", { children: [
2394
- /* @__PURE__ */ jsx("span", { className: "mero-cw-review__mono", children: `mero-tee v${nodeRelease}` }),
2395
- view.verifyUrl && /* @__PURE__ */ jsxs("a", { className: "mero-cw-review__link", href: view.verifyUrl, target: "_blank", rel: "noopener noreferrer", title: "Opens the public verifier, which re-checks this node from outside the app", children: [
2396
- "Verify",
2397
- /* @__PURE__ */ jsx(ExternalIcon, {})
2398
- ] })
2399
- ] })
2400
- ] }),
2401
- !sealed && /* @__PURE__ */ jsxs("div", { children: [
2402
- /* @__PURE__ */ jsx("dt", { children: "Status" }),
2403
- /* @__PURE__ */ jsx("dd", { children: view.title })
2404
- ] }),
2405
- state.status === "verified" && /* @__PURE__ */ jsxs("div", { children: [
2406
- /* @__PURE__ */ jsx("dt", { children: "Node" }),
2407
- /* @__PURE__ */ jsx("dd", { className: "mero-cw-review__mono", children: /* @__PURE__ */ jsx(HostText, { text: hostOf(state.url) }) })
2408
- ] })
2353
+ /* @__PURE__ */ jsx(Section, { title: "Where it runs", children: /* @__PURE__ */ jsxs("p", { className: "mero-cw-review__where", "data-kind": view.kind, children: [
2354
+ /* @__PURE__ */ jsx(ShieldIcon, { kind: view.kind }),
2355
+ /* @__PURE__ */ jsx("span", { className: "mero-cw-review__where-name", children: cluster ? /* @__PURE__ */ jsx(HostText, { text: cluster }) : "Your node" }),
2356
+ /* @__PURE__ */ jsx("span", { className: "mero-cw-review__pill", children: STATUS[view.kind] })
2409
2357
  ] }) }),
2410
- /* @__PURE__ */ jsx(Section, { title: "Your data", kind: code?.divergence ? "refused" : view.kind, children: code?.divergence ? /* @__PURE__ */ jsx(Diverged, { divergence: code.divergence }) : /* @__PURE__ */ jsxs(Fragment, { children: [
2358
+ /* @__PURE__ */ jsx(Section, { title: "Your data", children: code?.divergence ? /* @__PURE__ */ jsx(Diverged, { divergence: code.divergence }) : /* @__PURE__ */ jsxs(Fragment, { children: [
2411
2359
  statements.length > 0 && /* @__PURE__ */ jsx("ul", { className: sealed ? "mero-cw-review__claims" : "mero-cw-review__claims mero-cw-review__claims--plain", children: statements.map((text) => /* @__PURE__ */ jsxs("li", { children: [
2412
2360
  sealed && /* @__PURE__ */ jsx(Tick, {}),
2413
- /* @__PURE__ */ jsx("b", { children: text })
2361
+ /* @__PURE__ */ jsx("span", { children: text })
2414
2362
  ] }, text)) }),
2415
- sealed ? /* @__PURE__ */ jsxs("details", { className: "mero-cw-review__how", children: [
2416
- /* @__PURE__ */ jsx("summary", { children: /* @__PURE__ */ jsx("span", { children: "How we know" }) }),
2417
- /* @__PURE__ */ jsxs("ul", { children: [
2418
- nodeRelease && /* @__PURE__ */ jsx("li", { children: `Runs Calimero's published, signed node software (release v${nodeRelease})` }),
2419
- view.checks.map((text) => /* @__PURE__ */ jsx("li", { children: text }, text))
2420
- ] })
2421
- ] }) : /* @__PURE__ */ jsxs("p", { className: "mero-cw-review__grey", "data-kind": view.kind, children: [
2363
+ !sealed && /* @__PURE__ */ jsxs("p", { className: "mero-cw-review__grey", "data-kind": view.kind, children: [
2422
2364
  /* @__PURE__ */ jsx("b", { children: view.title }),
2423
2365
  /* @__PURE__ */ jsx("span", { children: view.sub })
2424
2366
  ] }),
@@ -2430,19 +2372,77 @@ function ReviewBody({ review, release, cluster, local, noun }) {
2430
2372
  ] }, text)) })
2431
2373
  ] }),
2432
2374
  sealed && unknown && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", children: unknown })
2375
+ ] }) }),
2376
+ /* @__PURE__ */ jsxs(Section, { title: "What it can do", children: [
2377
+ loaded.status === "loading" && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", role: "status", children: "Loading what this app can do\u2026" }),
2378
+ loaded.status === "error" && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", children: "Not available until the review loads." }),
2379
+ unreleased && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", children: "This app has no published release yet, so there is no signed review to show." }),
2380
+ loaded.status === "refused" && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", children: "Not available: this node did not pass its check." }),
2381
+ card && summary.length > 0 && /* @__PURE__ */ jsx("ul", { className: "mero-cw-review__sum", children: summary.map((line) => /* @__PURE__ */ jsxs("li", { "data-tone": line.tone, children: [
2382
+ /* @__PURE__ */ jsx("span", { className: "mero-cw-review__ic", children: /* @__PURE__ */ jsx(Icon, { name: SUMMARY_ICON(line) }) }),
2383
+ /* @__PURE__ */ jsxs("span", { className: "mero-cw-review__tx", children: [
2384
+ /* @__PURE__ */ jsx("b", { children: line.title }),
2385
+ /* @__PURE__ */ jsx("span", { children: line.detail })
2386
+ ] })
2387
+ ] }, line.id)) }),
2388
+ card && !card.abi && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", children: "This app publishes no action list." })
2389
+ ] }),
2390
+ /* @__PURE__ */ jsx("section", { className: "mero-cw-review__tech", "aria-label": "Technical details", children: /* @__PURE__ */ jsxs("details", { className: "mero-cw-review__more", children: [
2391
+ /* @__PURE__ */ jsx("summary", { children: /* @__PURE__ */ jsx("span", { children: "Technical details" }) }),
2392
+ /* @__PURE__ */ jsxs("dl", { className: "mero-cw-review__kv", children: [
2393
+ card && /* @__PURE__ */ jsxs("div", { children: [
2394
+ /* @__PURE__ */ jsx("dt", { children: "Publisher" }),
2395
+ /* @__PURE__ */ jsxs("dd", { children: [
2396
+ /* @__PURE__ */ jsx("span", { className: "mero-cw-review__mono", title: card.signer, children: shortSigner(card.signer) }),
2397
+ /* @__PURE__ */ jsx(CopyButton, { text: card.signer, label: "Copy publisher" })
2398
+ ] })
2399
+ ] }),
2400
+ code && /* @__PURE__ */ jsxs("div", { children: [
2401
+ /* @__PURE__ */ jsx("dt", { children: "Code" }),
2402
+ /* @__PURE__ */ jsxs("dd", { className: code.tone ? `mero-cw-review__tone--${code.tone}` : void 0, children: [
2403
+ /* @__PURE__ */ jsx("span", { children: code.text }),
2404
+ code.note && /* @__PURE__ */ jsx("span", { className: "mero-cw-review__sub", children: code.note })
2405
+ ] })
2406
+ ] }),
2407
+ nodeRelease && /* @__PURE__ */ jsxs("div", { children: [
2408
+ /* @__PURE__ */ jsx("dt", { children: "Software" }),
2409
+ /* @__PURE__ */ jsxs("dd", { children: [
2410
+ /* @__PURE__ */ jsx("span", { className: "mero-cw-review__mono", children: `mero-tee v${nodeRelease}` }),
2411
+ view.verifyUrl && /* @__PURE__ */ jsxs("a", { className: "mero-cw-review__link", href: view.verifyUrl, target: "_blank", rel: "noopener noreferrer", title: "Opens the public verifier, which re-checks this node from outside the app", children: [
2412
+ "Verify",
2413
+ /* @__PURE__ */ jsx(ExternalIcon, {})
2414
+ ] })
2415
+ ] })
2416
+ ] }),
2417
+ state.status === "verified" && /* @__PURE__ */ jsxs("div", { children: [
2418
+ /* @__PURE__ */ jsx("dt", { children: "Node" }),
2419
+ /* @__PURE__ */ jsx("dd", { className: "mero-cw-review__mono", children: /* @__PURE__ */ jsx(HostText, { text: hostOf(state.url) }) })
2420
+ ] })
2421
+ ] }),
2422
+ sealed && !code?.divergence && /* @__PURE__ */ jsxs("div", { className: "mero-cw-review__how", children: [
2423
+ /* @__PURE__ */ jsx("b", { children: "How we know" }),
2424
+ /* @__PURE__ */ jsxs("ul", { children: [
2425
+ nodeRelease && /* @__PURE__ */ jsx("li", { children: `Runs Calimero's published, signed node software (release v${nodeRelease})` }),
2426
+ view.checks.map((text) => /* @__PURE__ */ jsx("li", { children: text }, text))
2427
+ ] })
2428
+ ] }),
2429
+ card && /* @__PURE__ */ jsxs(Fragment, { children: [
2430
+ /* @__PURE__ */ jsx(AllActions, { card, signed: sealed }),
2431
+ /* @__PURE__ */ jsx(SignedFacts, { card, signed: sealed })
2432
+ ] })
2433
2433
  ] }) })
2434
2434
  ] });
2435
2435
  }
2436
- function WorkspaceReview({ client, cluster, local, noun = "workspace", release, creating = false, disabled = false, onBack, onCreate }) {
2436
+ function WorkspaceReview({ client, cluster, noun = "workspace", release, creating = false, disabled = false, onBack, onCreate }) {
2437
2437
  const heading = useRef(null);
2438
2438
  useEffect(() => heading.current?.focus(), []);
2439
2439
  const review = useReview(client, release);
2440
2440
  const refused = review.state.status === "refused";
2441
2441
  return /* @__PURE__ */ jsxs("div", { className: "mero-cw-review", children: [
2442
2442
  /* @__PURE__ */ jsx("h2", { ref: heading, tabIndex: -1, className: "mero-cw-review__title", children: "Review before creating" }),
2443
- /* @__PURE__ */ jsx("p", { className: "mero-cw-review__lede", children: `Check what this app can do and where it will run before you create the ${noun}.` }),
2444
- /* @__PURE__ */ jsx(ReviewBody, { review, release, cluster, local, noun }),
2445
- refused && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", children: "Create is unavailable: this node did not pass its check." }),
2443
+ /* @__PURE__ */ jsx("p", { className: "mero-cw-review__lede", children: `What this app can do with your ${noun}, and where it runs.` }),
2444
+ /* @__PURE__ */ jsx(ReviewBody, { review, release, cluster, noun }),
2445
+ refused && /* @__PURE__ */ jsx("p", { className: "mero-cw-review__muted", role: "note", children: "Create is unavailable: this node did not pass its check." }),
2446
2446
  /* @__PURE__ */ jsxs("div", { className: "mero-cw-review__buttons", children: [
2447
2447
  /* @__PURE__ */ jsx("button", { type: "button", className: "mero-cw-review__btn", disabled: creating, onClick: onBack, children: "Back" }),
2448
2448
  /* @__PURE__ */ jsx("button", { type: "button", className: "mero-cw-review__btn mero-cw-review__btn--primary", disabled: creating || disabled || refused, onClick: onCreate, children: creating ? "Creating\u2026" : `Create ${noun}` })
@@ -2885,7 +2885,7 @@ function useInviteAccept({ returnTo, noun, onJoined, onError }) {
2885
2885
  done: (outcome) => {
2886
2886
  const org = "direct" in outcome ? outcome.direct : orgOf(outcome.consent);
2887
2887
  if (!org) return noOrg(noun);
2888
- onJoined({ org });
2888
+ onJoined({ org, alreadyMember: false });
2889
2889
  return void 0;
2890
2890
  }
2891
2891
  });
@@ -2898,7 +2898,7 @@ function useAcceptResume({ noun, onJoined }) {
2898
2898
  onApproved: (_intent, result) => {
2899
2899
  const org = orgOf(result);
2900
2900
  if (!org) return noOrg(noun);
2901
- onJoined({ org });
2901
+ onJoined({ org, alreadyMember: false });
2902
2902
  return void 0;
2903
2903
  }
2904
2904
  });
@@ -3125,7 +3125,7 @@ function Dialog3({ open, onClose, token, org, appName, labels, onJoined, onError
3125
3125
  body = /* @__PURE__ */ jsxs("div", { children: [
3126
3126
  /* @__PURE__ */ jsx("h2", { className: "mero-cw-title", children: `You're already in ${name}` }),
3127
3127
  /* @__PURE__ */ jsx("p", { className: "mero-cw-sub", children: `The invitation was for ${name}, and you are already a member, so there is nothing to accept. It is still unused for the person it was meant for.` }),
3128
- /* @__PURE__ */ jsx("button", { type: "button", className: "mero-cw-btn mero-cw-btn--primary mero-cw-btn--full", onClick: () => onJoined({ org }), children: "Continue" })
3128
+ /* @__PURE__ */ jsx("button", { type: "button", className: "mero-cw-btn mero-cw-btn--primary mero-cw-btn--full", onClick: () => onJoined({ org, alreadyMember: true }), children: "Continue" })
3129
3129
  ] });
3130
3130
  } else {
3131
3131
  body = /* @__PURE__ */ jsxs("div", { children: [