"use client";
/**
* /unlock/[scope] — the passcode unlock route (original
* buildPasscodeUnlockHref: "/unlock/2026?return=%2F"). A client page reading
* the scope segment and the `return` query, rendering the full-screen
* PasscodeUnlockScreen (original module 4278 `O`).
*/
import { Suspense } from "react";
import { useParams, useSearchParams } from "next/navigation";
import {
PasscodeUnlockScreen,
} from "@/components/dom/PasscodeUnlockScreen";
import {
sanitizePasscodeReturnTo,
scopeToPath,
} from "@/lib/passcode";
function UnlockInner() {
const params = useParams<{ scope: string }>();
const search = useSearchParams();
const scope = scopeToPath(String(params?.scope ?? ""));
const returnTo = sanitizePasscodeReturnTo(search.get("return"));
return ;
}
export default function UnlockPage() {
return (
);
}