Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.173/page_editor/app/utils/editable_value/resolveEditableValue",["module","exports","require","../../services/InfoItemService","../getEditableLocalizedValue","./isMapped"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function resolveEditableValue(e,t=null,r=o.default.getInfoItemFieldValue){return(0,n.default)(e)&&r?r(_objectSpread(_objectSpread({},e),{},{editableTypeOptions:e.config,languageId:t})).catch((()=>Promise.resolve((0,i.getEditableLocalizedValue)(e,t,e)))):Promise.resolve((0,i.getEditableLocalizedValue)(e,t,e))};var o=_interopRequireDefault(r("../../services/InfoItemService")),i=r("../getEditableLocalizedValue"),n=_interopRequireDefault(r("./isMapped"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}}}));
//# sourceMappingURL=resolveEditableValue.js.map