"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getInputMethodFromParentKeys = void 0;
var _analytics = require("../analytics");
var _keys = require("./keys");
var getInputMethodFromParentKeys = exports.getInputMethodFromParentKeys = function getInputMethodFromParentKeys(parents) {
  var _parents$at;
  return ((_parents$at = parents.at(0)) === null || _parents$at === void 0 ? void 0 : _parents$at.key) === _keys.TOOLBARS.INLINE_TEXT_TOOLBAR ? _analytics.INPUT_METHOD.FLOATING_TB : _analytics.INPUT_METHOD.TOOLBAR;
};