function __cfHardenFn(fn: Function) { Object.freeze(fn); const prototype = fn.prototype; if (prototype && typeof prototype === "object") { Object.freeze(prototype); } return fn; } import { __cfHelpers } from "commonfabric"; import { pattern } from "commonfabric"; const define = undefined; const runtimeDeps = undefined; const __cfAmdHooks = undefined; // FIXTURE: top-level-h-binding // Verifies: a module binding `h` at top level gets a `__cfHelpersShim()` trailer // forwarding to `__cfHelpers.h()` to keep the import live without duplicating // the authored `h` binding; JSX still dispatches through `__cfHelpers.h()`. const h = __cfHelpers.__cf_data(["a", "b"]); export default pattern((__cf_pattern_input) => { const title = __cf_pattern_input.key("title"); return (