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