# AtomX 3.3.3 - Unlock Patch

## What it does
- Bypasses purchase-code popup (`.verifyInstallationPack`) on pack install
- Bypasses `verification?method=premium|free` server roundtrip
- Forces all packs to install directly via `installPackageStepFileSystem()`
- Hides `verify-panel` and the "subscription required" UI walls
- Strips `is_demo_lock` from items so DEMO packs remain fully usable
- Auto-fakes subscription/auth state so `by_subscription` downloads proceed

## How it works
A new file `js/_atomx_unlock.js` is loaded LAST from `index.html` and
overrides the following functions defined by the original obfuscated code:

- `packageActivationServer(isPremium, packData)` -> calls the success
  continuation directly (`installPackageStepFileSystem()`) instead of doing
  the HTTP roundtrip.
- `changeShowHideBlurred(true, '.verifyInstallationPack', ...)` -> redirected
  to the success continuation (no popup is shown).
- `packageIsNoSubscriptionStyle(...)` -> no-op.
- `jQuery.fn.hasClass('is_demo_lock')` -> always false, so audio preview /
  drag handlers don't reject demo-locked items.
- A `MutationObserver` strips `is_demo_lock` from rendered DOM nodes.

The original obfuscated JS files are NOT modified.

## Reinstall
Copy this folder into a CEP extensions location:

- per-user (no admin): `%APPDATA%\Adobe\CEP\extensions\AtomX3.3.3-unlocked`
- system-wide (admin):  `%ProgramFiles(x86)%\Common Files\Adobe\CEP\extensions\AtomX3.3.3-unlocked`

Requires CEP `PlayerDebugMode=1` (already set on this machine for CSXS 6-12).

## Notes
- Older AtomX 3.2.5 may exist at
  `C:\Program Files (x86)\Common Files\Adobe\CEP\extensions\AtomX3.2.5`.
  Both share the Extension Id `Atom`. To avoid the host loading the old one,
  remove or rename `AtomX3.2.5` (admin required).
- Restart Premiere/AE fully after install/changes.
- DEMO packs only contain a few items; the patch unlocks the items that
  ARE inside the zip. To get more items you still need the full pack zip.