PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` /** * TinyMCE version 6.0.2 (2022-04-27) */ (function () { 'use strict'; var global$2 = tinymce.util.Tools.resolve('tinymce.PluginManager'); var global$1 = tinymce.util.Tools.resolve('tinymce.Env'); var global = tinymce.util.Tools.resolve('tinymce.util.Tools'); const option = name => editor => editor.options.get(name); const getContentStyle = option('content_style'); const shouldUseContentCssCors = option('content_css_cors'); const getBodyClass = option('body_class'); const getBodyId = option('body_id'); const getPreviewHtml = editor => { var _a; let headHtml = ''; const encode = editor.dom.encode; const contentStyle = (_a = getContentStyle(editor)) !== null && _a !== void 0 ? _a : ''; headHtml += ''; const cors = shouldUseContentCssCors(editor) ? ' crossorigin="anonymous"' : ''; global.each(editor.contentCSS, url => { headHtml += ''; }); if (contentStyle) { headHtml += ''; } const bodyId = getBodyId(editor); const bodyClass = getBodyClass(editor); const isMetaKeyPressed = global$1.os.isMacOS() || global$1.os.isiOS() ? 'e.metaKey' : 'e.ctrlKey && !e.altKey'; const preventClicksOnLinksScript = ' '; const directionality = editor.getBody().dir; const dirAttr = directionality ? ' dir="' + encode(directionality) + '"' : ''; const previewHtml = '' + '' + '' + headHtml + '' + '' + editor.getContent() + preventClicksOnLinksScript + '' + ''; return previewHtml; }; const open = editor => { const content = getPreviewHtml(editor); const dataApi = editor.windowManager.open({ title: 'Preview', size: 'large', body: { type: 'panel', items: [{ name: 'preview', type: 'iframe', sandboxed: true }] }, buttons: [{ type: 'cancel', name: 'close', text: 'Close', primary: true }], initialData: { preview: content } }); dataApi.focus('close'); }; const register$1 = editor => { editor.addCommand('mcePreview', () => { open(editor); }); }; const register = editor => { const onAction = () => editor.execCommand('mcePreview'); editor.ui.registry.addButton('preview', { icon: 'preview', tooltip: 'Preview', onAction }); editor.ui.registry.addMenuItem('preview', { icon: 'preview', text: 'Preview', onAction }); }; var Plugin = () => { global$2.add('preview', editor => { register$1(editor); register(editor); }); }; Plugin(); })();