Liferay.Loader.define("@liferay/document-library-web@6.0.122/document_library/js/InfoPanel.es",["module","exports","require","liferay!document-library-web$clipboard","frontend-js-web"],(function(e,a,r){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var o=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r("liferay!document-library-web$clipboard")),i=r("frontend-js-web");class InfoPanel extends i.PortletBase{attached(){this._clipboard=new o.default(".dm-infopanel-copy-clipboard"),this._clipboard.on("success",this._handleClipboardSuccess.bind(this))}disposeInternal(){super.disposeInternal(),this._clipboard.destroy()}_handleClipboardSuccess(){(0,i.openToast)({message:Liferay.Language.get("copied-link-to-the-clipboard")})}}var n=InfoPanel;a.default=n}}));
//# sourceMappingURL=InfoPanel.es.js.map