Файловый менеджер - Редактировать - /var/www/html/autoresize.zip
Ðазад
PK ! S&�� � plugin.min.js.gznu �[��� � �U�o�6~�_!�A c�u���F�fX���`[�E:��$R Ov5[��@J��� �=I$�w�}w�����Et�*�}X�D[�N�����}�]D�/..&�V稌�lOZ�C�r$�6�HT��s-�J�S9a��j��~��R���J��q�O�n�47�ad$�9�9 �x,N��w�PR+}�Un�0��N�����N֢���?pg�`ו��5YQ(]���{�h�:��҄�JR���|���1EGYj�ᰫ@��� $!U� �����Tխi䌱���-7�yמP5&�e�Y�4R�V�DJ���+��Xo�*��DJ�P !�z�R�Z)�1�H5[�����2���c�%��Լ�59e�Z�I�O~AA�A4��N�۪r��q��]�ܯ�e�}EpE�Of��ֲ���4�T�?|#�ENY�}�y$���z�w�(��{�I�0��-�?� �N6c��,�ל��B���o����������&]���1]�S.��K�1S�8W�S��B�#�t9��7qL;����濫����n�[�N��&K��5��DJ$��رNvW㖿���JO�r2*�wS�|%�oL;�}�A�5�J>�� �%��u�(��9�B�U�ά�,�) �r��ӊ��a\+�:�ā�?��,œ\(�&+�O� >��+փ�d�W��.�՚�<)e����'�]�{���<�1�h2�R�pPA��ø�d���{F-�R8���i4(�Q���<�w�kj���w�D�)��(�)ن��㔴P*�`S|~�}cM����` /`��&�=��x|��ϳ~�3*�V���9���|��V��P�R�i�\�&Q��2�K��29G� o���g���8�KSי.(�sxݢ�|d�_�g��g37���:��S���z�0��N���B�2�r�iy����!�����Kפ������ ��7·g���꾇5&����!��ռ���z��/7=�C�*^1��g�Ԛ�����&�%D��̋���m����G�"�1�Nq��k)�c��:�#�*�Zӟ��:ԫg����çe���Sb9���G�D� X��g}%qAg�7ڌ%�kH��G{�KY�/� �� PK ! ���� � index.jsnu �[��� // Exports the "autoresize" plugin for usage with module loaders // Usage: // CommonJS: // require('tinymce/plugins/autoresize') // ES2015: // import 'tinymce/plugins/autoresize' require('./plugin.js');PK ! � �� � plugin.min.jsnu �[��� /** * TinyMCE version 6.8.6 (TBD) */ !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.Env");const o=e=>t=>t.options.get(e),s=o("min_height"),i=o("max_height"),n=o("autoresize_overflow_padding"),r=o("autoresize_bottom_margin"),l=(e,t)=>{const o=e.getBody();o&&(o.style.overflowY=t?"":"hidden",t||(o.scrollTop=0))},g=(e,t,o,s)=>{var i;const n=parseInt(null!==(i=e.getStyle(t,o,s))&&void 0!==i?i:"",10);return isNaN(n)?0:n},a=(e,o,r,c)=>{var d;const f=e.dom,u=e.getDoc();if(!u)return;if((e=>e.plugins.fullscreen&&e.plugins.fullscreen.isFullscreen())(e))return void l(e,!0);const m=u.documentElement,h=c?c():n(e),p=null!==(d=s(e))&&void 0!==d?d:e.getElement().offsetHeight;let y=p;const S=g(f,m,"margin-top",!0),v=g(f,m,"margin-bottom",!0);let C=m.offsetHeight+S+v+h;C<0&&(C=0);const b=e.getContainer().offsetHeight-e.getContentAreaContainer().offsetHeight;C+b>p&&(y=C+b);const w=i(e);if(w&&y>w?(y=w,l(e,!0)):l(e,!1),y!==o.get()){const s=y-o.get();if(f.setStyle(e.getContainer(),"height",y+"px"),o.set(y),(e=>{e.dispatch("ResizeEditor")})(e),t.browser.isSafari()&&(t.os.isMacOS()||t.os.isiOS())){const t=e.getWin();t.scrollTo(t.pageXOffset,t.pageYOffset)}e.hasFocus()&&(e=>{if("setcontent"===(null==e?void 0:e.type.toLowerCase())){const t=e;return!0===t.selection||!0===t.paste}return!1})(r)&&e.selection.scrollIntoView(),(t.browser.isSafari()||t.browser.isChromium())&&s<0&&a(e,o,r,c)}};e.add("autoresize",(e=>{if((e=>{const t=e.options.register;t("autoresize_overflow_padding",{processor:"number",default:1}),t("autoresize_bottom_margin",{processor:"number",default:50})})(e),e.options.isSet("resize")||e.options.set("resize",!1),!e.inline){const o=(e=>{let t=0;return{get:()=>t,set:e=>{t=e}}})();((e,t)=>{e.addCommand("mceAutoResize",(()=>{a(e,t)}))})(e,o),((e,o)=>{let s,i,l=()=>r(e);e.on("init",(i=>{s=0;const r=n(e),g=e.dom;g.setStyles(e.getDoc().documentElement,{height:"auto"}),t.browser.isEdge()||t.browser.isIE()?g.setStyles(e.getBody(),{paddingLeft:r,paddingRight:r,"min-height":0}):g.setStyles(e.getBody(),{paddingLeft:r,paddingRight:r}),a(e,o,i,l),s+=1})),e.on("NodeChange SetContent keyup FullscreenStateChanged ResizeContent",(t=>{if(1===s)i=e.getContainer().offsetHeight,a(e,o,t,l),s+=1;else if(2===s){const t=i<e.getContainer().offsetHeight;if(t){const t=e.dom,o=e.getDoc();t.setStyles(o.documentElement,{"min-height":0}),t.setStyles(e.getBody(),{"min-height":"inherit"})}l=t?(0,()=>0):l,s+=1}else a(e,o,t,l)}))})(e,o)}}))}();PK ! +7iO' ' plugin.jsnu �[��� /** * TinyMCE version 6.8.6 (TBD) */ (function () { 'use strict'; const Cell = initial => { let value = initial; const get = () => { return value; }; const set = v => { value = v; }; return { get, set }; }; var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager'); const constant = value => { return () => { return value; }; }; var global = tinymce.util.Tools.resolve('tinymce.Env'); const fireResizeEditor = editor => editor.dispatch('ResizeEditor'); const option = name => editor => editor.options.get(name); const register$1 = editor => { const registerOption = editor.options.register; registerOption('autoresize_overflow_padding', { processor: 'number', default: 1 }); registerOption('autoresize_bottom_margin', { processor: 'number', default: 50 }); }; const getMinHeight = option('min_height'); const getMaxHeight = option('max_height'); const getAutoResizeOverflowPadding = option('autoresize_overflow_padding'); const getAutoResizeBottomMargin = option('autoresize_bottom_margin'); const isFullscreen = editor => editor.plugins.fullscreen && editor.plugins.fullscreen.isFullscreen(); const toggleScrolling = (editor, state) => { const body = editor.getBody(); if (body) { body.style.overflowY = state ? '' : 'hidden'; if (!state) { body.scrollTop = 0; } } }; const parseCssValueToInt = (dom, elm, name, computed) => { var _a; const value = parseInt((_a = dom.getStyle(elm, name, computed)) !== null && _a !== void 0 ? _a : '', 10); return isNaN(value) ? 0 : value; }; const shouldScrollIntoView = trigger => { if ((trigger === null || trigger === void 0 ? void 0 : trigger.type.toLowerCase()) === 'setcontent') { const setContentEvent = trigger; return setContentEvent.selection === true || setContentEvent.paste === true; } else { return false; } }; const resize = (editor, oldSize, trigger, getExtraMarginBottom) => { var _a; const dom = editor.dom; const doc = editor.getDoc(); if (!doc) { return; } if (isFullscreen(editor)) { toggleScrolling(editor, true); return; } const docEle = doc.documentElement; const resizeBottomMargin = getExtraMarginBottom ? getExtraMarginBottom() : getAutoResizeOverflowPadding(editor); const minHeight = (_a = getMinHeight(editor)) !== null && _a !== void 0 ? _a : editor.getElement().offsetHeight; let resizeHeight = minHeight; const marginTop = parseCssValueToInt(dom, docEle, 'margin-top', true); const marginBottom = parseCssValueToInt(dom, docEle, 'margin-bottom', true); let contentHeight = docEle.offsetHeight + marginTop + marginBottom + resizeBottomMargin; if (contentHeight < 0) { contentHeight = 0; } const containerHeight = editor.getContainer().offsetHeight; const contentAreaHeight = editor.getContentAreaContainer().offsetHeight; const chromeHeight = containerHeight - contentAreaHeight; if (contentHeight + chromeHeight > minHeight) { resizeHeight = contentHeight + chromeHeight; } const maxHeight = getMaxHeight(editor); if (maxHeight && resizeHeight > maxHeight) { resizeHeight = maxHeight; toggleScrolling(editor, true); } else { toggleScrolling(editor, false); } if (resizeHeight !== oldSize.get()) { const deltaSize = resizeHeight - oldSize.get(); dom.setStyle(editor.getContainer(), 'height', resizeHeight + 'px'); oldSize.set(resizeHeight); fireResizeEditor(editor); if (global.browser.isSafari() && (global.os.isMacOS() || global.os.isiOS())) { const win = editor.getWin(); win.scrollTo(win.pageXOffset, win.pageYOffset); } if (editor.hasFocus() && shouldScrollIntoView(trigger)) { editor.selection.scrollIntoView(); } if ((global.browser.isSafari() || global.browser.isChromium()) && deltaSize < 0) { resize(editor, oldSize, trigger, getExtraMarginBottom); } } }; const setup = (editor, oldSize) => { let getExtraMarginBottom = () => getAutoResizeBottomMargin(editor); let resizeCounter; let sizeAfterFirstResize; editor.on('init', e => { resizeCounter = 0; const overflowPadding = getAutoResizeOverflowPadding(editor); const dom = editor.dom; dom.setStyles(editor.getDoc().documentElement, { height: 'auto' }); if (global.browser.isEdge() || global.browser.isIE()) { dom.setStyles(editor.getBody(), { 'paddingLeft': overflowPadding, 'paddingRight': overflowPadding, 'min-height': 0 }); } else { dom.setStyles(editor.getBody(), { paddingLeft: overflowPadding, paddingRight: overflowPadding }); } resize(editor, oldSize, e, getExtraMarginBottom); resizeCounter += 1; }); editor.on('NodeChange SetContent keyup FullscreenStateChanged ResizeContent', e => { if (resizeCounter === 1) { sizeAfterFirstResize = editor.getContainer().offsetHeight; resize(editor, oldSize, e, getExtraMarginBottom); resizeCounter += 1; } else if (resizeCounter === 2) { const isLooping = sizeAfterFirstResize < editor.getContainer().offsetHeight; if (isLooping) { const dom = editor.dom; const doc = editor.getDoc(); dom.setStyles(doc.documentElement, { 'min-height': 0 }); dom.setStyles(editor.getBody(), { 'min-height': 'inherit' }); } getExtraMarginBottom = isLooping ? constant(0) : getExtraMarginBottom; resizeCounter += 1; } else { resize(editor, oldSize, e, getExtraMarginBottom); } }); }; const register = (editor, oldSize) => { editor.addCommand('mceAutoResize', () => { resize(editor, oldSize); }); }; var Plugin = () => { global$1.add('autoresize', editor => { register$1(editor); if (!editor.options.isSet('resize')) { editor.options.set('resize', false); } if (!editor.inline) { const oldSize = Cell(0); register(editor, oldSize); setup(editor, oldSize); } }); }; Plugin(); })(); PK ! S&�� � plugin.min.js.gznu �[��� PK ! ���� � � index.jsnu �[��� PK ! � �� � � plugin.min.jsnu �[��� PK ! +7iO' ' � plugin.jsnu �[��� PK . X*
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка