feat(libSceNpManager): retain the game presence callback and validate content restrictions offline #6023

Closed
KernelPanicNT wants to merge 1 commit from upstream-pr/6023 into main
KernelPanicNT commented 2026-10-14 19:22:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by KernelPanicNT on 2026-10-14T19:22:17Z.


What

Implements sceNpSetContentRestriction (NID A2CQ3kgSopQ) and sceNpRegisterGamePresenceCallback (NID uFJpaKNBAj4) on the existing signed-out libSceNpManager model, and replaces the opaque 128-byte NpContentRestriction with its 0x18-byte layout.

Source of the behaviour. No console measurement is involved.

  • Layout: shadPS4's OrbisNpAgeRestriction / OrbisNpContentRestriction at f47bbd5 np_manager.h L56-L68: u64 size; s8 default_age_restriction; u8 padding[3]; s32 age_restriction_count; const OrbisNpAgeRestriction* age_restriction; with an 8-byte age entry (4-byte country code, s8 age, 3 padding bytes). KytyPS5, a PS5 emulator, has the same two structures (network.cpp L3799-L3811); this was pointed out in the review of #926.
  • Checks of sceNpSetContentRestriction: shadPS4 np_manager.cpp L748-L763, in this order: null restriction ORBIS_NP_ERROR_INVALID_ARGUMENT; size != sizeof(OrbisNpContentRestriction) ORBIS_NP_ERROR_INVALID_SIZE; negative default age or more than 0x100 age restrictions INVALID_ARGUMENT; a positive count with a null array INVALID_ARGUMENT; otherwise ORBIS_OK. The values are 0x80550003 and 0x80550011 (np_error.h L11 and L26); 0x80550003 is the SCE_NP_ERROR_INVALID_ARGUMENT this file already uses. KytyPS5 also rejects a null restriction and a wrong size (network.cpp L3960-L3964), as unimplemented paths.
  • sceNpRegisterGamePresenceCallback(callback, userdata) returns nothing and stores the callback and user data, replacing any earlier registration: shadPS4 np_manager.cpp L1121-L1126, where the callback is void (*)(const OrbisNpOnlineId* online_id, void* userdata) (L1070-L1071); KytyPS5 has the same void (void*, void*) signature (network.cpp L4007-L4009). No game presence event is delivered while the model stays signed out, as with the reachability callback merged in #1322.

Changes:

  • core/libs/SceTypes.hpp: NpAgeRestriction and the 0x18-byte NpContentRestriction, with static_asserts on both sizes. sceNpSetContentRestriction is the only user of the type.
  • core/libs/prx/libSceNpManager/Export.cpp: sceNpSetContentRestriction applies the checks above in shadPS4's order and returns 0 for a valid restriction, which nothing enforces while signed out. sceNpRegisterGamePresenceCallback stores the callback and user data under a mutex of its own (shadPS4 stores them under a mutex it shares with the Plus event callbacks); nothing reads the stored pair until a signed-in NP model delivers presence events. SCE_NP_ERROR_INVALID_SIZE is added.
  • core/libs/tests/GuestNpManager.cpp: guest_np_manager covers an empty restriction, two and 256 age entries (from a 256-entry array), 257 entries, a count with a null array, zero count with a null array, a negative count, a negative default age, a larger and a zero size, size checked before the ages, and a null restriction. For the presence callback it registers a callback with shadPS4's (const NpOnlineId*, void*) signature that increments the int its user data points to, replaces it with a second user data, then clears it, and checks after each step that no counter has changed, so the callback is never called. The new helpers are in the file's anonymous namespace.
  • docs/dev/debt/libSceNpManager.md: one entry per call under Functional, with the pinned shadPS4 lines and what is unverified, including that a negative age restriction count is accepted and that nothing reads the stored presence callback yet.

What is unverified: the checks and error codes are from the PS4 library; a negative age_restriction_count is accepted, as in shadPS4. The restriction is validated and dropped. No case throws.

Progress: libSceNpManager 30/34 → 32/34; system libraries 3269/3679 (88.86%) → 3271/3679 (88.91%) by tools/progress.py on the branch base e27ff7c and on this branch.

Tested

Head 46541633006bec172dc6efcd72b22c4f09d0a966, base e27ff7c545cb5ac669612567d853956ffa02ebe6.

  • Linux (Ubuntu 24.04, GCC 14.2.0, Ninja, Release, BUILD_TESTING=ON, AMD EPYC 7763 (GitHub Codespaces), tests run natively): guest_np_manager_tests passes in 5 of 5 runs, the test executable being run directly five times.
  • Negative control: keep the tests and replace only core/libs/prx/libSceNpManager/Export.cpp with the base version: guest_np_manager_tests fails with sceNpSetContentRestriction not implemented. Restoring the PR source and rebuilding, guest_np_manager_tests passes in 5 of 5 runs again.
  • Windows, full Build workflow on my fork (run 38618151303), this head built together with the other queued branches and merged into the fork's main at 2b7e3ce69fd889deceb6b52ac1fbf13e7c0d1084, WinLibs MinGW-w64 GCC 15.2.0, Release, BUILD_TESTING=ON: 1212/1212 tests pass; the relinker (Linux, Windows, macOS), register-context and write-watch jobs of the same run also pass.
  • Conventions checker and git diff --check pass. The Linux job of the Build workflow now targets the project's self-hosted runner, so it was not run on the fork; no title was run.

Duplicate and overlap check

Checked the files of every open PR on 2026-10-14 and searched open, merged and closed PRs for both names. No open PR implements or names either function.

Open PRs sharing a file (pairwise git merge-tree against each PR head):

  • #2852 (libSceNpManager/Export.cpp, GuestNpManager.cpp, sceNpGetUserIdByAccountId), rebased on 2026-10-15, now also adds an entry to docs/dev/debt/libSceNpManager.md; its hunks are apart from ours and it merges with this PR in either order.
  • Opened after this PR and re-checked on 2026-10-15: #6121 (NP state callbacks and sceNpCheckCallback) and #6056 (two unknown NIDs) change other hunks of Export.cpp, GuestNpManager.cpp and docs/dev/debt/libSceNpManager.md, and each merges with this PR in either order. #6044 moves GuestNpManager.cpp to core/libs/tests/services/; merging this branch into #6044's head gives no conflict, the test hunk following the move.
  • #5995, #5991, #5965, #5659 and #5611 change other structures in SceTypes.hpp: no conflict.

Earlier PRs on the same functions, all closed:

  • #2398 by @NahuelGenchi was the first submission of this work: the same 0x18-byte layout with static_asserts, SCE_NP_ERROR_INVALID_SIZE, the same null, size, default age, count and null array checks, and the presence callback and user data stored under a mutex. It was closed automatically by the intake pause ("This is not a judgment of the quality of your changes").
  • #4531 by @NahuelGenchi resubmitted the same layout and checks. It was closed on 2026-10-14 by the maintainer with: "no title is known to reach sceNpSetContentRestriction or sceNpRegisterGamePresenceCallback on main, and while the queue is this long we're holding PRs that don't name one"; the same comment said "the layout and checks are fine as they are". This PR does not name a title either (Unblocks is none), so that closing reason applies to it as well.
  • #926 by @Adin-bima: its review asked for the 0x18-byte layout and the INVALID_SIZE check, which this PR has. It was closed on 2026-10-11 because the review points from 2026-10-07 were still open.
  • #2829 and #3187 by @danzaio (a null check only) were closed automatically by the intake pause.
  • #3620, a mass PR that threw on a null presence callback and returned 0 for any restriction, was closed as unreviewable: it mixed about 25 unrelated libraries and replaced throwing stubs with constant returns.

The overlapping work is @NahuelGenchi's: #2398 came first and #4531 followed with the same layout and checks. Both rejected a negative count, which shadPS4 accepts and this PR accepts. This PR's presence test registers a real callback with counters instead of an invalid pointer.

The branch is one commit based on e27ff7c.

Checklist

  • Based on main (e27ff7c); no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes (Claude)

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4863268684 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6023). Originally posted by [KernelPanicNT](https://github.com/KernelPanicNT) on 2026-10-14T19:22:17Z. --- ### What Implements `sceNpSetContentRestriction` (NID `A2CQ3kgSopQ`) and `sceNpRegisterGamePresenceCallback` (NID `uFJpaKNBAj4`) on the existing signed-out libSceNpManager model, and replaces the opaque 128-byte `NpContentRestriction` with its 0x18-byte layout. **Source of the behaviour.** No console measurement is involved. - Layout: shadPS4's `OrbisNpAgeRestriction` / `OrbisNpContentRestriction` at [`f47bbd5` np_manager.h L56-L68](https://github.com/shadps4-emu/shadPS4/blob/f47bbd5d6e9f49d3fd11cb4fd50533a835976a08/src/core/libraries/np/np_manager.h#L56-L68): `u64 size; s8 default_age_restriction; u8 padding[3]; s32 age_restriction_count; const OrbisNpAgeRestriction* age_restriction;` with an 8-byte age entry (4-byte country code, `s8` age, 3 padding bytes). KytyPS5, a PS5 emulator, has the same two structures ([network.cpp L3799-L3811](https://github.com/KytyPS5/KytyPS5/blob/59183dbfa81ed7efdff6069177fed50de0552725/src/libs/network.cpp#L3799-L3811)); this was pointed out in the review of #926. - Checks of `sceNpSetContentRestriction`: shadPS4 [np_manager.cpp L748-L763](https://github.com/shadps4-emu/shadPS4/blob/f47bbd5d6e9f49d3fd11cb4fd50533a835976a08/src/core/libraries/np/np_manager.cpp#L748-L763), in this order: null restriction `ORBIS_NP_ERROR_INVALID_ARGUMENT`; `size != sizeof(OrbisNpContentRestriction)` `ORBIS_NP_ERROR_INVALID_SIZE`; negative default age or more than `0x100` age restrictions `INVALID_ARGUMENT`; a positive count with a null array `INVALID_ARGUMENT`; otherwise `ORBIS_OK`. The values are `0x80550003` and `0x80550011` ([np_error.h L11 and L26](https://github.com/shadps4-emu/shadPS4/blob/f47bbd5d6e9f49d3fd11cb4fd50533a835976a08/src/core/libraries/np/np_error.h#L11-L26)); `0x80550003` is the `SCE_NP_ERROR_INVALID_ARGUMENT` this file already uses. KytyPS5 also rejects a null restriction and a wrong `size` ([network.cpp L3960-L3964](https://github.com/KytyPS5/KytyPS5/blob/59183dbfa81ed7efdff6069177fed50de0552725/src/libs/network.cpp#L3960-L3964)), as unimplemented paths. - `sceNpRegisterGamePresenceCallback(callback, userdata)` returns nothing and stores the callback and user data, replacing any earlier registration: shadPS4 [np_manager.cpp L1121-L1126](https://github.com/shadps4-emu/shadPS4/blob/f47bbd5d6e9f49d3fd11cb4fd50533a835976a08/src/core/libraries/np/np_manager.cpp#L1121-L1126), where the callback is `void (*)(const OrbisNpOnlineId* online_id, void* userdata)` ([L1070-L1071](https://github.com/shadps4-emu/shadPS4/blob/f47bbd5d6e9f49d3fd11cb4fd50533a835976a08/src/core/libraries/np/np_manager.cpp#L1070-L1071)); KytyPS5 has the same `void (void*, void*)` signature ([network.cpp L4007-L4009](https://github.com/KytyPS5/KytyPS5/blob/59183dbfa81ed7efdff6069177fed50de0552725/src/libs/network.cpp#L4007-L4009)). No game presence event is delivered while the model stays signed out, as with the [reachability callback](https://github.com/boykopovar/AnyPS5/blob/706ad6c20cf5c5d9a65dbbe39434c003791c37a6/core/libs/prx/libSceNpManager/Export.cpp#L146-L153) merged in #1322. Changes: - `core/libs/SceTypes.hpp`: `NpAgeRestriction` and the 0x18-byte `NpContentRestriction`, with `static_assert`s on both sizes. `sceNpSetContentRestriction` is the only user of the type. - `core/libs/prx/libSceNpManager/Export.cpp`: `sceNpSetContentRestriction` applies the checks above in shadPS4's order and returns 0 for a valid restriction, which nothing enforces while signed out. `sceNpRegisterGamePresenceCallback` stores the callback and user data under a mutex of its own (shadPS4 stores them under a mutex it shares with the Plus event callbacks); nothing reads the stored pair until a signed-in NP model delivers presence events. `SCE_NP_ERROR_INVALID_SIZE` is added. - `core/libs/tests/GuestNpManager.cpp`: `guest_np_manager` covers an empty restriction, two and 256 age entries (from a 256-entry array), 257 entries, a count with a null array, zero count with a null array, a negative count, a negative default age, a larger and a zero `size`, `size` checked before the ages, and a null restriction. For the presence callback it registers a callback with shadPS4's `(const NpOnlineId*, void*)` signature that increments the `int` its user data points to, replaces it with a second user data, then clears it, and checks after each step that no counter has changed, so the callback is never called. The new helpers are in the file's anonymous namespace. - `docs/dev/debt/libSceNpManager.md`: one entry per call under Functional, with the pinned shadPS4 lines and what is unverified, including that a negative age restriction count is accepted and that nothing reads the stored presence callback yet. What is unverified: the checks and error codes are from the PS4 library; a negative `age_restriction_count` is accepted, as in shadPS4. The restriction is validated and dropped. No case throws. Progress: libSceNpManager 30/34 → 32/34; system libraries 3269/3679 (88.86%) → 3271/3679 (88.91%) by `tools/progress.py` on the branch base `e27ff7c` and on this branch. ### Tested Head `46541633006bec172dc6efcd72b22c4f09d0a966`, base `e27ff7c545cb5ac669612567d853956ffa02ebe6`. - **Linux** (Ubuntu 24.04, GCC 14.2.0, Ninja, Release, `BUILD_TESTING=ON`, AMD EPYC 7763 (GitHub Codespaces), tests run natively): `guest_np_manager_tests` passes in 5 of 5 runs, the test executable being run directly five times. - **Negative control:** keep the tests and replace only `core/libs/prx/libSceNpManager/Export.cpp` with the base version: `guest_np_manager_tests` fails with `sceNpSetContentRestriction not implemented`. Restoring the PR source and rebuilding, `guest_np_manager_tests` passes in 5 of 5 runs again. - **Windows, full Build workflow on my fork** ([run 38618151303](https://github.com/KernelPanicNT/AnyPS5/actions/runs/38618151303)), this head built together with the other queued branches and merged into the fork's `main` at `2b7e3ce69fd889deceb6b52ac1fbf13e7c0d1084`, WinLibs MinGW-w64 GCC 15.2.0, Release, `BUILD_TESTING=ON`: 1212/1212 tests pass; the relinker (Linux, Windows, macOS), register-context and write-watch jobs of the same run also pass. - Conventions checker and `git diff --check` pass. The Linux job of the Build workflow now targets the project's self-hosted runner, so it was not run on the fork; no title was run. ### Duplicate and overlap check Checked the files of every open PR on 2026-10-14 and searched open, merged and closed PRs for both names. No open PR implements or names either function. Open PRs sharing a file (pairwise `git merge-tree` against each PR head): - #2852 (`libSceNpManager/Export.cpp`, `GuestNpManager.cpp`, `sceNpGetUserIdByAccountId`), rebased on 2026-10-15, now also adds an entry to `docs/dev/debt/libSceNpManager.md`; its hunks are apart from ours and it merges with this PR in either order. - Opened after this PR and re-checked on 2026-10-15: #6121 (NP state callbacks and `sceNpCheckCallback`) and #6056 (two unknown NIDs) change other hunks of `Export.cpp`, `GuestNpManager.cpp` and `docs/dev/debt/libSceNpManager.md`, and each merges with this PR in either order. #6044 moves `GuestNpManager.cpp` to `core/libs/tests/services/`; merging this branch into #6044's head gives no conflict, the test hunk following the move. - #5995, #5991, #5965, #5659 and #5611 change other structures in `SceTypes.hpp`: no conflict. Earlier PRs on the same functions, all closed: - #2398 by @NahuelGenchi was the first submission of this work: the same 0x18-byte layout with `static_assert`s, `SCE_NP_ERROR_INVALID_SIZE`, the same null, size, default age, count and null array checks, and the presence callback and user data stored under a mutex. It was closed automatically by the intake pause ("This is not a judgment of the quality of your changes"). - #4531 by @NahuelGenchi resubmitted the same layout and checks. It was closed on 2026-10-14 by the maintainer with: "no title is known to reach `sceNpSetContentRestriction` or `sceNpRegisterGamePresenceCallback` on main, and while the queue is this long we're holding PRs that don't name one"; the same comment said "the layout and checks are fine as they are". This PR does not name a title either (Unblocks is none), so that closing reason applies to it as well. - #926 by @Adin-bima: its review asked for the 0x18-byte layout and the `INVALID_SIZE` check, which this PR has. It was closed on 2026-10-11 because the review points from 2026-10-07 were still open. - #2829 and #3187 by @danzaio (a null check only) were closed automatically by the intake pause. - #3620, a mass PR that threw on a null presence callback and returned 0 for any restriction, was closed as unreviewable: it mixed about 25 unrelated libraries and replaced throwing stubs with constant returns. The overlapping work is @NahuelGenchi's: #2398 came first and #4531 followed with the same layout and checks. Both rejected a negative count, which shadPS4 accepts and this PR accepts. This PR's presence test registers a real callback with counters instead of an invalid pointer. The branch is one commit based on `e27ff7c`. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on `main` (`e27ff7c`); no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes (Claude) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
github-actions[bot] commented 2026-10-14 19:23:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T19:23:00Z.


Progress report (19fc5a8 → 4654163)

📈 System libraries: 88.75% (+0.06%, +2 implemented functions)

✅ 2 implemented
Library Name
libSceNpManager sceNpRegisterGamePresenceCallback
libSceNpManager sceNpSetContentRestriction
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6176469794 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6023#issuecomment-6176469794). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-14T19:23:00Z. --- <!-- progress-report --> ### Progress report (19fc5a8 → 4654163) 📈 **System libraries**: 88.75% (+0.06%, +2 implemented functions) <details> <summary>✅ 2 implemented</summary> | Library | Name | | - | - | | libSceNpManager | `sceNpRegisterGamePresenceCallback` | | libSceNpManager | `sceNpSetContentRestriction` | </details>
github-actions[bot] commented 2026-10-15 12:13:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:13:32Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6447 core/libs/prx/libSceNpManager/Export.cpp L141-143, L182-184

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 6044 core/libs/tests/GuestNpManager.cpp
PR 6138 core/libs/SceTypes.hpp
PR 6977 core/libs/SceTypes.hpp
core/libs/prx/libSceNpManager/Export.cpp
docs/dev/debt/libSceNpManager.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6191773672 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6023#issuecomment-6191773672). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T12:13:32Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 6447](https://www.github.com/boykopovar/AnyPS5/pull/6447) | `core/libs/prx/libSceNpManager/Export.cpp` [L141-143](https://github.com/boykopovar/AnyPS5/blob/f55ccad7c92956f2f16c5151aafe58c4bdecb381/core/libs/prx/libSceNpManager/Export.cpp#L141-L143), [L182-184](https://github.com/boykopovar/AnyPS5/blob/f55ccad7c92956f2f16c5151aafe58c4bdecb381/core/libs/prx/libSceNpManager/Export.cpp#L182-L184) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/tests/GuestNpManager.cpp` | | [PR 6138](https://www.github.com/boykopovar/AnyPS5/pull/6138) | `core/libs/SceTypes.hpp` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/libs/SceTypes.hpp`<br>`core/libs/prx/libSceNpManager/Export.cpp`<br>`docs/dev/debt/libSceNpManager.md` |
KernelPanicNT commented 2026-10-18 15:07:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by KernelPanicNT on 2026-10-18T15:07:00Z.


Closing this myself for now. Like #4531, which this resubmits, no title is known to reach sceNpRegisterGamePresenceCallback or sceNpSetContentRestriction on current main, and the behaviour here rests on PS4 sources only, so it falls under the hold asked for on #4531 and #5635.

The closest consumer I found is Limbo (CUSA01664) in #6977, which implements sceNpSetContentRestriction as part of the PS4 bring-up. If that, or a PS5 title, stops on either call on main, I'll reopen with the title ID and the log line.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6251465585 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6023#issuecomment-6251465585). Originally posted by [KernelPanicNT](https://github.com/KernelPanicNT) on 2026-10-18T15:07:00Z. --- Closing this myself for now. Like #4531, which this resubmits, no title is known to reach `sceNpRegisterGamePresenceCallback` or `sceNpSetContentRestriction` on current `main`, and the behaviour here rests on PS4 sources only, so it falls under the hold asked for on #4531 and #5635. The closest consumer I found is Limbo (CUSA01664) in #6977, which implements `sceNpSetContentRestriction` as part of the PS4 bring-up. If that, or a PS5 title, stops on either call on `main`, I'll reopen with the title ID and the log line.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6023
No description provided.