/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
import _extends from "@babel/runtime/helpers/extends";
import "./index.compiled.css";
import * as React from 'react';
import { ax, ix } from "@compiled/react/runtime";
import Lozenge from '@atlaskit/lozenge';
import { fg } from '@atlaskit/platform-feature-flags';
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
const wrapperStylesOld = null;
const wrapperStylesNew = null;
const InlineLozenge = props => {
  const shouldAddLozengeAttribute = expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp');
  if (fg('jfp-magma-platform-lozenge-jump-fix')) {
    return /*#__PURE__*/React.createElement("span", _extends({}, shouldAddLozengeAttribute && {
      'data-inline-card-lozenge': true
    }, {
      className: ax(["_1e0c1o8l _154i1n1a _kqswh2mm _19pkidpf _2hwx1b66 _otyridpf _18u0v77o _p12f1osq"])
    }), /*#__PURE__*/React.createElement(Lozenge, props));
  }
  return /*#__PURE__*/React.createElement("span", _extends({}, shouldAddLozengeAttribute && {
    'data-inline-card-lozenge': true
  }, {
    className: ax(["_1e0c1o8l _s7n4t94y _19pkidpf _2hwx1b66 _otyridpf _18u0v77o _p12f1osq"])
  }), /*#__PURE__*/React.createElement(Lozenge, props));
};
export default InlineLozenge;