Liferay.Loader.define("dynamic-data-mapping-form-field-type$liferay-ckeditor@4.21.0-liferay.11/ckeditor/plugins/pastefromgdocs/plugin", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    /*
    Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
    For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
    */
    (function () {
      CKEDITOR.plugins.add("pastefromgdocs", { requires: "pastetools", init: function (a) {
          var c = CKEDITOR.plugins.getPath("pastetools"),
              d = this.path;a.pasteTools.register({ filters: [CKEDITOR.getUrl(c + "filter/common.js"), CKEDITOR.getUrl(d + "filter/default.js")], canHandle: function (a) {
              return (/id=(\"|\')?docs\-internal\-guid\-/.test(a.data.dataValue)
              );
            }, handle: function (c, d) {
              var b = c.data,
                  e = CKEDITOR.plugins.pastetools.getClipboardData(b, "text/html");b.dontFilter = !0;b.dataValue = CKEDITOR.pasteFilters.gdocs(e, a);
              !0 === a.config.forcePasteAsPlainText && (b.type = "text");d();
            } });
        } });
    })();
  }
});
//# sourceMappingURL=plugin.js.map