{"version":3,"sources":["node_modules\\fbjs\\lib\\requestAnimationFrame.js"],"names":["emptyFunction","require","nativeRequestAnimationFrame","lastTime","requestAnimationFrame","callback","currTime","Date","now","timeDelay","Math","max","global","setTimeout","module","exports"],"mappings":"AAAA;;;;;;;;;;;;AAYA,GAAIA,eAAgBC,QAAQ,iBAAR,CAApB;AACA,GAAIC,6BAA8BD,QAAQ,+BAAR,CAAlC;;AAEA,GAAIE,UAAW,CAAf;;AAEA,GAAIC,uBAAwBF,6BAA+B,SAAUG,QAAV,CAAoB;AAC7E,GAAIC,UAAWC,KAAKC,GAAL,EAAf;AACA,GAAIC,WAAYC,KAAKC,GAAL,CAAS,CAAT,CAAY,IAAML,SAAWH,QAAjB,CAAZ,CAAhB;AACAA,SAAWG,SAAWG,SAAtB;AACA,MAAOG,QAAOC,UAAP,CAAkB,UAAY;AACnCR,SAASE,KAAKC,GAAL,EAAT;AACD,CAFM,CAEJC,SAFI,CAAP;AAGD,CAPD;;;AAUAL,sBAAsBJ,aAAtB;;AAEAc,OAAOC,OAAP,CAAiBX,qBAAjB","file":"requestAnimationFrame.js","sourceRoot":"D:/Work/Office/react-native-on-web/cli/tmpl/project","sourcesContent":["'use strict';\n\n/**\n * Copyright 2014-2015, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\nvar emptyFunction = require('./emptyFunction');\nvar nativeRequestAnimationFrame = require('./nativeRequestAnimationFrame');\n\nvar lastTime = 0;\n\nvar requestAnimationFrame = nativeRequestAnimationFrame || function (callback) {\n  var currTime = Date.now();\n  var timeDelay = Math.max(0, 16 - (currTime - lastTime));\n  lastTime = currTime + timeDelay;\n  return global.setTimeout(function () {\n    callback(Date.now());\n  }, timeDelay);\n};\n\n// Works around a rare bug in Safari 6 where the first request is never invoked.\nrequestAnimationFrame(emptyFunction);\n\nmodule.exports = requestAnimationFrame;"]}