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