/**
* SSR helper for referencing a client-script asset URL in a page or layout.
*
* ## Usage
*
* ```tsx
* import { clientScript } from "@takazudo/zfb";
*
* export default function MyPage() {
* return (
*
*
*
*
* …
*
* );
* }
* ```
*
* ## How it works
*
* `clientScript(name)` returns the **stable URL** for the named client-script
* entry: `${base}/assets/client/.js`. The production build pipeline
* (`ProductionAssetPipeline`) rewrites every occurrence of this stable URL in
* rendered HTML to the content-hashed equivalent
* (`/assets/client/-.js`), so the hash never needs to be known at
* SSR time.
*
* The `base` prefix is read from `globalThis.__zfb?.base` (emitted by the
* bundler when at least one `*.client.*` file exists in the project). For
* root-mounted sites (`base` is absent or `"/"`), the prefix is the empty
* string and `clientScript("search-widget")` returns
* `"/assets/client/search-widget.js"`. For a sub-path deploy
* (`base="/foo/"`), it returns `"/foo/assets/client/search-widget.js"`.
*
* ## SSR-only note (v1)
*
* This is an SSR-time helper. Calling it in browser-executed code works but
* the base prefix (`globalThis.__zfb.base`) is currently not shipped to the
* browser — `clientScript()` will return the unprefixed stable URL
* (`/assets/client/.js`) in that context. For the common use-case of
* rendering a `