"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("@evo/emoji"),t=require("@prom-ui/core/Image");function n(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var i=n(e);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},o.apply(this,arguments)}function a(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var c=["shortName","viewType","width","height"],u=i.forwardRef((function(e,n){var u=e.shortName,f=e.viewType,l=void 0===f?"apple":f,p=e.width,s=void 0===p?20:p,m=e.height,b=void 0===m?20:m,d=a(e,c);return i.createElement(t.Image,o({"image-as":r.Emoji,"image-alt":"hidden",alt:u?":".concat(u,":"):"",width:s,height:b},d,{name:u,type:l,ref:n}))}));u.displayName="ImageEmoji",exports.ImageEmoji=u;
