Liferay.Loader.define("@liferay/search-experiences-web@3.0.7/sxp_blueprint_admin/js/shared/LearnMessage",["module","exports","require","@frontend-taglib-clay$clayui/link","liferay!frontend-js-react-web$react","../utils/language","./ThemeContext"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({resourceKey:e}){const{defaultLocale:t,learnMessages:r,locale:o}=(0,a.useContext)(u.default),f=(0,l.getLocalizedLearnMessageObject)(e,r,o,t);if(f.url)return a.default.createElement(n.default,{className:"learn-message",href:f.url,rel:"noopener noreferrer",target:"_blank"},f.message);return a.default.createElement(a.default.Fragment,null)};var n=f(r("@frontend-taglib-clay$clayui/link")),a=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}r.default=e,t&&t.set(e,r);return r}(r("liferay!frontend-js-react-web$react")),l=r("../utils/language"),u=f(r("./ThemeContext"));function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function f(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=LearnMessage.js.map