Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.179/page_editor/app/processors/LinkProcessor",["module","exports","require","@liferay/layout-js-components-web","../utils/getEditableLinkValue","./getAlloyEditorProcessor","./getLinkableEditableEditorWrapper"],(function(e,t,r){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r("@liferay/layout-js-components-web"),i=r("../utils/getEditableLinkValue"),a=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r("./getAlloyEditorProcessor")),l=r("./getLinkableEditableEditorWrapper");var n=(0,a.default)("text",l.getLinkableEditableEditorWrapper,((e,t,r,a)=>{const l=e instanceof HTMLAnchorElement?e:e.querySelector("a"),n=(0,i.getEditableLinkValue)(r,a);if(l){const e=n.href?"".concat(r.prefix||"").concat(n.href):"#";l.href=e,l.target=n.target,(0,o.isNullOrUndefined)(t)||(l.innerHTML=t)}}));t.default=n}));
//# sourceMappingURL=LinkProcessor.js.map