text: define("bitbucket/internal/widget/icons/icons-factory","exports classnames lodash prop-types react bitbucket/internal/bbui/tipsy/tipsy bitbucket/internal/util/components/react-functional".split(" "),function(c,a,f,r,t,u,l){Object.defineProperty(c,"__esModule",{value:!0});c.svgIconFactory=c.iconfontIconFactory=void 0;var m=babelHelpers.interopRequireDefault(a);a=babelHelpers.interopRequireDefault(r);var g=babelHelpers.interopRequireDefault(t),n=babelHelpers.interopRequireDefault(u),p=function(d){return"Icon"+
  (0,f.upperFirst)((0,f.camelCase)(d))+"'"},q={className:a.default.string,children:a.default.node,size:a.default.oneOf(["small","large"]),tooltip:a.default.bool},h={className:null,children:null,size:"small",tooltip:!1},k={small:"aui-icon-small",large:"aui-icon-large"};c.iconfontIconFactory=function(d){var a=function(b){var e=b.className,a=b.children,c=b.size,v=b.tooltip;b=babelHelpers.objectWithoutProperties(b,["className","children","size","tooltip"]);e=(0,m.default)("aui-icon",k[c]||k[h.size],"aui-iconfont-"+
  d,e);return v?g.default.createElement(n.default,babelHelpers.extends({className:e},b),a):g.default.createElement("span",babelHelpers.extends({className:e},b),a)};a.propTypes=q;a.defaultProps=h;a.displayName=p(d);return(0,l.pure)(a)};c.svgIconFactory=function(a){var c="icon-"+a,b=function(a){var b=a.className,d=a.children,e=a.size,f=a.tooltip;a=babelHelpers.objectWithoutProperties(a,["className","children","size","tooltip"]);b=(0,m.default)("aui-icon",k[e]||k[h.size],c,b);return f?g.default.createElement(n.default,
  babelHelpers.extends({className:b},a),d):g.default.createElement("span",babelHelpers.extends({className:b},a),d)};b.propTypes=q;b.defaultProps=h;b.displayName=p(a);return(0,l.pure)(b)}});