Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/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(e,t=null,r=i.default.getInfoItemFieldValue){return(0,n.default)(e)&&r?r(c(c({},e),{},{editableTypeOptions:e.config,languageId:t})).catch((()=>Promise.resolve((0,o.getEditableLocalizedValue)(e,t,e)))):Promise.resolve((0,o.getEditableLocalizedValue)(e,t,e))};var i=a(r("../../services/InfoItemService")),o=r("../getEditableLocalizedValue"),n=a(r("./isMapped"));function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(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