text: 'use strict';Object.defineProperty(exports,"__esModule",{value:!0});var _extends=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a},_react=require("react"),_react2=_interopRequireDefault(_react),_utils=require("./utils");function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}function _objectWithoutProperties(a,b){var c={};for(var d in a)0<=b.indexOf(d)||Object.prototype.hasOwnProperty.call(a,d)&&(c[d]=a[d]);return c}var Image=function(a){var b=a.src,c=a.webp,d=a.alt,e=a.title,f=a.style,g=a.className,h=_objectWithoutProperties(a,["src","webp","alt","title","style","className"]),i=(0,_utils.isWebpSupported)(),j=b;return!0===i&&(j=c),_react2.default.createElement("img",_extends({},h,{src:j,alt:d,title:e,style:f,className:g}))};exports.default=Image;