{"ast":null,"code":"import * as React from 'react';\nvar UNINITIALIZED = typeof Symbol === 'function' && typeof Symbol() === 'symbol' ? Symbol() : Object.freeze({});\nexport default function useStable(getInitialValue) {\n  var ref = React.useRef(UNINITIALIZED);\n\n  if (ref.current === UNINITIALIZED) {\n    ref.current = getInitialValue();\n  }\n\n  return ref.current;\n}","map":{"version":3,"sources":["/Users/nishan/Desktop/oss/responsive-breakpoints/example/node_modules/react-native-web/dist/modules/useStable/index.js"],"names":["React","UNINITIALIZED","Symbol","Object","freeze","useStable","getInitialValue","ref","useRef","current"],"mappings":"AAQA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,IAAIC,aAAa,GAAG,OAAOC,MAAP,KAAkB,UAAlB,IAAgC,OAAOA,MAAM,EAAb,KAAoB,QAApD,GAA+DA,MAAM,EAArE,GAA0EC,MAAM,CAACC,MAAP,CAAc,EAAd,CAA9F;AACA,eAAe,SAASC,SAAT,CAAmBC,eAAnB,EAAoC;AACjD,MAAIC,GAAG,GAAGP,KAAK,CAACQ,MAAN,CAAaP,aAAb,CAAV;;AAEA,MAAIM,GAAG,CAACE,OAAJ,KAAgBR,aAApB,EAAmC;AACjCM,IAAAA,GAAG,CAACE,OAAJ,GAAcH,eAAe,EAA7B;AACD;;AAGD,SAAOC,GAAG,CAACE,OAAX;AACD","sourcesContent":["/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nvar UNINITIALIZED = typeof Symbol === 'function' && typeof Symbol() === 'symbol' ? Symbol() : Object.freeze({});\nexport default function useStable(getInitialValue) {\n  var ref = React.useRef(UNINITIALIZED);\n\n  if (ref.current === UNINITIALIZED) {\n    ref.current = getInitialValue();\n  } // $FlowFixMe (#64650789) Trouble refining types where `Symbol` is concerned.\n\n\n  return ref.current;\n}"]},"metadata":{},"sourceType":"module"}