"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getActionIcon = void 0;
var _helpers = require("../../../../helpers");
const getActionIcon = function () {
  let url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  return url.includes('tel:') ? _helpers.ICON.PHONE : url.includes('mailto:') ? _helpers.ICON.MAIL : url.includes('http:') || url.includes('https:') ? _helpers.ICON.URL : undefined;
};
exports.getActionIcon = getActionIcon;
//# sourceMappingURL=getActionIcon.js.map