···11-const React = require('react')
22-const $empty = Symbol.for('react.memo_cache_sentinel')
33-/**
44- * DANGER: this hook is NEVER meant to be called directly!
55- *
66- * Note that this is a temporary userspace implementation of this function
77- * from React 19. It is not as efficient and may invalidate more frequently
88- * than the official API. Please upgrade to React 19 as soon as you can.
99- **/
1010-export function c(size) {
1111- // eslint-disable-next-line react-hooks/rules-of-hooks
1212- return React.useState(() => {
1313- const $ = new Array(size)
1414- for (let ii = 0; ii < size; ii++) {
1515- $[ii] = $empty
1616- }
1717- // @ts-ignore
1818- $[$empty] = true
1919- return $
2020- })[0]
2121-}