{"ast":null,"code":"import createPrefixer from 'inline-style-prefixer/lib/createPrefixer';\nimport staticData from \"./static\";\nvar prefixAll = createPrefixer(staticData);\nexport default prefixAll;\nexport var prefixInlineStyles = function prefixInlineStyles(style) {\n  var prefixedStyles = prefixAll(style);\n  Object.keys(prefixedStyles).forEach(function (prop) {\n    var value = prefixedStyles[prop];\n\n    if (Array.isArray(value)) {\n      prefixedStyles[prop] = value[value.length - 1];\n    }\n  });\n  return prefixedStyles;\n};","map":{"version":3,"sources":["/Users/nishan/Desktop/oss/responsive-breakpoints/example/node_modules/react-native-web/dist/modules/prefixStyles/index.js"],"names":["createPrefixer","staticData","prefixAll","prefixInlineStyles","style","prefixedStyles","Object","keys","forEach","prop","value","Array","isArray","length"],"mappings":"AAQA,OAAOA,cAAP,MAA2B,0CAA3B;AACA,OAAOC,UAAP;AACA,IAAIC,SAAS,GAAGF,cAAc,CAACC,UAAD,CAA9B;AACA,eAAeC,SAAf;AACA,OAAO,IAAIC,kBAAkB,GAAG,SAASA,kBAAT,CAA4BC,KAA5B,EAAmC;AACjE,MAAIC,cAAc,GAAGH,SAAS,CAACE,KAAD,CAA9B;AAGAE,EAAAA,MAAM,CAACC,IAAP,CAAYF,cAAZ,EAA4BG,OAA5B,CAAoC,UAAUC,IAAV,EAAgB;AAClD,QAAIC,KAAK,GAAGL,cAAc,CAACI,IAAD,CAA1B;;AAEA,QAAIE,KAAK,CAACC,OAAN,CAAcF,KAAd,CAAJ,EAA0B;AACxBL,MAAAA,cAAc,CAACI,IAAD,CAAd,GAAuBC,KAAK,CAACA,KAAK,CAACG,MAAN,GAAe,CAAhB,CAA5B;AACD;AACF,GAND;AAOA,SAAOR,cAAP;AACD,CAZM","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\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 createPrefixer from 'inline-style-prefixer/lib/createPrefixer';\nimport staticData from './static';\nvar prefixAll = createPrefixer(staticData);\nexport default prefixAll;\nexport var prefixInlineStyles = function prefixInlineStyles(style) {\n  var prefixedStyles = prefixAll(style); // React@15 removed undocumented support for fallback values in\n  // inline-styles. Revert array values to the standard CSS value\n\n  Object.keys(prefixedStyles).forEach(function (prop) {\n    var value = prefixedStyles[prop];\n\n    if (Array.isArray(value)) {\n      prefixedStyles[prop] = value[value.length - 1];\n    }\n  });\n  return prefixedStyles;\n};"]},"metadata":{},"sourceType":"module"}