",
+ options: {
+ disabled: false,
+
+ // callbacks
+ create: null
+ },
+ _createWidget: function( options, element ) {
+ element = $( element || this.defaultElement || this )[ 0 ];
+ this.element = $( element );
+ this.uuid = widget_uuid++;
+ this.eventNamespace = "." + this.widgetName + this.uuid;
+
+ this.bindings = $();
+ this.hoverable = $();
+ this.focusable = $();
+
+ if ( element !== this ) {
+ $.data( element, this.widgetFullName, this );
+ this._on( true, this.element, {
+ remove: function( event ) {
+ if ( event.target === element ) {
+ this.destroy();
+ }
+ }
+ });
+ this.document = $( element.style ?
+ // element within the document
+ element.ownerDocument :
+ // element is window or document
+ element.document || element );
+ this.window = $( this.document[0].defaultView || this.document[0].parentWindow );
+ }
+
+ this.options = $.widget.extend( {},
+ this.options,
+ this._getCreateOptions(),
+ options );
+
+ this._create();
+ this._trigger( "create", null, this._getCreateEventData() );
+ this._init();
+ },
+ _getCreateOptions: $.noop,
+ _getCreateEventData: $.noop,
+ _create: $.noop,
+ _init: $.noop,
+
+ destroy: function() {
+ this._destroy();
+ // we can probably remove the unbind calls in 2.0
+ // all event bindings should go through this._on()
+ this.element
+ .unbind( this.eventNamespace )
+ .removeData( this.widgetFullName )
+ // support: jquery <1.6.3
+ // http://bugs.jquery.com/ticket/9413
+ .removeData( $.camelCase( this.widgetFullName ) );
+ this.widget()
+ .unbind( this.eventNamespace )
+ .removeAttr( "aria-disabled" )
+ .removeClass(
+ this.widgetFullName + "-disabled " +
+ "ui-state-disabled" );
+
+ // clean up events and states
+ this.bindings.unbind( this.eventNamespace );
+ this.hoverable.removeClass( "ui-state-hover" );
+ this.focusable.removeClass( "ui-state-focus" );
+ },
+ _destroy: $.noop,
+
+ widget: function() {
+ return this.element;
+ },
+
+ option: function( key, value ) {
+ var options = key,
+ parts,
+ curOption,
+ i;
+
+ if ( arguments.length === 0 ) {
+ // don't return a reference to the internal hash
+ return $.widget.extend( {}, this.options );
+ }
+
+ if ( typeof key === "string" ) {
+ // handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } }
+ options = {};
+ parts = key.split( "." );
+ key = parts.shift();
+ if ( parts.length ) {
+ curOption = options[ key ] = $.widget.extend( {}, this.options[ key ] );
+ for ( i = 0; i < parts.length - 1; i++ ) {
+ curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {};
+ curOption = curOption[ parts[ i ] ];
+ }
+ key = parts.pop();
+ if ( arguments.length === 1 ) {
+ return curOption[ key ] === undefined ? null : curOption[ key ];
+ }
+ curOption[ key ] = value;
+ } else {
+ if ( arguments.length === 1 ) {
+ return this.options[ key ] === undefined ? null : this.options[ key ];
+ }
+ options[ key ] = value;
+ }
+ }
+
+ this._setOptions( options );
+
+ return this;
+ },
+ _setOptions: function( options ) {
+ var key;
+
+ for ( key in options ) {
+ this._setOption( key, options[ key ] );
+ }
+
+ return this;
+ },
+ _setOption: function( key, value ) {
+ this.options[ key ] = value;
+
+ if ( key === "disabled" ) {
+ this.widget()
+ .toggleClass( this.widgetFullName + "-disabled", !!value );
+
+ // If the widget is becoming disabled, then nothing is interactive
+ if ( value ) {
+ this.hoverable.removeClass( "ui-state-hover" );
+ this.focusable.removeClass( "ui-state-focus" );
+ }
+ }
+
+ return this;
+ },
+
+ enable: function() {
+ return this._setOptions({ disabled: false });
+ },
+ disable: function() {
+ return this._setOptions({ disabled: true });
+ },
+
+ _on: function( suppressDisabledCheck, element, handlers ) {
+ var delegateElement,
+ instance = this;
+
+ // no suppressDisabledCheck flag, shuffle arguments
+ if ( typeof suppressDisabledCheck !== "boolean" ) {
+ handlers = element;
+ element = suppressDisabledCheck;
+ suppressDisabledCheck = false;
+ }
+
+ // no element argument, shuffle and use this.element
+ if ( !handlers ) {
+ handlers = element;
+ element = this.element;
+ delegateElement = this.widget();
+ } else {
+ element = delegateElement = $( element );
+ this.bindings = this.bindings.add( element );
+ }
+
+ $.each( handlers, function( event, handler ) {
+ function handlerProxy() {
+ // allow widgets to customize the disabled handling
+ // - disabled as an array instead of boolean
+ // - disabled class as method for disabling individual parts
+ if ( !suppressDisabledCheck &&
+ ( instance.options.disabled === true ||
+ $( this ).hasClass( "ui-state-disabled" ) ) ) {
+ return;
+ }
+ return ( typeof handler === "string" ? instance[ handler ] : handler )
+ .apply( instance, arguments );
+ }
+
+ // copy the guid so direct unbinding works
+ if ( typeof handler !== "string" ) {
+ handlerProxy.guid = handler.guid =
+ handler.guid || handlerProxy.guid || $.guid++;
+ }
+
+ var match = event.match( /^([\w:-]*)\s*(.*)$/ ),
+ eventName = match[1] + instance.eventNamespace,
+ selector = match[2];
+ if ( selector ) {
+ delegateElement.delegate( selector, eventName, handlerProxy );
+ } else {
+ element.bind( eventName, handlerProxy );
+ }
+ });
+ },
+
+ _off: function( element, eventName ) {
+ eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) +
+ this.eventNamespace;
+ element.unbind( eventName ).undelegate( eventName );
+
+ // Clear the stack to avoid memory leaks (#10056)
+ this.bindings = $( this.bindings.not( element ).get() );
+ this.focusable = $( this.focusable.not( element ).get() );
+ this.hoverable = $( this.hoverable.not( element ).get() );
+ },
+
+ _delay: function( handler, delay ) {
+ function handlerProxy() {
+ return ( typeof handler === "string" ? instance[ handler ] : handler )
+ .apply( instance, arguments );
+ }
+ var instance = this;
+ return setTimeout( handlerProxy, delay || 0 );
+ },
+
+ _hoverable: function( element ) {
+ this.hoverable = this.hoverable.add( element );
+ this._on( element, {
+ mouseenter: function( event ) {
+ $( event.currentTarget ).addClass( "ui-state-hover" );
+ },
+ mouseleave: function( event ) {
+ $( event.currentTarget ).removeClass( "ui-state-hover" );
+ }
+ });
+ },
+
+ _focusable: function( element ) {
+ this.focusable = this.focusable.add( element );
+ this._on( element, {
+ focusin: function( event ) {
+ $( event.currentTarget ).addClass( "ui-state-focus" );
+ },
+ focusout: function( event ) {
+ $( event.currentTarget ).removeClass( "ui-state-focus" );
+ }
+ });
+ },
+
+ _trigger: function( type, event, data ) {
+ var prop, orig,
+ callback = this.options[ type ];
+
+ data = data || {};
+ event = $.Event( event );
+ event.type = ( type === this.widgetEventPrefix ?
+ type :
+ this.widgetEventPrefix + type ).toLowerCase();
+ // the original event may come from any element
+ // so we need to reset the target on the new event
+ event.target = this.element[ 0 ];
+
+ // copy original event properties over to the new event
+ orig = event.originalEvent;
+ if ( orig ) {
+ for ( prop in orig ) {
+ if ( !( prop in event ) ) {
+ event[ prop ] = orig[ prop ];
+ }
+ }
+ }
+
+ this.element.trigger( event, data );
+ return !( $.isFunction( callback ) &&
+ callback.apply( this.element[0], [ event ].concat( data ) ) === false ||
+ event.isDefaultPrevented() );
+ }
+};
+
+$.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {
+ $.Widget.prototype[ "_" + method ] = function( element, options, callback ) {
+ if ( typeof options === "string" ) {
+ options = { effect: options };
+ }
+ var hasOptions,
+ effectName = !options ?
+ method :
+ options === true || typeof options === "number" ?
+ defaultEffect :
+ options.effect || defaultEffect;
+ options = options || {};
+ if ( typeof options === "number" ) {
+ options = { duration: options };
+ }
+ hasOptions = !$.isEmptyObject( options );
+ options.complete = callback;
+ if ( options.delay ) {
+ element.delay( options.delay );
+ }
+ if ( hasOptions && $.effects && $.effects.effect[ effectName ] ) {
+ element[ method ]( options );
+ } else if ( effectName !== method && element[ effectName ] ) {
+ element[ effectName ]( options.duration, options.easing, callback );
+ } else {
+ element.queue(function( next ) {
+ $( this )[ method ]();
+ if ( callback ) {
+ callback.call( element[ 0 ] );
+ }
+ next();
+ });
+ }
+ };
+});
+
+var widget = $.widget;
+
+
+
+}));
diff --git a/admincp.php/assets/tinymce/filemanager/lang/az_AZ.php b/admincp.php/assets/tinymce/filemanager/lang/az_AZ.php
new file mode 100644
index 0000000..349ab95
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/az_AZ.php
@@ -0,0 +1,145 @@
+ 'Seç',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Sil',
+ 'Open' => 'Aç',
+ 'Confirm_del' => 'Bu faylı silmek istədiyinizdə əminsinizmi?',
+ 'All' => 'Hamısı',
+ 'Files' => 'Fayllar',
+ 'Images' => 'Şəkillər',
+ 'Archives' => 'Arxivlər',
+ 'Error_Upload' => 'Yükləmək istədiyiniz fayl maksimum limiti keçdi.',
+ 'Error_extension' => 'Fayl uzantısı icazəsi yoxdur.',
+ 'Upload_file' => 'Fayl Yüklə',
+ 'Filters' => 'Filtrlər',
+ 'Videos' => 'Videolar',
+ 'Music' => 'Mahnılar',
+ 'New_Folder' => 'Yeni Folder',
+ 'Folder_Created' => 'Folder müvəffəqiyyətlə yaradıldı.',
+ 'Existing_Folder' => 'Mövcud folder',
+ 'Confirm_Folder_del' => 'Bu folderi və içindəkiləri silmək istədiyinizə əminsinizmi?',
+ 'Return_Files_List' => 'Faylların siyahısına geri qayıt',
+ 'Preview' => 'İlk baxış',
+ 'Download' => 'Yüklə',
+ 'Insert_Folder_Name' => 'Folder adı əlavə et:',
+ 'Root' => 'kök',
+ 'Rename' => 'Yenidən Adlandır',
+ 'Back' => 'geri',
+ 'View' => 'Görünüş',
+ 'View_list' => 'List görünüşü',
+ 'View_columns_list' => 'Sütunlu list görünüşü',
+ 'View_boxes' => 'Qutu görünüşü',
+ 'Toolbar' => 'Alətlər Paneli',
+ 'Actions' => 'Fəaliyyətlər',
+ 'Rename_existing_file' => 'Bu fayl var artıq',
+ 'Rename_existing_folder' => 'Bu folder var artıq',
+ 'Empty_name' => 'Ad sahəsi boşdur.',
+ 'Text_filter' => 'filtrlə...',
+ 'Swipe_help' => 'Variantları görmək üçün file/folder adına tıklayın',
+ 'Upload_base' => 'Normal Yükləmə',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'Kataloq',
+ 'Type' => 'Növ',
+ 'Dimension' => 'Ölçü',
+ 'Size' => 'Çəki',
+ 'Date' => 'Tarix',
+ 'Filename' => 'Fayl adı',
+ 'Operations' => 'Əməliyyatlar',
+ 'Date_type' => 'd-m-Y',
+ 'OK' => 'Razıyam',
+ 'Cancel' => 'Ləğv Et',
+ 'Sorting' => 'sıralama',
+ 'Show_url' => 'URL göstər',
+ 'Extract' => 'bura çıxart',
+ 'File_info' => 'fayl məlumatı',
+ 'Edit_image' => 'şəkli redaktə et',
+ 'Duplicate' => 'Dublikat',
+ 'Folders' => 'Folders',
+ 'Copy' => 'Copy',
+ 'Cut' => 'Cut',
+ 'Paste' => 'Paste',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Paste to this directory',
+ 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
+ 'Paste_Failed' => 'Failed to paste file(s)',
+ 'Clear_Clipboard' => 'Clear clipboard',
+ 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
+ 'Files_ON_Clipboard' => 'There are files on the clipboard.',
+ 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %s. Limit: %d MB/operation', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %s. Limit: %d files/operation', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'You are not allowed to %s files.', // %s(1) = cut or copy => %s(2) = files or folders
+ 'Aviary_No_Save' => 'Could not save image',
+ 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
+ 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
+ 'Dir_No_Write' => 'The directory you selected is not writable.',
+ 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt => log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/bg_BG.php b/admincp.php/assets/tinymce/filemanager/lang/bg_BG.php
new file mode 100644
index 0000000..4b7942f
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/bg_BG.php
@@ -0,0 +1,145 @@
+ 'Избери',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Изтрий',
+ 'Open' => 'Отваряне',
+ 'Confirm_del' => 'Сигурни ли сте, че искате да изтриете този файл?',
+ 'All' => 'Всичко',
+ 'Files' => 'Файла',
+ 'Images' => 'Изображения',
+ 'Archives' => 'Архиви',
+ 'Error_Upload' => 'Каченият файл надминава максимално разрешената големина.',
+ 'Error_extension' => 'Това файлово разширение не е позволено.',
+ 'Upload_file' => 'Качете файл',
+ 'Filters' => 'Папка',
+ 'Videos' => 'Видео',
+ 'Music' => 'Музика',
+ 'New_Folder' => 'Нова папка',
+ 'Folder_Created' => 'Папката е правилно създадена',
+ 'Existing_Folder' => 'Съществуваща папка',
+ 'Confirm_Folder_del' => 'Сигурни ли сте, че искате да изтриете папката и всичко => което се съдържа с нея?',
+ 'Return_Files_List' => 'Връщане към списъка с файлове',
+ 'Preview' => 'Преглед',
+ 'Download' => 'Свали',
+ 'Insert_Folder_Name' => 'Въведете име на папката:',
+ 'Root' => 'Основна',
+ 'Rename' => 'Преименуване',
+ 'Back' => 'Обратно',
+ 'View' => 'Изглед',
+ 'View_list' => 'Списък',
+ 'View_columns_list' => 'Колони',
+ 'View_boxes' => 'Кутии',
+ 'Toolbar' => 'Лента с инструменти',
+ 'Actions' => 'Действия',
+ 'Rename_existing_file' => 'Файлът вече съществува',
+ 'Rename_existing_folder' => 'Папката вече съществува',
+ 'Empty_name' => 'Името на файла е празно',
+ 'Text_filter' => 'текстов филтър',
+ 'Swipe_help' => 'Плъзнете името на файла/папката за опции',
+ 'Upload_base' => 'Базово качване',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'папка',
+ 'Type' => 'Тип',
+ 'Dimension' => 'Размер',
+ 'Size' => 'Големина',
+ 'Date' => 'Дата',
+ 'Filename' => 'Име',
+ 'Operations' => 'Операции',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'ОК',
+ 'Cancel' => 'Отказ',
+ 'Sorting' => 'сортиране',
+ 'Show_url' => 'покажи URL',
+ 'Extract' => 'разархивирай тук',
+ 'File_info' => 'информация за файл',
+ 'Edit_image' => 'редактирай изображение',
+ 'Duplicate' => 'Дубликат',
+ 'Folders' => 'Папки',
+ 'Copy' => 'Копиране',
+ 'Cut' => 'Изрязване',
+ 'Paste' => 'Поставяне',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Постави в тази папка',
+ 'Paste_Confirm' => 'Сигурни ли сте, че искате да поставите в тази папка? Това може да презапише файловете в нея.',
+ 'Paste_Failed' => 'Грешка при поставянето на файла/овете',
+ 'Clear_Clipboard' => 'Изчисти клипборда',
+ 'Clear_Clipboard_Confirm' => 'Сигурни ли сте, че искате да изчистите клипборда?',
+ 'Files_ON_Clipboard' => 'Има файлове в клипборда.',
+ 'Copy_Cut_Size_Limit' => 'Избраните файлове/папки са прекалено големи за %s. Лимит: %d MB/действие', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Избрали сте прекаленено много файлове/папки за %s. Лимит: %d файла/действие', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Нямате право за %s на файлове.', // %s(1) = cut or copy => %s(2) = files or folders
+ 'Aviary_No_Save' => 'Изображението не може да бъде записано',
+ 'Zip_No_Extract' => 'Невъзможно разархивиране. Файлът вероятно е повреден.',
+ 'Zip_Invalid' => 'Това разширене не се поддържа. Валидни: zip, gz, tar.',
+ 'Dir_No_Write' => 'Нямате права за запис в избраната папка.',
+ 'Function_Disabled' => '%s-то е забранено на сървъра.', // %s = cut or copy
+ 'File_Permission' => 'Файлови права',
+ 'File_Permission_Not_Allowed' => 'Не е разрешена промяната на права за %s.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Рекурсивно прилагане?',
+ 'File_Permission_Wrong_Mode' => "Зададените права са грешни.",
+ 'User' => 'Потребител',
+ 'Group' => 'Група',
+ 'Yes' => 'Да',
+ 'No' => 'Не',
+ 'Lang_Not_Found' => 'Езикът не може да бъде намерен.',
+ 'Lang_Change' => 'Смени езика',
+ 'File_Not_Found' => 'Файлът не може да бъде намерен.',
+ 'File_Open_Edit_Not_Allowed' => 'Нямате разрешение за %s на този файл.', // %s = open or edit
+ 'Edit' => 'Редакция',
+ 'Edit_File' => "Редакция на съдържанието на файла",
+ 'File_Save_OK' => "Файлът е успешно записан.",
+ 'File_Save_Error' => "Възникна грешка при записването на файла.",
+ 'New_File' => 'Нов файл',
+ 'No_Extension' => 'Трябва да зададете разширение на файла.',
+ 'Valid_Extensions' => 'Валидни разширения: %s', // %s = txt => log etc.
+ 'Upload_message' => "Провлачете и спуснете файла тук за да го качите.",
+
+ 'SERVER ERROR' => "СЪРВЪРНА ГРЕШКА",
+ 'forbiden' => "Забранено",
+ 'wrong path' => "Грешен път",
+ 'wrong name' => "Грешно име",
+ 'wrong extension' => "Грешно разширение",
+ 'wrong option' => "Грешна опция",
+ 'wrong data' => "Грешни данни",
+ 'wrong action' => "Грешно действие",
+ 'wrong sub-action' => "Грешно вторично действие",
+ 'no action passed' => "Не е подадено действие",
+ 'no path' => "Няма път",
+ 'no file' => "Няма файл",
+ 'view type number missing' => "Номерът на прегледа липсва",
+ 'Not enough Memory' => "Недостатъчна памет",
+ 'max_size_reached' => "Вашата папка за изображения достигна максимумът от %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Общ размер",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/ca.php b/admincp.php/assets/tinymce/filemanager/lang/ca.php
new file mode 100644
index 0000000..11207e8
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/ca.php
@@ -0,0 +1,124 @@
+ 'Seleccionar',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Eliminar',
+ 'Open' => 'Obrir',
+ 'Confirm_del' => 'Segur que desitges eliminar aquest arxiu?',
+ 'All' => 'Tots',
+ 'Files' => 'Arxius',
+ 'Images' => 'Imatges',
+ 'Archives' => 'Fitxers',
+ 'Error_Upload' => 'L\'arxiu que intenta pujar excedeix el màxim permès.',
+ 'Error_extension' => 'L\'extensió de l\'arxiu no està permesa.',
+ 'Upload_file' => 'Pujar',
+ 'Filters' => 'Filtres',
+ 'Videos' => 'Vídeos',
+ 'Music' => 'Musica',
+ 'New_Folder' => 'Nova carpeta',
+ 'Folder_Created' => 'La carpeta ha estat creada exitosament.',
+ 'Existing_Folder' => 'Carpeta existent',
+ 'Confirm_Folder_del' => 'Segur que desitges eliminar la carpeta i tots els elements que conté?',
+ 'Return_Files_List' => 'Tornar a la llista d\'arxius',
+ 'Preview' => 'Vista prèvia',
+ 'Download' => 'Descarregar',
+ 'Insert_Folder_Name' => 'Nom de la carpeta:',
+ 'Root' => 'Arrel',
+ 'Rename' => 'Renombrar',
+ 'Back' => 'Tornar',
+ 'View' => 'Vista',
+ 'View_list' => 'Vista de llista',
+ 'View_columns_list' => 'Vista de columnes',
+ 'View_boxes' => 'Vista de miniatures',
+ 'Toolbar' => 'Barra d\'eines',
+ 'Actions' => 'Accions',
+ 'Rename_existing_file' => 'L\'arxiu ja existeix',
+ 'Rename_existing_folder' => 'La carpeta ja existeix',
+ 'Empty_name' => 'El nom es troba buit',
+ 'Text_filter' => 'filtre de text',
+ 'Swipe_help' => 'Deslize el nom de l\'arxiu/carpeta per mostrar les opcions',
+ 'Upload_base' => 'Pujada d\'arxius SIMPLE',
+ 'Upload_java' => 'Pujada d\'arxius JAVA (para arxius pesats)',
+ 'Upload_url' => 'URL',
+ 'Upload_java_help' => "Si el applet no carrega: 1. Assegura't de tenir Java instal·lat; sinó descarrega-ho i instal·la-ho
des d'aquí 2. Assegura't que el teu firewall no estigui bloquejant res.",
+ 'Upload_base_help' => "Arrossega i deixa anar els arxius dins d'aquesta àrea o faci clic en ella (per a navegadors moderns) en cas contrari, seleccioni l'arxiu i faci clic en el botó. Quan finalitzi la pujada, faci clic en el botó superior per tornar.",
+ 'Type_dir' => 'Carpeta',
+ 'Type' => 'Tipus',
+ 'Dimension' => 'Dimensions',
+ 'Size' => 'Pes',
+ 'Date' => 'Data',
+ 'Filename' => 'Nom',
+ 'Operations' => 'Operacions',
+ 'Date_type' => 'd-m-y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Cancel·lar',
+ 'Sorting' => 'Ordenar',
+ 'Show_url' => 'Mostrar URL',
+ 'Extract' => 'Extreure aquí',
+ 'File_info' => 'Informació',
+ 'Edit_image' => 'Editar imatge',
+ 'Duplicate' => 'Duplicar',
+ 'Folders' => 'Carpetes',
+ 'Copy' => 'Copiar',
+ 'Cut' => 'Tallar',
+ 'Paste' => 'Enganxar',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Enganxar en aquest directori',
+ 'Paste_Confirm' => 'Esteu segur que voleu enganxar en aquest directori? Això sobreescriurà arxius/carpetes existents si es troba cap igual.',
+ 'Paste_Failed' => 'No s’ha pogut enganxar els fitxers.',
+ 'Clear_Clipboard' => 'Netejar portapapers',
+ 'Clear_Clipboard_Confirm' => 'Esteu segur que voleu esborrar el portapapers?',
+ 'Files_ON_Clipboard' => 'Hi ha arxius al Portapapers.',
+ 'Copy_Cut_Size_Limit' => 'Els arxius/carpetes seleccionades són massa grans per %s. Limit: %d MB/operació', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Heu seleccionat massa fitxers/carpetes a %s. Limit: %d arxiu/operació', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'No te permisos per %s els arxius.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'No s’ha pogut desar la imatge.',
+ 'Zip_No_Extract' => 'No es pot extreure. L’Arxiu podria estar corrupte.',
+ 'Zip_Invalid' => 'Aquesta extensió no és suportada. Vàlid: zip, gz, tar.',
+ 'Dir_No_Write' => 'El directori seleccionat no te permisos d’escriptura.',
+ 'Function_Disabled' => 'La funció de %s no esta disponible al servidor.', // %s = cut or copy
+ 'File_Permission' => 'Permisos d’arxiu',
+ 'File_Permission_Not_Allowed' => 'La modificació dels permisos de %s no es permès.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Aplicar recursivament?',
+ 'File_Permission_Wrong_Mode' => "El mode de permís subministrat és incorrecte..",
+ 'User' => 'Usuari',
+ 'Group' => 'Grup',
+ 'Yes' => 'Si',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'No es pot trobar l\'idioma.',
+ 'Lang_Change' => 'Modificar idioma',
+ 'File_Not_Found' => 'No s\'ha pogut trobar l\'arxiu.',
+ 'File_Open_Edit_Not_Allowed' => 'No tens permisos per obrir %s l\'arxiu.', // %s = open or edit
+ 'Edit' => 'Modificar',
+ 'Edit_File' => "Editar el contingut de l\'arxiu.",
+ 'File_Save_OK' => "Arxiu desat correctament.",
+ 'File_Save_Error' => "Hi ha hagut un error mentre es desava l\'arxiu.",
+ 'New_File' => 'Nou arxiu',
+ 'No_Extension' => 'Ha d\'afegir una extensió d\'arxiu.',
+ 'Valid_Extensions' => 'Extensions valides: %s', // %s = txt,log etc.
+ 'Upload_message' => "Arrossega arxiu aquí per carregar.",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enought Memory' => "Not enought Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/cs.php b/admincp.php/assets/tinymce/filemanager/lang/cs.php
new file mode 100644
index 0000000..51dadb0
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/cs.php
@@ -0,0 +1,145 @@
+ 'Vybrat',
+ 'Deselect_All' => 'Zrušit vše',
+ 'Select_All' => 'Vybrat vše',
+ 'Erase' => 'Smazat',
+ 'Open' => 'Otevřít',
+ 'Confirm_del' => 'Opravdu chcete smazat tento soubor?',
+ 'All' => 'Vše',
+ 'Files' => 'Soubory',
+ 'Images' => 'Obrázky',
+ 'Archives' => 'Archivy',
+ 'Error_Upload' => 'Nahrávaný soubor je příliš velký.',
+ 'Error_extension' => 'Nahrávání souborů s touto příponou není povoleno.',
+ 'Upload_file' => 'Nahrát soubor',
+ 'Filters' => 'Filtr',
+ 'Videos' => 'Videa',
+ 'Music' => 'Hudba',
+ 'New_Folder' => 'Nová složka',
+ 'Folder_Created' => 'Složka vytvořena',
+ 'Existing_Folder' => 'Existující složka',
+ 'Confirm_Folder_del' => 'Opravdu chcete smazat tuto složku a její obsah?',
+ 'Return_Files_List' => 'Zpět k seznamu souborů',
+ 'Preview' => 'Náhled',
+ 'Download' => 'Stáhnout',
+ 'Insert_Folder_Name' => 'Vložte název složky:',
+ 'Root' => 'root',
+ 'Rename' => 'Přejmenovat',
+ 'Back' => 'zpět',
+ 'View' => 'Zobrazení',
+ 'View_list' => 'Seznam souborů',
+ 'View_columns_list' => 'Dvousloupcový seznam souborů',
+ 'View_boxes' => 'Dlaždicové zobrazení',
+ 'Toolbar' => 'Panel nástrojů',
+ 'Actions' => 'Akce',
+ 'Rename_existing_file' => 'Tento soubor již existuje',
+ 'Rename_existing_folder' => 'Tato složka již existuje',
+ 'Empty_name' => 'Zadali jste prázdný název',
+ 'Text_filter' => 'textový filtr',
+ 'Swipe_help' => 'Pro zobrazení možností klikněte na název souboru/složky.',
+ 'Upload_base' => 'Základní nahrávání',
+ 'Upload_base_help' => "Soubory přetáhněte (pouze moderní prohlížeče) nebo klikněte na horní tlačítko 'Přidat soubor(y)' a poté na tlačítko 'Sputit nahrávání'. Až bude nahrávání dokončeno, klikněte na 'Zpět k seznamu souborů'.",
+ 'Upload_add_files' => 'Přidat soubor(y)',
+ 'Upload_start' => 'Sputit nahrávání',
+ 'Upload_error_messages' =>array(
+ 1 => 'Nahrávaný soubor má větší velikost, než co povoluje direktiva upload_max_filesize v php.ini',
+ 2 => 'Nahrávaný soubor má větší velikost, než co povoluje direktiva MAX_FILE_SIZE uvedená v HTML formuláři',
+ 3 => 'Soubor byl nahrán pouze z části',
+ 4 => 'Nebyl nahrán žádný soubor',
+ 6 => 'Chybí dočasná složka',
+ 7 => 'Při zapisování souboru na disk došlo k chybě',
+ 8 => 'Nahrávání souborů zastavilo rozšížení PHP',
+ 'post_max_size' => 'Nahrávaný soubor má větší velikost, než co povoluje direktiva post_max_size v php.ini',
+ 'max_file_size' => 'Příliš velký soubor',
+ 'min_file_size' => 'Příliš malý soubor',
+ 'accept_file_types' => 'Není povolen tento typ souboru (přípona)',
+ 'max_number_of_files' => 'Překročen maximální počet souborů',
+ 'max_width' => 'Obrázek přesahuje maximální šířku',
+ 'min_width' => 'Obrázek vyžaduje minimální šířku',
+ 'max_height' => 'Obrázek přesahuje maximální výšku',
+ 'min_height' => 'Obrázek vyžaduje minimální výšku',
+ 'abort' => 'Nahrávání souboru bylo přerušeno',
+ 'image_resize' => 'Nepodařilo se změnit velikost obrázku'
+ ),
+ 'Upload_url' => 'Z url adresy',
+ 'Type_dir' => 'složka',
+ 'Type' => 'Typ',
+ 'Dimension' => 'Rozměr',
+ 'Size' => 'Velikost',
+ 'Date' => 'Datum',
+ 'Filename' => 'Název',
+ 'Operations' => 'Operace',
+ 'Date_type' => 'd.m.Y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Zrušit',
+ 'Sorting' => 'Řazení',
+ 'Show_url' => 'Zobrazit URL adresu',
+ 'Extract' => 'Rozbalit zde',
+ 'File_info' => 'Informace o souboru',
+ 'Edit_image' => 'Upravit obrázek',
+ 'Duplicate' => 'Duplikovat',
+ 'Folders' => 'Složky',
+ 'Copy' => 'Kopírovat',
+ 'Cut' => 'Vyjmout',
+ 'Paste' => 'Vložit',
+ 'CB' => 'Schránka', // clipboard
+ 'Paste_Here' => 'Vložit do této složky',
+ 'Paste_Confirm' => 'Skutečně chcete vložit obsah schránky do této složky? Existující soubory či složky budou přepsány.',
+ 'Paste_Failed' => 'Vložení selhalo',
+ 'Clear_Clipboard' => 'Vymazat schránku',
+ 'Clear_Clipboard_Confirm' => 'Skutečně chcete vymazat obsah schránky?',
+ 'Files_ON_Clipboard' => 'Ve schránce jsou soubory.',
+ 'Copy_Cut_Size_Limit' => 'Zvolené soubory/složky jsou příliš velké pro operaci %s. Limit: %d MB/operace', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Zvolili jste příliš mnoho souborů/složek pro operaci %s. Limit: %d souborů/operace', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Nemáte oprávnění %s.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Obrázek nelze uložit',
+ 'Zip_No_Extract' => 'Archív nelze rozbalit. Soubor může být poškozen.',
+ 'Zip_Invalid' => 'Přípona není podporována. Povolené: zip, gz, tar.',
+ 'Dir_No_Write' => 'Vybraná složka není zapisovatelná.',
+ 'Function_Disabled' => 'Funkce %s byla zamítnuta serverem.', // %s = cut or copy
+ 'File_Permission' => 'Práva souboru',
+ 'File_Permission_Not_Allowed' => 'Změna oprávnění pro %s není povolena.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Použít rekurzivně?',
+ 'File_Permission_Wrong_Mode' => "Zadaný kód oprávnění není platný.",
+ 'User' => 'Uživatel',
+ 'Group' => 'Skupina',
+ 'Yes' => 'Ano',
+ 'No' => 'Ne',
+ 'Lang_Not_Found' => 'Jazyk nebyl nalezen.',
+ 'Lang_Change' => 'Změnit jazyk',
+ 'File_Not_Found' => 'Soubor nebyl nalezen.',
+ 'File_Open_Edit_Not_Allowed' => 'Nemáte oprávnění %s tento soubor.', // %s = open or edit
+ 'Edit' => 'Upravit',
+ 'Edit_File' => "Upravit obsah souboru",
+ 'File_Save_OK' => "Soubor byl úspěšně uložen.",
+ 'File_Save_Error' => "Došlo k chybě při ukládání souboru.",
+ 'New_File' => 'Nový soubor',
+ 'No_Extension' => 'Musíte doplnit příponu souboru.',
+ 'Valid_Extensions' => 'Povolené přípony: %s', // %s = txt,log etc.
+ 'Upload_message' => "Pro nahrání přetáhněte soubor(y) sem",
+
+ 'SERVER ERROR' => "CHYBA SERVERU",
+ 'forbiden' => "Zakázáno",
+ 'wrong path' => "Neplatná cesta",
+ 'wrong name' => "Neplatná název",
+ 'wrong extension' => "Neplatná přípona",
+ 'wrong option' => "Neplatná volba",
+ 'wrong data' => "Neplatná data",
+ 'wrong action' => "Neplatná akce",
+ 'wrong sub-action' => "Neplatná podakce",
+ 'no action passed' => "Nebyla předána žádná akce",
+ 'no path' => "Žádná cesta",
+ 'no file' => "Žádný soubor",
+ 'view type number missing' => "Chybí číslo typu pro zobrazení",
+ 'Not enough Memory' => "Nedostatek paměti",
+ 'max_size_reached' => "Vaše složka s obrázky dosáhla maximální velikosti %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Celková velikost",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/da.php b/admincp.php/assets/tinymce/filemanager/lang/da.php
new file mode 100644
index 0000000..bd52feb
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/da.php
@@ -0,0 +1,145 @@
+ 'Vælg',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Slet',
+ 'Open' => 'Åbn',
+ 'Confirm_del' => 'Er du sikker på at du vil slette denne fil?',
+ 'All' => 'Alle',
+ 'Files' => 'Filer',
+ 'Images' => 'Billeder',
+ 'Archives' => 'Mapper',
+ 'Error_Upload' => 'Den uploadede fil er større end tilladt (100MB).',
+ 'Error_extension' => 'Fil typen er ikke tilladt.',
+ 'Upload_file' => 'Upload',
+ 'Filters' => 'Filter',
+ 'Videos' => 'Videoer',
+ 'Music' => 'Musik',
+ 'New_Folder' => 'Ny mappe',
+ 'Folder_Created' => 'Mappen er oprettet korrekt',
+ 'Existing_Folder' => 'Mappen findes allerede',
+ 'Confirm_Folder_del' => 'Er du sikker på at du vil slette mappen og alt dens indhold?',
+ 'Return_Files_List' => 'Tilbage til fil oversigten',
+ 'Preview' => 'Preview',
+ 'Download' => 'Download',
+ 'Insert_Folder_Name' => 'Indsæt mappe navn:',
+ 'Root' => 'rod',
+ 'Rename' => 'Omdøb',
+ 'Back' => 'tilbage',
+ 'View' => 'Se',
+ 'View_list' => 'Vis liste',
+ 'View_columns_list' => 'Søjle liste',
+ 'View_boxes' => 'Box list',
+ 'Toolbar' => 'Toolbar',
+ 'Actions' => 'Handlinger',
+ 'Rename_existing_file' => 'Filen findes allerede',
+ 'Rename_existing_folder' => 'Mappen findes allerede',
+ 'Empty_name' => 'Indsæt et navn',
+ 'Text_filter' => 'tekst filter',
+ 'Swipe_help' => 'Swipe over navnet på fil/mappe for at se muligheder',
+ 'Upload_base' => 'Basis upload',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'dir',
+ 'Type' => 'Type',
+ 'Dimension' => 'Dimensioner',
+ 'Size' => 'Størrelse',
+ 'Date' => 'Dato',
+ 'Filename' => 'Filenavn',
+ 'Operations' => 'Operationer',
+ 'Date_type' => 'år-måned-dag',
+ 'OK' => 'OK',
+ 'Cancel' => 'Afbryd',
+ 'Sorting' => 'sortering',
+ 'Show_url' => 'Vis sti',
+ 'Extract' => 'Fold ud her',
+ 'File_info' => 'fil info',
+ 'Edit_image' => 'Redigér billede',
+ 'Duplicate' => 'Kopiér',
+ 'Folders' => 'Mapper',
+ 'Copy' => 'Kopiér',
+ 'Cut' => 'Klip',
+ 'Paste' => 'Indsæt',
+ 'CB' => 'UKH', // clipboard
+ 'Paste_Here' => 'Indsæt i denne mappe',
+ 'Paste_Confirm' => 'Er du sikker på at du vil indsætte i denne mappe? Det vil overkrive allerede eksisterende filer/mapper, hvis der findes nogen.',
+ 'Paste_Failed' => 'Det lykkedes ikke at indsætte fil(en/erne)',
+ 'Clear_Clipboard' => 'Slet indholdet af udklipsholderen',
+ 'Clear_Clipboard_Confirm' => 'Er du sikker på at du vil slette indholdet af udklipsholderen?',
+ 'Files_ON_Clipboard' => 'Der findes filer i udklipsholderen.',
+ 'Copy_Cut_Size_Limit' => 'De valgte filer/mapper er for store til at %s. Max.: %d MB/operation', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Du har valgt for mange filer/mapper til at %s. Max.: %d filer/operation', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Du har ikke tilladelse til at %s filer. Tal med din administrator.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Det var ikke muligt at gemme billedet',
+ 'Zip_No_Extract' => 'Det var ikke muligt at hente. Filen er muligvis ødelagt.',
+ 'Zip_Invalid' => 'Denne filtype understøttes ikke. De mulige filtyper er: zip, gz, tar.',
+ 'Dir_No_Write' => 'Der kan ikke skrives til den valgte mappe. Kontakt din administrator.',
+ 'Function_Disabled' => 'Denne %s funktion er slået fra af serveren.', // %s = cut or copy
+ 'File_Permission' => 'Fil tilladelser',
+ 'File_Permission_Not_Allowed' => 'Det er ikke tilladt at ændre tilladelsen for %s.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Gøres ved alle mapper og filer (rekursivt)?',
+ 'File_Permission_Wrong_Mode' => "Den anvendte indstilling for tilladelse er ikke korrekt.",
+ 'User' => 'Bruger',
+ 'Group' => 'Gruppe',
+ 'Yes' => 'Ja',
+ 'No' => 'Nej',
+ 'Lang_Not_Found' => 'Cet var ikke muligt at finde sprog-filen.',
+ 'Lang_Change' => 'Andet sprog',
+ 'File_Not_Found' => 'Det var ikke muligt at finde filen.',
+ 'File_Open_Edit_Not_Allowed' => 'Du har ikke tiladelse til at %s denne fil.', // %s = open or edit
+ 'Edit' => 'Redigér',
+ 'Edit_File' => "Redigér filens indhold",
+ 'File_Save_OK' => "Filen blev gemt.",
+ 'File_Save_Error' => "Der opstod en fejl i forsøget på at gemme filen.",
+ 'New_File' => 'Opret ny fil',
+ 'No_Extension' => 'Husk at tilføje filtype.',
+ 'Valid_Extensions' => 'Gyldige filtyper er: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/de.php b/admincp.php/assets/tinymce/filemanager/lang/de.php
new file mode 100644
index 0000000..657ddc5
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/de.php
@@ -0,0 +1,145 @@
+ 'Auswählen',
+ 'Deselect_All' => 'Alle abwählen',
+ 'Select_All' => 'Alle anwählen',
+ 'Erase' => 'Löschen',
+ 'Open' => 'Öffnen',
+ 'Confirm_del' => 'Sind Sie sicher das Sie die Datei löschen wollen?',
+ 'All' => 'Alle',
+ 'Files' => 'Dateien',
+ 'Images' => 'Bilder',
+ 'Archives' => 'Archive',
+ 'Error_Upload' => 'Die Datei überschreitet die maximal erlaubte Größe.',
+ 'Error_extension' => 'Dieser Dateityp ist nicht erlaubt.',
+ 'Upload_file' => 'Hochladen',
+ 'Filters' => 'Filter',
+ 'Videos' => 'Videos',
+ 'Music' => 'Musik',
+ 'New_Folder' => 'Neues Verzeichniss',
+ 'Folder_Created' => 'Verzeichnis erfolgreich erstellt',
+ 'Existing_Folder' => 'Verzeichnis schließen',
+ 'Confirm_Folder_del' => 'Sind Sie sicher das Sie dieses Verzeichnis inklusive aller darin enthaltenen Dateien löschen möchten?',
+ 'Return_Files_List' => 'Zurück zur Dateiübersicht',
+ 'Preview' => 'Vorschau',
+ 'Download' => 'Download',
+ 'Insert_Folder_Name' => 'Verzeichnisnamen angeben:',
+ 'Root' => 'Basisverzeichnis',
+ 'Rename' => 'Umbenenen',
+ 'Back' => 'zurück',
+ 'View' => 'Ansicht',
+ 'View_list' => 'Listenansicht',
+ 'View_columns_list' => 'Spaltenansicht',
+ 'View_boxes' => 'Box Ansicht',
+ 'Toolbar' => 'Werkzeugleiste',
+ 'Actions' => 'Aktionen',
+ 'Rename_existing_file' => 'Die Datei existiert bereits',
+ 'Rename_existing_folder' => 'Das Verzeichnis existiert bereits',
+ 'Empty_name' => 'Der Name ist leer',
+ 'Text_filter' => 'Suche',
+ 'Swipe_help' => 'Fahren Sie mit der Maus über die Datei um Details anzeigen zu lassen.',
+ 'Upload_base' => 'Standart Hochladen',
+ 'Upload_base_help' => "Ziehen Sie die Dateien per Drag & Drop (moderne Browser) oder klicken Sie auf die obere Schaltfläche, um die Datei (en) hinzuzufügen und klicken Sie auf Hochladen beginnen. Wenn das Hochladen abgeschlossen ist, klicken Sie auf die Schaltfläche \"Zur Dateiliste zurückkehren\".",
+ 'Upload_add_files' => 'Dateien hinzufügen',
+ 'Upload_start' => 'Hochladen beginnen',
+ 'Upload_error_messages' => array(
+ 1 => 'Die hochgeladene Datei überschreitet die Direktive upload_max_filesize in php.ini',
+ 2 => 'Die hochgeladene Datei überschreitet die Anweisung MAX_FILE_SIZE, die im HTML-Formular angegeben wurde',
+ 3 => 'Die hochgeladene Datei wurde nur teilweise hochgeladen',
+ 4 => 'Es wurde keine Datei hochgeladen',
+ 6 => 'Einen temporären Ordner fehlt',
+ 7 => 'Fehler beim Schreiben der Datei auf die Festplatte',
+ 8 => 'Eine PHP-Erweiterung hat den Upload der Datei gestoppt.',
+ 'post_max_size' => 'Die hochgeladene Datei überschreitet die Anweisung post_max_size in php.ini',
+ 'max_file_size' => 'Datei ist zu groß',
+ 'min_file_size' => 'Datei ist zu klein',
+ 'accept_file_types' => 'Dateityp nicht erlaubt',
+ 'max_number_of_files' => 'Maximale Anzahl von Dateien überschritten',
+ 'max_width' => 'Das Bild überschreitet die maximale Breite',
+ 'min_width' => 'Bild benötigt eine minimale Breite',
+ 'max_height' => 'Das Bild überschreitet die maximale Höhe',
+ 'min_height' => 'Bild erfordert eine minimale Höhe',
+ 'abort' => 'Hochladen abgebrochen',
+ 'image_resize' => 'Fehler beim Ändern der Bildgröße'
+ ),
+ 'Upload_url' => 'Von url',
+ 'Type_dir' => 'Verzeichnis',
+ 'Type' => 'Typ',
+ 'Dimension' => 'Dimensionen',
+ 'Size' => 'Größe',
+ 'Date' => 'Datum',
+ 'Filename' => 'Dateiname',
+ 'Operations' => 'Operationen',
+ 'Date_type' => 'd.m.y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Abbrechen',
+ 'Sorting' => 'Sortiere',
+ 'Show_url' => 'zeige URL',
+ 'Extract' => 'hier entpacken',
+ 'File_info' => 'Datei Info',
+ 'Edit_image' => 'Bild editieren',
+ 'Duplicate' => 'Duplizieren',
+ 'Folders' => 'Ordner',
+ 'Copy' => 'Kopieren',
+ 'Cut' => 'Aussschneiden',
+ 'Paste' => 'Einfügen',
+ 'CB' => 'Zwischenablage', // clipboard
+ 'Paste_Here' => 'Aus der Zwischenablage einfügen',
+ 'Paste_Confirm' => 'Sind Sie sicher, dass Sie es in diesen Ordner einfügen möchten? Existierende Dateien/Verzeichnisse werden überschrieben.',
+ 'Paste_Failed' => 'Einfügen fehgeschlagen!',
+ 'Clear_Clipboard' => 'Zwischenablage leeren',
+ 'Clear_Clipboard_Confirm' => 'Zwischenablage wirkich leeren?',
+ 'Files_ON_Clipboard' => 'Sie haben bereits Dateien in der Zwischenablage!',
+ 'Copy_Cut_Size_Limit' => 'Die Dateien sind zu gross zum %s. Limit: %d MB pro Aktion', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Sie haben zu viele Dateien/Ordner zum %s ausgewält. Limit: %d Dateien pro Aktion', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Sie haben nicht die Berechtigungen zum %s von Dateien..', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Das Bild konnte nicht gespeichert werden.',
+ 'Zip_No_Extract' => 'Zip Datei konnte nicht entpackt werden. Die Datei ist möglicherweise beschädigt.',
+ 'Zip_Invalid' => 'Dieses Dateiformat wird nicht unterstüzt. Zugelassene Formate: zip, gz und tar.',
+ 'Dir_No_Write' => 'Dieses Dateiverzeichis ist schreibgeschützt.',
+ 'Function_Disabled' => 'Die Funktion %s ist serverseitig deaktiviert.', // %s = cut or copy
+ 'File_Permission' => 'Datei Berechtigung',
+ 'File_Permission_Not_Allowed' => 'Ändern %s Rechte ist nicht erlaubt.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Rekursiv anwenden?',
+ 'File_Permission_Wrong_Mode' => "Der angegebene Berechtigungsmodus ist falsch.",
+ 'User' => 'Benutzer',
+ 'Group' => 'Gruppe',
+ 'Yes' => 'Ja',
+ 'No' => 'Nein',
+ 'Lang_Not_Found' => 'Sprache wurde nicht gefunden.',
+ 'Lang_Change' => 'Sprache wechseln',
+ 'File_Not_Found' => 'Datei wurde nicht gefunden.',
+ 'File_Open_Edit_Not_Allowed' => 'Sie sind nicht berechtigt diese Datei zu %.', // %s = open or edit
+ 'Edit' => 'Bearbeiten',
+ 'Edit_File' => "Dateiinhalt bearbeiten",
+ 'File_Save_OK' => "Datei erfolgreich gespeichert.",
+ 'File_Save_Error' => "Beim Speichern der Datei ist ein Fehler aufgetreten.",
+ 'New_File' => 'Neue Datei',
+ 'No_Extension' => 'Dateiendung muss hinzugefügt werden.',
+ 'Valid_Extensions' => 'Erlaubte Dateiendungen: %s', // %s = txt,log etc.
+ 'Upload_message' => "Datei hier zum Hochladen ablegen",
+
+ 'SERVER ERROR' => "SERVER FEHLER",
+ 'forbiden' => "Verboten",
+ 'wrong path' => "Falscher Pfad",
+ 'wrong name' => "Falscher Name",
+ 'wrong extension' => "Falsche Erweiterung",
+ 'wrong option' => "Falsche Option",
+ 'wrong data' => "Falschen Daten",
+ 'wrong action' => "Falsche Aktion",
+ 'wrong sub-action' => "Falsche Subaktion",
+ 'no action passed' => "Keine Aktion übergeben",
+ 'no path' => "Kein Pfad",
+ 'no file' => "Keine Datei",
+ 'view type number missing' => "Typnummer fehlt",
+ 'Not enough Memory' => "Nicht genug Speicher",
+ 'max_size_reached' => "Ihr Bild-Ordner hat die maximale Größe von %d MB erreicht.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Gesamtgröße",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/el_GR.php b/admincp.php/assets/tinymce/filemanager/lang/el_GR.php
new file mode 100644
index 0000000..2de4e63
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/el_GR.php
@@ -0,0 +1,145 @@
+ 'Επιλογή',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Διαγραφή',
+ 'Open' => 'Άνοιγμα',
+ 'Confirm_del' => 'Είστε σίγουροι ότι θέλετε να διαγράψετε αυτό το αρχείο;',
+ 'All' => 'Όλα',
+ 'Files' => 'Έγγραφα',
+ 'Images' => 'Εικόνες',
+ 'Archives' => 'Αρχεία',
+ 'Error_Upload' => 'Το αρχείο που μεταφορτώθηκε υπερβαίνει το μέγιστο επιτρεπόμενο μέγεθος.',
+ 'Error_extension' => 'Η κατάληξη αρχείου δεν επιτρέπεται.',
+ 'Upload_file' => 'Μεταφόρτωση',
+ 'Filters' => 'Φίλτρα',
+ 'Videos' => 'Βίντεο',
+ 'Music' => 'Μουσική',
+ 'New_Folder' => 'Νέος φάκελος',
+ 'Folder_Created' => 'Ο φάκελος δημιουργήθηκε',
+ 'Existing_Folder' => 'Υπάρχων φάκελος',
+ 'Confirm_Folder_del' => 'Είστε σίγουροι ότι θέλετε να διαγράψετε το φάκελο και όλα τα στοιχεία που περιέχονται σε αυτόν;',
+ 'Return_Files_List' => 'Επιστροφή στον κατάλογο των αρχείων',
+ 'Preview' => 'Προεπισκόπηση',
+ 'Download' => 'Λήψη',
+ 'Insert_Folder_Name' => 'Εισάγετε το όνομα του φακέλου:',
+ 'Root' => 'root',
+ 'Rename' => 'Μετονομασία',
+ 'Back' => 'πίσω',
+ 'View' => 'Προβολή',
+ 'View_list' => 'Προβολή λίστας',
+ 'View_columns_list' => 'Προβολή λίστας με στήλες',
+ 'View_boxes' => 'Προβολή πλαισίου',
+ 'Toolbar' => 'Γραμμή εργαλείων',
+ 'Actions' => 'Ενέργειες',
+ 'Rename_existing_file' => 'Το αρχείο υπάρχει ήδη',
+ 'Rename_existing_folder' => 'Ο φάκελος υπάρχει ήδη',
+ 'Empty_name' => 'Το όνομα είναι κενό',
+ 'Text_filter' => 'κείμενο φίλτρου',
+ 'Swipe_help' => 'Περάστε με το ποντίκι πάνω από το όνομα του αρχείου / φακέλου για να δείτε τις επιλογές',
+ 'Upload_base' => 'Βασική μεταφόρτωση',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'φάκελος',
+ 'Type' => 'Τύπος',
+ 'Dimension' => 'Διάσταση',
+ 'Size' => 'Μέγεθος',
+ 'Date' => 'Ημερομηνία',
+ 'Filename' => 'Όνομα αρχείου',
+ 'Operations' => 'Λειτουργίες',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'OK',
+ 'Cancel' => 'Ακύρωση',
+ 'Sorting' => 'ταξινόμηση',
+ 'Show_url' => 'εμφάνιση URL',
+ 'Extract' => 'Εξαγωγή εδώ',
+ 'File_info' => 'πληροφορίες αρχείου',
+ 'Edit_image' => 'επεξεργασία εικόνας',
+ 'Duplicate' => 'Αντιγραφή',
+ 'Folders' => 'Φάκελοι',
+ 'Copy' => 'Αντιγραφή',
+ 'Cut' => 'Αποκοπή',
+ 'Paste' => 'Επικόλληση',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Επικόλληση σε αυτόν τον φάκελο',
+ 'Paste_Confirm' => 'Είστε βέβαιοι ότι θέλετε να επικολλήσετε σε αυτόν τον φάκελο; Αυτό θα αντικαταστήσει υπάρχοντα αρχεία / φακέλους αν βρεθούν όμοια.',
+ 'Paste_Failed' => 'Αποτυχία επικόλλησης του(ων) αρχείου(ων)',
+ 'Clear_Clipboard' => 'Άδειασμα clipboard',
+ 'Clear_Clipboard_Confirm' => 'Είστε σίγουροι ότι θέλετε να αδειάσετε το clipboard;',
+ 'Files_ON_Clipboard' => 'Υπάρχουν αρχεία στο clipboard.',
+ 'Copy_Cut_Size_Limit' => 'Τα επιλεγμένα αρχεία/φάκελοι είναι πολύ μεγάλα για %s. Όριο: %d MB/λειτουργία', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Επιλέξατε πάρα πολλά αρχεία/φακέλους για %s. Όριο: %d αρχεία/λειτουργία', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Δεν επιτρέπεται η %s αρχείων.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Δεν ήταν δυνατή η αποθήκευση της εικόνας',
+ 'Zip_No_Extract' => 'Δεν ήταν δυνατή η εξαγωγή. Το αρχείο μπορεί να είναι κατεστραμμένο.',
+ 'Zip_Invalid' => 'Η κατάληξη αυτή δεν υποστηρίζεται. Έγκυρα: zip, gz, tar.',
+ 'Dir_No_Write' => 'Ο φάκελος που επιλέξατε δεν είναι εγγράψιμος.',
+ 'Function_Disabled' => 'Η λειτουργία για %s έχει απενεργοποιηθεί από το διακομιστή.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/en_EN.php b/admincp.php/assets/tinymce/filemanager/lang/en_EN.php
new file mode 100644
index 0000000..7813a91
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/en_EN.php
@@ -0,0 +1,144 @@
+ 'Select',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Erase',
+ 'Open' => 'Open',
+ 'Confirm_del' => 'Are you sure you want to delete?',
+ 'All' => 'All',
+ 'Files' => 'Files',
+ 'Images' => 'Images',
+ 'Archives' => 'Archives',
+ 'Error_Upload' => 'The uploaded file exceeds the max size allowed.',
+ 'Error_extension' => 'File extension is not allowed.',
+ 'Upload_file' => 'Upload',
+ 'Filters' => 'Filters',
+ 'Videos' => 'Videos',
+ 'Music' => 'Music',
+ 'New_Folder' => 'New Folder',
+ 'Folder_Created' => 'Folder correctly created',
+ 'Existing_Folder' => 'Existing folder',
+ 'Confirm_Folder_del' => 'Are you sure to delete the folder and all the elements in it?',
+ 'Return_Files_List' => 'Return to files list',
+ 'Preview' => 'Preview',
+ 'Download' => 'Download',
+ 'Insert_Folder_Name' => 'Insert folder name:',
+ 'Root' => 'root',
+ 'Rename' => 'Rename',
+ 'Back' => 'back',
+ 'View' => 'View',
+ 'View_list' => 'List view',
+ 'View_columns_list' => 'Columns list view',
+ 'View_boxes' => 'Box view',
+ 'Toolbar' => 'Toolbar',
+ 'Actions' => 'Actions',
+ 'Rename_existing_file' => 'The file is already existing',
+ 'Rename_existing_folder' => 'The folder is already existing',
+ 'Empty_name' => 'The name is empty',
+ 'Text_filter' => 'text filter',
+ 'Swipe_help' => 'Swipe the name of file/folder to show options',
+ 'Upload_base' => 'Base upload',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'dir',
+ 'Type' => 'Type',
+ 'Dimension' => 'Dimension',
+ 'Size' => 'Size',
+ 'Date' => 'Date',
+ 'Filename' => 'Filename',
+ 'Operations' => 'Operations',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'OK',
+ 'Cancel' => 'Cancel',
+ 'Sorting' => 'sorting',
+ 'Show_url' => 'Show URL',
+ 'Extract' => 'Extract here',
+ 'File_info' => 'file info',
+ 'Edit_image' => 'Edit image',
+ 'Duplicate' => 'Duplicate',
+ 'Folders' => 'Folders',
+ 'Copy' => 'Copy',
+ 'Cut' => 'Cut',
+ 'Paste' => 'Paste',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Paste to this directory',
+ 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
+ 'Paste_Failed' => 'Failed to paste file(s)',
+ 'Clear_Clipboard' => 'Clear clipboard',
+ 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
+ 'Files_ON_Clipboard' => 'There are files on the clipboard.',
+ 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %1$s. Limit: %2$d MB/operation', // %1$s = cut or copy, %2$d = max size
+ 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %1$s. Limit: %2$d files/operation', // %1$s = cut or copy, %2$d = max count
+ 'Copy_Cut_Not_Allowed' => 'You are not allowed to %1$s %2$s.', // %12$s = cut or copy, %2$s = files or folders
+ 'Aviary_No_Save' => 'Could not save image',
+ 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
+ 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
+ 'Dir_No_Write' => 'The directory you selected is not writable.',
+ 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find the language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size"
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/es.php b/admincp.php/assets/tinymce/filemanager/lang/es.php
new file mode 100644
index 0000000..258988e
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/es.php
@@ -0,0 +1,145 @@
+ 'Seleccionar',
+ 'Deselect_All' => 'Deseleccionar todos',
+ 'Select_All' => 'Seleccionar todos',
+ 'Erase' => 'Eliminar',
+ 'Open' => 'Abrir',
+ 'Confirm_del' => '¿Seguro que deseas eliminar este archivo?',
+ 'All' => 'Todos',
+ 'Files' => 'Archivos',
+ 'Images' => 'Imágenes',
+ 'Archives' => 'Ficheros',
+ 'Error_Upload' => 'El archivo que intenta subir excede el máximo permitido.',
+ 'Error_extension' => 'La extensión del archivo no está permitida.',
+ 'Upload_file' => 'Subir',
+ 'Filters' => 'Filtros',
+ 'Videos' => 'Vídeos',
+ 'Music' => 'Música',
+ 'New_Folder' => 'Nueva carpeta',
+ 'Folder_Created' => 'La carpeta ha sido creada correctamente.',
+ 'Existing_Folder' => 'Carpeta existente',
+ 'Confirm_Folder_del' => '¿Seguro que deseas eliminar la carpeta y todos los elementos que contiene?',
+ 'Return_Files_List' => 'Regresar a la lista de archivos',
+ 'Preview' => 'Vista previa',
+ 'Download' => 'Descargar',
+ 'Insert_Folder_Name' => 'Nombre de la carpeta:',
+ 'Root' => 'raíz',
+ 'Rename' => 'Renombrar',
+ 'Back' => 'Atrás',
+ 'View' => 'Vista',
+ 'View_list' => 'Vista de lista',
+ 'View_columns_list' => 'Vista de columnas',
+ 'View_boxes' => 'Vista de miniaturas',
+ 'Toolbar' => 'Barra de herramientas',
+ 'Actions' => 'Acciones',
+ 'Rename_existing_file' => 'El archivo ya existe',
+ 'Rename_existing_folder' => 'La carpeta ya existe',
+ 'Empty_name' => 'El nombre se encuentra vacío',
+ 'Text_filter' => 'filtro de texto',
+ 'Swipe_help' => 'Deslize el nombre del archivo/carpeta para mostrar las opciones',
+ 'Upload_base' => 'Subida de archivos SIMPLE',
+ 'Upload_base_help' => "Arrastrar y soltar archivos(Drag & Drop Navegadores modernos) o haz click en el botón superior para Añadir los archivos y click en Empezar subida. Cuando la subida se haya completado, haz click en el botón 'Regresar a la lista de archivos'",
+ 'Upload_add_files' => 'Añadir archivos',
+ 'Upload_start' => 'Empezar subida',
+ 'Upload_error_messages' =>array(
+ 1 => 'El archivo subido excede la directiva upload_max_filesize en php.ini',
+ 2 => 'El archivo subido excede la directiva MAX_FILE_SIZE especificada en el formulario HTML',
+ 3 => 'El archivo subido solo fue subido parcialmente',
+ 4 => 'No se ha subido ninún archivo',
+ 6 => 'No se encuentra la carpeta temporal',
+ 7 => 'Falló la escritura del archivo en el disco',
+ 8 => 'Una extensión de PHP detuvo la subida del archivo',
+ 'post_max_size' => 'El archivo subido excede la directiva upload_max_filesize en php.ini',
+ 'max_file_size' => 'El archivo es demasiado grande',
+ 'min_file_size' => 'El archivo es demasiado pequeño',
+ 'accept_file_types' => 'Tipo de archivo (Filetype) no permitido',
+ 'max_number_of_files' => 'Número máximo de archivos excedido',
+ 'max_width' => 'La imagen excede el ancho máximo',
+ 'min_width' => 'La imagen requiere un ancho mínimo',
+ 'max_height' => 'La imagen excede el alto máximo',
+ 'min_height' => 'La imagen requiere un alto mínimo',
+ 'abort' => 'Subida de archivo cancelada',
+ 'image_resize' => 'Error al redimensionar la imagen'
+ ),
+ 'Upload_url' => 'Desde url',
+ 'Type_dir' => 'Carpeta',
+ 'Type' => 'Tipo',
+ 'Dimension' => 'Dimensiones',
+ 'Size' => 'Peso',
+ 'Date' => 'Fecha',
+ 'Filename' => 'Nombre',
+ 'Operations' => 'Operaciones',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'Aceptar',
+ 'Cancel' => 'Cancelar',
+ 'Sorting' => 'Ordenar',
+ 'Show_url' => 'Mostrar URL',
+ 'Extract' => 'Extraer aquí',
+ 'File_info' => 'Información',
+ 'Edit_image' => 'Editar imagen',
+ 'Duplicate' => 'Duplicar',
+ 'Folders' => 'Carpetas',
+ 'Copy' => 'Copiar',
+ 'Cut' => 'Cortar',
+ 'Paste' => 'Pegar',
+ 'CB' => 'Portapapeles', // clipboard
+ 'Paste_Here' => 'Pegar en esta carpeta',
+ 'Paste_Confirm' => '¿Está seguro de pegar el contenido en esta carpeta? Esta acción sobreescribirá los archivos y carpetas existentes.',
+ 'Paste_Failed' => 'Error al pegar los archivos',
+ 'Clear_Clipboard' => 'Limpiar el portapapeles',
+ 'Clear_Clipboard_Confirm' => '¿Está seguro que desea limpiar el portapapeles?',
+ 'Files_ON_Clipboard' => 'Existen archivos en el portapapeles',
+ 'Copy_Cut_Size_Limit' => 'Los archivos/carpetas seleccionados son demasiado grandes para %s. Límite: %d MB/operación', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Ha seleccionado demasiados archivos/carpetas para %s. Límite: %d archivos/operación', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'No está permitido de %s archivos.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'No fue posible guardar la imagen',
+ 'Zip_No_Extract' => 'No fue posible extraer los archivos. Es posible que el archivo esté corrupto.',
+ 'Zip_Invalid' => 'Esta extensión no es soportada. Extensiones válidas: zip, gz, tar.',
+ 'Dir_No_Write' => 'El directorio que ha seleccionado no tiene permisos de escritura.',
+ 'Function_Disabled' => 'La función %s ha sido deshabilitada en el servidor.', // %s = cut or copy
+ 'File_Permission' => 'Permisos de archivos',
+ 'File_Permission_Not_Allowed' => 'Cambiar %s permisos no está permitido.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Aplicar recursivamente?',
+ 'File_Permission_Wrong_Mode' => "El modo de permiso suministrado es incorrecto.",
+ 'User' => 'Usuario',
+ 'Group' => 'Grupo',
+ 'Yes' => 'Si',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'No se ha podido encontrar el idioma.',
+ 'Lang_Change' => 'Cambiar idioma',
+ 'File_Not_Found' => 'No se puede encontrar el archivo.',
+ 'File_Open_Edit_Not_Allowed' => 'No estás autorizado a %s este archivo.', // %s = open or edit
+ 'Edit' => 'Editar',
+ 'Edit_File' => "Editar contenido del archivo",
+ 'File_Save_OK' => "Archivo guardado satisfactoriamente.",
+ 'File_Save_Error' => "Ocurrió un error guardando el archivo.",
+ 'New_File' => 'Nuevo archivo',
+ 'No_Extension' => 'Debes añadir una extensión al archivo.',
+ 'Valid_Extensions' => 'Extensiones válidas: %s', // %s = txt,log etc.
+ 'Upload_message' => "Arrastra archivos aquí para subir",
+
+ 'SERVER ERROR' => "ERROR DEL SERVIDOR",
+ 'forbiden' => "Prohibido",
+ 'wrong path' => "Ruta incorrecta",
+ 'wrong name' => "Nombre incorrecto",
+ 'wrong extension' => "Extensión incorrecta",
+ 'wrong option' => "Opción incorrecta",
+ 'wrong data' => "Datos incorrectos",
+ 'wrong action' => "Acción incorrecta",
+ 'wrong sub-action' => "Sub-acción incorrecta",
+ 'no action passed' => "No se ha recibido una acción",
+ 'no path' => "Sin ruta",
+ 'no file' => "Sin archivo",
+ 'view type number missing' => "Falta el número de tipo de vista",
+ 'Not enough Memory' => "No hay memória suficiente",
+ 'max_size_reached' => "La carpeta de imágenes ha excedido el tamaño máximo de %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Tamaño total",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/fa.php b/admincp.php/assets/tinymce/filemanager/lang/fa.php
new file mode 100644
index 0000000..a8da66a
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/fa.php
@@ -0,0 +1,145 @@
+ 'انتخاب',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'حذف',
+ 'Open' => 'بازگشایی',
+ 'Confirm_del' => 'میخواهید این فایل را حذف کنید؟',
+ 'All' => 'همه',
+ 'Files' => 'فایلها',
+ 'Images' => 'تصاویر',
+ 'Archives' => 'آرشیو',
+ 'Error_Upload' => 'فایل آپلود شده بیش از حداکثر اندازه مجاز است.',
+ 'Error_extension' => 'نوع فایل مجاز نیست.',
+ 'Upload_file' => 'آپلود',
+ 'Filters' => 'فیلترها',
+ 'Videos' => 'ویدئوها',
+ 'Music' => 'موزیک',
+ 'New_Folder' => 'پوشه جدید',
+ 'Folder_Created' => 'پوشه به درستی ایجاد شد',
+ 'Existing_Folder' => 'پوشه های موجود',
+ 'Confirm_Folder_del' => 'آیا میخواهید این پوشه را با تمام محتوایش حذف کنید؟',
+ 'Return_Files_List' => 'برگشت به لیست فایلها',
+ 'Preview' => 'پیش نمایش',
+ 'Download' => 'دانلود',
+ 'Insert_Folder_Name' => 'نام پوشه:',
+ 'Root' => 'شاخه اصلی',
+ 'Rename' => 'تغییر نام',
+ 'Back' => 'برگشت',
+ 'View' => 'نمایش',
+ 'View_list' => 'نمایش لیست',
+ 'View_columns_list' => 'نمایش لیست ستونی',
+ 'View_boxes' => 'نمایش باکسها',
+ 'Toolbar' => 'نوار ابزار',
+ 'Actions' => 'عملیات',
+ 'Rename_existing_file' => 'فایل از قبل موجود است',
+ 'Rename_existing_folder' => 'پوشه از قبل موجود است',
+ 'Empty_name' => 'نام خالی است',
+ 'Text_filter' => 'فیلتر نوشته',
+ 'Swipe_help' => 'روی نام فایل/پوشه بروید تا گزینه های بیشتری نمایش داده شوند . ',
+ 'Upload_base' => 'آپلودر اصلی',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'مسیر',
+ 'Type' => 'نوع',
+ 'Dimension' => 'بعد',
+ 'Size' => 'اندازه',
+ 'Date' => 'تاریخ',
+ 'Filename' => 'نام فایل',
+ 'Operations' => 'عملیات',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'باشه',
+ 'Cancel' => 'لغو',
+ 'Sorting' => 'مرتب سازی',
+ 'Show_url' => 'نمایش آدرس',
+ 'Extract' => 'استخراج در اینجا',
+ 'File_info' => 'اطلاعات فایل',
+ 'Edit_image' => 'ویرایش تصویر',
+ 'Duplicate' => 'تکرار',
+ 'Folders' => 'پوشه ها',
+ 'Copy' => 'کپی',
+ 'Cut' => 'بریدن',
+ 'Paste' => 'درج',
+ 'CB' => 'کلیپ برد', // clipboard
+ 'Paste_Here' => 'درج در این مسیر',
+ 'Paste_Confirm' => 'آیا ممئن هستید که میخواهید در این مسیر درج کنید ؟ اگر فایل همنام وجود داشته باشد فایل جدید روی فایل قبلی OverWrite خواهد شد .',
+ 'Paste_Failed' => 'خطا در درج فایل (ها) ! ',
+ 'Clear_Clipboard' => 'پاک کردن کلیپ برد',
+ 'Clear_Clipboard_Confirm' => 'مطمئنید که می خواهید کلیپ برد را خالی کنید ؟',
+ 'Files_ON_Clipboard' => 'کلیپ برد حاوی فایل است .',
+ 'Copy_Cut_Size_Limit' => 'فایل/پوشه انتخابی از حداکثر حجم مجاز برای %s بزرگتر هستند. محدودیت: %d MB/عملیات', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'تعداد فایل/پوشه های انتخابی برای %s بسیار زیاد است . محدودیت: %d فایل/عملیات', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'شما اجازه %s این فایل را ندارید .', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'نتوانست تصویر را ذخیره کند .',
+ 'Zip_No_Extract' => 'خطا در فرآیند Unzip . ممکن است فایل آسیب دیده باشد .',
+ 'Zip_Invalid' => 'پسوند مورد نظر پشیبانی نمیشود ، مجاز : zip, gz, tar.',
+ 'Dir_No_Write' => 'مسیر انتخابی قابل نوشتن نیست .',
+ 'Function_Disabled' => 'تابع %s از سمت سرور غیر فعال شده است .', // %s = cut or copy
+ 'File_Permission' => 'دسترسی فایل',
+ 'File_Permission_Not_Allowed' => 'تغییر دسترسی %s مجاز نمی باشد .', // %s = files or folders
+ 'File_Permission_Recursive' => 'اعمال بازگشتی بودن؟',
+ 'File_Permission_Wrong_Mode' => "دسترسی اعمال شده اشتباه است .",
+ 'User' => 'کاربر',
+ 'Group' => 'گروه',
+ 'Yes' => 'بله',
+ 'No' => 'خبر',
+ 'Lang_Not_Found' => 'زبان مورد نظر یافت نشد .',
+ 'Lang_Change' => 'تغییر زبان',
+ 'File_Not_Found' => 'نتوانست فایل را پیدا کند .',
+ 'File_Open_Edit_Not_Allowed' => 'شما نمیتوانید این فایل را %s کنید.', // %s = open or edit
+ 'Edit' => 'ویرایش',
+ 'Edit_File' => "ویرایش محتوای فایل",
+ 'File_Save_OK' => "فایل با موفقیت ذخیره شد .",
+ 'File_Save_Error' => "خطایی در هنگام ذخیره فایل رخ داده است .",
+ 'New_File' => 'فایل جدید',
+ 'No_Extension' => 'شما باید پسوند وارد کنید .',
+ 'Valid_Extensions' => 'پسوند های مجاز : %s', // %s = txt,log etc.
+ 'Upload_message' => "فایل ها را اینجا بکشید تا آپلود شوند ",
+
+ 'SERVER ERROR' => "خطای سرور",
+ 'forbiden' => "ممنوع",
+ 'wrong path' => "مسیر اشتباه",
+ 'wrong name' => "نام غیر مجاز",
+ 'wrong extension' => "پسوند غیر مجاز",
+ 'wrong option' => "گزینه های غیر مجاز",
+ 'wrong data' => "دیتا اشتباه",
+ 'wrong action' => "عمل اشتباه",
+ 'wrong sub-action' => "خطای زیر دستور",
+ 'no action passed' => "بدون دستور",
+ 'no path' => "بدون مسیر",
+ 'no file' => "بدون فایل",
+ 'view type number missing' => "نمایش تعداد نوع های غیر مجاز",
+ 'Not enough Memory' => "نبود فضای کافی",
+ 'max_size_reached' => "پوشه تصویر شما به حداکثر اندازه خود [%d MB] رسیده است .", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "حجم کلی",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/fr_FR.php b/admincp.php/assets/tinymce/filemanager/lang/fr_FR.php
new file mode 100644
index 0000000..edad564
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/fr_FR.php
@@ -0,0 +1,145 @@
+ 'Sélectionner',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Effacer',
+ 'Open' => 'Ouvrir',
+ 'Confirm_del' => 'Êtes-vous sûr de vouloir effacer ce fichier ?',
+ 'All' => 'Tous',
+ 'Files' => 'Fichiers',
+ 'Images' => 'Images',
+ 'Archives' => 'Archives',
+ 'Error_Upload' => 'Votre fichier dépasse la taille maximum autorisée.',
+ 'Error_extension' => 'Extension de fichier non autorisée.',
+ 'Upload_file' => 'Envoyer un fichier',
+ 'Filters' => 'Filtrer',
+ 'Videos' => 'Vidéos',
+ 'Music' => 'Musique',
+ 'New_Folder' => 'Nouveau dossier',
+ 'Folder_Created' => 'Dossier correctement créé',
+ 'Existing_Folder' => 'Dossier existant',
+ 'Confirm_Folder_del' => 'Êtes-vous sûr de vouloir supprimer le dossier ainsi que tous ses éléments ?',
+ 'Return_Files_List' => 'Revenir à la liste des fichiers',
+ 'Preview' => 'Aperçu',
+ 'Download' => 'Télécharger',
+ 'Insert_Folder_Name' => 'Insérer le nom du dossier :',
+ 'Root' => 'Racine',
+ 'Rename' => 'Renommer',
+ 'Back' => 'Retour',
+ 'View' => 'Vue',
+ 'View_list' => 'Vue par liste',
+ 'View_columns_list' => 'Vue par listes de colonne',
+ 'View_boxes' => 'Vue par icônes',
+ 'Toolbar' => 'Barre d\'outils',
+ 'Actions' => 'Actions',
+ 'Rename_existing_file' => 'Ce fichier existe déjà',
+ 'Rename_existing_folder' => 'Ce dossier existe déjà',
+ 'Empty_name' => 'Le nom est vide',
+ 'Text_filter' => 'Texte de filtrage',
+ 'Swipe_help' => 'Glissez le nom du fichier/dossier pour afficher les options',
+ 'Upload_base' => 'Téléchargement classique',
+ 'Upload_base_help' => 'Glisser-Déposer des fichiers (navigateurs récents) ou cliquer sur le bontons en haut pour ajouter des fichiers. Cliquer sur "Envoyer les fichiers". Lorsque le chargement est complet, cliquer sur "Revenir à la liste des fichiers".',
+ 'Upload_add_files' => 'Ajouter des fichiers',
+ 'Upload_start' => 'Envoyer les fichiers',
+ 'Upload_error_messages' =>array(
+ 1 => 'La taille du fichier dépasse la limite fixée par le paramètre upload_max_filesize dans php.ini',
+ 2 => 'La taille du fichier dépasse la limite fixée par le paramètre MAX_FILE_SIZE du formulaire',
+ 3 => 'Le fichier n\'a pas été correctement téléchargé',
+ 4 => 'Aucun fichier n\'a pas été téléchargé',
+ 6 => 'Il manque le répertoire temporaire',
+ 7 => 'Impossible d\'écrire le fichier sur le disque',
+ 8 => 'Une extension PHP a bloqué le téléchargement',
+ 'post_max_size' => 'La taille du fichier dépasse la limite fixée par le paramètre post_max_size dans php.ini',
+ 'max_file_size' => 'La taille du fichier est trop importante',
+ 'min_file_size' => 'La taille du fichier est trop faible',
+ 'accept_file_types' => 'Ce type de fichier n\'est pas accepté',
+ 'max_number_of_files' => 'Le nombre de fichiers à télécharger est trop important',
+ 'max_width' => 'La largeur de l\'image est supérieure à la limite maximum autorisée',
+ 'min_width' => 'La largeur de l\'image est inférieure à la limite minimum autorisée',
+ 'max_height' => 'La hauteur de l\'image est supérieure à la limite maximum autorisée',
+ 'min_height' => 'La hauteur de l\'image est inférieure à la limite minimum autorisée',
+ 'abort' => 'Téléchargement des fichiers annulé',
+ 'image_resize' => 'Impossible de redimensionner l\'image'
+ ),
+ 'Upload_url' => 'Depuis une URL',
+ 'Type_dir' => 'dir',
+ 'Type' => 'Type',
+ 'Dimension' => 'Dimension',
+ 'Size' => 'Taille',
+ 'Date' => 'Date',
+ 'Filename' => 'Nom',
+ 'Operations' => 'Opérations',
+ 'Date_type' => 'd/m/Y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Annuler',
+ 'Sorting' => 'Trier',
+ 'Show_url' => 'Afficher l\'URL',
+ 'Extract' => 'Extraire ici',
+ 'File_info' => 'Information',
+ 'Edit_image' => 'Editer l\'image',
+ 'Duplicate' => 'Dupliquer',
+ 'Folders' => 'Dossiers',
+ 'Copy' => 'Copier',
+ 'Cut' => 'Couper',
+ 'Paste' => 'Coller',
+ 'CB' => 'PP', // Presse-papiers
+ 'Paste_Here' => 'Coller dans ce dossier',
+ 'Paste_Confirm' => 'Êtes-vous sûr de vouloir coller dans ce répertoire ? Cette action remplacera les fichiers/dossiers déjà existants.',
+ 'Paste_Failed' => 'Impossible de coller les fichier(s)',
+ 'Clear_Clipboard' => 'Vider le presse-papiers',
+ 'Clear_Clipboard_Confirm' => 'Êtes-vous sûr de vouloir vider le presse-papiers ?',
+ 'Files_ON_Clipboard' => 'Le presse-papiers contient des fichiers.',
+ 'Copy_Cut_Size_Limit' => 'Les fichiers/dossiers sélectionnés sont trop gros pour %1$s. Limite: %2$d MB/opération', // %1$s = cut or copy, %2$d = max size
+ 'Copy_Cut_Count_Limit' => 'Vous avez sélectionné trop de fichiers/dossier pour %1$s. Limite: %2$d fichiers/opération', // %1$s = cut or copy, %2$d = max count
+ 'Copy_Cut_Not_Allowed' => 'Vous n\'êtes pas autorisé à %1$s des %2$s.', // %12$s = cut or copy, %2$s = files or folders
+ 'Aviary_No_Save' => 'Impossible d\'enregistrer l\'image',
+ 'Zip_No_Extract' => 'Extraction impossible. Le fichier est peut-être corrompu.',
+ 'Zip_Invalid' => 'Cette extension n\'est pas supportée. Extensions valides: zip, gz, tar.',
+ 'Dir_No_Write' => 'Le répertoire que vous avez sélectionné n\'est pas accessible en écriture.',
+ 'Function_Disabled' => 'La fonction %s a été désactivée sur le serveur.', // %s = cut or copy
+ 'File_Permission' => 'Permission du fichier',
+ 'File_Permission_Not_Allowed' => 'Le changement de permission %s n\'est pas autorisé.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Appliquez recursivement ?',
+ 'File_Permission_Wrong_Mode' => 'Les permissions saisies sont incorrectes.',
+ 'User' => 'Utilisateur',
+ 'Group' => 'Groupe',
+ 'Yes' => 'Oui',
+ 'No' => 'Non',
+ 'Lang_Not_Found' => 'Le fichier de langue est introuvable.',
+ 'Lang_Change' => 'Changer la langue',
+ 'File_Not_Found' => 'Le fichier est introuvable.',
+ 'File_Open_Edit_Not_Allowed' => 'Vous ne disposez pas des autorisations sur le fichier %s.', // %s = open or edit
+ 'Edit' => 'Editer',
+ 'Edit_File' => 'Editer le contenu du fichier',
+ 'File_Save_OK' => 'Fichier enregistré avec succès.',
+ 'File_Save_Error' => 'Une erreur s\'est produite lors de l\'enregistrement du fichier.',
+ 'New_File' => 'Nouveau fichier',
+ 'No_Extension' => 'Vous devez ajouter une extension au fichier.',
+ 'Valid_Extensions' => 'Extensions valides: %s', // %s = txt,log etc.
+ 'Upload_message' => 'Glissez les fichiers ici pour les ajouter',
+
+ 'SERVER ERROR' => "ERREUR SERVEUR",
+ 'forbiden' => "Interdit",
+ 'wrong path' => "Chemin invalide",
+ 'wrong name' => "Nom invalide",
+ 'wrong extension' => "Extension invalide",
+ 'wrong option' => "Option invalide",
+ 'wrong data' => "Données invalides",
+ 'wrong action' => "Action invalide",
+ 'wrong sub-action' => "Sous-action invalide",
+ 'no action passed' => "Aucune action demandée",
+ 'no path' => "Chemin manquant",
+ 'no file' => "Fichier manquant",
+ 'view type number missing' => "Type de vue manquant",
+ 'Not enough Memory' => "Mémoire insuffisante",
+ 'max_size_reached' => "Votre répertoire d'image a déjà atteind sa taille maximale de %d mo.", //%d = max overall size
+ 'B' => "o",
+ 'KB' => "Ko",
+ 'MB' => "Mo",
+ 'GB' => "Go",
+ 'TB' => "To",
+ 'total size' => "Taille totale",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/he_IL.php b/admincp.php/assets/tinymce/filemanager/lang/he_IL.php
new file mode 100644
index 0000000..b9c6d60
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/he_IL.php
@@ -0,0 +1,146 @@
+ 'בחר',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'מחק',
+ 'Open' => 'פתח',
+ 'Confirm_del' => 'האם אתה בטוח שברצונך למחוק את הקובץ ?',
+ 'All' => 'הכל',
+ 'Files' => 'קבצים',
+ 'Images' => 'תמונות',
+ 'Archives' => 'ארכיונים',
+ 'Error_Upload' => 'גודל הקובץ המצורף חורג מן הגבול המותר .',
+ 'Error_extension' => 'תבנית הקובץ או סיומת הקובץ אינן חוקיות .',
+ 'Upload_file' => 'העלה',
+ 'Filters' => 'סננים',
+ 'Videos' => 'וידאו',
+ 'Music' => 'מוזיקה',
+ 'New_Folder' => 'תיקיה חדשה',
+ 'Folder_Created' => 'התיקיה נוצרה .',
+ 'Existing_Folder' => 'התיקיה קיימת',
+ 'Confirm_Folder_del' => 'האם אתה בטוח שברצונך למחוק את התיקיה וכל קבציה ?',
+ 'Return_Files_List' => 'חזור לרשימת קבצים',
+ 'Preview' => 'תצוגה מקדימה',
+ 'Download' => 'הורד',
+ 'Insert_Folder_Name' => 'הכנס שם תיקיה:',
+ 'Root' => 'root',
+ 'Rename' => 'שנה שם',
+ 'Back' => 'חזור',
+ 'View' => 'צפה',
+ 'View_list' => 'תצוגת רשימה',
+ 'View_columns_list' => 'תצוגת רשימה בטורים',
+ 'View_boxes' => 'תצוגת קופסאות',
+ 'Toolbar' => 'סרגל כלים',
+ 'Actions' => 'פעולות',
+ 'Rename_existing_file' => 'הקובץ כבר קיים',
+ 'Rename_existing_folder' => 'התיקיה כבר קיימת',
+ 'Empty_name' => 'שם הקובץ ריק',
+ 'Text_filter' => 'סנן טקסט',
+ 'Swipe_help' => 'סמן את הקובץ / תיקיה על מנת להציג אפשריות',
+ 'Upload_base' => 'רגיל',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'תיקיה',
+ 'Type' => 'סוג',
+ 'Dimension' => 'מימדים',
+ 'Size' => 'גודל',
+ 'Date' => 'תאריך',
+ 'Filename' => 'שם הקובץ',
+ 'Operations' => 'פעולות',
+ 'Date_type' => 'd-m-y',
+ 'OK' => 'אישור',
+ 'Cancel' => 'ביטול',
+ 'Sorting' => 'מיון',
+ 'Show_url' => 'הצג כתובת',
+ 'Extract' => 'חלץ לכאן',
+ 'File_info' => 'מאפיינים',
+ 'Edit_image' => 'ערוך תמונה',
+ 'Duplicate' => 'שכפל',
+ 'Folders', 'תיקיות',
+ 'Copy' => 'העתק',
+ 'Cut' => 'גזור',
+ 'Paste' => 'הדבק',
+ 'CB', 'לוח עריכה', // clipboard
+ 'Paste_Here' => 'הדבק לתיקיה זו',
+ 'Paste_Confirm' => 'האם אתה בטוח שברצונך להדביק לתיקיה זו ? פעולה זו תחליף בין הקבצים במקרה של התנגשות',
+ 'Paste_Failed' => 'נכשל בהעתקת קבצים',
+ 'Clear_Clipboard' => 'נקה לוח עריכה',
+ 'Clear_Clipboard_Confirm' => 'האם אתה בטוח שברצונך לנקות את לוח העריכה ?',
+ 'Files_ON_Clipboard' => 'ישנם קבצים בלוח העריכה.',
+ 'Copy_Cut_Size_Limit' => 'גודל הקובצים / התיקיה גדולים מדי %s. הגבלה: %d MB/לפעולה', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'בחר יותר מדי תיקיות/קבצים לפעולה %s. הגבלה: %d files/operation', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'אינך ראשי ל%s קבצים.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save', 'לא ניתן לשמור את התמונה .',
+ 'Zip_No_Extract', 'לא ניתן לחלץ , הקבץ פגום.',
+ 'Zip_Invalid', 'סוג או פורמט הקובץ אינו נתמך. חוקי: zip, gz, tar.',
+ 'Dir_No_Write', 'התיקיה שבחרת אינה ניתנת לכתיבה',
+ 'Function_Disabled', 'ה %s פונקציה אינה פעילה.', // %s = cut or copy
+ 'File_Permission', 'הראשות קובץ',
+ 'File_Permission_Not_Allowed', 'שינוי %s הראשות לא ניתנת לעריכה.', // %s = files or folders
+ 'File_Permission_Recursive', 'החל רקורסיביות?',
+ 'File_Permission_Wrong_Mode', "הרשאות שנתנו אינן חוקיות.",
+ 'User', 'משתמשים',
+ 'Group', 'קבוצות',
+ 'Yes', 'כן',
+ 'No', 'לא',
+ 'Lang_Not_Found', 'לא ניתן למצוא את השפה המבוקשת .',
+ 'Lang_Change', 'החלף שפה',
+ 'File_Not_Found', 'לא ניתן לאתר את הקובץ המבוקש.',
+ 'File_Open_Edit_Not_Allowed', 'אינך מורשה ל%s את הקובץ.', // %s = open or edit
+ 'Edit', 'ערוך',
+ 'Edit_File', "ערוך את תוכן הקובץ",
+ 'File_Save_OK', "הקובץ נשמר בהצלחה .",
+ 'File_Save_Error', "שגיאה בעת שמירת הקובץ.",
+ 'New_File' => 'קובץ חדש',
+ 'No_Extension' => 'חובה לציין את סיומת הקובץ.',
+ 'Valid_Extensions' => 'סיומות חוקיות: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
+
diff --git a/admincp.php/assets/tinymce/filemanager/lang/hr.php b/admincp.php/assets/tinymce/filemanager/lang/hr.php
new file mode 100644
index 0000000..ad30d04
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/hr.php
@@ -0,0 +1,145 @@
+ 'Odaberi',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Obriši',
+ 'Open' => 'Otvori',
+ 'Confirm_del' => 'Jeste li sigurni da želite obrisati ovu datoteku?',
+ 'All' => 'Sve',
+ 'Files' => 'Datoteke',
+ 'Images' => 'Slike',
+ 'Archives' => 'Kompresirane arhive',
+ 'Error_Upload' => 'Datoteka koju želite prenesti prelazi maximalnu dopuštenu veličinu.',
+ 'Error_extension' => 'Datoteka s tom ekstenzijom nije dopuštena.',
+ 'Upload_file' => 'Prenesi',
+ 'Filters' => 'Filteri',
+ 'Videos' => 'Video zapisi',
+ 'Music' => 'Glazba',
+ 'New_Folder' => 'Nova mapa',
+ 'Folder_Created' => 'Mapa je uspješno kreirana',
+ 'Existing_Folder' => 'Postojeća mapa',
+ 'Confirm_Folder_del' => 'Jeste li sigurni da želite obrisati ovu mapu i sve datoteke u njoj?',
+ 'Return_Files_List' => 'Vrati se na pregled datoteka',
+ 'Preview' => 'Pogledaj',
+ 'Download' => 'Preuzmi',
+ 'Insert_Folder_Name' => 'Naziv nove mape:',
+ 'Root' => 'polazno',
+ 'Rename' => 'Preimenuj',
+ 'Back' => 'natrag',
+ 'View' => 'Prikaz',
+ 'View_list' => 'Prikaz liste',
+ 'View_columns_list' => 'Prikaz stupac-liste',
+ 'View_boxes' => 'Prikaz grid',
+ 'Toolbar' => 'Alatna traka',
+ 'Actions' => 'Radnja',
+ 'Rename_existing_file' => 'Datoteka već postoji',
+ 'Rename_existing_folder' => 'Mapa već postoji',
+ 'Empty_name' => 'Naziv nije upisan',
+ 'Text_filter' => 'filtriraj po nazivu',
+ 'Swipe_help' => 'Povucite prstom ime datoteke / mape za prikaz mogućnosti',
+ 'Upload_base' => 'Putanja do mape za prenesene datoteke',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'mapa',
+ 'Type' => 'Tip',
+ 'Dimension' => 'Dimenzije',
+ 'Size' => 'Veličina',
+ 'Date' => 'Datum',
+ 'Filename' => 'Naziv datoteke',
+ 'Operations' => 'Radnje',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'U redu',
+ 'Cancel' => 'Odustani',
+ 'Sorting' => 'sortiranje',
+ 'Show_url' => 'prikaži URL',
+ 'Extract' => 'raspakiraj ovdje',
+ 'File_info' => 'informacije',
+ 'Edit_image' => 'uredi sliku',
+ 'Duplicate' => 'kopiraj',
+ 'Folders' => 'Folders',
+ 'Copy' => 'Copy',
+ 'Cut' => 'Cut',
+ 'Paste' => 'Paste',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Paste to this directory',
+ 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
+ 'Paste_Failed' => 'Failed to paste file(s)',
+ 'Clear_Clipboard' => 'Clear clipboard',
+ 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
+ 'Files_ON_Clipboard' => 'There are files on the clipboard.',
+ 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %s. Limit: %d MB/operation', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %s. Limit: %d files/operation', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'You are not allowed to %s files.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Could not save image',
+ 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
+ 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
+ 'Dir_No_Write' => 'The directory you selected is not writable.',
+ 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/hu_HU.php b/admincp.php/assets/tinymce/filemanager/lang/hu_HU.php
new file mode 100644
index 0000000..bcdcd9f
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/hu_HU.php
@@ -0,0 +1,145 @@
+ 'Tallózás',
+ 'Deselect_All' => 'Kijelölés törlése',
+ 'Select_All' => 'Összes kijelölése',
+ 'Erase' => 'Törlés',
+ 'Open' => 'Megnyitás',
+ 'Confirm_del' => 'Biztosan törlöd ezt a fájlt?',
+ 'All' => 'Összes',
+ 'Files' => 'fájl',
+ 'Images' => 'Képek',
+ 'Archives' => 'Tömörített',
+ 'Error_Upload' => 'A kiválasztott fájl mérete túl nagy!',
+ 'Error_extension' => 'A megadott kiterjesztésű fájl nem engedélyezett.',
+ 'Upload_file' => 'Fájl feltöltése',
+ 'Filters' => 'Szűrő',
+ 'Videos' => 'Videó',
+ 'Music' => 'Zene',
+ 'New_Folder' => 'Új mappa',
+ 'Folder_Created' => 'Mappa létrehozva',
+ 'Existing_Folder' => 'Mappa már létezik',
+ 'Confirm_Folder_del' => 'Biztosan törlöd a könyvtárat és annak tartalmát?',
+ 'Return_Files_List' => 'Vissza a fájllistához',
+ 'Preview' => 'Előnézet',
+ 'Download' => 'Letöltés',
+ 'Insert_Folder_Name' => 'Mappa neve:',
+ 'Root' => 'root',
+ 'Rename' => 'Átnevezés',
+ 'Back' => 'vissza',
+ 'View' => 'Nézet',
+ 'View_list' => 'Lista',
+ 'View_columns_list' => 'Oszlopok',
+ 'View_boxes' => 'Miniatűrök',
+ 'Toolbar' => 'Eszközök',
+ 'Actions' => 'Műveletek',
+ 'Rename_existing_file' => 'A fájl már létezik',
+ 'Rename_existing_folder' => 'A mappa már létezik',
+ 'Empty_name' => 'A név nincs megadva',
+ 'Text_filter' => 'szűrés',
+ 'Swipe_help' => 'Húzd az egered a fájl/mappa nevére, hogy lásd az opciókat.',
+ 'Upload_base' => 'Féltöltés a számítógépről',
+ 'Upload_base_help' => "Húzza ide a feltölteni kívánt fájlokat, vagy kattintson a 'Fájl(ok) hozzáadása gombra. Ha kiválasztotta a fájlokat kattintson a 'Feltöltés indítása' gomba. Miután elkészült a feltöltés kattintson a fenti 'Vissza a fájllistához' gombra.",
+ 'Upload_add_files' => 'Fájl(ok) hozzáadása',
+ 'Upload_start' => 'Feltöltés elindítása',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'A fájl mérete túl nagy!',
+ 'min_file_size' => 'A fájl mérete túl kicsi!',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'A kép mérete elérte a maximális szélességet!',
+ 'min_width' => 'A kép mérete nem éri el a minimális szélességet!',
+ 'max_height' => 'A kép mérete elérte a maximális magasságot!',
+ 'min_height' => 'A kép mérete nem éri el a minimális magasságot!',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'A kép átméretézése sikertelen!'
+ ),
+ 'Upload_url' => 'Feltöltés URL-ről',
+ 'Type_dir' => 'Mappa',
+ 'Type' => 'Típus',
+ 'Dimension' => 'Felbontás',
+ 'Size' => 'Méret',
+ 'Date' => 'Dátum',
+ 'Filename' => 'Név',
+ 'Operations' => 'Műveletek',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'OK',
+ 'Cancel' => 'Mégse',
+ 'Sorting' => 'Rendezés',
+ 'Show_url' => 'URL megjelenítése',
+ 'Extract' => 'Kibontás ide',
+ 'File_info' => 'Fájl info',
+ 'Edit_image' => 'Kép szerkesztése',
+ 'Duplicate' => 'Klónozás',
+ 'Folders' => 'mappa',
+ 'Copy' => 'Másolás',
+ 'Cut' => 'Kivágás',
+ 'Paste' => 'Beillesztés',
+ 'CB' => 'VL', // clipboard
+ 'Paste_Here' => 'Beillesztés ebbe a mappába.',
+ 'Paste_Confirm' => 'Biztos vagy benne, hogy ebbe a mappába szeretnéd beilleszteni a fájlokat? A létező fájlok/mappák felül lesznek írva.',
+ 'Paste_Failed' => 'A beillesztés sikertelen!',
+ 'Clear_Clipboard' => 'Vágólap törlése',
+ 'Clear_Clipboard_Confirm' => 'Biztosan törlöd a vágólap tartalmát?',
+ 'Files_ON_Clipboard' => 'Fájlok találhatóak a vágólapon.',
+ 'Copy_Cut_Size_Limit' => 'A kiválasztott fájlok/mappák túl nagyok a %shoz. Limit: %d MB/művelet', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Túl sok fájlt választottál ki a %shoz. Limit: %d fájl/művelet', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'A %s nem engedélyezett.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'A kép mentése sikertelen.',
+ 'Zip_No_Extract' => 'Kicsomagolás sikertelen. Lehet, hogy korrupt a fájl.',
+ 'Zip_Invalid' => 'Ez a kiterjesztés nem támogatott. Támogatott: zip, gz, tar.',
+ 'Dir_No_Write' => 'A kiválasztott mappa nem írható.',
+ 'Function_Disabled' => 'A %s funkciót letiltotta a szerver.', // %s = cut or copy
+ 'File_Permission' => 'Engedélyek',
+ 'File_Permission_Not_Allowed' => 'A %s jogainak a megváltoztatása nem engedélyezett.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Rekurzív beállítás az almappákra?',
+ 'File_Permission_Wrong_Mode' => "A beírt engedély nem megfelelő.",
+ 'User' => 'Felhasználó',
+ 'Group' => 'Csoport',
+ 'Yes' => 'Igen',
+ 'No' => 'Nem',
+ 'Lang_Not_Found' => 'A nyelv nem található.',
+ 'Lang_Change' => 'Nyelv megváltoztatása',
+ 'File_Not_Found' => 'A fájl nem található.',
+ 'File_Open_Edit_Not_Allowed' => 'Nincs jogod %s a fájlt.', // %s = open or edit
+ 'Edit' => 'Szerkesztés',
+ 'Edit_File' => "Fájl szerkesztése",
+ 'File_Save_OK' => "Fájl sikeresen mentve.",
+ 'File_Save_Error' => "Hiba történt a fájl mentése közben.",
+ 'New_File' => 'Új fájl',
+ 'No_Extension' => 'Meg kell adnod a fájl kiterjesztését.',
+ 'Valid_Extensions' => 'Elfogadott kiterjesztések: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/id.php b/admincp.php/assets/tinymce/filemanager/lang/id.php
new file mode 100644
index 0000000..3becba2
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/id.php
@@ -0,0 +1,145 @@
+ 'Pilih',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Hapus',
+ 'Open' => 'Buka',
+ 'Confirm_del' => 'Apakah anda yakin menghapus berkas ini?',
+ 'All' => 'Semua',
+ 'Files' => 'Berkas',
+ 'Images' => 'Gambar',
+ 'Archives' => 'Arsip',
+ 'Error_Upload' => 'Berkas yang diubah melebihi batas ukuran yang diperbolehkan.',
+ 'Error_extension' => 'Ekstensi berkas tidak diperbolehkan.',
+ 'Upload_file' => 'Unggah',
+ 'Filters' => 'Saring',
+ 'Videos' => 'Video',
+ 'Music' => 'Musik',
+ 'New_Folder' => 'Folder Baru',
+ 'Folder_Created' => 'Folder Telah Dibuat',
+ 'Existing_Folder' => 'Folder yang ada',
+ 'Confirm_Folder_del' => 'Apakah anda yakin menghapus folder dan semua isi didalamnya?',
+ 'Return_Files_List' => 'Kembali ke daftar',
+ 'Preview' => 'Pratampil',
+ 'Download' => 'Unduh',
+ 'Insert_Folder_Name' => 'Masukkan nama folder:',
+ 'Root' => 'root',
+ 'Rename' => 'Ubah nama',
+ 'Back' => 'kembali',
+ 'View' => 'lihat',
+ 'View_list' => 'Tampilan Daftar',
+ 'View_columns_list' => 'Tampilan Daftar kolom',
+ 'View_boxes' => 'Tampilan Kotak',
+ 'Toolbar' => 'Toolbar',
+ 'Actions' => 'Aksi',
+ 'Rename_existing_file' => 'Berkas Sudah ada',
+ 'Rename_existing_folder' => 'Folder sudah ada',
+ 'Empty_name' => 'Nama Kosong',
+ 'Text_filter' => 'saring teks',
+ 'Swipe_help' => 'Arahkan pada nama berkas/folder untuk melihat pilihan',
+ 'Upload_base' => 'Basis Unggah',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'direktori',
+ 'Type' => 'Tipe',
+ 'Dimension' => 'Dimensi',
+ 'Size' => 'Ukuran',
+ 'Date' => 'Tanggal',
+ 'Filename' => 'Nama_berkas',
+ 'Operations' => 'Operasi',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'OK',
+ 'Cancel' => 'Cancel',
+ 'Sorting' => 'Sortir',
+ 'Show_url' => 'lihat URL',
+ 'Extract' => 'extract disini',
+ 'File_info' => 'info berkas',
+ 'Edit_image' => 'edit gambar',
+ 'Duplicate' => 'Duplikat',
+ 'Folders' => 'Folders',
+ 'Copy' => 'Copy',
+ 'Cut' => 'Cut',
+ 'Paste' => 'Paste',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Paste to this directory',
+ 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
+ 'Paste_Failed' => 'Failed to paste file(s)',
+ 'Clear_Clipboard' => 'Clear clipboard',
+ 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
+ 'Files_ON_Clipboard' => 'There are files on the clipboard.',
+ 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %s. Limit: %d MB/operation', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %s. Limit: %d files/operation', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'You are not allowed to %s files.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Could not save image',
+ 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
+ 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
+ 'Dir_No_Write' => 'The directory you selected is not writable.',
+ 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/it.php b/admincp.php/assets/tinymce/filemanager/lang/it.php
new file mode 100644
index 0000000..843a053
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/it.php
@@ -0,0 +1,145 @@
+ 'Seleziona',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Cancella',
+ 'Open' => 'Apri',
+ 'Confirm_del' => 'Sei sicuro di volere cancellare questo file?',
+ 'All' => 'Tutti',
+ 'Files' => 'File',
+ 'Images' => 'Immagini',
+ 'Archives' => 'Archivi',
+ 'Error_Upload' => 'Il file caricato supera i limiti imposti.',
+ 'Error_extension' => 'Il tipo del file caricato non è permesso.',
+ 'Upload_file' => 'Carica',
+ 'Filters' => 'Filtri',
+ 'Videos' => 'Video',
+ 'Music' => 'Musica',
+ 'New_Folder' => 'Nuova Cartella',
+ 'Folder_Created' => 'Cartella creata correttamente',
+ 'Existing_Folder' => 'Cartella già esistente',
+ 'Confirm_Folder_del' => 'Sei sicuro di voler cancellare la cartella e tutti i file in essa contenuti?',
+ 'Return_Files_List' => 'Ritorna alla lista dei file',
+ 'Preview' => 'Anteprima',
+ 'Download' => 'Download',
+ 'Insert_Folder_Name' => 'Inserisci il nome della cartella:',
+ 'Root' => 'base',
+ 'Rename' => 'Rinomina',
+ 'Back' => 'indietro',
+ 'View' => 'Vista',
+ 'View_list' => 'Vista a lista',
+ 'View_columns_list' => 'Vista a colonne',
+ 'View_boxes' => 'Vista a box',
+ 'Toolbar' => 'Toolbar',
+ 'Actions' => 'Azioni',
+ 'Rename_existing_file' => 'Il file esiste già',
+ 'Rename_existing_folder' => 'La cartella esiste già',
+ 'Empty_name' => 'Il nome è vuoto',
+ 'Text_filter' => 'filtro di testo',
+ 'Swipe_help' => 'Esegui uno Swipe sul nome del file/cartella per mostrare le opzioni',
+ 'Upload_base' => 'Upload Base',
+ 'Upload_add_files' => 'Aggiungi file',
+ 'Upload_start' => "Esegui l'upload",
+ 'Upload_base_help' => "Trascina i file nell'area superiore (per i moderni browser) o clicca sul bottone \"Aggiungi file\" e clicca sul bottone \"Esegui l'upload\". Quando il caricamento dei file è terminato clicca sul bottone di ritorno in alto.",
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'URL',
+ 'Type_dir' => 'dir',
+ 'Type' => 'Tipo',
+ 'Dimension' => 'Dimensione',
+ 'Size' => 'Peso',
+ 'Date' => 'Data',
+ 'Filename' => 'Nome',
+ 'Operations' => 'Operazioni',
+ 'Date_type' => 'd/m/y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Annulla',
+ 'Sorting' => 'ordina',
+ 'Show_url' => 'Mostra URL',
+ 'Extract' => 'estrai qui',
+ 'File_info' => 'informazioni file',
+ 'Edit_image' => 'Modifica immagine',
+ 'Duplicate' => 'Duplica',
+ 'Folders' => 'Cartelle',
+ 'Copy' => 'Copia',
+ 'Cut' => 'Taglia',
+ 'Paste' => 'Incolla',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Incolla su questa cartella',
+ 'Paste_Confirm' => 'Sei sicuro di voler incollare in questa cartella? Questo file sovrascriverà i file/cartelle esistenti qual\'ora ci fossero.',
+ 'Paste_Failed' => 'Errore nell\'incollare il/i file',
+ 'Clear_Clipboard' => 'Pulisci clipboard',
+ 'Clear_Clipboard_Confirm' => 'Sei sicuro di voler cancellare la clipboard?',
+ 'Files_ON_Clipboard' => 'Ci sono file nella clipboard.',
+ 'Copy_Cut_Size_Limit' => 'I file o cartelle selezionati sono troppo grandi per %s. Il limite è: %d MB/operazione', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Hai selezionato troppi file/cartelle da %s. Il limite è: %d file/operazione', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Non hai i permessi per %s %s.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Non è stato possibile salvare l\'immagine',
+ 'Zip_No_Extract' => 'Non si può estrarre il pacchetto perchè sembra corrotto',
+ 'Zip_Invalid' => 'Questa estensione non è supportata. Le estensioni valide sono: zip, gz, tar.',
+ 'Dir_No_Write' => 'La cartella selezionata non è scrivibile.',
+ 'Function_Disabled' => 'La funzione %s è stata disabilitata.', // %s = cut or copy
+ 'File_Permission' => 'Permessi file',
+ 'File_Permission_Not_Allowed' => 'Il cambiamento dei permessi di %s non è permesso.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Applica ricorsivamente?',
+ 'File_Permission_Wrong_Mode' => "La modalità di autorizzazione non è corretta.",
+ 'User' => 'Utente',
+ 'Group' => 'Gruppo',
+ 'Yes' => 'Si',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'La lingua non è stata trovata.',
+ 'Lang_Change' => 'Cambia la lingua',
+ 'File_Not_Found' => 'Il file non è stato trovato.',
+ 'File_Open_Edit_Not_Allowed' => 'Non hai il permesso di %s questo file.', // %s = open or edit
+ 'Edit' => 'Modifica',
+ 'Edit_File' => "Modifica il contenuto di questo file",
+ 'File_Save_OK' => "Il file è stato salvato con successo.",
+ 'File_Save_Error' => "C'è stato un errore nel salvataggio del file.",
+ 'New_File' => 'Nuovo file',
+ 'No_Extension',"Non hai inserito l'estensione del file.",
+ 'Valid_Extensions' => 'Estensioni valide: %s', // %s = txt,log etc.
+ 'Upload_message' => "Trascina qui i file per l'upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size"
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/ja.php b/admincp.php/assets/tinymce/filemanager/lang/ja.php
new file mode 100644
index 0000000..11edd45
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/ja.php
@@ -0,0 +1,145 @@
+ '選択',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => '消去',
+ 'Open' => '開く',
+ 'Confirm_del' => 'このファイルを削除しますか?',
+ 'All' => '全て',
+ 'Files' => 'ファイル',
+ 'Images' => 'イメージ',
+ 'Archives' => 'アーカイブ',
+ 'Error_Upload' => 'アップロード可能な最大サイズを超えています。',
+ 'Error_extension' => '拡張子が許可されていません。',
+ 'Upload_file' => 'アップロード',
+ 'Filters' => 'フィルタ',
+ 'Videos' => 'ビデオ',
+ 'Music' => '音楽',
+ 'New_Folder' => '新規フォルダ',
+ 'Folder_Created' => 'フォルダを作成しました',
+ 'Existing_Folder' => '存在するフォルダ',
+ 'Confirm_Folder_del' => 'フォルダとフォルダの中身を削除しますか?',
+ 'Return_Files_List' => 'ファイルの一覧に戻る',
+ 'Preview' => 'プレビュー',
+ 'Download' => 'ダウンロード',
+ 'Insert_Folder_Name' => 'フォルダ名の追加',
+ 'Root' => 'ルート',
+ 'Rename' => '名称変更',
+ 'Back' => '戻る',
+ 'View' => 'ビュー',
+ 'View_list' => '一覧表示',
+ 'View_columns_list' => 'カラム表示',
+ 'View_boxes' => 'ボックス表示',
+ 'Toolbar' => 'ツールバー',
+ 'Actions' => 'アクション',
+ 'Rename_existing_file' => 'このファイルはすでに存在しています。',
+ 'Rename_existing_folder' => 'このフォルダはすでに存在しています。',
+ 'Empty_name' => '名前が空です',
+ 'Text_filter' => 'テキストフィルタ',
+ 'Swipe_help' => 'ファイル・フォルダ名をスワイプしてオプションを表示する',
+ 'Upload_base' => '標準アップロード',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'ディレクトリ',
+ 'Type' => '種類',
+ 'Dimension' => '画像サイズ',
+ 'Size' => 'サイズ',
+ 'Date' => '日付',
+ 'Filename' => 'ファイル名',
+ 'Operations' => '操作',
+ 'Date_type' => 'Y/m/d',
+ 'OK' => 'OK',
+ 'Cancel' => 'キャンセル',
+ 'Sorting' => 'ソート',
+ 'Show_url' => 'URL表示',
+ 'Extract' => 'ここに解凍',
+ 'File_info' => 'ファイル情報',
+ 'Edit_image' => '画像編集',
+ 'Duplicate' => '複製',
+ 'Folders' => 'フォルダ',
+ 'Copy' => 'コピー',
+ 'Cut' => 'カット',
+ 'Paste' => 'ペースト',
+ 'CB' => 'クリップボード', // clipboard
+ 'Paste_Here' => 'このディレクトリにペーストする',
+ 'Paste_Confirm' => 'このディレクトリにペーストしますか?既存のファイル/フォルダは上書きされます。',
+ 'Paste_Failed' => 'ペーストできませんでした。',
+ 'Clear_Clipboard' => 'クリップボードの消去',
+ 'Clear_Clipboard_Confirm' => 'クリップボード内のデータを消去しますか?',
+ 'Files_ON_Clipboard' => 'クリップボードにファイルがあります。',
+ 'Copy_Cut_Size_Limit' => '選択したファイルが/フォルダを%sするには大きすぎます。 リミット: %d MB/操作', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => '選択したファイルが/フォルダを%sするには大きすぎます。 リミット: %d ファイル/操作', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'ファイルを %s する許可がありません。', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'イメージを保存できませんでした',
+ 'Zip_No_Extract' => '解凍できませんでした。ファイルが破損している可能性があります。',
+ 'Zip_Invalid' => '拡張子がサポートされてません。有効: zip, gz, tar.',
+ 'Dir_No_Write' => '選択したディレクトリに書き込み権限がありません',
+ 'Function_Disabled' => '%s はサーバによって無効にされています。', // %s = cut or copy
+ 'File_Permission' => 'ファイルの権限',
+ 'File_Permission_Not_Allowed' => '%s の権限変更は許可されていません。', // %s = files or folders
+ 'File_Permission_Recursive' => '内包するファイルに適用しますか?',
+ 'File_Permission_Wrong_Mode' => "供給された権限が正しくありません。",
+ 'User' => 'ユーザー',
+ 'Group' => 'グループ',
+ 'Yes' => 'はい',
+ 'No' => 'いいえ',
+ 'Lang_Not_Found' => '言語がみつかりませんでした。',
+ 'Lang_Change' => '言語の変更',
+ 'File_Not_Found' => '言語ファイルがみつかりませんでした。',
+ 'File_Open_Edit_Not_Allowed' => 'このファイルを%sことができませんでした。', // %s = open or edit
+ 'Edit' => '編集する',
+ 'Edit_File' => "ファイルを編集",
+ 'File_Save_OK' => "ファイルの保存が完了しました。",
+ 'File_Save_Error' => "ファイルの保存時にエラーが発生しました。",
+ 'New_File' => '新規ファイル',
+ 'No_Extension' => 'ファイルの拡張子を指定してください。',
+ 'Valid_Extensions' => '有効な拡張子: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/languages.php b/admincp.php/assets/tinymce/filemanager/lang/languages.php
new file mode 100644
index 0000000..6215b8b
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/languages.php
@@ -0,0 +1,42 @@
+ 'Azərbaycan dili',
+ 'bg_BG' => 'български език',
+ 'ca' => 'Català, valencià',
+ 'cs' => 'čeština, český jazyk',
+ 'da' => 'Dansk',
+ 'de' => 'Deutsch',
+ 'el_GR' => 'ελληνικά',
+ 'en_EN' => 'English',
+ 'es' => 'Español',
+ 'fa' => 'فارسی',
+ 'fr_FR' => 'Français',
+ 'he_IL' => 'Hebrew (Israel)',
+ 'hr' => 'Hrvatski jezik',
+ 'hu_HU' => 'Magyar',
+ 'id' => 'Bahasa Indonesia',
+ 'it' => 'Italiano',
+ 'ja' => '日本',
+ 'lt' => 'Lietuvių kalba',
+ 'mn_MN' => 'монгол',
+ 'nb_NO' => 'Norsk bokmål',
+ 'nn_NO' => 'Norsk nynorsk',
+ 'nl' => 'Nederlands, Vlaams',
+ 'pl' => 'Język polski, polszczyzna',
+ 'pt_BR' => 'Português(Brazil)',
+ 'pt_PT' => 'Português',
+ 'ro' => 'Română',
+ 'ru' => 'Pусский язык',
+ 'sk' => 'Slovenčina',
+ 'sl' => 'Slovenski jezik',
+ 'sv_SE' => 'Svenska',
+ 'th_TH' => 'ไทย',
+ 'tr_TR' => 'Türkçe',
+ 'uk_UA' => 'Yкраїнська мова',
+ 'vi' => 'Tiếng Việt',
+ 'zh_CN' => '中文 (Zhōngwén), 汉语, 漢語',
+
+ // source: http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/lt.php b/admincp.php/assets/tinymce/filemanager/lang/lt.php
new file mode 100644
index 0000000..896bba6
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/lt.php
@@ -0,0 +1,145 @@
+ 'Pasirinkti',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Ištrinti',
+ 'Open' => 'Atidaryti',
+ 'Confirm_del' => 'Ar tikrai norite ištrinti šį failą?',
+ 'All' => 'Visi',
+ 'Files' => 'Failai',
+ 'Images' => 'Nuotraukos',
+ 'Archives' => 'Archyvai',
+ 'Error_Upload' => 'Failo dydis viršija nustatytą limitą.',
+ 'Error_extension' => 'Toks failo formatas yra negalimas.',
+ 'Upload_file' => 'Įkelti failus',
+ 'Filters' => 'Filtruoti',
+ 'Videos' => 'Video failai',
+ 'Music' => 'Muzika',
+ 'New_Folder' => 'Sukurti katalogą',
+ 'Folder_Created' => 'Katalogas sėkmingai sukurtas',
+ 'Existing_Folder' => 'Egzistuojantis katalogas',
+ 'Confirm_Folder_del' => 'Ar tikrai norite ištrinti šį katalogą su visais jame esančiais failais?',
+ 'Return_Files_List' => 'Grįžti į failų sąrašą',
+ 'Preview' => 'Peržiūrėti',
+ 'Download' => 'Atsisiųsti',
+ 'Insert_Folder_Name' => 'Katalogo pavadinimas:',
+ 'Root' => 'root',
+ 'Rename' => 'Pervadinti',
+ 'Back' => 'grįžti',
+ 'View' => 'Rodymas',
+ 'View_list' => 'Sąrašas',
+ 'View_columns_list' => 'Stulpeliai',
+ 'View_boxes' => 'Tinklelis',
+ 'Toolbar' => 'Įrankių juosta',
+ 'Actions' => 'Veiksmai',
+ 'Rename_existing_file' => 'Toks failas jau yra sukurtas',
+ 'Rename_existing_folder' => 'Toks katalogas jau yra sukurtas',
+ 'Empty_name' => 'Pavadinimas negali būti tuščias',
+ 'Text_filter' => 'ieškoti',
+ 'Swipe_help' => 'Tempkite failo/katalogo pavadinimą, kad pamatytumėte informaciją',
+ 'Upload_base' => 'Pagrindinis įkėlimas',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'dir',
+ 'Type' => 'Tipas',
+ 'Dimension' => 'Matmenys',
+ 'Size' => 'Dydis',
+ 'Date' => 'Data',
+ 'Filename' => 'Pavadinimas',
+ 'Operations' => 'Operacijos',
+ 'Date_type' => 'Y-m-d',
+ 'OK' => 'Gerai',
+ 'Cancel' => 'Atšaukti',
+ 'Sorting' => 'rikiuoti',
+ 'Show_url' => 'rodyti nuorodą',
+ 'Extract' => 'Ištraukti čia',
+ 'File_info' => 'Failo informacija',
+ 'Edit_image' => 'redaguoti nuotrauką',
+ 'Duplicate' => 'Sukurti kopiją',
+ 'Folders' => 'Katalogai',
+ 'Copy' => 'Kopijuoti',
+ 'Cut' => 'Iškirpti',
+ 'Paste' => 'Įklijuoti',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Įklijuoti dabartiniame kataloge',
+ 'Paste_Confirm' => 'Ar tikrai norite įklijuoti į šį katalogą? Visi failai/katalogai tokiais pačiais pavadinimais bus perrašyti.',
+ 'Paste_Failed' => 'Nepavyko įklijuoti',
+ 'Clear_Clipboard' => 'Išvalyti iškarpinę',
+ 'Clear_Clipboard_Confirm' => 'Ar tikrai norite išvalyti iškarpinę?',
+ 'Files_ON_Clipboard' => 'Iškarpinėje yra failų.',
+ 'Copy_Cut_Size_Limit' => 'Pasirinkti failai/katalogai yra per dideli atlikti "%s" operacijai. Limitas: %d MB', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Pasirinkote per daug failų/katalogų atlikti "%s" operacijai. Limitas: %d failų/katalogų', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Jūs neturite teisių atlikti "%s" funkcijos failams.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Nepavyko išsaugoti nuotraukos',
+ 'Zip_No_Extract' => 'Nepavyko ištraukti. Failas gali būti sugadintas.',
+ 'Zip_Invalid' => 'Toks formatas yra neleidžiamas. Galimi formatai: zip, gz, tar.',
+ 'Dir_No_Write' => 'Katalogas, kurį pasirinkote neturi įrašymo teisių.',
+ 'Function_Disabled' => 'Funkcija "%s" šiame serveryje yra išjungta.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/mn_MN.php b/admincp.php/assets/tinymce/filemanager/lang/mn_MN.php
new file mode 100644
index 0000000..5f8edde
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/mn_MN.php
@@ -0,0 +1,145 @@
+ 'Сонгох',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Устгах',
+ 'Open' => 'Нээх',
+ 'Confirm_del' => 'Та энэ файлыг устгахдаа итгэлтэй байна уу?',
+ 'All' => 'Бүгд',
+ 'Files' => 'Файлууд',
+ 'Images' => 'Зурагнууд',
+ 'Archives' => 'Архивлагдсан файлууд',
+ 'Error_Upload' => 'Хуулсан файл зөвшөөрөгдөх хэмжээнээс их байна.',
+ 'Error_extension' => 'Файлын өргөтгөх зөвшөөрөгдөөгүй.',
+ 'Upload_file' => 'Хуулах',
+ 'Filters' => 'Шүүлтүүрүүд',
+ 'Videos' => 'Бичлэгнүүд',
+ 'Music' => 'Дуунууд',
+ 'New_Folder' => 'Шинэ хавтас',
+ 'Folder_Created' => 'Хавтас амжилттай үүслээ',
+ 'Existing_Folder' => 'Давхардсан хавтас',
+ 'Confirm_Folder_del' => 'Хавтас болон доторх бүх файлуудыг устгахдаа итгэлтэй байна уу?',
+ 'Return_Files_List' => 'Файлын жагсаалт руу буцах',
+ 'Preview' => 'Урьдчилан харах',
+ 'Download' => 'Татаж авах',
+ 'Insert_Folder_Name' => 'Хавтасны нэрийг оруулна уу:',
+ 'Root' => 'root',
+ 'Rename' => 'Нэрлэх',
+ 'Back' => 'буцах',
+ 'View' => 'Үзэх',
+ 'View_list' => 'Жагсаалтаар харах',
+ 'View_columns_list' => 'Баганаар харах',
+ 'View_boxes' => 'Хайрцгаар харах',
+ 'Toolbar' => 'Товчилсон товчнууд',
+ 'Actions' => 'Үйлдэл',
+ 'Rename_existing_file' => 'Файл аль хэдийнэ үүссэн байна',
+ 'Rename_existing_folder' => 'Хавтас аль хэдийнэ үүсэн байна',
+ 'Empty_name' => 'Нэр хоосон байна',
+ 'Text_filter' => 'текстэн шүүлтүүр',
+ 'Swipe_help' => 'Файл/Хавтасны нэрийг товшоод тохиргоог харна уу',
+ 'Upload_base' => 'Энгийнээр хуулах',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'dir',
+ 'Type' => 'Төрөл',
+ 'Dimension' => 'Харьцаа',
+ 'Size' => 'Хэмжээ',
+ 'Date' => 'Огноо',
+ 'Filename' => 'Файлын нэр',
+ 'Operations' => 'Үйлдэлүүд',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'ОК',
+ 'Cancel' => 'Буцах',
+ 'Sorting' => 'эрэмбэлэх',
+ 'Show_url' => 'URL-г харах',
+ 'Extract' => 'энд задла',
+ 'File_info' => 'файлын мэдээлэл',
+ 'Edit_image' => 'зураг засварлах',
+ 'Duplicate' => 'Давхардуулах',
+ 'Folders' => 'Folders',
+ 'Copy' => 'Copy',
+ 'Cut' => 'Cut',
+ 'Paste' => 'Paste',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Paste to this directory',
+ 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
+ 'Paste_Failed' => 'Failed to paste file(s)',
+ 'Clear_Clipboard' => 'Clear clipboard',
+ 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
+ 'Files_ON_Clipboard' => 'There are files on the clipboard.',
+ 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %s. Limit: %d MB/operation', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %s. Limit: %d files/operation', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'You are not allowed to %s files.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Could not save image',
+ 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
+ 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
+ 'Dir_No_Write' => 'The directory you selected is not writable.',
+ 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/nb_NO.php b/admincp.php/assets/tinymce/filemanager/lang/nb_NO.php
new file mode 100644
index 0000000..678d152
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/nb_NO.php
@@ -0,0 +1,145 @@
+ 'Velg',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Slett',
+ 'Open' => 'Åpne',
+ 'Confirm_del' => 'Er du sikker på at du vil slette denne filen?',
+ 'All' => 'Alle',
+ 'Files' => 'Filer',
+ 'Images' => 'Bilder',
+ 'Archives' => 'Arkiv',
+ 'Error_Upload' => 'Den opplastede filen overskrider maksimal tillatt størrelse.',
+ 'Error_extension' => 'Filtypen er ikke tillatt.',
+ 'Upload_file' => 'Last opp fil',
+ 'Filters' => 'Filter',
+ 'Videos' => 'Videoer',
+ 'Music' => 'Musikk',
+ 'New_Folder' => 'Ny mappe',
+ 'Folder_Created' => 'Mappe opprettet',
+ 'Existing_Folder' => 'Eksisterende mappe',
+ 'Confirm_Folder_del' => 'Er du sikker på at du vil slette mappen og alt innholdet?',
+ 'Return_Files_List' => 'Tilbake til filoversikten',
+ 'Preview' => 'Forhåndsvisning',
+ 'Download' => 'Last ned',
+ 'Insert_Folder_Name' => 'Gi mappen et navn:',
+ 'Root' => 'Rot',
+ 'Rename' => 'Gi nytt navn',
+ 'Back' => 'Tilbake',
+ 'View' => 'Visning',
+ 'View_list' => 'Listevisning',
+ 'View_columns_list' => 'Side ved side',
+ 'View_boxes' => 'Boksvisning',
+ 'Toolbar' => 'Verktøylinje',
+ 'Actions' => 'Gjøremål',
+ 'Rename_existing_file' => 'Filen er allerede opprettet',
+ 'Rename_existing_folder' => 'Mappen er allerede opprettet',
+ 'Empty_name' => 'Tomt navn',
+ 'Text_filter' => 'Tekst-filter',
+ 'Swipe_help' => 'Sveip filnavnet/mappenavnet for å vise alternativer',
+ 'Upload_base' => 'Vanlig opplasting',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'Mappe',
+ 'Type' => 'Type',
+ 'Dimension' => 'Dimensjoner',
+ 'Size' => 'Størrelse',
+ 'Date' => 'Dato',
+ 'Filename' => 'Filnavn',
+ 'Operations' => 'Handlinger',
+ 'Date_type' => 'd.m.y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Avbryt',
+ 'Sorting' => 'Sortering',
+ 'Show_url' => 'Vis URL',
+ 'Extract' => 'Pakk ut her',
+ 'File_info' => 'Fil-info',
+ 'Edit_image' => 'Rediger bilde',
+ 'Duplicate' => 'Duplikat',
+ 'Folders' => 'Mapper',
+ 'Copy' => 'Kopier',
+ 'Cut' => 'Klipp ut',
+ 'Paste' => 'Lim inn',
+ 'CB' => 'Utklippstavle', // clipboard
+ 'Paste_Here' => 'Lim inn i denne mappen',
+ 'Paste_Confirm' => 'Er du sikker på at du vil lime inn i denne mappen? Dette vil overskrive eventuelle eksisterende filer eller mapper.',
+ 'Paste_Failed' => 'Lim inn feilet',
+ 'Clear_Clipboard' => 'Tøm utklippstavlen',
+ 'Clear_Clipboard_Confirm' => 'Er du sikker på at du vil tømme utklippstavlen?',
+ 'Files_ON_Clipboard' => 'Der er filer på utklippstavlen.',
+ 'Copy_Cut_Size_Limit' => 'De valgte filene/mappene er for store for %s. Grense: %d MB/operasjon', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Du valgte for mange filer/mapper for %s. Grense: %d filer/operasjon', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Du har ikke lov til å %s filer.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Kunne ikke lagre bildet',
+ 'Zip_No_Extract' => 'Kunne ikke pakke ut. Filen er muligens ødelagt.',
+ 'Zip_Invalid' => 'Dette filetternavnet er ikke støttet. Gyldige filer: zip, gz, tar.',
+ 'Dir_No_Write' => 'Mappen du valgte er ikke skrivbar.',
+ 'Function_Disabled' => 'Funksjonen %s er blitt deaktivert av serveren.', // %s = cut or copy
+ 'File_Permission' => 'Filrettigheter',
+ 'File_Permission_Not_Allowed' => 'Forandring av %s rettigheter er ikke tillatt.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Utfør rekursivt?',
+ 'File_Permission_Wrong_Mode' => "Filrettigheten er feil.",
+ 'User' => 'Bruker',
+ 'Group' => 'Gruppe',
+ 'Yes' => 'Ja',
+ 'No' => 'Nei',
+ 'Lang_Not_Found' => 'Kunne ikke finne språk.',
+ 'Lang_Change' => 'Forandre språk',
+ 'File_Not_Found' => 'Fant ikke filen.',
+ 'File_Open_Edit_Not_Allowed' => 'Du har ikke tillatelse til å %s denne filen.', // %s = open or edit
+ 'Edit' => 'Rediger',
+ 'Edit_File' => "Rediger filens innhold",
+ 'File_Save_OK' => "Filen ble lagret.",
+ 'File_Save_Error' => "Det oppstod en feil når filen ble lagret.",
+ 'New_File' => 'Ny fil',
+ 'No_Extension' => 'Du må legge til et fil-etternavn.',
+ 'Valid_Extensions' => 'Gyldige fil-etternavn: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/nl.php b/admincp.php/assets/tinymce/filemanager/lang/nl.php
new file mode 100644
index 0000000..6dc7f6b
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/nl.php
@@ -0,0 +1,145 @@
+ 'Selecteren',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Verwijderen',
+ 'Open' => 'Openen',
+ 'Confirm_del' => 'Weet u zeker dat u dit bestand wilt verwijderen?',
+ 'All' => 'Alles Weergeven',
+ 'Files' => 'Bestanden',
+ 'Images' => 'Afbeeldingen',
+ 'Archives' => 'Archieven',
+ 'Error_Upload' => 'Het bestand overschrijdt de maximum toegestane grootte.',
+ 'Error_extension' => 'Bestand extensie is niet toegestaan',
+ 'Upload_file' => 'Bestand uploaden',
+ 'Filters' => 'Filter',
+ 'Videos' => 'Videos',
+ 'Music' => 'Muziek',
+ 'New_File' => 'Nieuw bestand',
+ 'New_Folder' => 'Nieuwe map',
+ 'Folder_Created' => 'Map aangemaakt',
+ 'Existing_Folder' => 'Bestaande map',
+ 'Confirm_Folder_del' => 'Weet u zeker dat u deze map en alle bestanden hierin wilt verwijderen?',
+ 'Return_Files_List' => 'Terug naar bestanden',
+ 'Preview' => 'Voorbeeld',
+ 'Download' => 'Download',
+ 'Insert_Folder_Name' => 'Map naam:',
+ 'Root' => 'root',
+ 'Rename' => 'Hernoemen',
+ 'Back' => 'Terug',
+ 'View' => 'Weergave',
+ 'View_list' => 'Lijst weergave',
+ 'View_columns_list' => 'Kolom-lijst weergave',
+ 'View_boxes' => 'Tegel weergave',
+ 'Toolbar' => 'Werkbalk',
+ 'Actions' => 'Acties',
+ 'Rename_existing_file' => 'Het bestand bestaat al',
+ 'Rename_existing_folder' => 'De map bestaat al',
+ 'Empty_name' => 'De bestandsnaam is leeg',
+ 'Text_filter' => 'Zoeken...',
+ 'Swipe_help' => 'Swipe over de naam van een bestand of map om opties te zien',
+ 'Upload_base' => 'Standaard uploader',
+ 'Upload_base_help' => "Drag & Drop bestanden (moderne browsers) of klik op de bovenste knop om het bestand (en) toe te voegen en klik op Begin uploaden. Wanneer het uploaden is voltooid, klikt u op de knop 'Terug naar bestanden'.",
+ 'Upload_add_files' => 'Voeg bestanden toe',
+ 'Upload_start' => 'Begin uploaden',
+ 'Upload_error_messages' =>array(
+ 1 => 'Bestandsgrootte is te groot.',
+ 2 => 'Bestandsgrootte is te groot.',
+ 3 => 'Bestand is slechts gedeeltelijk geupload.',
+ 4 => 'Het bestand is niet uploaded.',
+ 6 => 'Er ontbreekt een folder.',
+ 7 => 'Kan bestand niet wegschrijven.',
+ 8 => 'Een extentie heeft het uploaden gestopt.',
+ 'post_max_size' => 'Bestandsgrootte is te groot.',
+ 'max_file_size' => 'Bestandsgrootte is te groot.',
+ 'min_file_size' => 'Bestandsgrootte is te klein.',
+ 'accept_file_types' => 'Bestandstype niet ondersteund.',
+ 'max_number_of_files' => 'Maximum aantal bestanden bereikt.',
+ 'max_width' => 'Afbeelding te breed.',
+ 'min_width' => 'Afbeelding niet breed genoeg.',
+ 'max_height' => 'Afbeelding te hoog.',
+ 'min_height' => 'Afbeelding niet hoog genoeg.',
+ 'abort' => 'Uploaden onderbroken.',
+ 'image_resize' => 'Resizen is mislukt.'
+ ),
+ 'Upload_url' => 'Van url',
+ 'Type_dir' => 'map',
+ 'Type' => 'Type',
+ 'Dimension' => 'Afmetingen',
+ 'Size' => 'Grootte',
+ 'Date' => 'Datum',
+ 'Filename' => 'Naam',
+ 'Operations' => 'Bewerkingen',
+ 'Date_type' => 'd-m-y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Annuleren',
+ 'Sorting' => 'Sorteren op',
+ 'Show_url' => 'Toon URL',
+ 'Extract' => 'Hier uitpakken',
+ 'File_info' => 'Bestands-info',
+ 'Edit_image' => 'Afbeelding bewerken',
+ 'Duplicate' => 'Dupliceren',
+ 'Folders' => 'Folders',
+ 'Copy' => 'Kopiëren',
+ 'Cut' => 'Knippen',
+ 'Paste' => 'Plakken',
+ 'CB' => 'Klembord', // clipboard
+ 'Paste_Here' => 'Hier plakken',
+ 'Paste_Confirm' => 'Weet u zeker dat u in deze map wilt plakken? Dit overschrijft mappen/bestanden met dezelfde naam indien deze voorkomen.',
+ 'Paste_Failed' => 'Niet gelukt de bestanden te plakken',
+ 'Clear_Clipboard' => 'Wis klembord',
+ 'Clear_Clipboard_Confirm' => 'Weet u zeker dat u het klembord wilt wissen?',
+ 'Files_ON_Clipboard' => 'Er staan bestanden op het klembord.',
+ 'Copy_Cut_Size_Limit' => 'De geselecteerde mappen/bestanden zijn te groot om te %s. Maximaal: %d MB/operation', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'er zijn teveel mappen/bestanden geselecteerd om te %s. Maximaal: %d files/operation', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Het is niet toegestaan bestanden te %s.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Kan de afbeelding niet opslaan',
+ 'Zip_No_Extract' => 'Kan niet uitpakken. Bestand is wellicht beschadigt.',
+ 'Zip_Invalid' => 'Deze extensie is niet toegestaan. Valid: zip, gz, tar.',
+ 'Dir_No_Write' => 'De geselecteerde map is niet beschrijfbaar.',
+ 'Function_Disabled' => 'De functie %s is uitgeschakeld door de server.', // %s = cut or copy
+ 'File_Permission' => 'Rechten',
+ 'File_Permission_Not_Allowed' => 'Aanpassen van de rechten van %s is niet toegestaan.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Toepassen voor alles binnen deze map?',
+ 'File_Permission_Wrong_Mode' => "De gewenste rechten zijn niet juist.",
+ 'User' => 'Gebruiker',
+ 'Group' => 'Groep',
+ 'Yes' => 'Ja',
+ 'No' => 'Nee',
+ 'Lang_Not_Found' => 'Kan de taal niet vinden.',
+ 'Lang_Change' => 'Verander de taal',
+ 'File_Not_Found' => 'Kan het bestand niet vinden.',
+ 'File_Open_Edit_Not_Allowed' => 'Je bent niet bevoegd dit bestand te %s.', // %s = open or edit
+ 'Edit' => 'Bewerken',
+ 'Edit_File' => "Bewerkt de inhoud van dit bestand",
+ 'File_Save_OK' => "Bestand is opgeslagen.",
+ 'File_Save_Error' => "Er is een fout opgetreden tijdens het opslaan van het bestand.",
+ 'No_Extension' => 'Je moet een bestands-extensie toevoegen.',
+ 'Valid_Extensions' => 'Geldige extensies: %s', // %s = txt,log etc.
+ 'Upload_message' => "Sleep hier bestanden om te uploaden",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/nn_NO.php b/admincp.php/assets/tinymce/filemanager/lang/nn_NO.php
new file mode 100644
index 0000000..020cd8c
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/nn_NO.php
@@ -0,0 +1,145 @@
+ 'Vel',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Slett',
+ 'Open' => 'Opne',
+ 'Confirm_del' => 'Er du sikker på at du vil slette denne fila?',
+ 'All' => 'Alle',
+ 'Files' => 'Filer',
+ 'Images' => 'Bilete',
+ 'Archives' => 'Arkiv',
+ 'Error_Upload' => 'Den opplasta fila over over maksimal tillaten storleik.',
+ 'Error_extension' => 'Denne filtypen er ikkje lov.',
+ 'Upload_file' => 'Last opp fil',
+ 'Filters' => 'Filter',
+ 'Videos' => 'Videoar',
+ 'Music' => 'Musikk',
+ 'New_Folder' => 'Ny mappe',
+ 'Folder_Created' => 'Mappe oppretta',
+ 'Existing_Folder' => 'Eksisterande mappe',
+ 'Confirm_Folder_del' => 'Er du sikker på at du vil slette mappa og alt innhaldet?',
+ 'Return_Files_List' => 'Tilbake til filoversikta',
+ 'Preview' => 'Førehandsvising',
+ 'Download' => 'Last ned',
+ 'Insert_Folder_Name' => 'Gi mappa eit namn:',
+ 'Root' => 'Rot',
+ 'Rename' => 'Gi nytt namn',
+ 'Back' => 'Tilbake',
+ 'View' => 'Vising',
+ 'View_list' => 'Listevising',
+ 'View_columns_list' => 'Side ved side',
+ 'View_boxes' => 'Boksvising',
+ 'Toolbar' => 'Verktøylinje',
+ 'Actions' => 'Gjeremål',
+ 'Rename_existing_file' => 'Fila er oppretta frå før',
+ 'Rename_existing_folder' => 'Mappa er oppretta frå før',
+ 'Empty_name' => 'Tomt namn',
+ 'Text_filter' => 'Tekst-filter',
+ 'Swipe_help' => 'Sveip filnamnet/mappenamnet for å sjå alternativ',
+ 'Upload_base' => 'Vanleg opplasting',
+ 'Upload_base_help' => "Dra og slepp filer (moderne nettlesarar) eller klikk på knappen «Legg til fil(er)» øvst og deretter på «Start opplasting». Når opplastinga er ferdig, klikk knappen «Tilbake til filoversikta».",
+ 'Upload_add_files' => 'Legg til fil(er)',
+ 'Upload_start' => 'Start opplasting',
+ 'Upload_error_messages' =>array(
+ 1 => 'Fila enn større enn grensa upload_max_filesize i php.ini',
+ 2 => 'Fila er større enn direktivet MAX_FILE_SIZE i HTML-skjemaet',
+ 3 => 'Fila vart berre delvis opplasta',
+ 4 => 'Inga fil vart opplasta',
+ 6 => 'Manglar mappe for mellombels lagring',
+ 7 => 'Fekk ikkje til å skrive fila til disken',
+ 8 => 'Ei PHP-utviding stansa filopplastinga',
+ 'post_max_size' => 'Fila enn større enn det som er sett som post_max_size i php.ini',
+ 'max_file_size' => 'File er for stor',
+ 'min_file_size' => 'File er for lita',
+ 'accept_file_types' => 'Filetypen er ikkje lov',
+ 'max_number_of_files' => 'Så mange filer er ikkje lov',
+ 'max_width' => 'Biletet er for breitt',
+ 'min_width' => 'Biletet er ikkje breitt nok',
+ 'max_height' => 'Biletet er for høgt',
+ 'min_height' => 'Biletet er ikkje høgt nok',
+ 'abort' => 'Filopplasting avbroten',
+ 'image_resize' => 'Kunne ikkje endre storleik på biletet'
+ ),
+ 'Upload_url' => 'URL for opplasting',
+ 'Type_dir' => 'Mappe',
+ 'Type' => 'Type',
+ 'Dimension' => 'Dimensjonar',
+ 'Size' => 'Storleik',
+ 'Date' => 'Dato',
+ 'Filename' => 'Filnamn',
+ 'Operations' => 'Handlingar',
+ 'Date_type' => 'd.m.y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Avbryt',
+ 'Sorting' => 'Sortering',
+ 'Show_url' => 'Vis URL',
+ 'Extract' => 'Pakk ut her',
+ 'File_info' => 'Fil-info',
+ 'Edit_image' => 'Rediger bilete',
+ 'Duplicate' => 'Duplikat',
+ 'Folders' => 'Mapper',
+ 'Copy' => 'Kopier',
+ 'Cut' => 'Klipp ut',
+ 'Paste' => 'Lim inn',
+ 'CB' => 'Utklippstavle', // clipboard
+ 'Paste_Here' => 'Lim inn i denne mappa',
+ 'Paste_Confirm' => 'Er du sikker på at du vil lime inn i denne mappa? Dette vil overskrive eventuelle eksisterande filer eller mapper.',
+ 'Paste_Failed' => 'Innnliming feila',
+ 'Clear_Clipboard' => 'Tøm utklippstavla',
+ 'Clear_Clipboard_Confirm' => 'Er du sikker på at du vil tømme utklippstavla?',
+ 'Files_ON_Clipboard' => 'Det er filer på utklippstavla.',
+ 'Copy_Cut_Size_Limit' => 'Dei valde filene/mappene er for store for %s. Grense: %d MB/operasjon', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Du valde for mange filer/mapper for %s. Grense: %d filer/operasjon', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Du har ikkje lov til å %s filer.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Kunne ikkje lagre biletet',
+ 'Zip_No_Extract' => 'Kunne ikkje pakke ut. Fila kan vere skada.',
+ 'Zip_Invalid' => 'Dette filetternamnet er ikkje støtta. Gyldige filer: zip, gz, tar.',
+ 'Dir_No_Write' => 'Mappa du valde kan ikkje skrivast til.',
+ 'Function_Disabled' => 'Funksjonen %s er deaktivert av serveren.', // %s = cut or copy
+ 'File_Permission' => 'Filløyve',
+ 'File_Permission_Not_Allowed' => 'Endring av %s løyve er ikkje lov.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Utfør rekursivt?',
+ 'File_Permission_Wrong_Mode' => "Filløyvet er feil.",
+ 'User' => 'Brukar',
+ 'Group' => 'Gruppe',
+ 'Yes' => 'Ja',
+ 'No' => 'Nei',
+ 'Lang_Not_Found' => 'Kunne ikkje finne språk.',
+ 'Lang_Change' => 'Endre språk',
+ 'File_Not_Found' => 'Fann ikkje fila.',
+ 'File_Open_Edit_Not_Allowed' => 'Du har ikkje lov til å %s denne fila.', // %s = open or edit
+ 'Edit' => 'Rediger',
+ 'Edit_File' => "Rediger filinnhaldet",
+ 'File_Save_OK' => "Fila vart lagra.",
+ 'File_Save_Error' => "Det oppstod ein feil ved lagring av fila.",
+ 'New_File' => 'Ny fil',
+ 'No_Extension' => 'Du må legge til eit fil-etternamn.',
+ 'Valid_Extensions' => 'Gyldige fil-etternamn: %s', // %s = txt,log etc.
+ 'Upload_message' => "Slepp fila her for å laste opp",
+
+ 'SERVER ERROR' => "SERVERFEIL",
+ 'forbiden' => "Ikkje lov",
+ 'wrong path' => "Feil bane",
+ 'wrong name' => "Feil namn",
+ 'wrong extension' => "Feil utviding",
+ 'wrong option' => "Feil val",
+ 'wrong data' => "Feil data",
+ 'wrong action' => "Feil handling",
+ 'wrong sub-action' => "Feil underhandling",
+ 'no action passed' => "Inga handling sendt",
+ 'no path' => "Ingen bane",
+ 'no file' => "Inga fil",
+ 'view type number missing' => "Manglar typenummer for vising",
+ 'Not enough Memory' => "Ikkje nok minne",
+ 'max_size_reached' => "Biletmappa di har nådd sin maksimale storleik %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total storleik",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/pl.php b/admincp.php/assets/tinymce/filemanager/lang/pl.php
new file mode 100644
index 0000000..2575d57
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/pl.php
@@ -0,0 +1,145 @@
+ 'Wybierz',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Usuń',
+ 'Open' => 'Otwórz',
+ 'Confirm_del' => 'Czy jesteś pewien, że chcesz usunąć ten plik?',
+ 'All' => 'Wszystkie',
+ 'Files' => 'Pliki',
+ 'Images' => 'Zdjęcia',
+ 'Archives' => 'Archiwa',
+ 'Error_Upload' => 'Plik przekracza maksymalny dozwolony rozmiar.',
+ 'Error_extension' => 'Niedozwolone rozszerzenie pliku.',
+ 'Upload_file' => 'Wgraj plik',
+ 'Filters' => 'Filtr widoku',
+ 'Videos' => 'Filmy',
+ 'Music' => 'Muzyka',
+ 'New_Folder' => 'Nowy folder',
+ 'Folder_Created' => 'Folder został utworzony poprawnie',
+ 'Existing_Folder' => 'Istniejący folder',
+ 'Confirm_Folder_del' => 'Czy jesteś pewien, że chcesz usunąć folder i wszystko co znajduje się w nim?',
+ 'Return_Files_List' => 'Powrót do listy plików',
+ 'Preview' => 'Podgląd',
+ 'Download' => 'Pobierz',
+ 'Insert_Folder_Name' => 'Podaj nazwę folderu:',
+ 'Root' => 'root',
+ 'Rename' => 'Zmień nazwę',
+ 'Back' => '[..]',
+ 'View' => 'Widok',
+ 'View_list' => 'Lista',
+ 'View_columns_list' => 'Kolumnowy',
+ 'View_boxes' => 'Blokowy',
+ 'Toolbar' => 'Pasek',
+ 'Actions' => 'Opcje',
+ 'Rename_existing_file' => 'Ten plik już tutaj umieszczono',
+ 'Rename_existing_folder' => 'Ten folder już tutaj utworzono',
+ 'Empty_name' => 'Nie podano wymaganej nazwy',
+ 'Text_filter' => 'wpisz txt',
+ 'Swipe_help' => 'Kliknij w nazwę pliku/folderu by wyświetlić dostępne opcje',
+ 'Upload_base' => 'Wgrywanie standardowe',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'FLD',
+ 'Type' => 'Roz.',
+ 'Dimension' => 'Rozmiar',
+ 'Size' => 'Wlk.',
+ 'Date' => ' Czas',
+ 'Filename' => 'Nazwa',
+ 'Operations' => 'Opcje',
+ 'Date_type' => 'd-m-y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Anuluj',
+ 'Sorting' => 'Sortowanie',
+ 'Show_url' => 'pokaż URL',
+ 'Extract' => 'rozpakuj tutaj',
+ 'File_info' => 'info o pliku',
+ 'Edit_image' => 'edycja obrazu',
+ 'Duplicate' => 'Powiel',
+ 'Folders' => 'Foldery',
+ 'Copy' => 'Kopiuj',
+ 'Cut' => 'Wytnij',
+ 'Paste' => 'Wklej',
+ 'CB' => 'Schowek', // clipboard
+ 'Paste_Here' => 'Wklej do tego folderu',
+ 'Paste_Confirm' => 'Czy jesteś pewien, że chcesz wkleić to do tego folderu? Operacja nadpisze istniejące już wczesniej pliki/podfoldery bez możliwości ich odzyskania.',
+ 'Paste_Failed' => 'Operacja wklejenia plików nie powiodła się',
+ 'Clear_Clipboard' => 'Wyczyść schowek',
+ 'Clear_Clipboard_Confirm' => 'Czy jesteś pewien, że chcesz wyczyścić zasoby schowka?',
+ 'Files_ON_Clipboard' => 'Do schowka zostały dodane pliki.',
+ 'Copy_Cut_Size_Limit' => 'Wybrane pliki/foldery mają zbyt duży rozmiar by wykonać operację %s. Obowiązuje ograniczenie do: %d MB/etap operacji', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Wybrałeś zbyt wiele plików/folderów by wykonać operację %s. Limit: %d plików/etap operacji', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Nie masz uprawnień do wykonania działania %s na tych plikach.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Nie można zapisać obrazka',
+ 'Zip_No_Extract' => 'Archiwum ZIP nie może zostać rozpakowane tam. Plik może być uszkodzony.',
+ 'Zip_Invalid' => 'Te rozszerzenia plików nie posiadają tutaj naszego wspierane. Dopuszczamy tylko format: zip, gz, tar.',
+ 'Dir_No_Write' => 'Folder który wybrałeś, nie posiada uprawnień chmod umożliwiających poprawny zapis.',
+ 'Function_Disabled' => 'Operacja %s została zablokowana przez oprogramowanie Twojego serwera.', // %s = cut or copy
+ 'File_Permission' => 'Uprawnienia pliku',
+ 'File_Permission_Not_Allowed' => 'Zmiana uprawnień dla %s jest niedozwolona.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Zastosować rekursywnie?',
+ 'File_Permission_Wrong_Mode' => "Zastosowane uprawnienia są niepoprawne.",
+ 'User' => 'Użytkownik',
+ 'Group' => 'Grupa',
+ 'Yes' => 'Tak',
+ 'No' => 'Nie',
+ 'Lang_Not_Found' => 'Nie znaleziono języka.',
+ 'Lang_Change' => 'Zmień język',
+ 'File_Not_Found' => 'Nie można znaleźć pliku.',
+ 'File_Open_Edit_Not_Allowed' => 'Nie masz uprawnien do pliku %s.', // %s = open or edit
+ 'Edit' => 'Edytuj',
+ 'Edit_File' => "Edytuj zawartość pliku",
+ 'File_Save_OK' => "Plik został zapisany.",
+ 'File_Save_Error' => "Wystąpił błąd podczas zapisywania pliku.",
+ 'New_File' => 'Utwórz plik',
+ 'No_Extension' => 'Musisz dodać rozszerzenie do pliku.',
+ 'Valid_Extensions' => 'Poprawne rozszerzenia: %s', // %s = txt,log etc.
+ 'Upload_message' => "Upuść plik aby go przesłać",
+
+ 'SERVER ERROR' => "Błąd serwera",
+ 'forbiden' => "Brak dostępu",
+ 'wrong path' => "Nieprawidłowa ścieżka",
+ 'wrong name' => "Nieprawidłowa nazwa",
+ 'wrong extension' => "Nieprawidłowe rozszerzenie pliku",
+ 'wrong option' => "Nieprawidłowa opcja",
+ 'wrong data' => "Nieprawidłowe dane",
+ 'wrong action' => "Nieprawidłowa akcja",
+ 'wrong sub-action' => "Nieprawidłowa pod-akcja",
+ 'no action passed' => "Nie określono akcji",
+ 'no path' => "Brak ścieżki",
+ 'no file' => "Brak pliku",
+ 'view type number missing' => "Brak numeru typu widoku",
+ 'Not enough Memory' => "Zbyt mało pamięci",
+ 'max_size_reached' => "Twój katalog z obrazkami osiągnął maksymalny rozmiar: %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Całkowity rozmiar",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/pt_BR.php b/admincp.php/assets/tinymce/filemanager/lang/pt_BR.php
new file mode 100644
index 0000000..9586ed0
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/pt_BR.php
@@ -0,0 +1,145 @@
+ 'Selecionar',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Apagar',
+ 'Open' => 'Abrir',
+ 'Confirm_del' => 'Tem certeza que quer deletar este arquivo?',
+ 'All' => 'Todos',
+ 'Files' => 'Arquivos',
+ 'Images' => 'Imagens',
+ 'Archives' => 'Compactados',
+ 'Error_Upload' => 'O arquivo enviado é maior que o limite permitido.',
+ 'Error_extension' => 'Extensão não permitida.',
+ 'Upload_file' => 'Enviar um arquivo',
+ 'Filters' => 'Filtro',
+ 'Videos' => 'Vídeos',
+ 'Music' => 'Musica',
+ 'New_Folder' => 'Nova pasta',
+ 'Folder_Created' => 'Pasta criada corretamente',
+ 'Existing_Folder' => 'Pasta existente',
+ 'Confirm_Folder_del' => 'Tem certeza que você quer deletar a pasta e todo o seu conteúdo?',
+ 'Return_Files_List' => 'Voltar à lista de arquivos',
+ 'Preview' => 'Prévia',
+ 'Download' => 'Baixar',
+ 'Insert_Folder_Name' => 'Insira o nome da pasta:',
+ 'Root' => 'root',
+ 'Rename' => 'Mudar o nome',
+ 'Back' => 'de volta',
+ 'View' => 'Modo de Visualização',
+ 'View_list' => 'Lista',
+ 'View_columns_list' => 'Lista de Colunas',
+ 'View_boxes' => 'Box',
+ 'Toolbar' => 'Toolbar',
+ 'Actions' => 'Ações',
+ 'Rename_existing_file' => 'O arquivo já existe!',
+ 'Rename_existing_folder' => 'A pasta já existe!',
+ 'Empty_name' => 'O nome está vazio!',
+ 'Text_filter' => 'Filtrar',
+ 'Swipe_help' => 'Passe o nome do arquivo/pasta para ver as opções',
+ 'Upload_base' => 'Base upload',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'dir',
+ 'Type' => 'Tipo',
+ 'Dimension' => 'Dimensão',
+ 'Size' => 'Tamanho',
+ 'Date' => 'Data',
+ 'Filename' => 'Nome',
+ 'Operations' => 'Operações',
+ 'Date_type' => 'd/m/Y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Cancelar',
+ 'Sorting' => 'Ordenar',
+ 'Show_url' => 'Mostrar URL',
+ 'Extract' => 'Extrair aqui',
+ 'File_info' => 'Informação do Arquivo',
+ 'Edit_image' => 'Editar a imagem',
+ 'Duplicate' => 'Duplicar',
+ 'Folders' => 'Pastas',
+ 'Copy' => 'Copiar',
+ 'Cut' => 'Recortar',
+ 'Paste' => 'Colar',
+ 'CB' => 'Área de Transferência', // clipboard
+ 'Paste_Here' => 'Copiar para este diretório',
+ 'Paste_Confirm' => 'Você tem certeza quer copiar para este diretório? Isso sobrescreverá pastas/arquivos existentes se encontrar alguma coisa.',
+ 'Paste_Failed' => 'Não foi possível colar o(s) arquivo(s)',
+ 'Clear_Clipboard' => 'Limpar área de transferência',
+ 'Clear_Clipboard_Confirm' => 'Tem certeza de que deseja limpar a área de transferência?',
+ 'Files_ON_Clipboard' => 'Há arquivos na área de transferência.',
+ 'Copy_Cut_Size_Limit' => 'Os arquivos/pastas selecionados são grandes demais para %s. Limite: %d MB/operação', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Você selecionou muitos arquivos/pastas para %s. Limite: %d arquivos/operação', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Você não tem permissão para %s arquivos.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Não foi possível salvar a imagem',
+ 'Zip_No_Extract' => 'Não foi possível extrair. Arquivo pode estar corrompido.',
+ 'Zip_Invalid' => 'Esta extensão não é suportada. Válidos: zip, gz, tar.',
+ 'Dir_No_Write' => 'O diretório selecionado não é gravável.',
+ 'Function_Disabled' => 'A função %s foi desativado pelo servidor.', // %s = cut or copy
+ 'File_Permission' => 'Permissão arquivo',
+ 'File_Permission_Not_Allowed' => 'Mudanças de permissões de %s não são permitidos.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Aplicar recursivamente?',
+ 'File_Permission_Wrong_Mode' => "O modo de permissão fornecido está incorreto.",
+ 'User' => 'Usuário',
+ 'Group' => 'Grupo',
+ 'Yes' => 'Sim',
+ 'No' => 'Não',
+ 'Lang_Not_Found' => 'Não foi possível encontrar uma linguagem.',
+ 'Lang_Change' => 'Alterar o idioma',
+ 'File_Not_Found' => 'Não foi possível encontrar o arquivo.',
+ 'File_Open_Edit_Not_Allowed' => 'Você não tem permissão para %s este arquivo.', // %s = open or edit
+ 'Edit' => 'Editar',
+ 'Edit_File' => "Editar conteúdo do arquivo",
+ 'File_Save_OK' => "Arquivo salvo com sucesso.",
+ 'File_Save_Error' => "Houve um erro ao salvar o arquivo.",
+ 'New_File' => 'Novo Arquivo',
+ 'No_Extension' => 'Você tem que adicionar uma extensão de arquivo.',
+ 'Valid_Extensions' => 'Extensões válidas: %s', // %s = txt,log etc.
+ 'Upload_message' => "Arraste arquivo aqui para enviar",
+
+ 'SERVER ERROR' => "ERRO SERVIDOR",
+ 'forbiden' => "proibido",
+ 'wrong path' => "caminho errado",
+ 'wrong name' => "nome errado",
+ 'wrong extension' => "extensão errada",
+ 'wrong option' => "opção errada",
+ 'wrong data' => "dados errados",
+ 'wrong action' => "ação errada",
+ 'wrong sub-action' => "sub-ação errada",
+ 'no action passed' => "nenhuma ação passada",
+ 'no path' => "nenhum caminho",
+ 'no file' => "nenhum arquivo",
+ 'view type number missing' => "Ver tipo de número faltando",
+ 'Not enough Memory' => "Memória insuficiente",
+ 'max_size_reached' => "Sua pasta de imagens atingiu seu tamanho máximo de %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Tamanho total",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/pt_PT.php b/admincp.php/assets/tinymce/filemanager/lang/pt_PT.php
new file mode 100644
index 0000000..ebbd076
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/pt_PT.php
@@ -0,0 +1,145 @@
+ 'Seleccionar',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Eliminar',
+ 'Open' => 'Abrir',
+ 'Confirm_del' => 'Tem certeza que pretende eliminar este arquivo?',
+ 'All' => 'Todos',
+ 'Files' => 'Ficheiros',
+ 'Images' => 'Imagens',
+ 'Archives' => 'Compactados',
+ 'Error_Upload' => 'O ficheiro enviado é maior que o limite permitido.',
+ 'Error_extension' => 'Extensão não permitida.',
+ 'Upload_file' => 'Carregar ficheiro',
+ 'Filters' => 'Filtro',
+ 'Videos' => 'Vídeos',
+ 'Music' => 'Música',
+ 'New_Folder' => 'Nova pasta',
+ 'Folder_Created' => 'Pasta criada com sucesso',
+ 'Existing_Folder' => 'Pasta existente',
+ 'Confirm_Folder_del' => 'Tem certeza que pretende eliminar a pasta e todo o seu conteúdo?',
+ 'Return_Files_List' => 'Voltar à lista de ficheiros',
+ 'Preview' => 'Pré-visualizar',
+ 'Download' => 'Descarregar',
+ 'Insert_Folder_Name' => 'Insira o nome da pasta:',
+ 'Root' => 'root',
+ 'Rename' => 'Mudar o nome',
+ 'Back' => 'de volta',
+ 'View' => 'Vista',
+ 'View_list' => 'Vista de lista',
+ 'View_columns_list' => 'Vista de coluna',
+ 'View_boxes' => 'Vista de caixas',
+ 'Toolbar' => 'Barra de Ferramentas',
+ 'Actions' => 'Acções',
+ 'Rename_existing_file' => 'O ficheiro já existe',
+ 'Rename_existing_folder' => 'A pasta já existe',
+ 'Empty_name' => 'Nome está vazio',
+ 'Text_filter' => 'filtro por texto',
+ 'Swipe_help' => 'Passe o nome do arquivo / pasta para ver as opções',
+ 'Upload_base' => 'Envio básico',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'dir',
+ 'Type' => 'Tipo',
+ 'Dimension' => 'Dimensão',
+ 'Size' => 'Tamanho',
+ 'Date' => 'Date',
+ 'Filename' => 'Data',
+ 'Operations' => 'Operações',
+ 'Date_type' => 'd-m-y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Cancelar',
+ 'Sorting' => 'ordenar',
+ 'Show_url' => 'mostrar URL',
+ 'Extract' => 'extrair here',
+ 'File_info' => 'info. ficheiro',
+ 'Edit_image' => 'editar imagem',
+ 'Duplicate' => 'Duplicar',
+ 'Folders' => 'Pastas',
+ 'Copy' => 'Copiar',
+ 'Cut' => 'Cortar',
+ 'Paste' => 'Colar',
+ 'CB' => 'AT', // clipboard
+ 'Paste_Here' => 'Colar para esta directoria',
+ 'Paste_Confirm' => 'Você tem a certeza que deseja colar a este diretório? Isso substituirá os arquivos existentes ou pastas se existirem',
+ 'Paste_Failed' => 'Falha ao colar ficheiros(s)',
+ 'Clear_Clipboard' => 'Limpar área de transferência',
+ 'Clear_Clipboard_Confirm' => 'Você tem certeza que deseja limpar a área de transferência?',
+ 'Files_ON_Clipboard' => 'Há arquivos na área de transferência.',
+ 'Copy_Cut_Size_Limit' => 'Os ficheiros/pastas são demasiado grandes para %s. Limite: %d MB/operação', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Você selecionou muitos arquivos / pastas para %s. Limit: %d ficheiros/operação', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Não te permissão para %s ficheiros.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Não foi possível gravar imagem',
+ 'Zip_No_Extract' => 'Não foi possível extrair. O arquivo pode estar corrompido.',
+ 'Zip_Invalid' => 'Extensão não suportada. Válidas: zip, gz, tar.',
+ 'Dir_No_Write' => 'A pasta escolhida não tem permissões para escrever.',
+ 'Function_Disabled' => 'A função %s foi desligada pelo servidor.', // %s = cut or copy
+ 'File_Permission' => 'Permissão do Ficheiro',
+ 'File_Permission_Not_Allowed' => 'Mudar as permissões dos %s não é permitido.', // %s = files or folders
+ 'File_Permission_Recursive' => 'AAplicar de forma recursiva?',
+ 'File_Permission_Wrong_Mode' => "O modo de permissão fornecido está incorreto.",
+ 'User' => 'Utilizador',
+ 'Group' => 'Grupo',
+ 'Yes' => 'Sim',
+ 'No' => 'Não',
+ 'Lang_Not_Found' => 'Não foi possível encontrar o idioma.',
+ 'Lang_Change' => 'Alterar o idioma',
+ 'File_Not_Found' => 'Não foi possível encontrar o arquivo.',
+ 'File_Open_Edit_Not_Allowed' => 'Não tem permissão para %s este ficheiro.', // %s = open or edit
+ 'Edit' => 'Editar',
+ 'Edit_File' => "Editar conteúdo do ficheiro",
+ 'File_Save_OK' => "Ficheiro gravado com sucesso.",
+ 'File_Save_Error' => "Ocorreu um erro durante a gravação do ficheiro.",
+ 'New_File' => 'Novo ficheiro',
+ 'No_Extension' => 'Tem de adicionar uma extensão ao ficheiro.',
+ 'Valid_Extensions' => 'Extensões válidas: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/ro.php b/admincp.php/assets/tinymce/filemanager/lang/ro.php
new file mode 100644
index 0000000..2255d01
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/ro.php
@@ -0,0 +1,145 @@
+ 'Selectează',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Șterge',
+ 'Open' => 'Deschide',
+ 'Confirm_del' => 'Sunteți sigur(ă) că vreți să ștergeți acest fișier?',
+ 'All' => 'Toate',
+ 'Files' => 'Fișiere',
+ 'Images' => 'Imagini',
+ 'Archives' => 'Arhive',
+ 'Error_Upload' => 'Fișierul încărcat depășește dimensiunea maximă admisă.',
+ 'Error_extension' => 'Fișierele cu această extensie nu sunt permise',
+ 'Upload_file' => 'Upload', // Încarcă - this is the correct translation for "Upload" but in Romania, we are more familiar to the english term
+ 'Filters' => 'Filtre',
+ 'Videos' => 'Fișiere video',
+ 'Music' => 'Fișiere audio',
+ 'New_Folder' => 'Folder nou',
+ 'Folder_Created' => 'Folderul a fost creat cu succes',
+ 'Existing_Folder' => 'Folder existent',
+ 'Confirm_Folder_del' => 'Sunteți sigur(ă) că vreți să ștergeți acest folder și toate fișierele din el?',
+ 'Return_Files_List' => 'Înapoi la lista de fișiere',
+ 'Preview' => 'Previzualizare',
+ 'Download' => 'Descărcare',
+ 'Insert_Folder_Name' => 'Adaugă denumire la folder:',
+ 'Root' => 'folder rădăcină',
+ 'Rename' => 'Redenumire',
+ 'Back' => 'înapoi',
+ 'View' => 'Vizualizare',
+ 'View_list' => 'Vizualizare listă',
+ 'View_columns_list' => 'Vizualizare coloane',
+ 'View_boxes' => 'Vizualizare pictograme',
+ 'Toolbar' => 'Bară de unelte',
+ 'Actions' => 'Acțiuni',
+ 'Rename_existing_file' => 'Deja există un fișier cu această denumire',
+ 'Rename_existing_folder' => 'Deja există un folder cu această denumire',
+ 'Empty_name' => 'Denumirea nu este completată',
+ 'Text_filter' => 'filtru text',
+ 'Swipe_help' => 'Glisează pe numele fișierului/folderului pentru opțiuni',
+ 'Upload_base' => 'Upload standard',
+ 'Upload_base_help' => "Adaugă fișiere (drag & drop - browsere moderne) sau click pe butonul Adaugă fișier(e), de mai sus apoi pe butonul Start upload. După ce upload-ul este finalizat, apăsați pe butonul Înapoi la lista de fișiere.",
+ 'Upload_add_files' => 'Adaugă fișier(e)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'Dimensiunea fișierului uploadat depășește valoarea din directiva upload_max_filesize din fișierul php.ini',
+ 2 => 'Dimensiunea fișierului uploadat depășește valoarea din directiva MAX_FILE_SIZE specificată în formularul HTML',
+ 3 => 'Fișierul uploadat a fost încărcat parțial ',
+ 4 => 'Nicun fișier nu a fost uploadat',
+ 6 => 'Folderul temporar lipsește',
+ 7 => 'Scrierea fișierului pe disc a eșuat',
+ 8 => 'O extensie PHP a întrerupt upload-ul',
+ 'post_max_size' => 'Dimensiunea fișierului uploadat depășește valoarea din directiva post_max_size din fișierul php.ini',
+ 'max_file_size' => 'Fișierul este prea mare',
+ 'min_file_size' => 'Fișierul este prea mic',
+ 'accept_file_types' => 'Tipul de fișier nu este permis',
+ 'max_number_of_files' => 'Numărul maxim de fișiere a fost depășit',
+ 'max_width' => 'Rezoluția imaginii depășește lățimea maximă admisă',
+ 'min_width' => 'Rezoluția imaginii este mai mică decât lățimea minimă necesară',
+ 'max_height' => 'Rezoluția imaginii depășește înălțimea maximă admisă',
+ 'min_height' => 'Rezoluția imaginii este mai mică decât înălțimea minimă necesară',
+ 'abort' => 'Procesul de upload a fost întrerupt',
+ 'image_resize' => 'Imaginea nu a putut fi redimensionată'
+ ),
+ 'Upload_url' => 'Din url',
+ 'Type_dir' => 'dir',
+ 'Type' => 'Tip',
+ 'Dimension' => 'Dimensiune',
+ 'Size' => 'Mărime',
+ 'Date' => 'Data',
+ 'Filename' => 'Nume fișier',
+ 'Operations' => 'Operații',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'OK',
+ 'Cancel' => 'Anulare',
+ 'Sorting' => 'sortare',
+ 'Show_url' => 'Afisează URL',
+ 'Extract' => 'Extrage aici',
+ 'File_info' => 'informații fișier',
+ 'Edit_image' => 'Editare imagine',
+ 'Duplicate' => 'Multiplicare',
+ 'Folders' => 'Foldere',
+ 'Copy' => 'Copiere',
+ 'Cut' => 'Tăiere',
+ 'Paste' => 'Lipire',
+ 'CB' => 'Clipboard', // clipboard
+ 'Paste_Here' => 'Lipire în acest folder',
+ 'Paste_Confirm' => 'Sunteți sigur(ă) că doriți să copiați fișierul în acest folder? Această operațiune va suprascrie folderele sau fișierele cu aceiași denumire.',
+ 'Paste_Failed' => 'Operațiunea de lipire a fișierelor a eșuat',
+ 'Clear_Clipboard' => 'Șterge clipboard',
+ 'Clear_Clipboard_Confirm' => 'Sunteți sigur(ă) că doriți să ștergeți conținutul clipboard-ului?',
+ 'Files_ON_Clipboard' => 'Există fișiere în clipboard.',
+ 'Copy_Cut_Size_Limit' => 'Folderele/fișierele selectate sunt prea mari pentru a %1$s. Limita maximă: %2$d MB/operațiune', // %1$s = cut or copy, %2$d = max size
+ 'Copy_Cut_Count_Limit' => 'Ați selectat prea multe foldere/fișiere pentru a %1$s. Limita maximă: %2$d files/operațiune', // %1$s = cut or copy, %2$d = max count
+ 'Copy_Cut_Not_Allowed' => 'Nu aveți permisiuni pentru a %1$s %2$s.', // %12$s = cut or copy, %2$s = files or folders
+ 'Aviary_No_Save' => 'Imaginea nu poate fi salvată',
+ 'Zip_No_Extract' => 'Fisierele din arhivă nu pot fi extrase. Este posibil ca arhiva să fie coruptă.',
+ 'Zip_Invalid' => 'Extensia nu este suportată. Extensii valide: zip, gz, tar.',
+ 'Dir_No_Write' => 'Folderul selectat nu are permisiuni de scriere.',
+ 'Function_Disabled' => 'Funcția %s a fost dezactivată din server.', // %s = cut or copy
+ 'File_Permission' => 'Permisiuni fișier',
+ 'File_Permission_Not_Allowed' => 'Modificare permisiunilor pentru %s nu este permisă.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Execută în mod recursiv?',
+ 'File_Permission_Wrong_Mode' => "Permisiunea furnizată nu este permisă.",
+ 'User' => 'Utilizator',
+ 'Group' => 'Grup',
+ 'Yes' => 'Da',
+ 'No' => 'Nu',
+ 'Lang_Not_Found' => 'Limba aleasă, nu poate fi găsită.',
+ 'Lang_Change' => 'Modificare limba',
+ 'File_Not_Found' => 'Fisierul nu poate fi găsit.',
+ 'File_Open_Edit_Not_Allowed' => 'Nu aveți permisiuni pentru a %s acest fișier.', // %s = open or edit
+ 'Edit' => 'Editare',
+ 'Edit_File' => "Editare conținut fișier",
+ 'File_Save_OK' => "Fișierul a fost salvat cu succes.",
+ 'File_Save_Error' => "A intervenit o eroare la salvarea fișierului.",
+ 'New_File' => 'Fișier nou',
+ 'No_Extension' => 'Este necesar să adăugați o extensie validă la fișier.',
+ 'Valid_Extensions' => 'Extensii valide: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drag & drop la fișiere pentru upload",
+
+ 'SERVER ERROR' => "EROARE SERVER",
+ 'forbiden' => "Interzis",
+ 'wrong path' => "Cale incorectă",
+ 'wrong name' => "Denumire incorectă",
+ 'wrong extension' => "Extensie incorectă",
+ 'wrong option' => "Opțiune incorectă",
+ 'wrong data' => "Data incorectă",
+ 'wrong action' => "Acțiune incorectă",
+ 'wrong sub-action' => "Subacțiune incorectă",
+ 'no action passed' => "Nicio acțiune nu s-a finalizat",
+ 'no path' => "Cale inexistentă",
+ 'no file' => "Fișier inexistent",
+ 'view type number missing' => "Lipsă număr tip de vizualizare",
+ 'Not enough Memory' => "Memorie insuficientă",
+ 'max_size_reached' => "Folderul de imagini a atins dimensiunea maximă de %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Dimensiune totală",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/ru.php b/admincp.php/assets/tinymce/filemanager/lang/ru.php
new file mode 100644
index 0000000..d1eb179
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/ru.php
@@ -0,0 +1,144 @@
+ 'Выбрать',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Удалить',
+ 'Open' => 'Открыть',
+ 'Confirm_del' => 'Вы уверены, что хотите удалить этот файл?',
+ 'All' => 'Очистить фильтр',
+ 'Files' => 'Файлы',
+ 'Images' => 'Изображения',
+ 'Archives' => 'Архивы',
+ 'Error_Upload' => 'Загружаемый файл превышает допустимый размер.',
+ 'Error_extension' => 'Недопустимый формат файла.',
+ 'Upload_file' => 'Загрузить файл',
+ 'Filters' => 'Фильтр',
+ 'Videos' => 'Видео',
+ 'Music' => 'Музыка',
+ 'New_Folder' => 'Новая папка',
+ 'Folder_Created' => 'Папка успешно создана',
+ 'Existing_Folder' => 'Существующая папка',
+ 'Confirm_Folder_del' => 'Вы уверены, что хотите удалить эту папку и все файлы в ней?',
+ 'Return_Files_List' => 'Вернуться к списку файлов',
+ 'Preview' => 'Просмотр',
+ 'Download' => 'Загрузить',
+ 'Insert_Folder_Name' => 'Введите имя папки:',
+ 'Root' => 'Корневая папка',
+ 'Rename' => 'Переименовать',
+ 'Back' => 'Назад',
+ 'View' => 'Вид',
+ 'View_list' => 'Список',
+ 'View_columns_list' => 'Столбцы',
+ 'View_boxes' => 'Плитка',
+ 'Toolbar' => 'Панель',
+ 'Actions' => 'Действия',
+ 'Rename_existing_file' => 'Файл уже существует',
+ 'Rename_existing_folder' => 'Папка уже существует',
+ 'Empty_name' => 'Не заполнено имя',
+ 'Text_filter' => 'фильтр',
+ 'Swipe_help' => 'Наведите на имя файла/папки, чтобы увидеть опции',
+ 'Upload_base' => 'Основная загрузка',
+ 'Upload_base_help' => "Перетащите файлы (современные браузеры) или нажмите на верхнюю кнопку, чтобы добавить файл(ы), и нажмите «Начать загрузку». Когда загрузка будет завершена, нажмите кнопку «Возврат к списку файлов».",
+ 'Upload_add_files' => 'Добавить файл(ы)',
+ 'Upload_start' => 'Начать загрузку',
+ 'Upload_error_messages' =>array(
+ 1 => 'Загруженный файл превышает параметр upload_max_filesize в php.ini',
+ 2 => 'Загруженный файл превышает параметр MAX_FILE_SIZE, указанный в HTML-форме',
+ 3 => 'Файл был загружен только частично',
+ 4 => 'Файл не удалось загрузить',
+ 6 => 'Отсутствует временная папка',
+ 7 => 'Не удалось записать файл на диск',
+ 8 => 'Расширение PHP остановило загрузку файла',
+ 'post_max_size' => 'Загруженный файл превышает параметр post_max_size в php.ini',
+ 'max_file_size' => 'Размер файла слишком большой',
+ 'min_file_size' => 'Размер файла слишком маленький',
+ 'accept_file_types' => 'Недопустимый тип файла',
+ 'max_number_of_files' => 'Превышено максимальное количество файлов',
+ 'max_width' => 'Изображение превышает максимальную ширину',
+ 'min_width' => 'Изображение требует минимальной ширины',
+ 'max_height' => 'Изображение превышает максимальную высоту',
+ 'min_height' => 'Изображение требует минимальной высоты',
+ 'abort' => 'Загрузка файла прервана',
+ 'image_resize' => 'Не удалось изменить размер изображения'
+ ),
+ 'Upload_url' => 'По адресу',
+ 'Type_dir' => 'папка',
+ 'Type' => 'Тип',
+ 'Dimension' => 'Разрешение',
+ 'Size' => 'Размер',
+ 'Date' => 'Дата',
+ 'Filename' => 'Имя файла',
+ 'Operations' => 'Действие',
+ 'Date_type' => 'd-m-Y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Отмена',
+ 'Sorting' => 'Сортировка',
+ 'Show_url' => 'Показать URL',
+ 'Extract' => 'Распаковать здесь',
+ 'File_info' => 'Свойства файла',
+ 'Edit_image' => 'Редактировать',
+ 'Duplicate' => 'Создать копию',
+ 'Folders' => 'Папки',
+ 'Copy' => 'Копировать',
+ 'Cut' => 'Вырезать',
+ 'Paste' => 'Вставить',
+ 'CB' => 'Буфер обмена', // clipboard
+ 'Paste_Here' => 'Вставить в текущую папку',
+ 'Paste_Confirm' => 'Вы хотите вставить в эту папку? При совпадении имён файлы будут перезаписаны',
+ 'Paste_Failed' => 'Не удалось вставить файл(ы).',
+ 'Clear_Clipboard' => 'Очистить буфер обмена',
+ 'Clear_Clipboard_Confirm' => 'Очистить буфер обмена?',
+ 'Files_ON_Clipboard' => 'Есть файлы в буфере обмена.',
+ 'Copy_Cut_Size_Limit' => 'Выбранные файлы/папки слишком большие для %s. Ограничение: %d Мб за одну операцию', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Выбрано слишком много файлов/папок для %s. Ограничение: %d файлов за одну операцию', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Вы не можете %s файлы.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Невозможно сохранить изображение.',
+ 'Zip_No_Extract' => 'Извлечь невозможно. Возможно файл повреждён.',
+ 'Zip_Invalid' => 'Это расширение не поддерживается. Разрешённые: zip, gz, tar.',
+ 'Dir_No_Write' => 'Выбранный каталог недоступен для записи.',
+ 'Function_Disabled' => 'Функция %s была отключена на сервере.', // %s = cut or copy
+ 'File_Permission' => 'Разрешения на файл',
+ 'File_Permission_Not_Allowed' => 'Изменение разрешений %s не допускается.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Применить рекурсивно?',
+ 'File_Permission_Wrong_Mode' => "Выбранные режим разрешений некорректен.",
+ 'User' => 'Пользователь',
+ 'Group' => 'Группа',
+ 'Yes' => 'Да',
+ 'No' => 'Нет',
+ 'Lang_Not_Found' => 'Невозможно найти язык',
+ 'Lang_Change' => 'Сменить язык',
+ 'File_Not_Found' => 'Невозможно найти файл',
+ 'File_Open_Edit_Not_Allowed' => 'Вы не можете %s этот файл.', // %s = open or edit
+ 'Edit' => 'Редактировать',
+ 'Edit_File' => "Редактировать содержимое файла",
+ 'File_Save_OK' => "Файл успешно сохранён",
+ 'File_Save_Error' => "Произошла ошибка при сохранении файла",
+ 'New_File' => 'Новый файл',
+ 'No_Extension' => 'Необходимо добавить расширение файла',
+ 'Valid_Extensions' => 'Разрешённые расширения файла: %s', // %s = txt,log etc.
+ 'Upload_message' => "Перетащите файл сюда, чтобы загрузить",
+ 'SERVER ERROR' => "СЕРВЕРНАЯ ОШИБКА",
+ 'forbiden' => "Запрещено",
+ 'wrong path' => "Неверный путь",
+ 'wrong name' => "Неверное имя",
+ 'wrong extension' => "Неверное расширение",
+ 'wrong option' => "Неверная опция",
+ 'wrong data' => "Неверные данные",
+ 'wrong action' => "Неверное действие",
+ 'wrong sub-action' => "Неверное доп.действие",
+ 'no action passed' => "Действие не сработало",
+ 'no path' => "Путь не существует",
+ 'no file' => "Файл не существует",
+ 'view type number missing' => "Данный тип отсутствует",
+ 'Not enough Memory' => "Недостаточно памяти",
+ 'max_size_reached' => "Папка достигла максимального размера в %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Общий размер",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/sk.php b/admincp.php/assets/tinymce/filemanager/lang/sk.php
new file mode 100644
index 0000000..6ae312a
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/sk.php
@@ -0,0 +1,145 @@
+ 'Vybrať',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Odstrániť',
+ 'Open' => 'Otvoriť',
+ 'Confirm_del' => 'Naozaj odstrániť tento súbor?',
+ 'All' => 'Všetky',
+ 'Files' => 'Súbory',
+ 'Images' => 'Obrázky',
+ 'Archives' => 'Archívy',
+ 'Error_Upload' => 'Súbor presahuje maximálnu možnú veľkosť.',
+ 'Error_extension' => 'Typ súboru nie je podporovaný.',
+ 'Upload_file' => 'Súbor',
+ 'Filters' => 'Filtrovať',
+ 'Videos' => 'Videá',
+ 'Music' => 'Hudba',
+ 'New_Folder' => 'Adresár',
+ 'Folder_Created' => 'Adresár bol vytvorený',
+ 'Existing_Folder' => 'Adresár už existuje',
+ 'Confirm_Folder_del' => 'Naozaj chcete vymazať adresár a odstrániť tak všetky súbory v ňom?',
+ 'Return_Files_List' => 'Späť na zoznam súborov',
+ 'Preview' => 'Náhľad',
+ 'Download' => 'Stiahnuť',
+ 'Insert_Folder_Name' => 'Názov adresára:',
+ 'Root' => 'root',
+ 'Rename' => 'Premenovať',
+ 'Back' => 'späť',
+ 'View' => 'Zobraziť',
+ 'View_list' => 'Zoznam',
+ 'View_columns_list' => 'Stĺpce',
+ 'View_boxes' => 'Ikony',
+ 'Toolbar' => 'Nástroje',
+ 'Actions' => 'Pridať',
+ 'Rename_existing_file' => 'Súbor už existuje',
+ 'Rename_existing_folder' => 'Adresár už existuje',
+ 'Empty_name' => 'Názov je prázdny',
+ 'Text_filter' => 'Vyhľadať',
+ 'Swipe_help' => 'Pre viac možností prejdite myšou na súbor/adresár',
+ 'Upload_base' => 'Klasické nahratie súborov',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'dir',
+ 'Type' => 'Typ',
+ 'Dimension' => 'Rozlíšenie',
+ 'Size' => 'Veľkosť',
+ 'Date' => 'Dátum',
+ 'Filename' => 'Názov',
+ 'Operations' => 'Operácie',
+ 'Date_type' => 'd.m.Y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Zrušiť',
+ 'Sorting' => 'Zoradiť',
+ 'Show_url' => 'Zobratiť URL',
+ 'Extract' => 'Rozbaliť sem',
+ 'File_info' => 'Informácie o súbore',
+ 'Edit_image' => 'Upraviť obrázok',
+ 'Duplicate' => 'Duplikovať',
+ 'Folders' => 'Adresáre',
+ 'Copy' => 'Kopírovať',
+ 'Cut' => 'Vystrihnúť',
+ 'Paste' => 'Prilepiť',
+ 'CB' => 'Schránka', // clipboard
+ 'Paste_Here' => 'Prilepiť do tohto adresára',
+ 'Paste_Confirm' => 'Naozaj chcete prilepiť súbory do tohto adresára? Existujúce súbory sa prepíšu.',
+ 'Paste_Failed' => 'Zlyhalo prilepenie súborov',
+ 'Clear_Clipboard' => 'Vyčistiť schránku',
+ 'Clear_Clipboard_Confirm' => 'Naozaj chcete vyčistiť schránku?',
+ 'Files_ON_Clipboard' => 'Máte súbory v schránke.',
+ 'Copy_Cut_Size_Limit' => 'Vybrané položky sú príliš veľké na to aby boli vystrihnuté alebo kopírované. Limit: %d MB/operácia', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Vybrali ste príliš veľa položiek na to aby boli vystrihnuté alebo kopírované. Limit: %d files/operácia', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Nemáte povolenie na vystrihnutie alebo kopírovanie položiek.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Obrázok nebol uložený.',
+ 'Zip_No_Extract' => 'Súbor nemožno rozbaliť. Môže byť poškodený.',
+ 'Zip_Invalid' => 'Tento typ súboru nemožno rozbaliť. Povolené formáty: zip, gz, tar.',
+ 'Dir_No_Write' => 'Do vybraného adresára nemožno zapisovať.',
+ 'Function_Disabled' => 'Funkciu vystrihnúť alebo kopírovať nepodporuje Vás webhosting.', // %s = cut or copy
+ 'File_Permission' => 'Povolenia súborov',
+ 'File_Permission_Not_Allowed' => 'Zmena povolení súborov alebo adresárov nie je povolená.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Použiť na vnorené súbory a adresáre?',
+ 'File_Permission_Wrong_Mode' => "Nesprávny mód povolenia",
+ 'User' => 'Užívateľ',
+ 'Group' => 'Skupina',
+ 'Yes' => 'Áno',
+ 'No' => 'Nie',
+ 'Lang_Not_Found' => 'Jazyk nebol nájdený.',
+ 'Lang_Change' => 'Zmeniť jazyk',
+ 'File_Not_Found' => 'Súbor sa nenašiel.',
+ 'File_Open_Edit_Not_Allowed' => 'Nemáte právo otvoriť alebo upravovať tento súbor.', // %s = open or edit
+ 'Edit' => 'Upraviť',
+ 'Edit_File' => "Upraviť obsah súboru",
+ 'File_Save_OK' => "Súbor bol uložený.",
+ 'File_Save_Error' => "Nastala chyba! Súbor nebol uložený.",
+ 'New_File' => 'Nový súbor',
+ 'No_Extension' => 'Musíte pridať príponu súboru.',
+ 'Valid_Extensions' => 'Povolené prípony: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/sl.php b/admincp.php/assets/tinymce/filemanager/lang/sl.php
new file mode 100644
index 0000000..29ff8f3
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/sl.php
@@ -0,0 +1,145 @@
+ 'Označi',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Izbriši',
+ 'Open' => 'Odpri',
+ 'Confirm_del' => 'Ali res želite izbrisati to datoteko?',
+ 'All' => 'Vse',
+ 'Files' => 'Datoteke',
+ 'Images' => 'Slike',
+ 'Archives' => 'Arhiv',
+ 'Error_Upload' => 'Velikost datoteke presega maksimalno dovoljeno velikost.',
+ 'Error_extension' => 'Izbrana vrsta datoteke ni dovoljena.',
+ 'Upload_file' => 'Naloži datoteke na strežnik',
+ 'Filters' => 'Filtri',
+ 'Videos' => 'Video',
+ 'Music' => 'Glasba',
+ 'New_Folder' => 'Nova mapa',
+ 'Folder_Created' => 'Mapa je bila ustvarjena',
+ 'Existing_Folder' => 'Obstoječa mapa',
+ 'Confirm_Folder_del' => 'Ali res želite izbrisati mapo in vso vsebino, ki je v mapi?',
+ 'Return_Files_List' => 'Nazaj na seznam datotek',
+ 'Preview' => 'Predogled',
+ 'Download' => 'Prenesi',
+ 'Insert_Folder_Name' => 'Vpište ime mape:',
+ 'Root' => 'Domov',
+ 'Rename' => 'Preimenuj',
+ 'Back' => 'Nazaj',
+ 'View' => 'Prikaz',
+ 'View_list' => 'Seznam',
+ 'View_columns_list' => 'Stolpci',
+ 'View_boxes' => 'Okvirji',
+ 'Toolbar' => 'Orodna vrstica',
+ 'Actions' => 'Akcije',
+ 'Rename_existing_file' => 'Datoteka že obstaja',
+ 'Rename_existing_folder' => 'Mapa že obstaja',
+ 'Empty_name' => 'Ime je prazno',
+ 'Text_filter' => 'išči',
+ 'Swipe_help' => 'Izmakni ime datoteke/mape za prikaz možnosti',
+ 'Upload_base' => 'Osnovni način',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'Mapa',
+ 'Type' => 'Vrsta',
+ 'Dimension' => 'Dimenzija',
+ 'Size' => 'Velikost',
+ 'Date' => 'Datum',
+ 'Filename' => 'Ime',
+ 'Operations' => 'Ukazi',
+ 'Date_type' => 'd.m.y',
+ 'OK' => 'Potrdi',
+ 'Cancel' => 'Prekliči',
+ 'Sorting' => 'Razvrsti po:',
+ 'Show_url' => 'Prikaži povezavo',
+ 'Extract' => 'Razširi sem',
+ 'File_info' => 'Podatki o datoteki',
+ 'Edit_image' => 'Uredi sliko',
+ 'Duplicate' => 'Podvoji',
+ 'Folders' => 'Folders',
+ 'Copy' => 'Copy',
+ 'Cut' => 'Cut',
+ 'Paste' => 'Paste',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Paste to this directory',
+ 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
+ 'Paste_Failed' => 'Failed to paste file(s)',
+ 'Clear_Clipboard' => 'Clear clipboard',
+ 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
+ 'Files_ON_Clipboard' => 'There are files on the clipboard.',
+ 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %s. Limit: %d MB/operation', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %s. Limit: %d files/operation', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'You are not allowed to %s files.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Could not save image',
+ 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
+ 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
+ 'Dir_No_Write' => 'The directory you selected is not writable.',
+ 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/sv_SE.php b/admincp.php/assets/tinymce/filemanager/lang/sv_SE.php
new file mode 100644
index 0000000..1c5e459
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/sv_SE.php
@@ -0,0 +1,145 @@
+ 'Välj', // Select
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Radera', // Erase
+ 'Open' => 'Öppna', // Open
+ 'Confirm_del' => 'Är du säker på att du vill radera denna fil?', //Are you sure you want to delete this file?
+ 'All' => 'Alla', // All
+ 'Files' => 'Filer', // Files
+ 'Images' => 'Bilder', // Images
+ 'Archives' => 'Arkiv', // Archives
+ 'Error_Upload' => 'Den uppladdade filen överskrider max storleken.', // The uploaded file exceeds the max size allowed.
+ 'Error_extension' => 'Filtypen är ej tillåten.', // File extension is not allowed.
+ 'Upload_file' => 'Ladda upp', // Upload
+ 'Filters' => 'Filter', // Filters
+ 'Videos' => 'Videor', // Videos
+ 'Music' => 'Musik', // Music
+ 'New_Folder' => 'Ny katalog', // New Folder
+ 'Folder_Created' => 'Katalogen har skapats', // Folder correctly created
+ 'Existing_Folder' => 'Befintlig katalog', // Existing folder
+ 'Confirm_Folder_del' => 'Är du säker på att du vill radera denna katalog samt dess innehåll?', // Are you sure to delete the folder and all the elements in it?
+ 'Return_Files_List' => 'Tillbaka till filvisaren', // Return to files list
+ 'Preview' => 'Förhandsgranska', // Preview
+ 'Download' => 'Ladda hem', // Download
+ 'Insert_Folder_Name' => 'Ange katalog namn:', // Insert folder name:
+ 'Root' => 'root', // root
+ 'Rename' => 'Byt namn', // Rename
+ 'Back' => 'tillbaka', // back
+ 'View' => 'Visa', // View
+ 'View_list' => 'Listvy', // List view
+ 'View_columns_list' => 'Columnvy', // Columns list view
+ 'View_boxes' => 'Boxvy', // Box view
+ 'Toolbar' => 'Verktygsfält', // Toolbar
+ 'Actions' => 'Åtgärder', // Actions
+ 'Rename_existing_file' => 'Det finns redan en fil med det namnet', // The file is already existing
+ 'Rename_existing_folder' => 'Det finns redan en katalog med det namnet', // The folder is already existing
+ 'Empty_name' => 'Du har ej angivet något namn', // The name is empty
+ 'Text_filter' => 'text filter', // text filter
+ 'Swipe_help' => 'Svep över filnamnet/katalognamnet för att visa åtgärder', // Swipe the name of file/folder to show options
+ 'Upload_base' => 'Basal uppladdning', // Base upload
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'katalog', // dir
+ 'Type' => 'Typ', // Type
+ 'Dimension' => 'Dimension', // Dimension
+ 'Size' => 'Storlek', // Size
+ 'Date' => 'Datum', // Date
+ 'Filename' => 'Filname', // Filename
+ 'Operations' => 'Handlingar', // Operations
+ 'Date_type' => 'y-m-d', // y-m-d
+ 'OK' => 'OK', // OK
+ 'Cancel' => 'Avbryt', // Cancel
+ 'Sorting' => 'sortering', // sorting
+ 'Show_url' => 'visa sökväg', // show URL
+ 'Extract' => 'packa upp här', // extract here
+ 'File_info' => 'fil information', // file info
+ 'Edit_image' => 'editera bild', // edit image
+ 'Duplicate' => 'Duplicera', // Duplicate
+ 'Folders' => 'Folders', // Folders
+ 'Copy' => 'Kopiera', // Copy
+ 'Cut' => 'Klipp ut', // Cut
+ 'Paste' => 'Klistra in', // Paste
+ 'CB' => 'Urklipp', //CB, clipboard
+ 'Paste_Here' => 'Klistra in i denna mapp', // Paste to this directory
+ 'Paste_Confirm' => 'Är du säker på att du vill klistra in i denna mapp? Befintliga filer och mappar kan bli överskrivna.', // Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.
+ 'Paste_Failed' => 'Misslyckades med att klistra in fil(er)', // Failed to paste file(s)
+ 'Clear_Clipboard' => 'Rensa urklipp', // Clear clipboard
+ 'Clear_Clipboard_Confirm' => 'Är du säker på att du vill rensa urklipp?', // Are you sure you want to clear the clipboard?
+ 'Files_ON_Clipboard' => 'Det finns filer i urklipp.', // There are files on the clipboard.
+ 'Copy_Cut_Size_Limit' => 'De valda filerna/mapparna är för stora för att %s. Gräns: %d MB per operation', // The selected files/folders are too big to %s. Limit: %d MB/operation %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'För många filer/mappar är valda för att de ska kunna %s. Gräns: #d filer per operation', // You selected too many files/folders to %s. Limit: %d files/operation %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Du har ej behörighet att %s filer.', // You are not allowed to %s files. %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Misslyckades med att spara bild', // Could not save image
+ 'Zip_No_Extract' => 'Misslyckades med att packa upp. Filen kan eventuellt vara korrupt.', // Could not extract. File might be corrupt.
+ 'Zip_Invalid' => 'Filtypen stöds ej. Stödja filtyper: zip, gz och tar.', // This extension is not supported. Valid: zip, gz, tar.
+ 'Dir_No_Write' => 'Det går ej att skriva till den valda sökvägen.', // The directory you selected is not writable.
+ 'Function_Disabled' => 'Funktionen för att %s är inaktiverad.', // The %s function has been disabled by the server. %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Tillämpa rekursivt', // 'Apply recursively?'
+ 'File_Permission_Wrong_Mode' => 'Felaktiga filrättigheter.', // "The supplied permission mode is incorrect."
+ 'User' => 'Användare', // 'User'
+ 'Group' => 'Grupp', // 'Group'
+ 'Yes' => 'Ja', // 'Yes'
+ 'No' => 'Nej', // 'No'
+ 'Lang_Not_Found' => 'Kunde inte hitta språk.', // 'Could not find language.'
+ 'Lang_Change' => 'Växla språk', // 'Change the language'
+ 'File_Not_Found' => 'Kunde inte hitta fil', // 'Could not find the file.'
+ 'File_Open_Edit_Not_Allowed' => 'Du har inte rättigheter till %s den här filen.', // 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Redigera', // 'Edit'
+ 'Edit_File' => 'Redigera filens innehåll', // "Edit file's content"
+ 'File_Save_OK' => 'Filen sparades', // "File successfully saved."
+ 'File_Save_Error' => 'Det uppstod ett fel när filen sparades.', // "There was an error while saving the file."
+ 'New_File' => 'Ny fil', // 'New File'
+ 'No_Extension' => 'Du måste lägga till en filändelse', // 'You have to add a file extension.'
+ 'Valid_Extensions' => 'Tillåtna filändelser: %s', // 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => 'Släpp fil här för att ladda upp', // "Drop file here to upload"
+
+ 'SERVER ERROR' => 'SERVER FEL', // "SERVER ERROR",
+ 'forbiden' => 'Förbjudet', // "Forbiden",
+ 'wrong path' => 'Fel sökväg', // "Wrong path",
+ 'wrong name' => 'Fel namn', // "Wrong name",
+ 'wrong extension' => 'Fel filändelse', // "Wrong extension",
+ 'wrong option' => 'Fel alternativ', // "Wrong option",
+ 'wrong data' => 'Fel data', // "Wrong data",
+ 'wrong action' => 'Fel åtgärd', // "Wrong action",
+ 'wrong sub-action' => 'Fel delåtgärd', // "Wrong sub-actio",
+ 'no action passed' => 'Ingen åtgärd skickad', // "No action passed",
+ 'no path' => 'Ingen sökväg', //"No path",
+ 'no file' => 'Ingen fil', //"No file",
+ 'view type number missing' => 'Vytypsnummer saknas', // "View type number missing",
+ 'Not enough Memory' => 'Inte tillräckligt med minne', // "Not enough Memory",
+ 'max_size_reached' => 'Din bildkatalog har nått den maximala storleken av %d MB', // "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => 'Total storlek', // "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/th_TH.php b/admincp.php/assets/tinymce/filemanager/lang/th_TH.php
new file mode 100644
index 0000000..2cb2792
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/th_TH.php
@@ -0,0 +1,153 @@
+ 'เลือก',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'ลบ',
+ 'Open' => 'เปิด',
+ 'Confirm_del' => 'คุณต้องการลบไฟล์นี้ ใช่ หรือ ไม่ ?',
+ 'All' => 'ทั้งหมด',
+ 'Files' => 'ไฟล์',
+ 'Images' => 'รูปภาพ',
+ 'Archives' => 'ไฟล์บีบอัด',
+ 'Error_Upload' => 'ไฟล์ที่คุณอัพโหลด มีขนาดเกินที่ได้รับอนุญาติ',
+ 'Error_extension' => 'ชนิดไฟล์นี้ ไม่อนุญาติให้อัพโหลด',
+ 'Upload_file' => 'อัพโหลด',
+ 'Filters' => 'ประเภท',
+ 'Videos' => 'วิดีโอ',
+ 'Music' => 'เพลง',
+ 'New_Folder' => 'สร้างโฟลเดอร์ใหม่',
+ 'Folder_Created' => 'สร้างโฟลเดอร์เรียบร้อย',
+ 'Existing_Folder' => 'โฟลเดอร์ชื่อนี้มีอยู่แล้ว',
+ 'Confirm_Folder_del' => 'คุณต้องการลบโฟลเดอร์นี้ รวมทั้งไฟล์ทั้งหมดในนั้น ใช่ หรือ ไม่ ?',
+ 'Return_Files_List' => 'กลับสู่หน้ารายการ',
+ 'Preview' => 'แสดงตัวอย่าง',
+ 'Download' => 'ดาวน์โหลด',
+ 'Insert_Folder_Name' => 'ระบุชื่อโฟลเดอร์ที่ต้องการ:',
+ 'Root' => 'หน้าหลัก',
+ 'Rename' => 'เปลี่ยนชื่อ',
+ 'Back' => 'กลับ',
+ 'View' => 'ดู',
+ 'View_list' => 'แสดงแบบรายการ',
+ 'View_columns_list' => 'แสดงแบบคอลัมน์',
+ 'View_boxes' => 'แสดงแบบขนาดใหญ่',
+ 'Toolbar' => 'เครื่องมือ',
+ 'Actions' => 'ลงมือ',
+ 'Rename_existing_file' => 'ไฟล์ชื่อนี้มีอยู่แล้ว',
+ 'Rename_existing_folder' => 'โฟลเดอร์ชื่อนี้มีอยู่แล้ว',
+ 'Empty_name' => 'ชื่อไฟล์ไม่สามารถเป็นค่าว่างได้',
+ 'Text_filter' => 'ระบุคำค้น',
+ 'Swipe_help' => 'Swipe the name of file/folder to show options',
+ 'Upload_base' => 'อัพโหลดแบบธรรมดา',
+ 'Upload_url' => 'อัพโหลดจาก URL',
+ 'Upload_base_help' => "สามารถอัพโหลดไฟล์แบบลากวางได้ หรือคลิกที่ปุ่มด้านบนเพื่อเพิ่มไฟล์และคลิกอัพโหลด เมื่อการอัปโหลดเสร็จสมบูรณ์คลิกปุ่ม \"กลับสู่หน้ารายการ\"",
+ 'Upload_add_files' => 'เลือกไฟล์ (สามารเลือกได้หลายไฟล์)',
+ 'Upload_start' => 'อัพโหลด',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'อัพโหลดจาก url',
+ 'Type_dir' => 'dir',
+ 'Type' => 'ชนิด',
+ 'Dimension' => 'Dimension',
+ 'Size' => 'ขนาด',
+ 'Date' => 'วันที่',
+ 'Filename' => 'ชื่อไฟล์',
+ 'Operations' => 'Operations',
+ 'Date_type' => 'd/m/Y H:i:s',
+ 'OK' => 'ตกลง',
+ 'Cancel' => 'ยกเลิก',
+ 'Sorting' => 'จัดเรียง',
+ 'Show_url' => 'แสดง URL',
+ 'Extract' => 'Extract here',
+ 'File_info' => 'รายละเอียด',
+ 'Edit_image' => 'แก้ไขรูปภาพ',
+ 'Duplicate' => 'ทำซ้ำ',
+ 'Folders' => 'โฟลเดอร์',
+ 'Copy' => 'คัดลอก',
+ 'Cut' => 'ตัด',
+ 'Paste' => 'วาง',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'วางในโพลเดอร์นี้',
+ 'Paste_Confirm' => 'Are you sure you want to paste to this directory? This will overwrite existing files/folders if encountered any.',
+ 'Paste_Failed' => 'Failed to paste file(s)',
+ 'Clear_Clipboard' => 'ลบที่ก็อปปี้ไว้',
+ 'Clear_Clipboard_Confirm' => 'Are you sure you want to clear the clipboard?',
+ 'Files_ON_Clipboard' => 'There are files on the clipboard.',
+ 'Copy_Cut_Size_Limit' => 'The selected files/folders are too big to %1$s. Limit: %2$d MB/operation', // %1$s = cut or copy, %2$d = max size
+ 'Copy_Cut_Count_Limit' => 'You selected too many files/folders to %1$s. Limit: %2$d files/operation', // %1$s = cut or copy, %2$d = max count
+ 'Copy_Cut_Not_Allowed' => 'You are not allowed to %1$s %2$s.', // %12$s = cut or copy, %2$s = files or folders
+ 'Aviary_No_Save' => 'Could not save image',
+ 'Zip_No_Extract' => 'Could not extract. File might be corrupt.',
+ 'Zip_Invalid' => 'This extension is not supported. Valid: zip, gz, tar.',
+ 'Dir_No_Write' => 'The directory you selected is not writable.',
+ 'Function_Disabled' => 'The %s function has been disabled by the server.', // %s = cut or copy
+ 'File_Permission' => 'กำหนด permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find the language.',
+ 'Lang_Change' => 'เปลี่ยนภาษา',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "แก้ไขไฟล์นี้",
+ 'File_Save_OK' => "บันทึกสำเร็จ",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'สร้างไฟล์ใหม่',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => "ลากไฟล์มาวางหรือคลิกที่นี่ เพื่ออัพโหลด",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/tr_TR.php b/admincp.php/assets/tinymce/filemanager/lang/tr_TR.php
new file mode 100644
index 0000000..ab48eda
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/tr_TR.php
@@ -0,0 +1,145 @@
+ 'Seç',
+ 'Deselect_All' => 'Hiçbirini seçme',
+ 'Select_All' => 'Hepsini seç',
+ 'Erase' => 'Sil',
+ 'Open' => 'Aç',
+ 'Confirm_del' => 'Bu dosyayı silmek istediğinizden emin misiniz?',
+ 'All' => 'Tümü',
+ 'Files' => 'Dosyalar',
+ 'Images' => 'Resimler',
+ 'Archives' => 'Arşivler',
+ 'Error_Upload' => 'Yüklemeye çalıştığınız dosya maximum yükleme limitini aştı.',
+ 'Error_extension' => 'Dosya uzantısına izin yok.',
+ 'Upload_file' => 'Dosya Yükle',
+ 'Filters' => 'Filtreler',
+ 'Videos' => 'Videolar',
+ 'Music' => 'Müzikler',
+ 'New_Folder' => 'Yeni Klasör',
+ 'Folder_Created' => 'Klasör başarıyla oluşturuldu.',
+ 'Existing_Folder' => 'Mevcut Klasör',
+ 'Confirm_Folder_del' => 'Bu klasörü ve içindekileri silmek istediğinizden emin misiniz?',
+ 'Return_Files_List' => 'Dosya Listesine Geri Dön',
+ 'Preview' => 'Önizleme',
+ 'Download' => 'İndir',
+ 'Insert_Folder_Name' => 'Klasör Adı Ekle:',
+ 'Root' => 'kök',
+ 'Rename' => 'Yeniden Adlandır',
+ 'Back' => 'Geri',
+ 'View' => 'Görünüm',
+ 'View_list' => 'Liste Görünümü',
+ 'View_columns_list' => 'Kolonlu Liste Görünümü',
+ 'View_boxes' => 'Kutu Görünümü',
+ 'Toolbar' => 'Araç Çubuğu',
+ 'Actions' => 'Eylemler',
+ 'Rename_existing_file' => 'Bu dosya zaten mevcut',
+ 'Rename_existing_folder' => 'Bu klasör zaten mevcut',
+ 'Empty_name' => 'İsim Alanı Boş.',
+ 'Text_filter' => 'Filtrele...',
+ 'Swipe_help' => 'Seçenekleri görüntülemek için dosya/klasör ismine tıklayın',
+ 'Upload_base' => 'Normal Yükleme',
+ 'Upload_base_help' => "Dosyaları sürükleyip bırakın (modern tarayıcılar) veya dosya ekleye tıklayarak dosyaları ekleyin ve Yüklemeyi başlat'a tıklayın. Yükleme tamamlandığında, 'Dosya listesine dön' düğmesini tıklayın.",
+ 'Upload_add_files' => 'Dosya(ları) Ekle',
+ 'Upload_start' => 'Yüklemeyi Başlat',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'Dosya Yüklenemedi',
+ 6 => 'Geçici dosya eksik',
+ 7 => 'Dosya diske yazılamadı',
+ 8 => 'PHP uzantısı dosya yüklemeyi durdurdu.',
+ 'post_max_size' => 'Yüklenen dosya php.ini dosyasındaki post_max_size yönergesini aşıyor',
+ 'max_file_size' => 'Dosya çok büyük',
+ 'min_file_size' => 'Dosya çok küçük',
+ 'accept_file_types' => 'Dosya türüne izin verilmedi',
+ 'max_number_of_files' => 'Maximum dosya sayısı aşıldı',
+ 'max_width' => 'Görüntü maksimum genişliğini aşıyor',
+ 'min_width' => 'Resim minimum genişlik gerektirir',
+ 'max_height' => 'Görüntü maksimum yüksekliğini aşıyor',
+ 'min_height' => 'Resim minimum yükseklik gerektirir',
+ 'abort' => 'Dosya yükleme iptal edildi',
+ 'image_resize' => 'Resim yeniden boyutlandırılamadı'
+ ),
+ 'Upload_url' => 'URL’den',
+ 'Type_dir' => 'Dizin',
+ 'Type' => 'Tür',
+ 'Dimension' => 'Ebat',
+ 'Size' => 'Boyut',
+ 'Date' => 'Tarih',
+ 'Filename' => 'Dosya Adı',
+ 'Operations' => 'İşlemler',
+ 'Date_type' => 'd-m-Y',
+ 'OK' => 'Tamam',
+ 'Cancel' => 'İptal',
+ 'Sorting' => 'Sıralama',
+ 'Show_url' => 'URL Göster',
+ 'Extract' => 'Buraya Çıkart',
+ 'File_info' => 'Dosya Bilgisi',
+ 'Edit_image' => 'Resmi Düzenle',
+ 'Duplicate' => 'Çoğalt',
+ 'Folders' => 'Klasörler',
+ 'Copy' => 'Kopyala',
+ 'Cut' => 'Kes',
+ 'Paste' => 'Yapıştır',
+ 'CB' => 'Pano', // clipboard
+ 'Paste_Here' => 'Bu dizine yapıştırın',
+ 'Paste_Confirm' => 'Siz bu dizine yapıştırmak istediğinizden emin misiniz? Önceki dosyalar/klasörler silinecek ve yerine bu dosyalar/klasörler yazılacaktır.',
+ 'Paste_Failed' => 'Dosyaları yapıştırma işlemi başarısız.',
+ 'Clear_Clipboard' => 'Panoyu Temizle',
+ 'Clear_Clipboard_Confirm' => 'Panoya silmek istediğinizden emin misiniz?',
+ 'Files_ON_Clipboard' => 'Panoda dosyalar vardır.',
+ 'Copy_Cut_Size_Limit' => 'Seçilen dosyalar/klasörler için çok büyük %s. Limit: %d MB/İşlemi', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Siz çok fazla dosya/klasör seçtiniz %s. Limit:%d Dosyalar/İşlemler', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => '%s Dosyaları için izin verilmez.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Bu görüntü kaydedilemedi',
+ 'Zip_No_Extract' => 'Dışa çıkarma işlemi yapılamadı. Dosya bozuk olabilir.',
+ 'Zip_Invalid' => 'Bu dosya uzantısı desteklenmiyor. Geçerli Uzantılar: zip, gz, tar.',
+ 'Dir_No_Write' => 'Seçtiğiniz dizin yazılabilir değil.',
+ 'Function_Disabled' => '%s İşlevi sunucu tarafından devre dışı bırakıldı.', // %s = cut or copy
+ 'File_Permission' => 'Dosya İzinleri',
+ 'File_Permission_Not_Allowed' => '%s Dosya İzinlerinin değiştirilmesine izin verilmiyor.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Değişlikler uygulansın mı?',
+ 'File_Permission_Wrong_Mode' => "Girilen izin modu hatalı.",
+ 'User' => 'Kullanıcı',
+ 'Group' => 'Grup',
+ 'Yes' => 'Evet',
+ 'No' => 'Hayır',
+ 'Lang_Not_Found' => 'Dil dosyası bulunamadı.',
+ 'Lang_Change' => 'Dili değiştir',
+ 'File_Not_Found' => 'Dosya bulunamadı.',
+ 'File_Open_Edit_Not_Allowed' => 'Bu dosyayı %s izniniz bulunmuyor.', // %s = open or edit
+ 'Edit' => 'Düzenle',
+ 'Edit_File' => "Dosyanın içeriğini düzenle",
+ 'File_Save_OK' => "Dosya başarıyla kaydedildi.",
+ 'File_Save_Error' => "Dosya kaydedilirken bir hata oluştu.",
+ 'New_File' => 'Yeni Dosya',
+ 'No_Extension' => 'Lütfen bir dosya uzantısı ekleyiniz.',
+ 'Valid_Extensions' => 'Geçerli eklentiler: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/uk_UA.php b/admincp.php/assets/tinymce/filemanager/lang/uk_UA.php
new file mode 100644
index 0000000..d7eeb0f
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/uk_UA.php
@@ -0,0 +1,145 @@
+ 'Вибрати',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Видалити',
+ 'Open' => 'Відкрити',
+ 'Confirm_del' => 'Впевнені, що хочете видалити цей файл?',
+ 'All' => 'Всі',
+ 'Files' => 'Файли',
+ 'Images' => 'Зображення',
+ 'Archives' => 'Архіви',
+ 'Error_Upload' => 'Файл, що завантажується перевищує дозволений розмір.',
+ 'Error_extension' => 'Неприпустимий формат файлу.',
+ 'Upload_file' => 'Завантажити файл',
+ 'Filters' => 'Фільтр',
+ 'Videos' => 'Відео',
+ 'Music' => 'Музика',
+ 'New_Folder' => 'Нова тека',
+ 'Folder_Created' => 'Теку успішно створено',
+ 'Existing_Folder' => 'Існуюча тека',
+ 'Confirm_Folder_del' => 'Впевнені, що хочете видалити цю теку і всі файли в ній?',
+ 'Return_Files_List' => 'Повернутися до списку файлів',
+ 'Preview' => 'Перегляд',
+ 'Download' => 'Завантажити',
+ 'Insert_Folder_Name' => 'Введіть ім`я папки:',
+ 'Root' => 'Коренева тека',
+ 'Rename' => 'Переіменувати',
+ 'Back' => 'назад',
+ 'View' => 'Вигляд',
+ 'View_list' => 'Список',
+ 'View_columns_list' => 'Стовпчики',
+ 'View_boxes' => 'Плиткою',
+ 'Toolbar' => 'Панель',
+ 'Actions' => 'Дії',
+ 'Rename_existing_file' => 'Файл вже існує',
+ 'Rename_existing_folder' => 'Тека вже існує',
+ 'Empty_name' => 'Не заповнено ім`я',
+ 'Text_filter' => 'фільтр',
+ 'Swipe_help' => 'Наведіть на ім`я файлу/папки, щоб побачити опції',
+ 'Upload_base' => 'Основне завантаження',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'Тека',
+ 'Type' => 'Тип',
+ 'Dimension' => 'Розмір',
+ 'Size' => 'Об`єм',
+ 'Date' => 'Дата',
+ 'Filename' => 'Ім`я файлу',
+ 'Operations' => 'Дії',
+ 'Date_type' => 'd-m-y',
+ 'OK' => 'OK',
+ 'Cancel' => 'Відміна',
+ 'Sorting' => 'Сортування',
+ 'Show_url' => 'Показати URL',
+ 'Extract' => 'Видобути тут',
+ 'File_info' => 'Інфо файла',
+ 'Edit_image' => 'Редагувати зображення',
+ 'Duplicate' => 'Дублікати',
+ 'Folders' => 'Папки',
+ 'Copy' => 'Копіювати',
+ 'Cut' => 'Вирізати',
+ 'Paste' => 'Вставити',
+ 'CB' => 'БО', // clipboard
+ 'Paste_Here' => 'Вставити в цю теку',
+ 'Paste_Confirm' => 'Ви впевнені, що хочете вставити в цю теку? Це перезапише всі файли/папки, якщо такі будуть.',
+ 'Paste_Failed' => 'Помилка вставки файлів',
+ 'Clear_Clipboard' => 'Очистити буфер обміну',
+ 'Clear_Clipboard_Confirm' => 'Ви впевнені, що хочете очистити буфер обміну?',
+ 'Files_ON_Clipboard' => 'Немає файлів у буфері обміну.',
+ 'Copy_Cut_Size_Limit' => 'Вибрані файли/папки завеликі для %s. Обмеження: %d MB/операцію', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Ви вибрали забагато файлів/папок для %s. Обмеження: %d файлів/операцію', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'У вас немає прав доступу для %s файлів.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Неможливо зберегти зображення',
+ 'Zip_No_Extract' => 'Неможливо видобути. Файл може бути пошкодженим',
+ 'Zip_Invalid' => 'Це розширення не підтримується. Можливі: zip, gz, tar.',
+ 'Dir_No_Write' => 'Обрана тека захищена від запису.',
+ 'Function_Disabled' => 'Функція %s заборонена сервером.', // %s = cut or copy
+ 'File_Permission' => 'Права доступу',
+ 'File_Permission_Not_Allowed' => 'Зміна прав доступу для %s заборонена.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Застосувати рекурсивно?',
+ 'File_Permission_Wrong_Mode' => "Наданы права доступу невірні.",
+ 'User' => 'Користувач',
+ 'Group' => 'Група',
+ 'Yes' => 'Так',
+ 'No' => 'Ні',
+ 'Lang_Not_Found' => 'Не можу знайти мову.',
+ 'Lang_Change' => 'Зміна мови',
+ 'File_Not_Found' => 'Не можу знайти файл.',
+ 'File_Open_Edit_Not_Allowed' => 'У вас немає прав для відкриття цього файлу %s.', // %s = open or edit
+ 'Edit' => 'Редагувати',
+ 'Edit_File' => "Редагувати вміст файлу",
+ 'File_Save_OK' => "Файл успішно збережено.",
+ 'File_Save_Error' => "Виникла помилка при збереженні файлу.",
+ 'New_File' => 'Новий файл',
+ 'No_Extension' => 'Вам необхідно додати розширення файлу.',
+ 'Valid_Extensions' => 'Дозволені розширення: %s', // %s = txt,log etc.
+ 'Upload_message' => "Перетягніть сюди файл для завантаження",
+
+ 'SERVER ERROR' => "ПОМИЛКА СЕРВЕРА",
+ 'forbiden' => "Заборонено",
+ 'wrong path' => "Хибний шлях",
+ 'wrong name' => "Хибне ім`я",
+ 'wrong extension' => "Хибне розширення",
+ 'wrong option' => "Хибна операція",
+ 'wrong data' => "Хибні дані",
+ 'wrong action' => "Хибна дія",
+ 'wrong sub-action' => "Хибна під-дія",
+ 'no action passed' => "Жодної дії не передано",
+ 'no path' => "Немає шляху",
+ 'no file' => "Немає файлу",
+ 'view type number missing' => "Відсутній номер типу перегляду",
+ 'Not enough Memory' => "Недостатньо пам`яті",
+ 'max_size_reached' => "Ваша тека досягла максимального ліміту у %d Мб.", //%d = max overall size
+ 'B' => "Б",
+ 'KB' => "Кб",
+ 'MB' => "Мб",
+ 'GB' => "Гб",
+ 'TB' => "Тб",
+ 'total size' => "Загальний розмір",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/lang/vi.php b/admincp.php/assets/tinymce/filemanager/lang/vi.php
new file mode 100644
index 0000000..19176ad
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/vi.php
@@ -0,0 +1,145 @@
+ 'Chọn',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => 'Xóa',
+ 'Open' => 'Mở',
+ 'Confirm_del' => 'Bạn có chắc chắn muốn xóa file này không?',
+ 'All' => 'Tất cả',
+ 'Files' => 'File',
+ 'Images' => 'Images',
+ 'Archives' => 'Archives',
+ 'Error_Upload' => 'File được upload vượt quá dung lượng cho phép.',
+ 'Error_extension' => 'Định dạng file không được chấp nhận.',
+ 'Upload_file' => 'Upload',
+ 'Filters' => 'Lọc',
+ 'Videos' => 'Videos',
+ 'Music' => 'Music',
+ 'New_Folder' => 'Tạo thư mục',
+ 'Folder_Created' => 'Thư mục đã được tạo',
+ 'Existing_Folder' => 'Thư mục đã tồn tại',
+ 'Confirm_Folder_del' => 'Bạn có chắc chắn muốn xóa Thư mục này cùng với mọi thứ bên trong?',
+ 'Return_Files_List' => 'Quay lại danh sách file',
+ 'Preview' => 'Preview',
+ 'Download' => 'Download',
+ 'Insert_Folder_Name' => 'Nhập tên thư mục:',
+ 'Root' => 'root',
+ 'Rename' => 'Đổi tên',
+ 'Back' => 'back',
+ 'View' => 'Xem',
+ 'View_list' => 'Xem dạng danh sách',
+ 'View_columns_list' => 'Xem dạng cột',
+ 'View_boxes' => 'Xem dạng lưới',
+ 'Toolbar' => 'Thanh công cụ',
+ 'Actions' => 'Actions',
+ 'Rename_existing_file' => 'File này đã tồn tại',
+ 'Rename_existing_folder' => 'Thư mục này đã tồn tại',
+ 'Empty_name' => 'Tên để trống',
+ 'Text_filter' => 'Lọc theo tên',
+ 'Swipe_help' => 'Swipe the name of file/folder to show options',
+ 'Upload_base' => 'Upload thông thường',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'dir',
+ 'Type' => 'Loại File',
+ 'Dimension' => 'Kích thước',
+ 'Size' => 'Size',
+ 'Date' => 'Ngày tạo',
+ 'Filename' => 'Tên File',
+ 'Operations' => 'Tùy chọn',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'OK',
+ 'Cancel' => 'Hủy',
+ 'Sorting' => 'sorting',
+ 'Show_url' => 'Xem URL',
+ 'Extract' => 'Giải nén tại đây',
+ 'File_info' => 'Thông tin file',
+ 'Edit_image' => 'Sửa image',
+ 'Duplicate' => 'Nhân bản',
+ 'Folders' => 'Thư mục',
+ 'Copy' => 'Copy',
+ 'Cut' => 'Cut',
+ 'Paste' => 'Paste',
+ 'CB' => 'CB', // clipboard
+ 'Paste_Here' => 'Paste vào thư mục này',
+ 'Paste_Confirm' => 'Bạn có chắc chắn muốn Paste vào thư mục này? Việc này sẽ ghe đè lên cáo file/folder cũ nếu có.',
+ 'Paste_Failed' => 'Lỗi khi paste file',
+ 'Clear_Clipboard' => 'Xóa clipboard',
+ 'Clear_Clipboard_Confirm' => 'Bạn có chắc chắn muốn xóa clipboard?',
+ 'Files_ON_Clipboard' => 'Danh sách file trong clipboard.',
+ 'Copy_Cut_Size_Limit' => 'File/folder được chọn quá lớn để %s. Giới hạn: %d MB/thao tác', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => 'Bạn đã chọn quá nhiều file/folder để %s. Giới hạn: %d files/thao tác', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => 'Bạn không được phép để %s file.', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => 'Không thể lưu image',
+ 'Zip_No_Extract' => 'Không thể giải nén. File có thể bị lỗi.',
+ 'Zip_Invalid' => 'Định dạng này không được hỗ trợ. Chấp nhận: zip, gz, tar.',
+ 'Dir_No_Write' => 'Thư mục bạn chọn không cho phép ghi dữ liệu vào.',
+ 'Function_Disabled' => 'Chức năng %s đã bị Tắt bơi server.', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Đổi permissions của %s không được chấp nhận.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "Các permission bạn chọn không chính xác.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Không tìm thấy ngôn ngữ.',
+ 'Lang_Change' => 'Đổi ngôn ngữ',
+ 'File_Not_Found' => 'Không tìm thấy file.',
+ 'File_Open_Edit_Not_Allowed' => 'Bạn không được phép để %s file này.', // %s = open or edit
+ 'Edit' => 'Sửa',
+ 'Edit_File' => "Sửa nội dung file",
+ 'File_Save_OK' => "File được lưu thành công.",
+ 'File_Save_Error' => "Đã có lỗi khi lưu file.",
+ 'New_File' => 'Tạo File mới',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Extension được chấp nhận: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/filemanager/lang/zh_CN.php b/admincp.php/assets/tinymce/filemanager/lang/zh_CN.php
new file mode 100644
index 0000000..1d8609f
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/lang/zh_CN.php
@@ -0,0 +1,145 @@
+ '选择',
+ 'Deselect_All' => 'Deselect All',
+ 'Select_All' => 'Select All',
+ 'Erase' => '删除',
+ 'Open' => '打开',
+ 'Confirm_del' => '确定删除此文件?',
+ 'All' => '所有',
+ 'Files' => '文件',
+ 'Images' => '图片',
+ 'Archives' => '存档',
+ 'Error_Upload' => '上传的文件超过了允许的最大尺寸',
+ 'Error_extension' => '此类文件不被支持',
+ 'Upload_file' => '上传',
+ 'Filters' => '过滤',
+ 'Videos' => '视频',
+ 'Music' => '音乐',
+ 'New_Folder' => '新文件夹',
+ 'Folder_Created' => '文件夹创建成功',
+ 'Existing_Folder' => '文件夹已经存在',
+ 'Confirm_Folder_del' => '确定删除此文件夹和里面的所有文件?',
+ 'Return_Files_List' => '返回文件列表',
+ 'Preview' => '预览',
+ 'Download' => '下载',
+ 'Insert_Folder_Name' => '填写文件夹名称:',
+ 'Root' => 'root',
+ 'Rename' => '改名',
+ 'Back' => '返回',
+ 'View' => '视图',
+ 'View_list' => '列表视图',
+ 'View_columns_list' => '列视图',
+ 'View_boxes' => '方块视图',
+ 'Toolbar' => '工具栏',
+ 'Actions' => '操作',
+ 'Rename_existing_file' => '文件已存在',
+ 'Rename_existing_folder' => '文件夹已存在',
+ 'Empty_name' => '请输入文件名',
+ 'Text_filter' => '文字过滤',
+ 'Swipe_help' => '在文件或文件夹的名称上划过已显示更多选项',
+ 'Upload_base' => '普通上传',
+ 'Upload_base_help' => "Drag & Drop files(modern browsers) or click in upper button to Add the file(s) and click on Start upload. When the upload is complete, click the 'Return to files list' button.",
+ 'Upload_add_files' => 'Add file(s)',
+ 'Upload_start' => 'Start upload',
+ 'Upload_error_messages' =>array(
+ 1 => 'The uploaded file exceeds the upload_max_filesize directive in php.ini',
+ 2 => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form',
+ 3 => 'The uploaded file was only partially uploaded',
+ 4 => 'No file was uploaded',
+ 6 => 'Missing a temporary folder',
+ 7 => 'Failed to write file to disk',
+ 8 => 'A PHP extension stopped the file upload',
+ 'post_max_size' => 'The uploaded file exceeds the post_max_size directive in php.ini',
+ 'max_file_size' => 'File is too big',
+ 'min_file_size' => 'File is too small',
+ 'accept_file_types' => 'Filetype not allowed',
+ 'max_number_of_files' => 'Maximum number of files exceeded',
+ 'max_width' => 'Image exceeds maximum width',
+ 'min_width' => 'Image requires a minimum width',
+ 'max_height' => 'Image exceeds maximum height',
+ 'min_height' => 'Image requires a minimum height',
+ 'abort' => 'File upload aborted',
+ 'image_resize' => 'Failed to resize image'
+ ),
+ 'Upload_url' => 'From url',
+ 'Type_dir' => 'dir',
+ 'Type' => '类型',
+ 'Dimension' => '尺寸',
+ 'Size' => '大小',
+ 'Date' => '日期',
+ 'Filename' => '文件名',
+ 'Operations' => '操作',
+ 'Date_type' => 'y-m-d',
+ 'OK' => 'OK',
+ 'Cancel' => '取消',
+ 'Sorting' => '排序',
+ 'Show_url' => '显示URL',
+ 'Extract' => '解压缩到这里',
+ 'File_info' => '文件信息',
+ 'Edit_image' => '编辑图片',
+ 'Duplicate' => '复制',
+ 'Folders' => '文件夹',
+ 'Copy' => '拷贝',
+ 'Cut' => '剪切',
+ 'Paste' => '粘贴',
+ 'CB' => '粘贴板', // clipboard
+ 'Paste_Here' => '粘贴到这个目录',
+ 'Paste_Confirm' => '确定粘贴到这个目录? 这有可能会覆盖已经存在的文件或文件夹',
+ 'Paste_Failed' => '文件粘贴失败',
+ 'Clear_Clipboard' => '清除粘贴板',
+ 'Clear_Clipboard_Confirm' => '确定清除粘贴板?',
+ 'Files_ON_Clipboard' => '粘贴板上还有文件存在',
+ 'Copy_Cut_Size_Limit' => '无法 %s 选择的文件,选择的文件太大,超过了允许的大小: %d MB', // %s = cut or copy
+ 'Copy_Cut_Count_Limit' => '无法 %s 选择的文件,您选择的文件和文件夹数目超过限制: %d 个文件', // %s = cut or copy
+ 'Copy_Cut_Not_Allowed' => ' 您没有权限 %s 文件', // %s(1) = cut or copy, %s(2) = files or folders
+ 'Aviary_No_Save' => '无法保存图片',
+ 'Zip_No_Extract' => '文件解压缩失败。文件可能已经损坏',
+ 'Zip_Invalid' => '不支持此文件后缀,支持的后缀名: zip, gz, tar.',
+ 'Dir_No_Write' => '您选择的目录没有写权限',
+ 'Function_Disabled' => '%s 功能已经被服务器禁用。', // %s = cut or copy
+ 'File_Permission' => 'File permission',
+ 'File_Permission_Not_Allowed' => 'Changing %s permissions are not allowed.', // %s = files or folders
+ 'File_Permission_Recursive' => 'Apply recursively?',
+ 'File_Permission_Wrong_Mode' => "The supplied permission mode is incorrect.",
+ 'User' => 'User',
+ 'Group' => 'Group',
+ 'Yes' => 'Yes',
+ 'No' => 'No',
+ 'Lang_Not_Found' => 'Could not find language.',
+ 'Lang_Change' => 'Change the language',
+ 'File_Not_Found' => 'Could not find the file.',
+ 'File_Open_Edit_Not_Allowed' => 'You are not allowed to %s this file.', // %s = open or edit
+ 'Edit' => 'Edit',
+ 'Edit_File' => "Edit file's content",
+ 'File_Save_OK' => "File successfully saved.",
+ 'File_Save_Error' => "There was an error while saving the file.",
+ 'New_File' => 'New File',
+ 'No_Extension' => 'You have to add a file extension.',
+ 'Valid_Extensions' => 'Valid extensions: %s', // %s = txt,log etc.
+ 'Upload_message' => "Drop file here to upload",
+
+ 'SERVER ERROR' => "SERVER ERROR",
+ 'forbiden' => "Forbiden",
+ 'wrong path' => "Wrong path",
+ 'wrong name' => "Wrong name",
+ 'wrong extension' => "Wrong extension",
+ 'wrong option' => "Wrong option",
+ 'wrong data' => "Wrong data",
+ 'wrong action' => "Wrong action",
+ 'wrong sub-action' => "Wrong sub-actio",
+ 'no action passed' => "No action passed",
+ 'no path' => "No path",
+ 'no file' => "No file",
+ 'view type number missing' => "View type number missing",
+ 'Not enough Memory' => "Not enough Memory",
+ 'max_size_reached' => "Your image folder has reach its maximale size of %d MB.", //%d = max overall size
+ 'B' => "B",
+ 'KB' => "KB",
+ 'MB' => "MB",
+ 'GB' => "GB",
+ 'TB' => "TB",
+ 'total size' => "Total size",
+);
diff --git a/admincp.php/assets/tinymce/filemanager/plugin.min.js b/admincp.php/assets/tinymce/filemanager/plugin.min.js
new file mode 100644
index 0000000..0537cfd
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/plugin.min.js
@@ -0,0 +1,99 @@
+/**
+ * plugin.js
+ *
+ * Copyright, Alberto Peripolli
+ * Released under Creative Commons Attribution-NonCommercial 3.0 Unported License.
+ *
+ * Contributing: https://github.com/trippo/ResponsiveFilemanager
+ */
+
+tinymce.PluginManager.add('filemanager', function(editor) {
+
+ editor.settings.file_browser_callback = filemanager;
+
+ function filemanager_onMessage(event){
+ if(editor.settings.external_filemanager_path.toLowerCase().indexOf(event.origin.toLowerCase()) === 0){
+ if(event.data.sender === 'responsivefilemanager'){
+ tinymce.activeEditor.windowManager.getParams().setUrl(event.data.url);
+ tinymce.activeEditor.windowManager.close();
+
+ // Remove event listener for a message from ResponsiveFilemanager
+ if(window.removeEventListener){
+ window.removeEventListener('message', filemanager_onMessage, false);
+ } else {
+ window.detachEvent('onmessage', filemanager_onMessage);
+ }
+ }
+ }
+ }
+
+ function filemanager (id, value, type, win) {
+ var width = window.innerWidth-30;
+ var height = window.innerHeight-60;
+ if(width > 1800) width=1800;
+ if(height > 1200) height=1200;
+ if(width>600){
+ var width_reduce = (width - 20) % 138;
+ width = width - width_reduce + 10;
+ }
+
+ // DEFAULT AS FILE
+ urltype=2;
+ if (type=='image') { urltype=1; }
+ if (type=='media') { urltype=3; }
+ var title="RESPONSIVE FileManager";
+ if (typeof editor.settings.filemanager_title !== "undefined" && editor.settings.filemanager_title) {
+ title=editor.settings.filemanager_title;
+ }
+ var akey="key";
+ if (typeof editor.settings.filemanager_access_key !== "undefined" && editor.settings.filemanager_access_key) {
+ akey=editor.settings.filemanager_access_key;
+ }
+ var sort_by="";
+ if (typeof editor.settings.filemanager_sort_by !== "undefined" && editor.settings.filemanager_sort_by) {
+ sort_by="&sort_by="+editor.settings.filemanager_sort_by;
+ }
+ var descending=0;
+ if (typeof editor.settings.filemanager_descending !== "undefined" && editor.settings.filemanager_descending) {
+ descending=editor.settings.filemanager_descending;
+ }
+ var fldr="";
+ if (typeof editor.settings.filemanager_subfolder !== "undefined" && editor.settings.filemanager_subfolder) {
+ fldr="&fldr="+editor.settings.filemanager_subfolder;
+ }
+ var crossdomain="";
+ if (typeof editor.settings.filemanager_crossdomain !== "undefined" && editor.settings.filemanager_crossdomain) {
+ crossdomain="&crossdomain=1";
+
+ // Add handler for a message from ResponsiveFilemanager
+ if(window.addEventListener){
+ window.addEventListener('message', filemanager_onMessage, false);
+ } else {
+ window.attachEvent('onmessage', filemanager_onMessage);
+ }
+ }
+
+ tinymce.activeEditor.windowManager.open({
+ title: title,
+ file: editor.settings.external_filemanager_path+'dialog.php?type='+urltype+'&descending='+descending+sort_by+fldr+crossdomain+'&lang='+editor.settings.language+'&akey='+akey,
+ width: width,
+ height: height,
+ resizable: true,
+ maximizable: true,
+ inline: 1
+ }, {
+ setUrl: function (url) {
+ var fieldElm = win.document.getElementById(id);
+ fieldElm.value = editor.convertURL(url);
+ if ("createEvent" in document) {
+ var evt = document.createEvent("HTMLEvents");
+ evt.initEvent("change", false, true);
+ fieldElm.dispatchEvent(evt)
+ } else {
+ fieldElm.fireEvent("onchange")
+ }
+ }
+ });
+ };
+ return false;
+});
diff --git a/admincp.php/assets/tinymce/filemanager/upload.php b/admincp.php/assets/tinymce/filemanager/upload.php
new file mode 100644
index 0000000..5ff82ad
--- /dev/null
+++ b/admincp.php/assets/tinymce/filemanager/upload.php
@@ -0,0 +1,188 @@
+send();
+ exit;
+ }
+
+ include 'include/mime_type_lib.php';
+
+ $ftp = ftp_con($config);
+
+ if ($ftp) {
+ $source_base = $config['ftp_base_folder'] . $config['upload_dir'];
+ $thumb_base = $config['ftp_base_folder'] . $config['ftp_thumbs_dir'];
+ } else {
+ $source_base = $config['current_path'];
+ $thumb_base = $config['thumbs_base_path'];
+ }
+
+ if (isset($_POST["fldr"])) {
+ $_POST['fldr'] = str_replace('undefined', '', $_POST['fldr']);
+ $storeFolder = $source_base . $_POST["fldr"];
+ $storeFolderThumb = $thumb_base . $_POST["fldr"];
+ } else {
+ return;
+ }
+
+ $fldr = rawurldecode(trim(strip_tags($_POST['fldr']), "/") . "/");
+
+ if (!checkRelativePath($fldr)) {
+ response(trans('wrong path').AddErrorLocation())->send();
+ exit;
+ }
+
+ $path = $storeFolder;
+ $cycle = true;
+ $max_cycles = 50;
+ $i = 0;
+ //GET config
+ while ($cycle && $i < $max_cycles) {
+ $i++;
+ if ($path == $config['current_path']) {
+ $cycle = false;
+ }
+ if (file_exists($path . "config.php")) {
+ $configTemp = include $path . 'config.php';
+ $config = array_merge($config, $configTemp);
+ //TODO switch to array
+ $cycle = false;
+ }
+ $path = fix_dirname($path) . '/';
+ }
+
+ require('UploadHandler.php');
+ $messages = null;
+ if (trans("Upload_error_messages") !== "Upload_error_messages") {
+ $messages = trans("Upload_error_messages");
+ }
+
+ // make sure the length is limited to avoid DOS attacks
+ if (isset($_POST['url']) && strlen($_POST['url']) < 2000) {
+ $url = $_POST['url'];
+ $urlPattern = '/^(https?:\/\/)?([\da-z\.-]+\.[a-z\.]{2,6}|[\d\.]+)([\/?=]{1}[\da-z\.-]+)*[\/\?]?$/i';
+
+ if (preg_match($urlPattern, $url)) {
+ $temp = tempnam('/tmp', 'RF');
+
+ $ch = curl_init($url);
+ $fp = fopen($temp, 'wb');
+ curl_setopt($ch, CURLOPT_FILE, $fp);
+ curl_setopt($ch, CURLOPT_HEADER, 0);
+ curl_exec($ch);
+ if (curl_errno($ch)) {
+ curl_close($ch);
+ throw new Exception('Invalid URL');
+ }
+ curl_close($ch);
+ fclose($fp);
+
+ $_FILES['files'] = array(
+ 'name' => array(basename($_POST['url'])),
+ 'tmp_name' => array($temp),
+ 'size' => array(filesize($temp)),
+ 'type' => null
+ );
+ } else {
+ throw new Exception('Is not a valid URL.');
+ }
+ }
+
+
+ if ($config['mime_extension_rename']) {
+ $info = pathinfo($_FILES['files']['name'][0]);
+ $mime_type = $_FILES['files']['type'][0];
+ if (function_exists('mime_content_type')) {
+ $mime_type = mime_content_type($_FILES['files']['tmp_name'][0]);
+ } elseif (function_exists('finfo_open')) {
+ $finfo = finfo_open(FILEINFO_MIME_TYPE);
+ $mime_type = finfo_file($finfo, $_FILES['files']['tmp_name'][0]);
+ } else {
+ $mime_type = get_file_mime_type($_FILES['files']['tmp_name'][0]);
+ }
+ $extension = get_extension_from_mime($mime_type);
+
+ if ($extension == 'so' || $extension == '' || $mime_type == "text/troff") {
+ $extension = $info['extension'];
+ }
+ $filename = $info['filename'] . "." . $extension;
+ } else {
+ $filename = $_FILES['files']['name'][0];
+ }
+ $_FILES['files']['name'][0] = fix_filename($filename, $config);
+
+
+
+ // LowerCase
+ if ($config['lower_case']) {
+ $_FILES['files']['name'][0] = fix_strtolower($_FILES['files']['name'][0]);
+ }
+ if (!checkresultingsize($_FILES['files']['size'][0])) {
+ if ( !isset($upload_handler->response['files'][0]) ) {
+ // Avoid " Warning: Creating default object from empty value ... "
+ $upload_handler->response['files'][0] = new stdClass();
+ }
+ $upload_handler->response['files'][0]->error = sprintf(trans('max_size_reached'), $config['MaxSizeTotal']) . AddErrorLocation();
+ echo json_encode($upload_handler->response);
+ exit();
+ }
+
+ $uploadConfig = array(
+ 'config' => $config,
+ 'storeFolder' => $storeFolder,
+ 'storeFolderThumb' => $storeFolderThumb,
+ 'ftp' => $ftp,
+ 'upload_dir' => dirname($_SERVER['SCRIPT_FILENAME']) . '/' . $storeFolder,
+ 'upload_url' => $config['base_url'] . $config['upload_dir'] . $_POST['fldr'],
+ 'mkdir_mode' => $config['folderPermission'],
+ 'max_file_size' => $config['MaxSizeUpload'] * 1024 * 1024,
+ 'correct_image_extensions' => true,
+ 'print_response' => false
+ );
+ if (!$config['ext_blacklist']) {
+ $uploadConfig['accept_file_types'] = '/\.(' . implode('|', $config['ext']) . ')$/i';
+ if($config['files_without_extension']){
+ $uploadConfig['accept_file_types'] = '/((\.(' . implode('|', $config['ext']) . ')$)|(^[^.]+$))$/i';
+ }
+ } else {
+ $uploadConfig['accept_file_types'] = '/\.(' . implode('|', $config['ext_blacklist']) . ')$/i'; // '/\.(?!' . implode('|', $config['ext_blacklist']) . '$)/i';
+ if($config['files_without_extension']){
+ $uploadConfig['accept_file_types'] = '/((\.(?!' . implode('|', $config['ext_blacklist']) . '$))|(^[^.]+$))/i';
+ }
+ }
+
+ if ($ftp) {
+ if (!is_dir($config['ftp_temp_folder'])) {
+ mkdir($config['ftp_temp_folder'], $config['folderPermission'], true);
+ }
+ if (!is_dir($config['ftp_temp_folder'] . "thumbs")) {
+ mkdir($config['ftp_temp_folder'] . "thumbs", $config['folderPermission'], true);
+ }
+ $uploadConfig['upload_dir'] = $config['ftp_temp_folder'];
+ }
+
+ $upload_handler = new UploadHandler($uploadConfig, true, $messages);
+} catch (Exception $e) {
+ $return = array();
+ if ($_FILES['files']) {
+ foreach ($_FILES['files']['name'] as $i => $name) {
+ $return[] = array(
+ 'name' => $name,
+ 'error' => $e->getMessage(),
+ 'size' => $_FILES['files']['size'][$i],
+ 'type' => $_FILES['files']['type'][$i]
+ );
+ }
+
+ echo json_encode(array("files" => $return));
+ return;
+ }
+
+ echo json_encode(array("error" =>$e->getMessage()));
+}
diff --git a/admincp.php/assets/tinymce/index.html b/admincp.php/assets/tinymce/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+
Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/index.php b/admincp.php/assets/tinymce/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/jquery.tinymce.min.js b/admincp.php/assets/tinymce/jquery.tinymce.min.js
new file mode 100644
index 0000000..651f1e0
--- /dev/null
+++ b/admincp.php/assets/tinymce/jquery.tinymce.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i
0&&(c=i().get(d[0].id)))return c.getContent()}function d(a){var b=null;return a&&a.id&&g.tinymce&&(b=i().get(a.id)),b}function e(a){return!!(a&&a.length&&g.tinymce&&a.is(":tinymce"))}var h={};f.each(["text","html","val"],function(a,g){var i=h[g]=f.fn[g],j="text"===g;f.fn[g]=function(a){var g=this;if(!e(g))return i.apply(g,arguments);if(a!==c)return b.call(g.filter(":tinymce"),a),i.apply(g.not(":tinymce"),arguments),g;var h="",k=arguments;return(j?g:g.eq(0)).each(function(a,b){var c=d(b);h+=c?j?c.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):c.getContent({save:!0}):i.apply(f(b),k)}),h}}),f.each(["append","prepend"],function(a,b){var g=h[b]=f.fn[b],i="prepend"===b;f.fn[b]=function(a){var b=this;return e(b)?a!==c?("string"==typeof a&&b.filter(":tinymce").each(function(b,c){var e=d(c);e&&e.setContent(i?a+e.getContent():e.getContent()+a)}),g.apply(b.not(":tinymce"),arguments),b):void 0:g.apply(b,arguments)}}),f.each(["remove","replaceWith","replaceAll","empty"],function(b,c){var d=h[c]=f.fn[c];f.fn[c]=function(){return a.call(this,c),d.apply(this,arguments)}}),h.attr=f.fn.attr,f.fn.attr=function(a,g){var i=this,j=arguments;if(!a||"value"!==a||!e(i))return g!==c?h.attr.apply(i,j):h.attr.apply(i,j);if(g!==c)return b.call(i.filter(":tinymce"),g),h.attr.apply(i.not(":tinymce"),j),i;var k=i[0],l=d(k);return l?l.getContent({save:!0}):h.attr.apply(f(k),j)}}var c,d,e,f,g,h=[];g=a?a:window,f=g.jQuery;var i=function(){return g.tinymce};f.fn.tinymce=function(a){function c(){var c=[],d=0;e||(b(),e=!0),m.each(function(b,e){var f,g=e.id,h=a.oninit;g||(e.id=g=i().DOM.uniqueId()),i().get(g)||(f=i().createEditor(g,a),c.push(f),f.on("init",function(){var a,b=h;m.css("visibility",""),h&&++d==c.length&&("string"==typeof b&&(a=b.indexOf(".")===-1?null:i().resolve(b.replace(/\.\w+$/,"")),b=i().resolve(b)),b.apply(a||i(),c))}))}),f.each(c,function(a,b){b.render()})}var j,k,l,m=this,n="";if(!m.length)return m;if(!a)return i()?i().get(m[0].id):null;if(m.css("visibility","hidden"),g.tinymce||d||!(j=a.script_url))1===d?h.push(c):c();else{d=1,k=j.substring(0,j.lastIndexOf("/")),j.indexOf(".min")!=-1&&(n=".min"),g.tinymce=g.tinyMCEPreInit||{base:k,suffix:n},j.indexOf("gzip")!=-1&&(l=a.language||"en",j=j+(/\?/.test(j)?"&":"?")+"js=true&core=true&suffix="+escape(n)+"&themes="+escape(a.theme||"modern")+"&plugins="+escape(a.plugins||"")+"&languages="+(l||""),g.tinyMCE_GZ||(g.tinyMCE_GZ={start:function(){function b(a){i().ScriptLoader.markDone(i().baseURI.toAbsolute(a))}b("langs/"+l+".js"),b("themes/"+a.theme+"/theme"+n+".js"),b("themes/"+a.theme+"/langs/"+l+".js"),f.each(a.plugins.split(","),function(a,c){c&&(b("plugins/"+c+"/plugin"+n+".js"),b("plugins/"+c+"/langs/"+l+".js"))})},end:function(){}}));var o=document.createElement("script");o.type="text/javascript",o.onload=o.onreadystatechange=function(b){b=b||window.event,2===d||"load"!=b.type&&!/complete|loaded/.test(o.readyState)||(i().dom.Event.domLoaded=1,d=2,a.script_loaded&&a.script_loaded(),c(),f.each(h,function(a,b){b()}))},o.src=j,document.body.appendChild(o)}return m},f.extend(f.expr[":"],{tinymce:function(a){var b;return!!(a.id&&"tinymce"in g&&(b=i().get(a.id),b&&b.editorManager===i()))}})}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/langs/index.html b/admincp.php/assets/tinymce/langs/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/langs/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/langs/index.php b/admincp.php/assets/tinymce/langs/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/langs/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/langs/readme.md b/admincp.php/assets/tinymce/langs/readme.md
new file mode 100644
index 0000000..a52bf03
--- /dev/null
+++ b/admincp.php/assets/tinymce/langs/readme.md
@@ -0,0 +1,3 @@
+This is where language files should be placed.
+
+Please DO NOT translate these directly use this service: https://www.transifex.com/projects/p/tinymce/
diff --git a/admincp.php/assets/tinymce/langs/ru.js b/admincp.php/assets/tinymce/langs/ru.js
new file mode 100644
index 0000000..1fccfdb
--- /dev/null
+++ b/admincp.php/assets/tinymce/langs/ru.js
@@ -0,0 +1,230 @@
+tinymce.addI18n('ru',{
+"Cut": "\u0412\u044b\u0440\u0435\u0437\u0430\u0442\u044c",
+"Heading 5": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 5",
+"Header 2": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 2",
+"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "\u0412\u0430\u0448 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u044f\u043c\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0431\u0443\u0444\u0435\u0440\u0443 \u043e\u0431\u043c\u0435\u043d\u0430. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f \u043a\u043b\u0430\u0432\u0438\u0448: Ctrl+X\/C\/V.",
+"Heading 4": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 4",
+"Div": "\u0411\u043b\u043e\u043a",
+"Heading 2": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 2",
+"Paste": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c",
+"Close": "\u0417\u0430\u043a\u0440\u044b\u0442\u044c",
+"Font Family": "\u0428\u0440\u0438\u0444\u0442",
+"Pre": "\u041f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435",
+"Align right": "\u041f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e",
+"New document": "\u041d\u043e\u0432\u044b\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442",
+"Blockquote": "\u0426\u0438\u0442\u0430\u0442\u0430",
+"Numbered list": "\u041d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a",
+"Heading 1": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 1",
+"Headings": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438",
+"Increase indent": "\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f",
+"Formats": "\u0424\u043e\u0440\u043c\u0430\u0442",
+"Headers": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0438",
+"Select all": "\u0412\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435",
+"Header 3": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 3",
+"Blocks": "\u0411\u043b\u043e\u043a\u0438",
+"Undo": "\u0412\u0435\u0440\u043d\u0443\u0442\u044c",
+"Strikethrough": "\u0417\u0430\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b\u0439",
+"Bullet list": "\u041c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a",
+"Header 1": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 1",
+"Superscript": "\u0412\u0435\u0440\u0445\u043d\u0438\u0439 \u0438\u043d\u0434\u0435\u043a\u0441",
+"Clear formatting": "\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u0444\u043e\u0440\u043c\u0430\u0442",
+"Font Sizes": "\u0420\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430",
+"Subscript": "\u041d\u0438\u0436\u043d\u0438\u0439 \u0438\u043d\u0434\u0435\u043a\u0441",
+"Header 6": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 6",
+"Redo": "\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c",
+"Paragraph": "\u041f\u0430\u0440\u0430\u0433\u0440\u0430\u0444",
+"Ok": "\u041e\u043a",
+"Bold": "\u041f\u043e\u043b\u0443\u0436\u0438\u0440\u043d\u044b\u0439",
+"Code": "\u041a\u043e\u0434",
+"Italic": "\u041a\u0443\u0440\u0441\u0438\u0432",
+"Align center": "\u041f\u043e \u0446\u0435\u043d\u0442\u0440\u0443",
+"Header 5": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 5",
+"Heading 6": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 6",
+"Heading 3": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 3",
+"Decrease indent": "\u0423\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u043e\u0442\u0441\u0442\u0443\u043f",
+"Header 4": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 4",
+"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "\u0412\u0441\u0442\u0430\u0432\u043a\u0430 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430, \u043f\u043e\u043a\u0430 \u043d\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u043e\u043f\u0446\u0438\u044e.",
+"Underline": "\u041f\u043e\u0434\u0447\u0435\u0440\u043a\u043d\u0443\u0442\u044b\u0439",
+"Cancel": "\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c",
+"Justify": "\u041f\u043e \u0448\u0438\u0440\u0438\u043d\u0435",
+"Inline": "\u0421\u0442\u0440\u043e\u0447\u043d\u044b\u0435",
+"Copy": "\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c",
+"Align left": "\u041f\u043e \u043b\u0435\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e",
+"Visual aids": "\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0442\u0443\u0440\u044b",
+"Lower Greek": "\u0421\u0442\u0440\u043e\u0447\u043d\u044b\u0435 \u0433\u0440\u0435\u0447\u0435\u0441\u043a\u0438\u0435 \u0431\u0443\u043a\u0432\u044b",
+"Square": "\u041a\u0432\u0430\u0434\u0440\u0430\u0442\u044b",
+"Default": "\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439",
+"Lower Alpha": "\u0421\u0442\u0440\u043e\u0447\u043d\u044b\u0435 \u043b\u0430\u0442\u0438\u043d\u0441\u043a\u0438\u0435 \u0431\u0443\u043a\u0432\u044b",
+"Circle": "\u041e\u043a\u0440\u0443\u0436\u043d\u043e\u0441\u0442\u0438",
+"Disc": "\u041a\u0440\u0443\u0433\u0438",
+"Upper Alpha": "\u0417\u0430\u0433\u043b\u0430\u0432\u043d\u044b\u0435 \u043b\u0430\u0442\u0438\u043d\u0441\u043a\u0438\u0435 \u0431\u0443\u043a\u0432\u044b",
+"Upper Roman": "\u0417\u0430\u0433\u043b\u0430\u0432\u043d\u044b\u0435 \u0440\u0438\u043c\u0441\u043a\u0438\u0435 \u0446\u0438\u0444\u0440\u044b",
+"Lower Roman": "\u0421\u0442\u0440\u043e\u0447\u043d\u044b\u0435 \u0440\u0438\u043c\u0441\u043a\u0438\u0435 \u0446\u0438\u0444\u0440\u044b",
+"Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "Id \u0434\u043e\u043b\u0436\u0435\u043d \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c\u0441\u044f \u0441 \u0431\u0443\u043a\u0432\u044b, \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0431\u0443\u043a\u0432\u044b, \u0446\u0438\u0444\u0440\u044b, \u0442\u0438\u0440\u0435, \u0442\u043e\u0447\u043a\u0438, \u0434\u0432\u043e\u0435\u0442\u043e\u0447\u0438\u044f \u0438\u043b\u0438 \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u044f.",
+"Name": "\u0418\u043c\u044f",
+"Anchor": "\u042f\u043a\u043e\u0440\u044c",
+"Id": "Id",
+"You have unsaved changes are you sure you want to navigate away?": "\u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f. \u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0439\u0442\u0438?",
+"Restore last draft": "\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430",
+"Special character": "\u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b",
+"Source code": "\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434",
+"Language": "\u042f\u0437\u044b\u043a",
+"Insert\/Edit code sample": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c\/\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430",
+"B": "B",
+"R": "R",
+"G": "G",
+"Color": "\u0426\u0432\u0435\u0442",
+"Right to left": "\u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043f\u0440\u0430\u0432\u0430 \u043d\u0430\u043b\u0435\u0432\u043e",
+"Left to right": "\u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043b\u0435\u0432\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u043e",
+"Emoticons": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u043c\u0430\u0439\u043b",
+"Robots": "\u0420\u043e\u0431\u043e\u0442\u044b",
+"Document properties": "\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430",
+"Title": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a",
+"Keywords": "\u041a\u043b\u044e\u0447\u0438\u0432\u044b\u0435 \u0441\u043b\u043e\u0432\u0430",
+"Encoding": "\u041a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430",
+"Description": "\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435",
+"Author": "\u0410\u0432\u0442\u043e\u0440",
+"Fullscreen": "\u041f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c",
+"Horizontal line": "\u0413\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u0430\u044f \u043b\u0438\u043d\u0438\u044f",
+"Horizontal space": "\u0413\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b",
+"Insert\/edit image": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c\/\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435",
+"General": "\u041e\u0431\u0449\u0435\u0435",
+"Advanced": "\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u044b\u0435",
+"Source": "\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a",
+"Border": "\u0420\u0430\u043c\u043a\u0430",
+"Constrain proportions": "\u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u0438",
+"Vertical space": "\u0412\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b",
+"Image description": "\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f",
+"Style": "\u0421\u0442\u0438\u043b\u044c",
+"Dimensions": "\u0420\u0430\u0437\u043c\u0435\u0440",
+"Insert image": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435",
+"Image": "\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f",
+"Zoom in": "\u041f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u044c",
+"Contrast": "\u041a\u043e\u043d\u0442\u0440\u0430\u0441\u0442",
+"Back": "\u041d\u0430\u0437\u0430\u0434",
+"Gamma": "\u0413\u0430\u043c\u043c\u0430",
+"Flip horizontally": "\u041e\u0442\u0440\u0430\u0437\u0438\u0442\u044c \u043f\u043e \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u0438",
+"Resize": "\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440",
+"Sharpen": "\u0427\u0435\u0442\u043a\u043e\u0441\u0442\u044c",
+"Zoom out": "\u041e\u0442\u0434\u0430\u043b\u0438\u0442\u044c",
+"Image options": "\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f",
+"Apply": "\u041f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c",
+"Brightness": "\u042f\u0440\u043a\u043e\u0441\u0442\u044c",
+"Rotate clockwise": "\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043f\u043e \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0435\u043b\u043a\u0435",
+"Rotate counterclockwise": "\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043f\u0440\u043e\u0442\u0438\u0432 \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0435\u043b\u043a\u0438",
+"Edit image": "\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435",
+"Color levels": "\u0426\u0432\u0435\u0442\u043e\u0432\u044b\u0435 \u0443\u0440\u043e\u0432\u043d\u0438",
+"Crop": "\u041e\u0431\u0440\u0435\u0437\u0430\u0442\u044c",
+"Orientation": "\u041e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u044f",
+"Flip vertically": "\u041e\u0442\u0440\u0430\u0437\u0438\u0442\u044c \u043f\u043e \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u0438",
+"Invert": "\u0418\u043d\u0432\u0435\u0440\u0441\u0438\u044f",
+"Date\/time": "\u0414\u0430\u0442\u0430\/\u0432\u0440\u0435\u043c\u044f",
+"Insert date\/time": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0434\u0430\u0442\u0443\/\u0432\u0440\u0435\u043c\u044f",
+"Remove link": "\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443",
+"Url": "\u0410\u0434\u0440\u0435\u0441 \u0441\u0441\u044b\u043b\u043a\u0438",
+"Text to display": "\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u044b\u0439 \u0442\u0435\u043a\u0441\u0442",
+"Anchors": "\u042f\u043a\u043e\u0440\u044f",
+"Insert link": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443",
+"Link": "\u0421\u0441\u044b\u043b\u043a\u0430",
+"New window": "\u0412 \u043d\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435",
+"None": "\u041d\u0435\u0442",
+"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "\u0412\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0439 URL \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0441\u0441\u044b\u043b\u043a\u043e\u0439. \u0412\u044b \u0436\u0435\u043b\u0430\u0435\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u00abhttp:\/\/\u00bb?",
+"Paste or type a link": "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u043b\u0438 \u0432\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0443",
+"Target": "\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443",
+"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "\u0412\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0439 URL \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u043c \u0430\u0434\u0440\u0435\u0441\u043e\u043c \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b. \u0412\u044b \u0436\u0435\u043b\u0430\u0435\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u0435\u0444\u0438\u043a\u0441 \u00abmailto:\u00bb?",
+"Insert\/edit link": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c\/\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443",
+"Insert\/edit video": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c\/\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e",
+"Media": "\u0412\u0438\u0434\u0435\u043e",
+"Alternative source": "\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a",
+"Paste your embed code below:": "\u0412\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0432\u0430\u0448 \u043a\u043e\u0434 \u043d\u0438\u0436\u0435:",
+"Insert video": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e",
+"Poster": "\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435",
+"Insert\/edit media": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c\/\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e",
+"Embed": "\u041a\u043e\u0434 \u0434\u043b\u044f \u0432\u0441\u0442\u0430\u0432\u043a\u0438",
+"Nonbreaking space": "\u041d\u0435\u0440\u0430\u0437\u0440\u044b\u0432\u043d\u044b\u0439 \u043f\u0440\u043e\u0431\u0435\u043b",
+"Page break": "\u0420\u0430\u0437\u0440\u044b\u0432 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b",
+"Paste as text": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u043a \u0442\u0435\u043a\u0441\u0442",
+"Preview": "\u041f\u0440\u0435\u0434\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440",
+"Print": "\u041f\u0435\u0447\u0430\u0442\u044c",
+"Save": "\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c",
+"Could not find the specified string.": "\u0417\u0430\u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430",
+"Replace": "\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c",
+"Next": "\u0412\u043d\u0438\u0437",
+"Whole words": "\u0421\u043b\u043e\u0432\u043e \u0446\u0435\u043b\u0438\u043a\u043e\u043c",
+"Find and replace": "\u041f\u043e\u0438\u0441\u043a \u0438 \u0437\u0430\u043c\u0435\u043d\u0430",
+"Replace with": "\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430",
+"Find": "\u041d\u0430\u0439\u0442\u0438",
+"Replace all": "\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0441\u0435",
+"Match case": "\u0423\u0447\u0438\u0442\u044b\u0432\u0430\u0442\u044c \u0440\u0435\u0433\u0438\u0441\u0442\u0440",
+"Prev": "\u0412\u0432\u0435\u0440\u0445",
+"Spellcheck": "\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435",
+"Finish": "\u0417\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c",
+"Ignore all": "\u0418\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435",
+"Ignore": "\u0418\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c",
+"Add to Dictionary": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u043b\u043e\u0432\u0430\u0440\u044c",
+"Insert row before": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0443\u0441\u0442\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0441\u0432\u0435\u0440\u0445\u0443",
+"Rows": "\u0421\u0442\u0440\u043e\u043a\u0438",
+"Height": "\u0412\u044b\u0441\u043e\u0442\u0430",
+"Paste row after": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443 \u0441\u043d\u0438\u0437\u0443",
+"Alignment": "\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435",
+"Border color": "\u0426\u0432\u0435\u0442 \u0440\u0430\u043c\u043a\u0438",
+"Column group": "\u0413\u0440\u0443\u043f\u043f\u0430 \u043a\u043e\u043b\u043e\u043d\u043e\u043a",
+"Row": "\u0421\u0442\u0440\u043e\u043a\u0430",
+"Insert column before": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u0441\u043b\u0435\u0432\u0430",
+"Split cell": "\u0420\u0430\u0437\u0431\u0438\u0442\u044c \u044f\u0447\u0435\u0439\u043a\u0443",
+"Cell padding": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u043e\u0442\u0441\u0442\u0443\u043f",
+"Cell spacing": "\u0412\u043d\u0435\u0448\u043d\u0438\u0439 \u043e\u0442\u0441\u0442\u0443\u043f",
+"Row type": "\u0422\u0438\u043f \u0441\u0442\u0440\u043e\u043a\u0438",
+"Insert table": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443",
+"Body": "\u0422\u0435\u043b\u043e",
+"Caption": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a",
+"Footer": "\u041d\u0438\u0437",
+"Delete row": "\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443",
+"Paste row before": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443 \u0441\u0432\u0435\u0440\u0445\u0443",
+"Scope": "Scope",
+"Delete table": "\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0443",
+"H Align": "\u0413\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435",
+"Top": "\u041f\u043e \u0432\u0435\u0440\u0445\u0443",
+"Header cell": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a",
+"Column": "\u0421\u0442\u043e\u043b\u0431\u0435\u0446",
+"Row group": "\u0413\u0440\u0443\u043f\u043f\u0430 \u0441\u0442\u0440\u043e\u043a",
+"Cell": "\u042f\u0447\u0435\u0439\u043a\u0430",
+"Middle": "\u041f\u043e \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435",
+"Cell type": "\u0422\u0438\u043f \u044f\u0447\u0435\u0439\u043a\u0438",
+"Copy row": "\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443",
+"Row properties": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0441\u0442\u0440\u043e\u043a\u0438",
+"Table properties": "\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u044b",
+"Bottom": "\u041f\u043e \u043d\u0438\u0437\u0443",
+"V Align": "\u0412\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u043d\u0438\u0435",
+"Header": "\u0428\u0430\u043f\u043a\u0430",
+"Right": "\u041f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e",
+"Insert column after": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u0441\u043f\u0440\u0430\u0432\u0430",
+"Cols": "\u0421\u0442\u043e\u043b\u0431\u0446\u044b",
+"Insert row after": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u0443\u0441\u0442\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0441\u043d\u0438\u0437\u0443",
+"Width": "\u0428\u0438\u0440\u0438\u043d\u0430",
+"Cell properties": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u044f\u0447\u0435\u0439\u043a\u0438",
+"Left": "\u041f\u043e \u043b\u0435\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e",
+"Cut row": "\u0412\u044b\u0440\u0435\u0437\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443",
+"Delete column": "\u0423\u0434\u0430\u043b\u0438\u0442\u044c \u0441\u0442\u043e\u043b\u0431\u0435\u0446",
+"Center": "\u041f\u043e \u0446\u0435\u043d\u0442\u0440\u0443",
+"Merge cells": "\u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u0442\u044c \u044f\u0447\u0435\u0439\u043a\u0438",
+"Insert template": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d",
+"Templates": "\u0428\u0430\u0431\u043b\u043e\u043d\u044b",
+"Background color": "\u0426\u0432\u0435\u0442 \u0444\u043e\u043d\u0430",
+"Custom...": "\u0412\u044b\u0431\u0440\u0430\u0442\u044c\u2026",
+"Custom color": "\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0446\u0432\u0435\u0442",
+"No color": "\u0411\u0435\u0437 \u0446\u0432\u0435\u0442\u0430",
+"Text color": "\u0426\u0432\u0435\u0442 \u0442\u0435\u043a\u0441\u0442\u0430",
+"Table of Contents": "\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435",
+"Show blocks": "\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0431\u043b\u043e\u043a\u0438",
+"Show invisible characters": "\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043d\u0435\u0432\u0438\u0434\u0438\u043c\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b",
+"Words: {0}": "\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u043b\u043e\u0432: {0}",
+"Insert": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044c",
+"File": "\u0424\u0430\u0439\u043b",
+"Edit": "\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c",
+"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "\u0422\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435. \u041d\u0430\u0436\u043c\u0438\u0442\u0435 ALT-F9 \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u043c\u0435\u043d\u044e, ALT-F10 \u043f\u0430\u043d\u0435\u043b\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432, ALT-0 \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u043f\u043e\u043c\u043e\u0449\u0438.",
+"Tools": "\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b",
+"View": "\u0412\u0438\u0434",
+"Table": "\u0422\u0430\u0431\u043b\u0438\u0446\u0430",
+"Format": "\u0424\u043e\u0440\u043c\u0430\u0442"
+});
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/license.txt b/admincp.php/assets/tinymce/license.txt
new file mode 100644
index 0000000..b17fc90
--- /dev/null
+++ b/admincp.php/assets/tinymce/license.txt
@@ -0,0 +1,504 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL. It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+ This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it. You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+ When we speak of free software, we are referring to freedom of use,
+not price. Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+ To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights. These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+ For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you. You must make sure that they, too, receive or can get the source
+code. If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it. And you must show them these terms so they know their rights.
+
+ We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+ To protect each distributor, we want to make it very clear that
+there is no warranty for the free library. Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+ Finally, software patents pose a constant threat to the existence of
+any free program. We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder. Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+ Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License. This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License. We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+ When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library. The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom. The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+ We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License. It also provides other free software developers Less
+of an advantage over competing non-free programs. These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries. However, the Lesser license provides advantages in certain
+special circumstances.
+
+ For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard. To achieve this, non-free programs must be
+allowed to use the library. A more frequent case is that a free
+library does the same job as widely used non-free libraries. In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+ In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software. For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+ Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+ The precise terms and conditions for copying, distribution and
+modification follow. Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library". The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+ GNU LESSER GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+ A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+ The "Library", below, refers to any such software library or work
+which has been distributed under these terms. A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language. (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+ "Source code" for a work means the preferred form of the work for
+making modifications to it. For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+ Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it). Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+ 1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+ You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+ 2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) The modified work must itself be a software library.
+
+ b) You must cause the files modified to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ c) You must cause the whole of the work to be licensed at no
+ charge to all third parties under the terms of this License.
+
+ d) If a facility in the modified Library refers to a function or a
+ table of data to be supplied by an application program that uses
+ the facility, other than as an argument passed when the facility
+ is invoked, then you must make a good faith effort to ensure that,
+ in the event an application does not supply such function or
+ table, the facility still operates, and performs whatever part of
+ its purpose remains meaningful.
+
+ (For example, a function in a library to compute square roots has
+ a purpose that is entirely well-defined independent of the
+ application. Therefore, Subsection 2d requires that any
+ application-supplied function or table used by this function must
+ be optional: if the application does not supply it, the square
+ root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library. To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License. (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.) Do not make any other change in
+these notices.
+
+ Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+ This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+ 4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+ If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library". Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+ However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library". The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+ When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library. The
+threshold for this to be true is not precisely defined by law.
+
+ If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work. (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+ Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+ 6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+ You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License. You must supply a copy of this License. If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License. Also, you must do one
+of these things:
+
+ a) Accompany the work with the complete corresponding
+ machine-readable source code for the Library including whatever
+ changes were used in the work (which must be distributed under
+ Sections 1 and 2 above); and, if the work is an executable linked
+ with the Library, with the complete machine-readable "work that
+ uses the Library", as object code and/or source code, so that the
+ user can modify the Library and then relink to produce a modified
+ executable containing the modified Library. (It is understood
+ that the user who changes the contents of definitions files in the
+ Library will not necessarily be able to recompile the application
+ to use the modified definitions.)
+
+ b) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (1) uses at run time a
+ copy of the library already present on the user's computer system,
+ rather than copying library functions into the executable, and (2)
+ will operate properly with a modified version of the library, if
+ the user installs one, as long as the modified version is
+ interface-compatible with the version that the work was made with.
+
+ c) Accompany the work with a written offer, valid for at
+ least three years, to give the same user the materials
+ specified in Subsection 6a, above, for a charge no more
+ than the cost of performing this distribution.
+
+ d) If distribution of the work is made by offering access to copy
+ from a designated place, offer equivalent access to copy the above
+ specified materials from the same place.
+
+ e) Verify that the user has already received a copy of these
+ materials or that you have already sent this user a copy.
+
+ For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it. However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+ It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system. Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+ 7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+ a) Accompany the combined library with a copy of the same work
+ based on the Library, uncombined with any other library
+ facilities. This must be distributed under the terms of the
+ Sections above.
+
+ b) Give prominent notice with the combined library of the fact
+ that part of it is a work based on the Library, and explaining
+ where to find the accompanying uncombined form of the same work.
+
+ 8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License. Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License. However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+ 9. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Library or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+ 10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+ 11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all. For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded. In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+ 13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation. If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+ 14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission. For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this. Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+ NO WARRANTY
+
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Libraries
+
+ If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change. You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+ To apply these terms, attach the following notices to the library. It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+ , 1 April 1990
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
diff --git a/admincp.php/assets/tinymce/plugins/advlist/index.html b/admincp.php/assets/tinymce/plugins/advlist/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/advlist/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/advlist/index.php b/admincp.php/assets/tinymce/plugins/advlist/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/advlist/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/advlist/plugin.min.js b/admincp.php/assets/tinymce/plugins/advlist/plugin.min.js
new file mode 100644
index 0000000..440152f
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/advlist/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i0&&f[0].nodeName===c)})}};j(a,"lists")&&(a.addCommand("ApplyUnorderedListStyle",function(a,b){f("UL",b["list-style-type"])}),a.addCommand("ApplyOrderedListStyle",function(a,b){f("OL",b["list-style-type"])}),a.addButton("numlist",{type:h.length>0?"splitbutton":"button",tooltip:"Numbered list",menu:h,onPostRender:k("OL"),onshow:g,onselect:function(a){f("OL",a.control.settings.data)},onclick:function(){f("OL",!1)}}),a.addButton("bullist",{type:i.length>0?"splitbutton":"button",tooltip:"Bullet list",onPostRender:k("UL"),menu:i,onshow:g,onselect:function(a){f("UL",a.control.settings.data)},onclick:function(){f("UL",!1)}}))}),function(){}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/autolink/index.html b/admincp.php/assets/tinymce/plugins/autolink/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/autolink/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/autolink/index.php b/admincp.php/assets/tinymce/plugins/autolink/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/autolink/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/autolink/plugin.min.js b/admincp.php/assets/tinymce/plugins/autolink/plugin.min.js
new file mode 100644
index 0000000..5d1231e
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/autolink/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;ic&&(b=c)}return b}function e(a,b){1!=a.nodeType||a.hasChildNodes()?g.setStart(a,d(a,b)):g.setStartBefore(a)}function f(a,b){1!=a.nodeType||a.hasChildNodes()?g.setEnd(a,d(a,b)):g.setEndAfter(a)}var g,i,j,k,l,m,n,o,p,q;if("A"!=a.selection.getNode().tagName){if(g=a.selection.getRng(!0).cloneRange(),g.startOffset<5){if(o=g.endContainer.previousSibling,!o){if(!g.endContainer.firstChild||!g.endContainer.firstChild.nextSibling)return;o=g.endContainer.firstChild.nextSibling}if(p=o.length,e(o,p),f(o,p),g.endOffset<5)return;i=g.endOffset,k=o}else{if(k=g.endContainer,3!=k.nodeType&&k.firstChild){for(;3!=k.nodeType&&k.firstChild;)k=k.firstChild;3==k.nodeType&&(e(k,0),f(k,k.nodeValue.length))}i=1==g.endOffset?2:g.endOffset-1-b}j=i;do e(k,i>=2?i-2:0),f(k,i>=1?i-1:0),i-=1,q=g.toString();while(" "!=q&&""!==q&&160!=q.charCodeAt(0)&&i-2>=0&&q!=c);g.toString()==c||160==g.toString().charCodeAt(0)?(e(k,i),f(k,j),i+=1):0===g.startOffset?(e(k,0),f(k,j)):(e(k,i),f(k,j)),m=g.toString(),"."==m.charAt(m.length-1)&&f(k,j-1),m=g.toString(),n=m.match(h),n&&("www."==n[1]?n[1]="http://www.":/@$/.test(n[1])&&!/^mailto:/.test(n[1])&&(n[1]="mailto:"+n[1]),l=a.selection.getBookmark(),a.selection.setRng(g),a.execCommand("createlink",!1,n[1]+n[2]),a.settings.default_link_target&&a.dom.setAttrib(a.selection.getNode(),"target",a.settings.default_link_target),a.selection.moveToBookmark(l),a.nodeChanged())}}var g,h=/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+\-]+@)(.+)$/i;return b.settings.autolink_pattern&&(h=b.settings.autolink_pattern),b.on("keydown",function(a){if(13==a.keyCode)return e(b)}),a.ie?void b.on("focus",function(){if(!g){g=!0;try{b.execCommand("AutoUrlDetect",!1,!0)}catch(a){}}}):(b.on("keypress",function(a){if(41==a.keyCode)return c(b)}),void b.on("keyup",function(a){if(32==a.keyCode)return d(b)}))}),function(){}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/charmap/index.html b/admincp.php/assets/tinymce/plugins/charmap/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/charmap/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/charmap/index.php b/admincp.php/assets/tinymce/plugins/charmap/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/charmap/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/charmap/plugin.min.js b/admincp.php/assets/tinymce/plugins/charmap/plugin.min.js
new file mode 100644
index 0000000..487770b
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/charmap/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i';var i=g(),j=Math.min(i.length,25),k=Math.ceil(i.length/j);for(e=0;e",d=0;d'+n+"
"}else c+=" "}c+=""}c+=" ";var o={type:"container",html:c,onclick:function(a){var c=a.target;if(/^(TD|DIV)$/.test(c.nodeName)){var d=b(c).firstChild;d&&d.hasAttribute("data-chr")&&(h(d.getAttribute("data-chr")),a.ctrlKey||f.close())}},onmouseover:function(a){var c=b(a.target);c&&c.firstChild?(f.find("#preview").text(c.firstChild.firstChild.data),f.find("#previewTitle").text(c.title)):(f.find("#preview").text(" "),f.find("#previewTitle").text(" "))}};f=a.windowManager.open({title:"Special character",spacing:10,padding:10,items:[o,{type:"container",layout:"flex",direction:"column",align:"center",spacing:5,minWidth:160,minHeight:160,items:[{type:"label",name:"preview",text:" ",style:"font-size: 40px; text-align: center",border:1,minWidth:140,minHeight:80},{type:"label",name:"previewTitle",text:" ",style:"text-align: center",border:1,minWidth:140,minHeight:80}]}],buttons:[{text:"Close",onclick:function(){f.close()}}]})}var j=b.isArray;return a.addCommand("mceShowCharmap",i),a.addButton("charmap",{icon:"charmap",tooltip:"Special character",cmd:"mceShowCharmap"}),a.addMenuItem("charmap",{icon:"charmap",text:"Special character",cmd:"mceShowCharmap",context:"insert"}),{getCharMap:g,insertChar:h}}),function(){}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/code/index.html b/admincp.php/assets/tinymce/plugins/code/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/code/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/code/index.php b/admincp.php/assets/tinymce/plugins/code/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/code/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/code/plugin.min.js b/admincp.php/assets/tinymce/plugins/code/plugin.min.js
new file mode 100644
index 0000000..7a0437e
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/code/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/fullscreen/index.php b/admincp.php/assets/tinymce/plugins/fullscreen/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/fullscreen/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/fullscreen/plugin.min.js b/admincp.php/assets/tinymce/plugins/fullscreen/plugin.min.js
new file mode 100644
index 0000000..3db2176
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/fullscreen/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/hr/index.php b/admincp.php/assets/tinymce/plugins/hr/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/hr/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/hr/plugin.min.js b/admincp.php/assets/tinymce/plugins/hr/plugin.min.js
new file mode 100644
index 0000000..6c0dfa4
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/hr/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i ")}),a.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),a.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),function(){}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/image/index.html b/admincp.php/assets/tinymce/plugins/image/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/image/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/image/index.php b/admincp.php/assets/tinymce/plugins/image/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/image/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/image/plugin.min.js b/admincp.php/assets/tinymce/plugins/image/plugin.min.js
new file mode 100644
index 0000000..1a029df
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/image/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i0&&/^[0-9]+$/.test(a)&&(a+="px"),a}if(b.settings.image_advtab){var c=o.toJSON(),d=w.parseStyle(c.style);d=l(d),c.vspace&&(d["margin-top"]=d["margin-bottom"]=a(c.vspace)),c.hspace&&(d["margin-left"]=d["margin-right"]=a(c.hspace)),c.border&&(d["border-width"]=a(c.border)),o.find("#style").value(w.serializeStyle(w.parseStyle(w.serializeStyle(d))))}}function n(){if(b.settings.image_advtab){var a=o.toJSON(),c=w.parseStyle(a.style);o.find("#vspace").value(""),o.find("#hspace").value(""),c=l(c),(c["margin-top"]&&c["margin-bottom"]||c["margin-right"]&&c["margin-left"])&&(c["margin-top"]===c["margin-bottom"]?o.find("#vspace").value(i(c["margin-top"])):o.find("#vspace").value(""),c["margin-right"]===c["margin-left"]?o.find("#hspace").value(i(c["margin-right"])):o.find("#hspace").value("")),c["border-width"]&&o.find("#border").value(i(c["border-width"])),o.find("#style").value(w.serializeStyle(w.parseStyle(w.serializeStyle(c))))}}var o,p,q,r,s,t,u,v={},w=b.dom,x=b.settings.image_dimensions!==!1;p=b.selection.getNode(),q=w.getParent(p,"figure.image"),q&&(p=w.select("img",q)[0]),p&&("IMG"!=p.nodeName||p.getAttribute("data-mce-object")||p.getAttribute("data-mce-placeholder"))&&(p=null),p&&(r=w.getAttrib(p,"width"),s=w.getAttrib(p,"height"),v={src:w.getAttrib(p,"src"),alt:w.getAttrib(p,"alt"),title:w.getAttrib(p,"title"),"class":w.getAttrib(p,"class"),width:r,height:s,caption:!!q}),c&&(t={type:"listbox",label:"Image list",values:g(c,function(a){a.value=b.convertURL(a.value||a.url,"src")},[{text:"None",value:""}]),value:v.src&&b.convertURL(v.src,"src"),onselect:function(a){var b=o.find("#alt");(!b.value()||a.lastControl&&b.value()==a.lastControl.text())&&b.value(a.control.text()),o.find("#src").value(a.control.value()).fire("change")},onPostRender:function(){t=this}}),b.settings.image_class_list&&(u={name:"class",type:"listbox",label:"Class",values:g(b.settings.image_class_list,function(a){a.value&&(a.textStyle=function(){return b.formatter.getCssText({inline:"img",classes:[a.value]})})})});var y=[{name:"src",type:"filepicker",filetype:"image",label:"Source",autofocus:!0,onchange:j,onbeforecall:k},t];b.settings.image_description!==!1&&y.push({name:"alt",type:"textbox",label:"Image description"}),b.settings.image_title&&y.push({name:"title",type:"textbox",label:"Image Title"}),x&&y.push({type:"container",label:"Dimensions",layout:"flex",direction:"row",align:"center",spacing:5,items:[{name:"width",type:"textbox",maxLength:5,size:3,onchange:e,ariaLabel:"Width"},{type:"label",text:"x"},{name:"height",type:"textbox",maxLength:5,size:3,onchange:e,ariaLabel:"Height"},{name:"constrain",type:"checkbox",checked:!0,text:"Constrain proportions"}]}),y.push(u),b.settings.image_caption&&a.ceFalse&&y.push({name:"caption",type:"checkbox",label:"Caption"}),b.settings.image_advtab?(p&&(p.style.marginLeft&&p.style.marginRight&&p.style.marginLeft===p.style.marginRight&&(v.hspace=i(p.style.marginLeft)),p.style.marginTop&&p.style.marginBottom&&p.style.marginTop===p.style.marginBottom&&(v.vspace=i(p.style.marginTop)),p.style.borderWidth&&(v.border=i(p.style.borderWidth)),v.style=b.dom.serializeStyle(b.dom.parseStyle(b.dom.getAttrib(p,"style")))),o=b.windowManager.open({title:"Insert/edit image",data:v,bodyType:"tabpanel",body:[{title:"General",type:"form",items:y},{title:"Advanced",type:"form",pack:"start",items:[{label:"Style",name:"style",type:"textbox",onchange:n},{type:"form",layout:"grid",packV:"start",columns:2,padding:0,alignH:["left","right"],defaults:{type:"textbox",maxWidth:50,onchange:m},items:[{label:"Vertical space",name:"vspace"},{label:"Horizontal space",name:"hspace"},{label:"Border",name:"border"}]}]}],onSubmit:h})):o=b.windowManager.open({title:"Insert/edit image",data:v,body:y,onSubmit:h})}b.on("preInit",function(){function a(a){var b=a.attr("class");return b&&/\bimage\b/.test(b)}function c(b){return function(c){function e(a){a.attr("contenteditable",b?"true":null)}for(var f,g=c.length;g--;)f=c[g],a(f)&&(f.attr("contenteditable",b?"false":null),d.each(f.getAll("figcaption"),e))}}b.parser.addNodeFilter("figure",c(!0)),b.serializer.addNodeFilter("figure",c(!1))}),b.addButton("image",{icon:"image",tooltip:"Insert/edit image",onclick:h(i),stateSelector:"img:not([data-mce-object],[data-mce-placeholder]),figure.image"}),b.addMenuItem("image",{icon:"image",text:"Image",onclick:h(i),context:"insert",prependToContext:!0}),b.addCommand("mceImage",h(i))}),function(){}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/imagetools/index.html b/admincp.php/assets/tinymce/plugins/imagetools/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/imagetools/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/imagetools/index.php b/admincp.php/assets/tinymce/plugins/imagetools/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/imagetools/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/imagetools/plugin.min.js b/admincp.php/assets/tinymce/plugins/imagetools/plugin.min.js
new file mode 100644
index 0000000..55dcf83
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/imagetools/plugin.min.js
@@ -0,0 +1,2 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;ic?a=c:a0?3*d:d),f=.3086,g=.6094,h=.082,c(b,[f*(1-e)+e,g*(1-e),h*(1-e),0,0,f*(1-e),g*(1-e)+e,h*(1-e),0,0,f*(1-e),g*(1-e),h*(1-e)+e,0,0,0,0,0,1,0,0,0,0,0,1])}function g(b,d){var e,f,g,h,i;return d=a(d,-180,180)/180*Math.PI,e=Math.cos(d),f=Math.sin(d),g=.213,h=.715,i=.072,c(b,[g+e*(1-g)+f*-g,h+e*-h+f*-h,i+e*-i+f*(1-i),0,0,g+e*-g+.143*f,h+e*(1-h)+.14*f,i+e*-i+f*-.283,0,0,g+e*-g+f*-(1-g),h+e*-h+f*h,i+e*(1-i)+f*i,0,0,0,0,0,1,0,0,0,0,0,1])}function h(b,d){return d=a(255*d,-255,255),c(b,[1,0,0,0,d,0,1,0,0,d,0,0,1,0,d,0,0,0,1,0,0,0,0,0,1])}function i(b,d,e,f){return d=a(d,0,2),e=a(e,0,2),f=a(f,0,2),c(b,[d,0,0,0,0,0,e,0,0,0,0,0,f,0,0,0,0,0,1,0,0,0,0,0,1])}function j(b,e){return e=a(e,0,1),c(b,d([.393,.769,.189,0,0,.349,.686,.168,0,0,.272,.534,.131,0,0,0,0,0,1,0,0,0,0,0,1],e))}function k(b,e){return e=a(e,0,1),c(b,d([.33,.34,.33,0,0,.33,.34,.33,0,0,.33,.34,.33,0,0,0,0,0,1,0,0,0,0,0,1],e))}var l=[0,.01,.02,.04,.05,.06,.07,.08,.1,.11,.12,.14,.15,.16,.17,.18,.2,.21,.22,.24,.25,.27,.28,.3,.32,.34,.36,.38,.4,.42,.44,.46,.48,.5,.53,.56,.59,.62,.65,.68,.71,.74,.77,.8,.83,.86,.89,.92,.95,.98,1,1.06,1.12,1.18,1.24,1.3,1.36,1.42,1.48,1.54,1.6,1.66,1.72,1.78,1.84,1.9,1.96,2,2.12,2.25,2.37,2.5,2.62,2.75,2.87,3,3.2,3.4,3.6,3.8,4,4.3,4.7,4.9,5,5.5,6,6.5,6.8,7,7.3,7.5,7.8,8,8.4,8.7,9,9.4,9.6,9.8,10];return{identity:b,adjust:d,multiply:c,adjustContrast:e,adjustBrightness:h,adjustSaturation:f,adjustHue:g,adjustColors:i,adjustSepia:j,adjustGrayscale:k}}),g("e",["p","d","s"],function(a,b,c){function d(c,d){function e(a,b){var c,d,e,f,g,h=a.data,i=b[0],j=b[1],k=b[2],l=b[3],m=b[4],n=b[5],o=b[6],p=b[7],q=b[8],r=b[9],s=b[10],t=b[11],u=b[12],v=b[13],w=b[14],x=b[15],y=b[16],z=b[17],A=b[18],B=b[19];for(g=0;gc?a=c:a2)&&(i=i<.5?.5:2,k=!0),(j<.5||j>2)&&(j=j<.5?.5:2,k=!0);var l=f(a,i,j);return k?l.then(function(a){return e(a,b,c)}):l}function f(b,e,f){return new a(function(a){var g=d.getWidth(b),h=d.getHeight(b),i=Math.floor(g*e),j=Math.floor(h*f),k=c.create(i,j),l=c.get2dContext(k);l.drawImage(b,0,0,g,h,0,0,i,j),a(k)})}return{scale:e}}),g("f",["p","d","t"],function(a,b,c){function d(c,d){var e=c.toCanvas(),f=a.create(e.width,e.height),g=a.get2dContext(f),h=0,i=0;return d=d<0?360+d:d,90!=d&&270!=d||a.resize(f,f.height,f.width),90!=d&&180!=d||(h=f.width),270!=d&&180!=d||(i=f.height),g.translate(h,i),g.rotate(d*Math.PI/180),g.drawImage(e,0,0),b.fromCanvas(f,c.getType())}function e(c,d){var e=c.toCanvas(),f=a.create(e.width,e.height),g=a.get2dContext(f);return"v"==d?(g.scale(1,-1),g.drawImage(e,0,-f.height)):(g.scale(-1,1),g.drawImage(e,-f.width,0)),b.fromCanvas(f,c.getType())}function f(c,d,e,f,g){var h=c.toCanvas(),i=a.create(f,g),j=a.get2dContext(i);return j.drawImage(h,-d,-e),b.fromCanvas(i,c.getType())}function g(a,d,e){return c.scale(a.toCanvas(),d,e).then(function(c){return b.fromCanvas(c,a.getType())})}return{rotate:d,flip:e,crop:f,resize:g}}),g("2",["e","f"],function(a,b){var c=function(b){return a.invert(b)},d=function(b){return a.sharpen(b)},e=function(b){return a.emboss(b)},f=function(b,c){return a.gamma(b,c)},g=function(b,c){return a.exposure(b,c)},h=function(b,c,d,e){return a.colorize(b,c,d,e)},i=function(b,c){return a.brightness(b,c)},j=function(b,c){return a.hue(b,c)},k=function(b,c){return a.saturate(b,c)},l=function(b,c){return a.contrast(b,c)},m=function(b,c){return a.grayscale(b,c)},n=function(b,c){return a.sepia(b,c)},o=function(a,c){return b.flip(a,c)},p=function(a,c,d,e,f){return b.crop(a,c,d,e,f)},q=function(a,c,d){return b.resize(a,c,d)},r=function(a,c){return b.rotate(a,c)};return{invert:c,sharpen:d,emboss:e,brightness:i,hue:j,saturate:k,contrast:l,grayscale:m,sepia:n,colorize:h,gamma:f,exposure:g,flip:o,crop:p,resize:q,rotate:r}}),h("g",tinymce.util.Tools.resolve),g("3",["g"],function(a){return a("tinymce.Env")}),g("4",["g"],function(a){return a("tinymce.PluginManager")}),g("5",["g"],function(a){return a("tinymce.util.Delay")}),g("6",["g"],function(a){return a("tinymce.util.Promise")}),g("7",["g"],function(a){return a("tinymce.util.Tools")}),g("8",["g"],function(a){return a("tinymce.util.URI")}),g("9",[],function(){function a(a){function b(a){return/^[0-9\.]+px$/.test(a)}var c,d;return c=a.style.width,d=a.style.height,c||d?b(c)&&b(d)?{w:parseInt(c,10),h:parseInt(d,10)}:null:(c=a.width,d=a.height,c&&d?{w:parseInt(c,10),h:parseInt(d,10)}:null)}function b(a,b){var c,d;b&&(c=a.style.width,d=a.style.height,(c||d)&&(a.style.width=b.w+"px",a.style.height=b.h+"px",a.removeAttribute("data-mce-style")),c=a.width,d=a.height,(c||d)&&(a.setAttribute("width",b.w),a.setAttribute("height",b.h)))}function c(a){return{w:a.naturalWidth,h:a.naturalHeight}}return{getImageSize:a,setImageSize:b,getNaturalImageSize:c}}),g("h",["6","7"],function(a,b){var c=function(a){return null!==a&&void 0!==a},d=function(a,b){var d;return d=b.reduce(function(a,b){return c(a)?a[b]:void 0},a),c(d)?d:null},e=function(c,d){return new a(function(a){var e;e=new XMLHttpRequest,e.onreadystatechange=function(){4===e.readyState&&a({status:e.status,blob:this.response})},e.open("GET",c,!0),b.each(d,function(a,b){e.setRequestHeader(b,a)}),e.responseType="blob",e.send()})},f=function(b){return new a(function(a){var c=new FileReader;c.onload=function(b){var c=b.target;a(c.result)},c.readAsText(b)})},g=function(a){var b;try{b=JSON.parse(a)}catch(a){}return b};return{traverse:d,readBlob:f,requestUrlAsBlob:e,parseJson:g}}),g("a",["6","7","h"],function(a,b,c){function d(b){return c.requestUrlAsBlob(b,{}).then(function(b){return b.status>=400?g(b.status):a.resolve(b.blob)})}var e=function(a,b){var c=a.indexOf("?")===-1?"?":"&";return/[?&]apiKey=/.test(a)||!b?a:a+c+"apiKey="+encodeURIComponent(b)},f=function(a){return 400===a||403===a||500===a},g=function(b){return a.reject("ImageProxy HTTP error: "+b)},h=function(b){a.reject("ImageProxy Service error: "+b)},i=function(a,b){return c.readBlob(b).then(function(a){var b=c.parseJson(a),d=c.traverse(b,["error","type"]);return h(d?d:"Invalid JSON")})},j=function(a,b){return f(a)?i(a,b):g(a)},k=function(b,d){return c.requestUrlAsBlob(e(b,d),{"Content-Type":"application/json;charset=UTF-8","tiny-api-key":d}).then(function(b){return b.status>=400?j(b.status,b.blob):a.resolve(b.blob)})},l=function(a,b){return b?k(a,b):d(a)};return{getUrl:l}}),g("i",["g"],function(a){return a("tinymce.dom.DOMUtils")}),g("j",["g"],function(a){return a("tinymce.ui.Container")}),g("k",["g"],function(a){return a("tinymce.ui.Factory")}),g("l",["g"],function(a){return a("tinymce.ui.Form")}),g("u",["g"],function(a){return a("tinymce.geom.Rect")}),g("v",["g"],function(a){return a("tinymce.ui.Control")}),g("w",["g"],function(a){return a("tinymce.ui.DragHelper")}),g("y",["g"],function(a){return a("tinymce.dom.DomQuery")}),g("z",["g"],function(a){return a("tinymce.util.Observable")}),g("10",["g"],function(a){return a("tinymce.util.VK")}),g("x",["y","w","u","7","z","10"],function(a,b,c,d,e,f){var g=0;return function(h,i,j,k,l){function m(a,b){return{x:b.x+a.x,y:b.y+a.y,w:b.w,h:b.h}}function n(a,b){return{x:b.x-a.x,y:b.y-a.y,w:b.w,h:b.h}}function o(){return n(j,h)}function p(a,b,d,e){var f,g,i,k,l;f=b.x,g=b.y,i=b.w,k=b.h,f+=d*a.deltaX,g+=e*a.deltaY,i+=d*a.deltaW,k+=e*a.deltaH,i<20&&(i=20),k<20&&(k=20),l=h=c.clamp({x:f,y:g,w:i,h:k},j,"move"==a.name),l=n(j,l),y.fire("updateRect",{rect:l}),v(l)}function q(){function c(a){var c;return new b(D,{document:k.ownerDocument,handle:D+"-"+a.name,start:function(){c=h},drag:function(b){p(a,c,b.deltaX,b.deltaY)}})}a('').appendTo(k),d.each(B,function(b){a("#"+D,k).append('
')}),d.each(z,function(b){a("#"+D,k).append('
')}),A=d.map(z,c),s(h),a(k).on("focusin focusout",function(b){a(b.target).attr("aria-grabbed","focus"===b.type)}),a(k).on("keydown",function(a){function b(a,b,d,e,f){a.stopPropagation(),a.preventDefault(),p(c,d,e,f)}var c;switch(d.each(z,function(b){if(a.target.id==D+"-"+b.name)return c=b,!1}),a.keyCode){case f.LEFT:b(a,c,h,-10,0);break;case f.RIGHT:b(a,c,h,10,0);break;case f.UP:b(a,c,h,0,-10);break;case f.DOWN:b(a,c,h,0,10);break;case f.ENTER:case f.SPACEBAR:a.preventDefault(),l()}})}function r(b){var c;c=d.map(z,function(a){return"#"+D+"-"+a.name}).concat(d.map(B,function(a){return"#"+D+"-"+a})).join(","),b?a(c,k).show():a(c,k).hide()}function s(b){function c(b,c){c.h<0&&(c.h=0),c.w<0&&(c.w=0),a("#"+D+"-"+b,k).css({left:c.x,top:c.y,width:c.w,height:c.h})}d.each(z,function(c){a("#"+D+"-"+c.name,k).css({left:b.w*c.xMul+b.x,top:b.h*c.yMul+b.y})}),c("top",{x:i.x,y:i.y,w:i.w,h:b.y-i.y}),c("right",{x:b.x+b.w,y:b.y,w:i.w-b.x-b.w+i.x,h:b.h}),c("bottom",{x:i.x,y:b.y+b.h,w:i.w,h:i.h-b.y-b.h+i.y}),c("left",{x:i.x,y:b.y,w:b.x-i.x,h:b.h}),c("move",b)}function t(a){h=a,s(h)}function u(a){i=a,s(h)}function v(a){t(m(j,a))}function w(a){j=a,s(h)}function x(){d.each(A,function(a){a.destroy()}),A=[]}var y,z,A,B,C="mce-",D=C+"crid-"+g++;return z=[{name:"move",xMul:0,yMul:0,deltaX:1,deltaY:1,deltaW:0,deltaH:0,label:"Crop Mask"},{name:"nw",xMul:0,yMul:0,deltaX:1,deltaY:1,deltaW:-1,deltaH:-1,label:"Top Left Crop Handle"},{name:"ne",xMul:1,yMul:0,deltaX:0,deltaY:1,deltaW:1,deltaH:-1,label:"Top Right Crop Handle"},{name:"sw",xMul:0,yMul:1,deltaX:1,deltaY:0,deltaW:-1,deltaH:1,label:"Bottom Left Crop Handle"},{name:"se",xMul:1,yMul:1,deltaX:0,deltaY:0,deltaW:1,deltaH:1,label:"Bottom Right Crop Handle"}],B=["top","right","bottom","left"],q(k),y=d.extend({toggleVisibility:r,setClampRect:w,setRect:t,getInnerRect:o,setInnerRect:v,setViewPortRect:u,destroy:x},e)}}),g("m",["u","v","w","6","7","x"],function(a,b,c,d,e,f){function g(a){return new d(function(b){function c(){a.removeEventListener("load",c),b(a)}a.complete?b(a):a.addEventListener("load",c)})}return b.extend({Defaults:{classes:"imagepanel"},selection:function(a){return arguments.length?(this.state.set("rect",a),this):this.state.get("rect")},imageSize:function(){var a=this.state.get("viewRect");return{w:a.w,h:a.h}},toggleCropRect:function(a){this.state.set("cropEnabled",a)},imageSrc:function(b){var c=this,d=new Image;d.src=b,g(d).then(function(){var b,e,f=c.state.get("viewRect");if(e=c.$el.find("img"),e[0])e.replaceWith(d);else{var g=document.createElement("div");g.className="mce-imagepanel-bg",c.getEl().appendChild(g),c.getEl().appendChild(d)}b={x:0,y:0,w:d.naturalWidth,h:d.naturalHeight},c.state.set("viewRect",b),c.state.set("rect",a.inflate(b,-20,-20)),f&&f.w==b.w&&f.h==b.h||c.zoomFit(),c.repaintImage(),c.fire("load")})},zoom:function(a){return arguments.length?(this.state.set("zoom",a),this):this.state.get("zoom")},postRender:function(){return this.imageSrc(this.settings.imageSrc),this._super()},zoomFit:function(){var a,b,c,d,e,f,g,h=this;g=10,a=h.$el.find("img"),b=h.getEl().clientWidth,c=h.getEl().clientHeight,d=a[0].naturalWidth,e=a[0].naturalHeight,f=Math.min((b-g)/d,(c-g)/e),f>=1&&(f=1),h.zoom(f)},repaintImage:function(){var a,b,c,d,e,f,g,h,i,j,k;k=this.getEl(),i=this.zoom(),j=this.state.get("rect"),g=this.$el.find("img"),h=this.$el.find(".mce-imagepanel-bg"),e=k.offsetWidth,f=k.offsetHeight,c=g[0].naturalWidth*i,d=g[0].naturalHeight*i,a=Math.max(0,e/2-c/2),b=Math.max(0,f/2-d/2),g.css({left:a,top:b,width:c,height:d}),h.css({left:a,top:b,width:c,height:d}),this.cropRect&&(this.cropRect.setRect({x:j.x*i+a,y:j.y*i+b,w:j.w*i,h:j.h*i}),this.cropRect.setClampRect({x:a,y:b,w:c,h:d}),this.cropRect.setViewPortRect({x:0,y:0,w:e,h:f}))},bindStates:function(){function a(a){b.cropRect=new f(a,b.state.get("viewRect"),b.state.get("viewRect"),b.getEl(),function(){b.fire("crop")}),b.cropRect.on("updateRect",function(a){var c=a.rect,d=b.zoom();c={x:Math.round(c.x/d),y:Math.round(c.y/d),w:Math.round(c.w/d),h:Math.round(c.h/d)},b.state.set("rect",c)}),b.on("remove",b.cropRect.destroy)}var b=this;b.state.on("change:cropEnabled",function(a){b.cropRect.toggleVisibility(a.value),b.repaintImage()}),b.state.on("change:zoom",function(){b.repaintImage()}),b.state.on("change:rect",function(c){var d=c.value;b.cropRect||a(d),b.cropRect.setRect(d)})}})}),g("n",[],function(){return function(){function a(a){var b;return b=f.splice(++g),f.push(a),{state:a,removed:b}}function b(){if(d())return f[--g]}function c(){if(e())return f[++g]}function d(){return g>0}function e(){return g!=-1&&g
.1&&(a-=.1),T.zoom(a)}function E(){g=la.undo(),t(g),r()}function F(){g=la.redo(),t(g),r()}function G(){n(g.blob),M.close()}function H(a){return new f({layout:"flex",direction:"row",labelGap:5,border:"0 0 1 0",align:"center",pack:"center",padding:"0 10 0 10",spacing:5,flex:0,minHeight:60,defaults:{classes:"imagetool",type:"button"},items:a})}function I(b,c){return H([{text:"Back",onclick:A},{type:"spacer",flex:1},{text:"Apply",subtype:"primary",onclick:B}]).hide().on("show",function(){s(),a.blobToImageResult(g.blob).then(function(a){return c(a)}).then(ma).then(function(a){var b=k(a);t(b),l(P),P=b})})}function J(b,c,d,e,f){function h(b){a.blobToImageResult(g.blob).then(function(a){return c(a,b)}).then(ma).then(function(a){var b=k(a);t(b),l(P),P=b})}return H([{text:"Back",onclick:A},{type:"spacer",flex:1},{type:"slider",flex:1,ondragend:function(a){h(a.value)},minValue:e,maxValue:f,value:d,previewFilter:q},{type:"spacer",flex:1},{text:"Apply",subtype:"primary",onclick:B}]).hide().on("show",function(){this.find("slider").value(d),s()})}function K(a,b){function c(){var a,c,d;a=M.find("#r")[0].value(),c=M.find("#g")[0].value(),d=M.find("#b")[0].value(),b(g.blob,a,c,d).then(function(a){var b=k(a);t(b),l(P),P=b})}return H([{text:"Back",onclick:A},{type:"spacer",flex:1},{type:"slider",label:"R",name:"r",minValue:0,value:1,maxValue:2,ondragend:c,previewFilter:q},{type:"slider",label:"G",name:"g",minValue:0,value:1,maxValue:2,ondragend:c,previewFilter:q},{type:"slider",label:"B",name:"b",minValue:0,value:1,maxValue:2,ondragend:c,previewFilter:q},{type:"spacer",flex:1},{text:"Apply",subtype:"primary",onclick:B}]).hide().on("show",function(){M.find("#r,#g,#b").value(1),s()})}function L(a){a.control.value()===!0&&(ja=ia/ha,ka=ha/ia)}var M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la=new j,ma=function(a){return a.toBlob()};Q=H([{text:"Back",onclick:A},{type:"spacer",flex:1},{text:"Apply",subtype:"primary",onclick:x}]).hide().on("show hide",function(a){T.toggleCropRect("show"==a.type)}).on("show",s),R=H([{text:"Back",onclick:A},{type:"spacer",flex:1},{type:"textbox",name:"w",label:"Width",size:4,onkeyup:p},{type:"textbox",name:"h",label:"Height",size:4,onkeyup:p},{type:"checkbox",name:"constrain",text:"Constrain proportions",checked:!0,onchange:L},{type:"spacer",flex:1},{text:"Apply",subtype:"primary",onclick:"submit"}]).hide().on("submit",function(a){var c=parseInt(M.find("#w").value(),10),d=parseInt(M.find("#h").value(),10);a.preventDefault(),z(b.resize,c,d)(),A()}).on("show",s),S=H([{text:"Back",onclick:A},{type:"spacer",flex:1},{icon:"fliph",tooltip:"Flip horizontally",onclick:y(b.flip,"h")},{icon:"flipv",tooltip:"Flip vertically",onclick:y(b.flip,"v")},{icon:"rotateleft",tooltip:"Rotate counterclockwise",onclick:y(b.rotate,-90)},{icon:"rotateright",tooltip:"Rotate clockwise",onclick:y(b.rotate,90)},{type:"spacer",flex:1},{text:"Apply",subtype:"primary",onclick:B}]).hide().on("show",s),W=I("Invert",b.invert),ca=I("Sharpen",b.sharpen),da=I("Emboss",b.emboss),X=J("Brightness",b.brightness,0,-1,1),Y=J("Hue",b.hue,180,0,360),Z=J("Saturate",b.saturate,0,-1,1),$=J("Contrast",b.contrast,0,-1,1),_=J("Grayscale",b.grayscale,0,0,1),aa=J("Sepia",b.sepia,0,0,1),ba=K("Colorize",b.colorize),ea=J("Gamma",b.gamma,0,-1,1),fa=J("Exposure",b.exposure,1,0,2),O=H([{text:"Back",onclick:A},{type:"spacer",flex:1},{text:"hue",icon:"hue",onclick:u(Y)},{text:"saturate",icon:"saturate",onclick:u(Z)},{text:"sepia",icon:"sepia",onclick:u(aa)},{text:"emboss",icon:"emboss",onclick:u(da)},{text:"exposure",icon:"exposure",onclick:u(fa)},{type:"spacer",flex:1}]).hide(),N=H([{tooltip:"Crop",icon:"crop",onclick:u(Q)},{tooltip:"Resize",icon:"resize2",onclick:u(R)},{tooltip:"Orientation",icon:"orientation",onclick:u(S)},{tooltip:"Brightness",icon:"sun",onclick:u(X)},{tooltip:"Sharpen",icon:"sharpen",onclick:u(ca)},{tooltip:"Contrast",icon:"contrast",onclick:u($)},{tooltip:"Color levels",icon:"drop",onclick:u(ba)},{tooltip:"Gamma",icon:"gamma",onclick:u(ea)},{tooltip:"Invert",icon:"invert",onclick:u(W)}]),T=new i({flex:1,imageSrc:g.url}),U=new d({layout:"flex",direction:"column",border:"0 1 0 0",padding:5,spacing:5,items:[{type:"button",icon:"undo",tooltip:"Undo",name:"undo",onclick:E},{type:"button",icon:"redo",tooltip:"Redo",name:"redo",onclick:F},{type:"button",icon:"zoomin",tooltip:"Zoom in",onclick:C},{type:"button",icon:"zoomout",tooltip:"Zoom out",onclick:D}]}),V=new d({type:"container",layout:"flex",direction:"row",align:"stretch",flex:1,items:[U,T]}),ga=[N,Q,R,S,O,W,X,Y,Z,$,_,aa,ba,ca,da,ea,fa],M=e.create("window",{layout:"flex",direction:"column",align:"stretch",minWidth:Math.min(c.DOM.getViewPort().w,800),minHeight:Math.min(c.DOM.getViewPort().h,650),title:"Edit image",items:ga.concat([V]),buttons:[{text:"Save",name:"save",subtype:"primary",onclick:G},{text:"Cancel",onclick:"close"}]}),M.renderTo(document.body).reflow(),M.on("close",function(){o(),m(la.data),la=null,P=null}),la.add(g),r(),T.on("load",function(){ha=T.imageSize().w,ia=T.imageSize().h,ja=ia/ha,ka=ha/ia,M.find("#w").value(ha),M.find("#h").value(ia)}),T.on("crop",x)}function o(a){return new g(function(b,c){return a.toBlob().then(function(a){n(k(a),b,c)})})}return{edit:o}}),g("0",["1","2","3","4","5","6","7","8","9","a","b"],function(a,b,c,d,e,f,g,h,i,j,k){var l=function(d){function l(a){d.notificationManager.open({text:a,type:"error"})}function m(){return d.selection.getNode()}function n(a){var b=a.match(/\/([^\/\?]+)?\.(?:jpeg|jpg|png|gif)(?:\?|$)/i);return b?d.dom.encode(b[1]):null}function o(){return"imagetools"+H++}function p(a){var b=a.src;return 0===b.indexOf("data:")||0===b.indexOf("blob:")||new h(b).host===d.documentBaseURI.host}function q(a){return g.inArray(d.settings.imagetools_cors_hosts,new h(a.src).host)!==-1}function r(){return d.settings.api_key||d.settings.imagetools_api_key}function s(b){var c,e=b.src;return q(b)?j.getUrl(b.src,null):p(b)?a.imageToBlob(b):(e=d.settings.imagetools_proxy,e+=(e.indexOf("?")===-1?"?":"&")+"url="+encodeURIComponent(b.src),c=r(),j.getUrl(e,c))}function t(){var a;return a=d.editorUpload.blobCache.getByUri(m().src),a?a.blob():s(m())}function u(){F=e.setEditorTimeout(d,function(){d.editorUpload.uploadImagesAuto()},d.settings.images_upload_timeout||3e4)}function v(){clearTimeout(F)}function w(a,b){return a.toBlob().then(function(c){var e,f,g,h,i;return g=d.editorUpload.blobCache,i=m(),e=i.src,d.settings.images_reuse_filename&&(h=g.getByUri(e),h?(e=h.uri(),f=h.name()):f=n(e)),h=g.create({id:o(),blob:c,base64:a.toBase64(),uri:e,name:f}),g.add(h),d.undoManager.transact(function(){function a(){d.$(i).off("load",a),d.nodeChanged(),b?d.editorUpload.uploadImagesAuto():(v(),u())}d.$(i).on("load",a),d.$(i).attr({src:h.blobUri()}).removeAttr("data-mce-src")}),h})}function x(b){return function(){return d._scanForImages().then(t).then(a.blobToImageResult).then(b).then(w,l)}}function y(a){return function(){return x(function(c){var d=i.getImageSize(m());return d&&i.setImageSize(m(),{w:d.h,h:d.w}),b.rotate(c,a)})()}}function z(a){return function(){return x(function(c){return b.flip(c,a)})()}}function A(){var b=m(),c=i.getNaturalImageSize(b),d=function(d){return new f(function(e){a.blobToImage(d).then(function(a){var f=i.getNaturalImageSize(a);c.w==f.w&&c.h==f.h||i.getImageSize(b)&&i.setImageSize(b,f),URL.revokeObjectURL(a.src),e(d)})})},e=function(b){return k.edit(b).then(d).then(a.blobToImageResult).then(function(a){w(a,!0)},function(){})};b&&a.imageToImageResult(b).then(e,l)}function B(){d.addButton("rotateleft",{title:"Rotate counterclockwise",cmd:"mceImageRotateLeft"}),d.addButton("rotateright",{title:"Rotate clockwise",cmd:"mceImageRotateRight"}),d.addButton("flipv",{title:"Flip vertically",cmd:"mceImageFlipVertical"}),d.addButton("fliph",{title:"Flip horizontally",cmd:"mceImageFlipHorizontal"}),d.addButton("editimage",{title:"Edit image",cmd:"mceEditImage"
+}),d.addButton("imageoptions",{title:"Image options",icon:"options",cmd:"mceImage"})}function C(){d.on("NodeChange",function(a){G&&G.src!=a.element.src&&(v(),d.editorUpload.uploadImagesAuto(),G=void 0),D(a.element)&&(G=a.element)})}function D(a){var b=d.dom.is(a,"img:not([data-mce-object],[data-mce-placeholder])");return b&&(p(a)||q(a)||d.settings.imagetools_proxy)}function E(){var a=d.settings.imagetools_toolbar;a||(a="rotateleft rotateright | flipv fliph | crop editimage imageoptions"),d.addContextToolbar(D,a)}var F,G,H=0;c.fileApi&&(g.each({mceImageRotateLeft:y(-90),mceImageRotateRight:y(90),mceImageFlipVertical:z("v"),mceImageFlipHorizontal:z("h"),mceEditImage:A},function(a,b){d.addCommand(b,a)}),B(),E(),C())};return d.add("imagetools",l),function(){}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/importcss/index.html b/admincp.php/assets/tinymce/plugins/importcss/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/importcss/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/importcss/index.php b/admincp.php/assets/tinymce/plugins/importcss/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/importcss/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/importcss/plugin.min.js b/admincp.php/assets/tinymce/plugins/importcss/plugin.min.js
new file mode 100644
index 0000000..0579ac4
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/importcss/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i0)e.each(b,function(b){var c=s(a,b);c&&b.item.menu.push(c)});else{var c=s(a,null);c&&j.add(c)}}}),r(m,function(a){a.item.menu.length>0&&j.add(a.item)}),a.control.renderNew()}),q.convertSelectorToFormat=j}),function(){}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/index.html b/admincp.php/assets/tinymce/plugins/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/index.php b/admincp.php/assets/tinymce/plugins/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/link/index.html b/admincp.php/assets/tinymce/plugins/link/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/link/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/link/index.php b/admincp.php/assets/tinymce/plugins/link/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/link/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/link/plugin.min.js b/admincp.php/assets/tinymce/plugins/link/plugin.min.js
new file mode 100644
index 0000000..dff4cec
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/link/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i0},j=function(a){return!(/]+>[^<]+<\/a>$/.test(a)||a.indexOf("href=")==-1))},k=function(a){return a&&"FIGURE"===a.nodeName&&/\bimage\b/i.test(a.className)},l=function(a,c){return function(e){a.undoManager.transact(function(){var g=a.selection.getNode(),h=f(a,g),i={href:e.href,target:e.target?e.target:null,rel:e.rel?e.rel:null,"class":e["class"]?e["class"]:null,title:e.title?e.title:null};b.allowUnsafeLinkTarget(a.settings)===!1&&(i.rel=d(i.rel,"_blank"==i.target)),e.href===c.href&&(c.attach(),c={}),h?(a.focus(),e.hasOwnProperty("text")&&("innerText"in h?h.innerText=e.text:h.textContent=e.text),a.dom.setAttribs(h,i),a.selection.select(h),a.undoManager.add()):k(g)?o(a,g,i):e.hasOwnProperty("text")?a.insertContent(a.dom.createHTML("a",i,a.dom.encode(e.text))):a.execCommand("mceInsertLink",!1,i)})}},m=function(a){return function(){a.undoManager.transact(function(){var b=a.selection.getNode();k(b)?n(a,b):a.execCommand("unlink")})}},n=function(a,b){var c,d;d=a.dom.select("img",b)[0],d&&(c=a.dom.getParents(d,"a[href]",b)[0],c&&(c.parentNode.insertBefore(d,c),a.dom.remove(c)))},o=function(a,b,c){var d,e;e=a.dom.select("img",b)[0],e&&(d=a.dom.create("a",c),e.parentNode.insertBefore(d,e),d.appendChild(e))};return{link:l,unlink:m,isLink:h,hasLinks:i,isOnlyTextSelected:j,getAnchorElement:f,getAnchorText:g}}),g("6",["a","b","c","8","9"],function(a,b,c,d,e){var f={},g=function(a,b){var d=e.getLinkList(a.settings);"string"==typeof d?c.send({url:d,success:function(c){b(a,JSON.parse(c))}}):"function"==typeof d?d(function(c){b(a,c)}):b(a,d)},h=function(a,c,d){var e=function(a,d){return d=d||[],b.each(a,function(a){var b={text:a.text||a.title};a.menu?b.menu=e(a.menu):(b.value=a.value,c&&c(b)),d.push(b)}),d};return e(a,d||[])},i=function(b,c,d){var e=b.selection.getRng();a.setEditorTimeout(b,function(){b.windowManager.confirm(c,function(a){b.selection.setRng(e),d(a)})})},j=function(a,c){var g,j,k,l,m,n,o,p,q,r,s,t={},u=a.selection,v=a.dom,w=function(a){var b=k.find("#text");(!b.value()||a.lastControl&&b.value()==a.lastControl.text())&&b.value(a.control.text()),k.find("#href").value(a.control.value())},x=function(c){var d=[];if(b.each(a.dom.select("a:not([href])"),function(a){var b=a.name||a.id;b&&d.push({text:b,value:"#"+b,selected:c.indexOf("#"+b)!=-1})}),d.length)return d.unshift({text:"None",value:""}),{name:"anchor",type:"listbox",label:"Anchors",values:d,onselect:w}},y=function(){j||!l||t.text||this.parent().parent().find("#text")[0].value(this.value())},z=function(c){var d=c.meta||{};n&&n.value(a.convertURL(this.value(),"href")),b.each(c.meta,function(a,b){var c=k.find("#"+b);"text"===b?0===j.length&&(c.value(a),t.text=a):c.value(a)}),d.attach&&(f={href:this.value(),attach:d.attach}),d.text||y.call(this)},A=function(a){a.meta=k.toJSON()};l=d.isOnlyTextSelected(u.getContent()),g=d.getAnchorElement(a),t.text=j=d.getAnchorText(a.selection,g),t.href=g?v.getAttrib(g,"href"):"",g?t.target=v.getAttrib(g,"target"):e.hasDefaultLinkTarget(a.settings)&&(t.target=e.getDefaultLinkTarget(a.settings)),(s=v.getAttrib(g,"rel"))&&(t.rel=s),(s=v.getAttrib(g,"class"))&&(t["class"]=s),(s=v.getAttrib(g,"title"))&&(t.title=s),l&&(m={name:"text",type:"textbox",size:40,label:"Text to display",onchange:function(){t.text=this.value()}}),c&&(n={type:"listbox",label:"Link list",values:h(c,function(b){b.value=a.convertURL(b.value||b.url,"href")},[{text:"None",value:""}]),onselect:w,value:a.convertURL(t.href,"href"),onPostRender:function(){n=this}}),e.shouldShowTargetList(a.settings)&&(void 0===e.getTargetList(a.settings)&&e.setTargetList(a,[{text:"None",value:""},{text:"New window",value:"_blank"}]),p={name:"target",type:"listbox",label:"Target",values:h(e.getTargetList(a.settings))}),e.hasRelList(a.settings)&&(o={name:"rel",type:"listbox",label:"Rel",values:h(e.getRelList(a.settings))}),e.hasLinkClassList(a.settings)&&(q={name:"class",type:"listbox",label:"Class",values:h(e.getLinkClassList(a.settings),function(b){b.value&&(b.textStyle=function(){return a.formatter.getCssText({inline:"a",classes:[b.value]})})})}),e.shouldShowLinkTitle(a.settings)&&(r={name:"title",type:"textbox",label:"Title",value:t.title}),k=a.windowManager.open({title:"Insert link",data:t,body:[{name:"href",type:"filepicker",filetype:"file",size:40,autofocus:!0,label:"Url",onchange:z,onkeyup:y,onbeforecall:A},m,r,x(t.href),n,o,p,q],onSubmit:function(c){var g=e.assumeExternalTargets(a.settings),h=d.link(a,f),k=d.unlink(a),m=b.extend({},t,c.data),n=m.href;return n?(l&&m.text!==j||delete m.text,n.indexOf("@")>0&&n.indexOf("//")==-1&&n.indexOf("mailto:")==-1?void i(a,"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",function(a){a&&(m.href="mailto:"+n),h(m)}):g===!0&&!/^\w+:/i.test(n)||g===!1&&/^\s*www[\.|\d\.]/i.test(n)?void i(a,"The URL you entered seems to be an external link. Do you want to add the required http:// prefix?",function(a){a&&(m.href="http://"+n),h(m)}):void h(m)):void k()}})},k=function(a){g(a,j)};return{open:k}}),g("e",["4"],function(a){return a("tinymce.dom.DOMUtils")}),g("f",["4"],function(a){return a("tinymce.Env")}),g("7",["e","f"],function(a,b){var c=function(a,b){document.body.appendChild(a),a.dispatchEvent(b),document.body.removeChild(a)},d=function(d){if(!b.ie||b.ie>10){var e=document.createElement("a");e.target="_blank",e.href=d,e.rel="noreferrer noopener";var f=document.createEvent("MouseEvents");f.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),c(e,f)}else{var g=window.open("","_blank");if(g){g.opener=null;var h=g.document;h.open(),h.write(' '),h.close()}}};return{open:d}}),g("2",["5","6","7","8","9"],function(a,b,c,d,e){var f=function(a,b){return a.dom.getParent(b,"a[href]")},g=function(a){return f(a,a.selection.getStart())},h=function(a){var b=a.getAttribute("data-mce-href");return b?b:a.getAttribute("href")},i=function(a){var b=a.plugins.contextmenu;return!!b&&b.isContextMenuVisible()},j=function(a){return a.altKey===!0&&a.shiftKey===!1&&a.ctrlKey===!1&&a.metaKey===!1},k=function(a,b){if(b){var d=h(b);if(/^#/.test(d)){var e=a.$(d);e.length&&a.selection.scrollIntoView(e[0],!0)}else c.open(b.href)}},l=function(a){return function(){b.open(a)}},m=function(a){return function(){k(a,g(a))}},n=function(a){return function(b){var c,f,g;return!!(e.hasContextToolbar(a.settings)&&!i(a)&&d.isLink(b)&&(c=a.selection,f=c.getRng(),g=f.startContainer,3==g.nodeType&&c.isCollapsed()&&f.startOffset>0&&f.startOffset
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/lists/index.php b/admincp.php/assets/tinymce/plugins/lists/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/lists/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/lists/plugin.min.js b/admincp.php/assets/tinymce/plugins/lists/plugin.min.js
new file mode 100644
index 0000000..a5d4a32
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/lists/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i0)&&d},j=function(a,b){return a.isChildOf(b,a.getRoot())};return{isTextNode:a,isListNode:b,isListItemNode:c,isBr:d,isFirstChild:e,isLastChild:f,isTextBlock:g,isBogusBr:h,isEmpty:i,isChildOfBody:j}}),g("h",["9"],function(a){return a("tinymce.dom.RangeUtils")}),g("j",["h","8"],function(a,b){var c=function(c,d){var e=a.getNode(c,d);if(b.isListItemNode(c)&&b.isTextNode(e)){var f=d>=c.childNodes.length?e.data.length:0;return{container:e,offset:f}}return{container:c,offset:d}},d=function(a){var b=a.cloneRange(),d=c(a.startContainer,a.startOffset);b.setStart(d.container,d.offset);var e=c(a.endContainer,a.endOffset);return b.setEnd(e.container,e.offset),b};return{getNormalizedEndPoint:c,normalizeRange:d}}),g("b",["a","8","j"],function(a,b,c){var d=a.DOM,e=function(a){var b={},c=function(c){var e,f,g;f=a[c?"startContainer":"endContainer"],g=a[c?"startOffset":"endOffset"],1===f.nodeType&&(e=d.create("span",{"data-mce-type":"bookmark"}),f.hasChildNodes()?(g=Math.min(g,f.childNodes.length-1),c?f.insertBefore(e,f.childNodes[g]):d.insertAfter(e,f.childNodes[g])):f.appendChild(e),f=e,g=0),b[c?"startContainer":"endContainer"]=f,b[c?"startOffset":"endOffset"]=g};return c(!0),a.collapsed||c(),b},f=function(a){function b(b){var c,e,f,g=function(a){for(var b=a.parentNode.firstChild,c=0;b;){if(b===a)return c;1===b.nodeType&&"bookmark"===b.getAttribute("data-mce-type")||c++,b=b.nextSibling}return-1};c=f=a[b?"startContainer":"endContainer"],e=a[b?"startOffset":"endOffset"],c&&(1===c.nodeType&&(e=g(c),c=c.parentNode,d.remove(f)),a[b?"startContainer":"endContainer"]=c,a[b?"startOffset":"endOffset"]=e)}b(!0),b();var e=d.createRng();return e.setStart(a.startContainer,a.startOffset),a.endContainer&&e.setEnd(a.endContainer,a.endOffset),c.normalizeRange(e)};return{createBookmark:e,resolveBookmark:f}}),g("c",["2","8"],function(a,b){var c=function(c){return a.grep(c.selection.getSelectedBlocks(),function(a){return b.isListItemNode(a)})};return{getSelectedListItems:c}}),g("4",["a","b","8","c"],function(a,b,c,d){var e=a.DOM,f=function(a,b){var d;if(c.isListNode(a)){for(;d=a.firstChild;)b.appendChild(d);e.remove(a)}},g=function(a){var b,d,g;return"DT"===a.nodeName?(e.rename(a,"DD"),!0):(b=a.previousSibling,b&&c.isListNode(b)?(b.appendChild(a),!0):b&&"LI"===b.nodeName&&c.isListNode(b.lastChild)?(b.lastChild.appendChild(a),f(a.lastChild,b.lastChild),!0):(b=a.nextSibling,b&&c.isListNode(b)?(b.insertBefore(a,b.firstChild),!0):(b=a.previousSibling,!(!b||"LI"!==b.nodeName)&&(d=e.create(a.parentNode.nodeName),g=e.getStyle(a.parentNode,"listStyleType"),g&&e.setStyle(d,"listStyleType",g),b.appendChild(d),d.appendChild(a),f(a.lastChild,d),!0))))},h=function(a){var c=d.getSelectedListItems(a);if(c.length){for(var e=b.createBookmark(a.selection.getRng(!0)),f=0;f10)||g.appendChild(c.create("br",{"data-mce-bogus":"1"})):i.appendChild(c.create("br")),i};return{createNewTextBlock:d}}),g("e",["a","8","f","2"],function(a,b,c,d){var e=a.DOM,f=function(a,f,g,h){var i,j,k,l,m=function(a){d.each(k,function(b){a.parentNode.insertBefore(b,g.parentNode)}),e.remove(a)};for(k=e.select('span[data-mce-type="bookmark"]',f),h=h||c.createNewTextBlock(a,g),i=e.createRng(),i.setStartAfter(g),i.setEndAfter(f),j=i.extractContents(),l=j.firstChild;l;l=l.firstChild)if("LI"===l.nodeName&&a.dom.isEmpty(l)){e.remove(l);break}a.dom.isEmpty(j)||e.insertAfter(j,f),e.insertAfter(h,f),b.isEmpty(a.dom,g.parentNode)&&m(g.parentNode),e.remove(g),b.isEmpty(a.dom,f)&&e.remove(f)};return{splitList:f}}),g("5",["a","b","8","d","c","e","f"],function(a,b,c,d,e,f,g){var h=a.DOM,i=function(a,b){c.isEmpty(a,b)&&h.remove(b)},j=function(a,b){var e,j=b.parentNode,k=j.parentNode;return j===a.getBody()||("DD"===b.nodeName?(h.rename(b,"DT"),!0):c.isFirstChild(b)&&c.isLastChild(b)?("LI"===k.nodeName?(h.insertAfter(b,k),i(a.dom,k),h.remove(j)):c.isListNode(k)?h.remove(j,!0):(k.insertBefore(g.createNewTextBlock(a,b),j),h.remove(j)),!0):c.isFirstChild(b)?("LI"===k.nodeName?(h.insertAfter(b,k),b.appendChild(j),i(a.dom,k)):c.isListNode(k)?k.insertBefore(b,j):(k.insertBefore(g.createNewTextBlock(a,b),j),h.remove(b)),!0):c.isLastChild(b)?("LI"===k.nodeName?h.insertAfter(b,k):c.isListNode(k)?h.insertAfter(b,j):(h.insertAfter(g.createNewTextBlock(a,b),j),h.remove(b)),!0):("LI"===k.nodeName?(j=k,e=g.createNewTextBlock(a,b,"LI")):e=c.isListNode(k)?g.createNewTextBlock(a,b,"LI"):g.createNewTextBlock(a,b),f.splitList(a,j,b,e),d.normalizeLists(a.dom,j.parentNode),!0))},k=function(a){var c=e.getSelectedListItems(a);if(c.length){var d,f,g=b.createBookmark(a.selection.getRng(!0)),h=a.getBody();for(d=c.length;d--;)for(var i=c[d].parentNode;i&&i!==h;){for(f=c.length;f--;)if(c[f]===i){c.splice(d,1);break}i=i.parentNode}for(d=0;d0))return i;for(g=c.schema.getNonEmptyElements(),1===i.nodeType&&(i=a.getNode(i,j)),h=new b(i,c.getBody()),e&&f.isBogusBr(c.dom,i)&&h.next();i=h[e?"next":"prev2"]();){if("LI"===i.nodeName&&!i.hasChildNodes())return i;if(g[i.nodeName])return i;if(3===i.nodeType&&i.data.length>0)return i}},k=function(a,b,c){var d,e,g=b.parentNode;if(f.isChildOfBody(a,b)&&f.isChildOfBody(a,c)){if(f.isListNode(c.lastChild)&&(e=c.lastChild),g===c.lastChild&&f.isBr(g.previousSibling)&&a.remove(g.previousSibling),d=c.lastChild,d&&f.isBr(d)&&b.hasChildNodes()&&a.remove(d),f.isEmpty(a,c,!0)&&a.$(c).empty(),!f.isEmpty(a,b,!0))for(;d=b.firstChild;)c.appendChild(d);e&&c.appendChild(e),a.remove(b),f.isEmpty(a,g)&&g!==a.getRoot()&&a.remove(g)}},l=function(a,b){var c,g,i,l=a.dom,m=a.selection,n=l.getParent(m.getStart(),"LI");if(n){if(c=n.parentNode,c===a.getBody()&&f.isEmpty(l,c))return!0;if(g=h.normalizeRange(m.getRng(!0)),i=l.getParent(j(a,g,b),"LI"),i&&i!==n){var o=e.createBookmark(g);return b?k(l,i,n):k(l,n,i),a.selection.setRng(e.resolveBookmark(o)),!0}if(!i&&!b&&d.removeList(a,c.nodeName))return!0}return!1},m=function(a,b){var c=a.dom,e=c.getParent(a.selection.getStart(),c.isBlock);if(e&&c.isEmpty(e)){var f=h.normalizeRange(a.selection.getRng(!0)),g=c.getParent(j(a,f,b),"LI");if(g)return a.undoManager.transact(function(){c.remove(e),d.mergeWithAdjacentLists(c,g.parentNode),a.selection.select(g,!0),a.selection.collapse(b)}),!0}return!1},n=function(a,b){return l(a,b)||m(a,b)},o=function(a){var b=a.dom.getParent(a.selection.getStart(),"LI,DT,DD");return!!(b||i.getSelectedListItems(a).length>0)&&(a.undoManager.transact(function(){a.execCommand("Delete"),g.normalizeLists(a.dom,a.getBody())}),!0)},p=function(a,b){return a.selection.isCollapsed()?n(a,b):o(a)},q=function(a){a.on("keydown",function(b){b.keyCode===c.BACKSPACE?p(a,!1)&&b.preventDefault():b.keyCode===c.DELETE&&p(a,!0)&&b.preventDefault()})};return{setup:q,backspaceDelete:p}}),g("0",["1","2","3","4","5","6","7","8"],function(a,b,c,d,e,f,g,h){var i=function(a,b){return function(){var c=a.dom.getParent(a.selection.getStart(),"UL,OL,DL");return c&&c.nodeName===b}},j=function(a){a.on("BeforeExecCommand",function(b){var c,f=b.command.toLowerCase();if("indent"===f?d.indentSelection(a)&&(c=!0):"outdent"===f&&e.outdentSelection(a)&&(c=!0),c)return a.fire("ExecCommand",{command:b.command}),b.preventDefault(),!0}),a.addCommand("InsertUnorderedList",function(b,c){f.toggleList(a,"UL",c)}),a.addCommand("InsertOrderedList",function(b,c){f.toggleList(a,"OL",c)}),a.addCommand("InsertDefinitionList",function(b,c){f.toggleList(a,"DL",c)})},k=function(a){a.addQueryStateHandler("InsertUnorderedList",i(a,"UL")),a.addQueryStateHandler("InsertOrderedList",i(a,"OL")),a.addQueryStateHandler("InsertDefinitionList",i(a,"DL"))},l=function(a){a.on("keydown",function(b){9!==b.keyCode||c.metaKeyPressed(b)||a.dom.getParent(a.selection.getStart(),"LI,DT,DD")&&(b.preventDefault(),b.shiftKey?e.outdentSelection(a):d.indentSelection(a))})},m=function(a){var c=function(c){return function(){var d=this;a.on("NodeChange",function(a){var e=b.grep(a.parents,h.isListNode);d.active(e.length>0&&e[0].nodeName===c)})}},d=function(a,c){var d=a.settings.plugins?a.settings.plugins:"";return b.inArray(d.split(/[ ,]/),c)!==-1};d(a,"advlist")||(a.addButton("numlist",{title:"Numbered list",cmd:"InsertOrderedList",onPostRender:c("OL")}),a.addButton("bullist",{title:"Bullet list",cmd:"InsertUnorderedList",onPostRender:c("UL")})),a.addButton("indent",{icon:"indent",title:"Increase indent",cmd:"Indent",onPostRender:function(b){var c=b.control;a.on("nodechange",function(){for(var b=a.selection.getSelectedBlocks(),d=!1,e=0,f=b.length;!d&&e
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/img/index.php b/admincp.php/assets/tinymce/plugins/localautosave/img/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/localautosave/img/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/img/progress.gif b/admincp.php/assets/tinymce/plugins/localautosave/img/progress.gif
new file mode 100644
index 0000000..e0848fd
Binary files /dev/null and b/admincp.php/assets/tinymce/plugins/localautosave/img/progress.gif differ
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/index.html b/admincp.php/assets/tinymce/plugins/localautosave/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/localautosave/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/index.php b/admincp.php/assets/tinymce/plugins/localautosave/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/localautosave/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/langs/en.js b/admincp.php/assets/tinymce/plugins/localautosave/langs/en.js
new file mode 100644
index 0000000..ad160b0
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/localautosave/langs/en.js
@@ -0,0 +1,8 @@
+tinyMCE.addI18n('en', {
+ 'localautosave.restoreContent' : 'Restore content',
+ 'localautosave.chooseVersion' : 'Choose what you want to restore',
+ 'localautosave.chars' : 'chars',
+ 'localautosave.clearAll' : 'Discard all stored versions',
+ 'localautosave.noContent' : 'There is no content available to restore.',
+ 'localautosave.ifRestore' : 'If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?'
+});
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/langs/es.js b/admincp.php/assets/tinymce/plugins/localautosave/langs/es.js
new file mode 100644
index 0000000..26bd9d7
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/localautosave/langs/es.js
@@ -0,0 +1,8 @@
+tinyMCE.addI18n('es', {
+ 'localautosave.restoreContent' : 'Restaurar Contenido',
+ 'localautosave.chooseVersion' : 'Elije la versión que deseas restaurar',
+ 'localautosave.chars' : 'caracteres',
+ 'localautosave.clearAll' : 'Desechar todas las versiones guardadas',
+ 'localautosave.noContent' : 'No existe contenido disponible para restaurar.',
+ 'localautosave.ifRestore' : 'Si restauras el contenido guardado, perderás todo el contenido existente en el editor \n\nEstás seguro de restaurar el contenido?'
+});
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/langs/index.html b/admincp.php/assets/tinymce/plugins/localautosave/langs/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/localautosave/langs/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/langs/index.php b/admincp.php/assets/tinymce/plugins/localautosave/langs/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/localautosave/langs/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/langs/it.js b/admincp.php/assets/tinymce/plugins/localautosave/langs/it.js
new file mode 100644
index 0000000..9db9307
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/localautosave/langs/it.js
@@ -0,0 +1,8 @@
+tinyMCE.addI18n('it', {
+ 'localautosave.restoreContent' : 'Ripristina il contenuto',
+ 'localautosave.chooseVersion' : 'Scegli tra le versioni disponibili',
+ 'localautosave.chars' : 'caratteri',
+ 'localautosave.clearAll' : 'Scarta tutte le versioni',
+ 'localautosave.noContent' : 'Non ci sono versioni recuperabili per questo testo',
+ 'localautosave.ifRestore' : 'Attenzione: sostituire il testo con quello precedentemente salvato?'
+});
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/langs/pt_BR.js b/admincp.php/assets/tinymce/plugins/localautosave/langs/pt_BR.js
new file mode 100644
index 0000000..8ff9971
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/localautosave/langs/pt_BR.js
@@ -0,0 +1,8 @@
+tinyMCE.addI18n('pt_BR',{
+ 'localautosave.restoreContent' : 'Restaurar Conteúdo',
+ 'localautosave.chooseVersion' : 'Escolha o que deseja restaurar',
+ 'localautosave.chars' : 'caracteres',
+ 'localautosave.clearAll' : 'Descartar todas as versões salvas',
+ 'localautosave.noContent' : 'Não há nenhum conteúdo disponível para restaurar.',
+ 'localautosave.ifRestore' : 'Se você restaurar o conteúdo salvo, você vai perder todo o conteúdo que está atualmente no editor.\n\nTem certeza de que deseja restaurar o conteúdo salvo?'
+});
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/langs/ru.js b/admincp.php/assets/tinymce/plugins/localautosave/langs/ru.js
new file mode 100644
index 0000000..d55a9a1
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/localautosave/langs/ru.js
@@ -0,0 +1,8 @@
+tinyMCE.addI18n('ru', {
+ 'localautosave.restoreContent' : '\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043d\u0442',
+ 'localautosave.chooseVersion' : '\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435, \u0447\u0442\u043e \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c',
+ 'localautosave.chars' : '\u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432',
+ 'localautosave.clearAll' : '\u0423\u0431\u0440\u0430\u0442\u044c \u0432\u0441\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438',
+ 'localautosave.noContent' : '\u041d\u0435\u0442 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0434\u043b\u044f \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f.',
+ 'localautosave.ifRestore' : '\u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043d\u0442, \u0432\u044b \u043f\u043e\u0442\u0435\u0440\u044f\u0435\u0442\u0435 \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0432\u0432\u0435\u0434\u0435\u043d\u044b \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435.\n\n\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u044b \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043d\u0442?'
+});
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/plugin.js b/admincp.php/assets/tinymce/plugins/localautosave/plugin.js
new file mode 100644
index 0000000..f5cf472
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/localautosave/plugin.js
@@ -0,0 +1,797 @@
+/**
+ * LAS - Local Auto Save Plugin
+ * localautosave/plugin.min.js
+ *
+ * Released under Creative Commons Attribution 3.0 Unported License
+ *
+ * License: http://creativecommons.org/licenses/by/3.0/
+ * Plugin info: http://valtlfelipe.github.io/TinyMCE-LocalAutoSave/
+ * Author: Felipe Valtl de Mello
+ *
+ * Version: 0.3 released 05/01/2014
+ *
+ *
+ * Modified by Diego Valerio Camarda
+ * https://github.com/dvcama/TinyMCE-LocalAutoSave
+ *
+ */
+
+tinymce.PluginManager.requireLangPack('localautosave');
+tinymce.PluginManager.add("localautosave", function(editor, url) {
+
+ /**
+ * ########################################
+ * Plugin Variables
+ * ########################################
+ */
+ var $form = $(editor.formElement);
+
+ var $useLocalStorage = false;
+
+ var $useSessionStorage = false;
+
+ var $editorID = editor.id;
+
+ var $busy = false;
+
+ var $storage = localStorage;
+
+ var $lastKey = null;
+
+ var cookieEncodeKey = {
+ "%" : "%1",
+ "&" : "%2",
+ ";" : "%3",
+ "=" : "%4",
+ "<" : "%5"
+ };
+ var cookieDecodeKey = {
+ "%1" : "%",
+ "%2" : "&",
+ "%3" : ";",
+ "%4" : "=",
+ "%5" : "<"
+ };
+ var settings = {
+ seconds : editor.getParam('las_seconds') || 6,
+ keyName : editor.getParam('las_keyName') || 'LocalAutoSave',
+ callback : editor.getParam('las_callback'),
+ /* las_nVersions number of versions of the text we want to store */
+ versions : editor.getParam('las_nVersions') || 15
+ };
+ var cookieFilter = new RegExp("(?:^|;\\s*)" + settings.keyName + $editorID + "=([^;]*)(?:;|$)", "i");
+
+ setStyle();
+ /**
+ * ########################################
+ * Verify which save method
+ * the browser supports
+ * ########################################
+ */
+ try {
+ $storage.setItem('LASTest', "OK");
+ if ($storage.getItem('LASTest') === "OK") {
+ $storage.removeItem('LASTest');
+ $useLocalStorage = true;
+ }
+ } catch (error) {
+
+ try {
+ $storage = sessionStorage;
+ $storage.setItem('LASTest', "OK");
+
+ if ($storage.getItem('LASTest') === "OK") {
+ $storage.removeItem('LASTest');
+ $useSessionStorage = true;
+ }
+ } catch (error) {
+ $storage = null;
+ }
+ }
+
+ /**
+ * ########################################
+ * Create Restore Button
+ * ########################################
+ */
+ var button = editor.addButton("localautosave", {
+ text : "",
+ icon : 'restoredraft',
+ tooltip : 'localautosave.restoreContent',
+ onclick : function() {
+ save();
+ while (!$busy) {
+ restore();
+ }
+
+ }
+ });
+
+ /**
+ * ########################################
+ * Encodes special characters to
+ * save in browsers cookie
+ * ########################################
+ */
+ function encodeCookie(str) {
+ return str.replace(/[\x00-\x1f]+| | /gi, " ").replace(/(.)\1{5,}|[%&;=<]/g, function(c) {
+ if (c.length > 1) {
+ return ("%0" + c.charAt(0) + c.length.toString() + "%");
+ }
+ return cookieEncodeKey[c];
+ });
+ }
+
+ /**
+ * ########################################
+ * Decode special characters from
+ * browsers cookie to display in editor
+ * ########################################
+ */
+ function decodeCookie(str) {
+ return str.replace(/%[1-5]|%0(.)(\d+)%/g, function(c, m, d) {
+ var a, i, l;
+
+ if (c.length == 2) {
+ return cookieDecodeKey[c];
+ }
+
+ for ( a = [], i = 0, l = parseInt(d); i < l; i++) {
+ a.push(m);
+ }
+
+ return a.join("");
+ });
+ }
+
+ /**
+ * ########################################
+ * Encodes special characters to
+ * save in browsers Storage
+ * ########################################
+ */
+ function encodeStorage(str) {
+ return str.replace(/,/g, ",");
+ }
+
+ /**
+ * ########################################
+ * Decode special characters from
+ * browsers storage to display in editor
+ * ########################################
+ */
+ function decodeStorage(str) {
+ return str.replace(/,/g, ",");
+ }
+
+ /**
+ * ########################################
+ * List contents available for an area
+ * ########################################
+ */
+ function list() {
+ var contents = [];
+ if ($storage) {
+ for (var i = 0, j = $storage.length; i < j; i++) {
+ var key = $storage.key([i]);
+ if (key.indexOf(settings.keyName + $editorID) == 0) {
+ contents.push($storage.getItem(key));
+ }
+ };
+ } else {
+ //TODO: "manage cookie mode"
+ }
+ contents.sort();
+ return contents.reverse();
+ }
+
+ /**
+
+ * ########################################
+ * List keys available for an area
+ * ########################################
+ */
+ function listKeys(excedingQuota) {
+ var keys = [];
+ if ($storage) {
+ for (var i = 0, j = $storage.length; i < j; i++) {
+ var key = $storage.key([i]);
+ if (key.indexOf(settings.keyName + $editorID) == 0) {
+ keys.push(key);
+ }
+ };
+ } else {
+ //TODO: "manage cookie mode"
+ }
+ keys.sort(function(a, b) {
+ return $storage.getItem(a) > $storage.getItem(b);
+ });
+ keys.reverse();
+ if (excedingQuota > 0) {
+ /* return only keys that are exceeding the quota (las_nVersions)*/
+ var tmpKeys = keys;
+ keys = [];
+ if (excedingQuota < tmpKeys.length) {
+ for (var i = excedingQuota, j = tmpKeys.length; i < j; i++) {
+ keys.push(tmpKeys[i]);
+ };
+ }
+ }
+ return keys;
+ }
+
+ /**
+ * ########################################
+ * remove contents in array
+ * ########################################
+ */
+ function clearAll(keys) {
+ if ($storage) {
+ for (var i = 0, j = keys.length; i < j; i++) {
+ $storage.removeItem(keys[i]);
+ };
+ } else {
+ //TODO: "manage cookie mode"
+ }
+ }
+
+ /**
+ * ########################################
+ * Save content action
+ * ########################################
+ */
+ var save = function() {
+ if (!$busy && editor.isDirty()) {
+ $busy = true;
+ content = editor.getContent();
+ is = editor.editorManager.is;
+ var saved = false;
+ if (is(content, "string") && (content.length > 0)) {
+ now = new Date();
+ exp = new Date(now.getTime() + (20 * 60 * 1000));
+ var key = settings.keyName + $editorID;
+ if (settings.versions > 0) {
+ key = key + md5(content);
+ }
+ console.log($editorID);
+ if (settings.versions === 0 || $lastKey != key) {
+ try {
+ if ($storage) {
+ if (!$storage.getItem(key)) {
+ $storage.setItem(key, now.toISOString().replace(/T/g, ' ').replace(/\.[0-9]*Z$/g, '') + "," + encodeStorage(content));
+ }
+ } else {
+ /*TODO: manage cookie mode*/
+ a = key + "=";
+ b = "; expires=" + exp.toUTCString();
+ document.cookie = a + encodeCookie(content).slice(0, 4096 - a.length - b.length) + b;
+ }
+ saved = true;
+ } catch (error) {
+ console.log(error);
+ }
+
+ if (saved) {
+ obj = new Object();
+ obj.content = content;
+ obj.time = now.getTime();
+ if (settings.callback) {
+ settings.callback.call(obj);
+ }
+ var btn = getButtonByName('localautosave');
+ $(btn).find('i').replaceWith(' ');
+ var t = setTimeout(function() {
+ $(btn).find('i').replaceWith(' ');
+ }, 2000);
+ }
+ }
+ if (saved) {
+ $lastKey = key;
+ }
+ if (settings.versions > 0) {
+ clearAll(listKeys(settings.versions));
+ }
+
+ }
+ }
+
+ $busy = false;
+ };
+ /**
+ * ########################################
+ * Set save interval
+ * ########################################
+ */
+ var interval = setInterval(save, settings.seconds * 1000);
+
+ /**
+ * ########################################
+ * Restore content action
+ * ########################################
+ */
+ function restore() {
+ var content = null, is = editor.editorManager.is;
+ /* saving last version */
+ if (editor.getContent().replace(/<\/?[a-z]+[^>]*>/gi, '').length > 0) {
+ save();
+ }
+ $busy = true;
+ try {
+ if ($storage) {
+
+ var contents = list();
+
+ if (contents.length === 0) {
+ editor.windowManager.alert('localautosave.noContent');
+ } else {
+ if (contents.length === 1 && editor.getContent().replace(/\s| |<\/?p[^>]*>| ]*>/gi, "").length === 0) {
+ editor.setContent(decodeStorage(contents[0].substring(contents[0].indexOf(",") + 1)));
+ $busy = false;
+ } else {
+ var divContent = "";
+ for (var i = 0, j = contents.length; i < j; i++) {
+ var aContent = decodeStorage(contents[i].substring(contents[i].indexOf(",") + 1));
+ var aKey = contents[i].substring(0, contents[i].indexOf(","));
+ divContent += "" + aKey + " (" + aContent.replace(/<\/?[a-z]+[^>]*>/gi, '').length + " " + tinymce.translate('localautosave.chars') + ") " + aContent + " ";
+ };
+ divContent += " ";
+ editor.windowManager.open({
+ width : 380,
+ height : 240,
+ scrollbars : true,
+ title : 'localautosave.chooseVersion',
+ html : divContent,
+ buttons : [{
+ text : 'localautosave.clearAll',
+ onclick : function() {
+ clearAll(listKeys());
+ tinyMCE.activeEditor.windowManager.close();
+ }
+ }, {
+ text : 'Cancel',
+ onclick : 'close'
+ }]
+ });
+ var choose = $("#" + $editorID + "-popup-localautosave").find('li');
+ $('.localautosave_cnt:first').height($('.localautosave_cnt:first').parent().height() - 40);
+ choose.click(function() {
+ tinyMCE.activeEditor.setContent($(this).children('span').html());
+ tinyMCE.activeEditor.windowManager.close();
+ });
+ }
+ }
+ } else {
+ /* TODO: manage cookie mode*/
+ m = cookieFilter.exec(document.cookie);
+ if (m) {
+ content = decodeCookie(m[1]);
+ }
+
+ }
+ } catch (error) {
+ console.log(error);
+ $busy = false;
+ }
+ }
+
+ /**
+ * ########################################
+ * Get DOM for an toolbar button
+ * ########################################
+ */
+ function getButtonByName(name, getEl) {
+ var ed = editor, buttons = ed.buttons, toolbarObj = ed.theme.panel.find('toolbar *'), un = 'undefined';
+
+ if ( typeof buttons[name] === un)
+ return false;
+
+ var settings = buttons[name], result = false, length = 0;
+
+ tinymce.each(settings, function(v, k) {
+ length++;
+ });
+
+ tinymce.each(toolbarObj, function(v, k) {
+ if (v.type != 'button' || typeof v.settings === un)
+ return;
+
+ var i = 0;
+
+ tinymce.each(v.settings, function(v, k) {
+ if (settings[k] == v)
+ i++;
+ });
+
+ if (i != length)
+ return;
+
+ result = v;
+
+ if (getEl != false)
+ result = v.getEl();
+
+ return false;
+ });
+
+ return result;
+ }
+
+ function setStyle() {
+ var style = ".mce-container .localautosave_cnt , .mce-container * .localautosave_cnt , .mce-widget .localautosave_cnt , .mce-widget * .localautosave_cnt {padding:20px;overflow: auto;} ";
+ style += "#localautosave_list li {list-style:none;cursor:pointer;line-height:30px;border-bottom:1px solid #ddd;} ";
+ style += "#localautosave_list li:hover {background-color:#ddd;} ";
+ style += "#localautosave_list li span{display:none;} ";
+ style += "#localautosave_list li tt{float:right;line-height: 30px;} ";
+ $('head').append("");
+ }
+
+ /**
+ * ########################################
+ * including md5 functions
+ * to handle diff. between versions
+ * http://www.myersdaily.org/joseph/javascript/md5-text.html
+ * ########################################
+ */
+
+ function md5cycle(x, k) {
+ var a = x[0], b = x[1], c = x[2], d = x[3];
+
+ a = ff(a, b, c, d, k[0], 7, -680876936);
+ d = ff(d, a, b, c, k[1], 12, -389564586);
+ c = ff(c, d, a, b, k[2], 17, 606105819);
+ b = ff(b, c, d, a, k[3], 22, -1044525330);
+ a = ff(a, b, c, d, k[4], 7, -176418897);
+ d = ff(d, a, b, c, k[5], 12, 1200080426);
+ c = ff(c, d, a, b, k[6], 17, -1473231341);
+ b = ff(b, c, d, a, k[7], 22, -45705983);
+ a = ff(a, b, c, d, k[8], 7, 1770035416);
+ d = ff(d, a, b, c, k[9], 12, -1958414417);
+ c = ff(c, d, a, b, k[10], 17, -42063);
+ b = ff(b, c, d, a, k[11], 22, -1990404162);
+ a = ff(a, b, c, d, k[12], 7, 1804603682);
+ d = ff(d, a, b, c, k[13], 12, -40341101);
+ c = ff(c, d, a, b, k[14], 17, -1502002290);
+ b = ff(b, c, d, a, k[15], 22, 1236535329);
+
+ a = gg(a, b, c, d, k[1], 5, -165796510);
+ d = gg(d, a, b, c, k[6], 9, -1069501632);
+ c = gg(c, d, a, b, k[11], 14, 643717713);
+ b = gg(b, c, d, a, k[0], 20, -373897302);
+ a = gg(a, b, c, d, k[5], 5, -701558691);
+ d = gg(d, a, b, c, k[10], 9, 38016083);
+ c = gg(c, d, a, b, k[15], 14, -660478335);
+ b = gg(b, c, d, a, k[4], 20, -405537848);
+ a = gg(a, b, c, d, k[9], 5, 568446438);
+ d = gg(d, a, b, c, k[14], 9, -1019803690);
+ c = gg(c, d, a, b, k[3], 14, -187363961);
+ b = gg(b, c, d, a, k[8], 20, 1163531501);
+ a = gg(a, b, c, d, k[13], 5, -1444681467);
+ d = gg(d, a, b, c, k[2], 9, -51403784);
+ c = gg(c, d, a, b, k[7], 14, 1735328473);
+ b = gg(b, c, d, a, k[12], 20, -1926607734);
+
+ a = hh(a, b, c, d, k[5], 4, -378558);
+ d = hh(d, a, b, c, k[8], 11, -2022574463);
+ c = hh(c, d, a, b, k[11], 16, 1839030562);
+ b = hh(b, c, d, a, k[14], 23, -35309556);
+ a = hh(a, b, c, d, k[1], 4, -1530992060);
+ d = hh(d, a, b, c, k[4], 11, 1272893353);
+ c = hh(c, d, a, b, k[7], 16, -155497632);
+ b = hh(b, c, d, a, k[10], 23, -1094730640);
+ a = hh(a, b, c, d, k[13], 4, 681279174);
+ d = hh(d, a, b, c, k[0], 11, -358537222);
+ c = hh(c, d, a, b, k[3], 16, -722521979);
+ b = hh(b, c, d, a, k[6], 23, 76029189);
+ a = hh(a, b, c, d, k[9], 4, -640364487);
+ d = hh(d, a, b, c, k[12], 11, -421815835);
+ c = hh(c, d, a, b, k[15], 16, 530742520);
+ b = hh(b, c, d, a, k[2], 23, -995338651);
+
+ a = ii(a, b, c, d, k[0], 6, -198630844);
+ d = ii(d, a, b, c, k[7], 10, 1126891415);
+ c = ii(c, d, a, b, k[14], 15, -1416354905);
+ b = ii(b, c, d, a, k[5], 21, -57434055);
+ a = ii(a, b, c, d, k[12], 6, 1700485571);
+ d = ii(d, a, b, c, k[3], 10, -1894986606);
+ c = ii(c, d, a, b, k[10], 15, -1051523);
+ b = ii(b, c, d, a, k[1], 21, -2054922799);
+ a = ii(a, b, c, d, k[8], 6, 1873313359);
+ d = ii(d, a, b, c, k[15], 10, -30611744);
+ c = ii(c, d, a, b, k[6], 15, -1560198380);
+ b = ii(b, c, d, a, k[13], 21, 1309151649);
+ a = ii(a, b, c, d, k[4], 6, -145523070);
+ d = ii(d, a, b, c, k[11], 10, -1120210379);
+ c = ii(c, d, a, b, k[2], 15, 718787259);
+ b = ii(b, c, d, a, k[9], 21, -343485551);
+
+ x[0] = add32(a, x[0]);
+ x[1] = add32(b, x[1]);
+ x[2] = add32(c, x[2]);
+ x[3] = add32(d, x[3]);
+
+ }
+
+ function cmn(q, a, b, x, s, t) {
+ a = add32(add32(a, q), add32(x, t));
+ return add32((a << s) | (a >>> (32 - s)), b);
+ }
+
+ function ff(a, b, c, d, x, s, t) {
+ return cmn((b & c) | ((~b) & d), a, b, x, s, t);
+ }
+
+ function gg(a, b, c, d, x, s, t) {
+ return cmn((b & d) | (c & (~d)), a, b, x, s, t);
+ }
+
+ function hh(a, b, c, d, x, s, t) {
+ return cmn(b ^ c ^ d, a, b, x, s, t);
+ }
+
+ function ii(a, b, c, d, x, s, t) {
+ return cmn(c ^ (b | (~d)), a, b, x, s, t);
+ }
+
+ function md51(s) {
+ txt = '';
+ var n = s.length, state = [1732584193, -271733879, -1732584194, 271733878], i;
+ for ( i = 64; i <= s.length; i += 64) {
+ md5cycle(state, md5blk(s.substring(i - 64, i)));
+ }
+ s = s.substring(i - 64);
+ var tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
+ for ( i = 0; i < s.length; i++)
+ tail[i >> 2] |= s.charCodeAt(i) << ((i % 4) << 3);
+ tail[i >> 2] |= 0x80 << ((i % 4) << 3);
+ if (i > 55) {
+ md5cycle(state, tail);
+ for ( i = 0; i < 16; i++)
+ tail[i] = 0;
+ }
+ tail[14] = n * 8;
+ md5cycle(state, tail);
+ return state;
+ }
+
+ /* there needs to be support for Unicode here,
+ * unless we pretend that we can redefine the MD-5
+ * algorithm for multi-byte characters (perhaps
+ * by adding every four 16-bit characters and
+ * shortening the sum to 32 bits). Otherwise
+ * I suggest performing MD-5 as if every character
+ * was two bytes--e.g., 0040 0025 = @%--but then
+ * how will an ordinary MD-5 sum be matched?
+ * There is no way to standardize text to something
+ * like UTF-8 before transformation; speed cost is
+ * utterly prohibitive. The JavaScript standard
+ * itself needs to look at this: it should start
+ * providing access to strings as preformed UTF-8
+ * 8-bit unsigned value arrays.
+ */
+ function md5blk(s) {/* I figured global was faster. */
+ var md5blks = [], i;
+ /* Andy King said do it this way. */
+ for ( i = 0; i < 64; i += 4) {
+ md5blks[i >> 2] = s.charCodeAt(i) + (s.charCodeAt(i + 1) << 8) + (s.charCodeAt(i + 2) << 16) + (s.charCodeAt(i + 3) << 24);
+ }
+ return md5blks;
+ }
+
+ var hex_chr = '0123456789abcdef'.split('');
+
+ function rhex(n) {
+ var s = '', j = 0;
+ for (; j < 4; j++)
+ s += hex_chr[(n >> (j * 8 + 4)) & 0x0F] + hex_chr[(n >> (j * 8)) & 0x0F];
+ return s;
+ }
+
+ function hex(x) {
+ for (var i = 0; i < x.length; i++)
+ x[i] = rhex(x[i]);
+ return x.join('');
+ }
+
+ function md5(s) {
+ return hex(md51(s));
+ }
+
+ /* this function is much faster,
+ so if possible we use it. Some IEs
+ are the only ones I know of that
+ need the idiotic second function,
+ generated by an if clause. */
+
+ function add32(a, b) {
+ return (a + b) & 0xFFFFFFFF;
+ }
+
+ if (md5('hello') != '5d41402abc4b2a76b9719d911017c592') {
+ function add32(x, y) {
+ var lsw = (x & 0xFFFF) + (y & 0xFFFF), msw = (x >> 16) + (y >> 16) + (lsw >> 16);
+ return (msw << 16) | (lsw & 0xFFFF);
+ }
+
+ }
+ function md5cycle(x, k) {
+ var a = x[0], b = x[1], c = x[2], d = x[3];
+
+ a = ff(a, b, c, d, k[0], 7, -680876936);
+ d = ff(d, a, b, c, k[1], 12, -389564586);
+ c = ff(c, d, a, b, k[2], 17, 606105819);
+ b = ff(b, c, d, a, k[3], 22, -1044525330);
+ a = ff(a, b, c, d, k[4], 7, -176418897);
+ d = ff(d, a, b, c, k[5], 12, 1200080426);
+ c = ff(c, d, a, b, k[6], 17, -1473231341);
+ b = ff(b, c, d, a, k[7], 22, -45705983);
+ a = ff(a, b, c, d, k[8], 7, 1770035416);
+ d = ff(d, a, b, c, k[9], 12, -1958414417);
+ c = ff(c, d, a, b, k[10], 17, -42063);
+ b = ff(b, c, d, a, k[11], 22, -1990404162);
+ a = ff(a, b, c, d, k[12], 7, 1804603682);
+ d = ff(d, a, b, c, k[13], 12, -40341101);
+ c = ff(c, d, a, b, k[14], 17, -1502002290);
+ b = ff(b, c, d, a, k[15], 22, 1236535329);
+
+ a = gg(a, b, c, d, k[1], 5, -165796510);
+ d = gg(d, a, b, c, k[6], 9, -1069501632);
+ c = gg(c, d, a, b, k[11], 14, 643717713);
+ b = gg(b, c, d, a, k[0], 20, -373897302);
+ a = gg(a, b, c, d, k[5], 5, -701558691);
+ d = gg(d, a, b, c, k[10], 9, 38016083);
+ c = gg(c, d, a, b, k[15], 14, -660478335);
+ b = gg(b, c, d, a, k[4], 20, -405537848);
+ a = gg(a, b, c, d, k[9], 5, 568446438);
+ d = gg(d, a, b, c, k[14], 9, -1019803690);
+ c = gg(c, d, a, b, k[3], 14, -187363961);
+ b = gg(b, c, d, a, k[8], 20, 1163531501);
+ a = gg(a, b, c, d, k[13], 5, -1444681467);
+ d = gg(d, a, b, c, k[2], 9, -51403784);
+ c = gg(c, d, a, b, k[7], 14, 1735328473);
+ b = gg(b, c, d, a, k[12], 20, -1926607734);
+
+ a = hh(a, b, c, d, k[5], 4, -378558);
+ d = hh(d, a, b, c, k[8], 11, -2022574463);
+ c = hh(c, d, a, b, k[11], 16, 1839030562);
+ b = hh(b, c, d, a, k[14], 23, -35309556);
+ a = hh(a, b, c, d, k[1], 4, -1530992060);
+ d = hh(d, a, b, c, k[4], 11, 1272893353);
+ c = hh(c, d, a, b, k[7], 16, -155497632);
+ b = hh(b, c, d, a, k[10], 23, -1094730640);
+ a = hh(a, b, c, d, k[13], 4, 681279174);
+ d = hh(d, a, b, c, k[0], 11, -358537222);
+ c = hh(c, d, a, b, k[3], 16, -722521979);
+ b = hh(b, c, d, a, k[6], 23, 76029189);
+ a = hh(a, b, c, d, k[9], 4, -640364487);
+ d = hh(d, a, b, c, k[12], 11, -421815835);
+ c = hh(c, d, a, b, k[15], 16, 530742520);
+ b = hh(b, c, d, a, k[2], 23, -995338651);
+
+ a = ii(a, b, c, d, k[0], 6, -198630844);
+ d = ii(d, a, b, c, k[7], 10, 1126891415);
+ c = ii(c, d, a, b, k[14], 15, -1416354905);
+ b = ii(b, c, d, a, k[5], 21, -57434055);
+ a = ii(a, b, c, d, k[12], 6, 1700485571);
+ d = ii(d, a, b, c, k[3], 10, -1894986606);
+ c = ii(c, d, a, b, k[10], 15, -1051523);
+ b = ii(b, c, d, a, k[1], 21, -2054922799);
+ a = ii(a, b, c, d, k[8], 6, 1873313359);
+ d = ii(d, a, b, c, k[15], 10, -30611744);
+ c = ii(c, d, a, b, k[6], 15, -1560198380);
+ b = ii(b, c, d, a, k[13], 21, 1309151649);
+ a = ii(a, b, c, d, k[4], 6, -145523070);
+ d = ii(d, a, b, c, k[11], 10, -1120210379);
+ c = ii(c, d, a, b, k[2], 15, 718787259);
+ b = ii(b, c, d, a, k[9], 21, -343485551);
+
+ x[0] = add32(a, x[0]);
+ x[1] = add32(b, x[1]);
+ x[2] = add32(c, x[2]);
+ x[3] = add32(d, x[3]);
+
+ }
+
+ function cmn(q, a, b, x, s, t) {
+ a = add32(add32(a, q), add32(x, t));
+ return add32((a << s) | (a >>> (32 - s)), b);
+ }
+
+ function ff(a, b, c, d, x, s, t) {
+ return cmn((b & c) | ((~b) & d), a, b, x, s, t);
+ }
+
+ function gg(a, b, c, d, x, s, t) {
+ return cmn((b & d) | (c & (~d)), a, b, x, s, t);
+ }
+
+ function hh(a, b, c, d, x, s, t) {
+ return cmn(b ^ c ^ d, a, b, x, s, t);
+ }
+
+ function ii(a, b, c, d, x, s, t) {
+ return cmn(c ^ (b | (~d)), a, b, x, s, t);
+ }
+
+ function md51(s) {
+ txt = '';
+ var n = s.length, state = [1732584193, -271733879, -1732584194, 271733878], i;
+ for ( i = 64; i <= s.length; i += 64) {
+ md5cycle(state, md5blk(s.substring(i - 64, i)));
+ }
+ s = s.substring(i - 64);
+ var tail = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
+ for ( i = 0; i < s.length; i++)
+ tail[i >> 2] |= s.charCodeAt(i) << ((i % 4) << 3);
+ tail[i >> 2] |= 0x80 << ((i % 4) << 3);
+ if (i > 55) {
+ md5cycle(state, tail);
+ for ( i = 0; i < 16; i++)
+ tail[i] = 0;
+ }
+ tail[14] = n * 8;
+ md5cycle(state, tail);
+ return state;
+ }
+
+ /* there needs to be support for Unicode here,
+ * unless we pretend that we can redefine the MD-5
+ * algorithm for multi-byte characters (perhaps
+ * by adding every four 16-bit characters and
+ * shortening the sum to 32 bits). Otherwise
+ * I suggest performing MD-5 as if every character
+ * was two bytes--e.g., 0040 0025 = @%--but then
+ * how will an ordinary MD-5 sum be matched?
+ * There is no way to standardize text to something
+ * like UTF-8 before transformation; speed cost is
+ * utterly prohibitive. The JavaScript standard
+ * itself needs to look at this: it should start
+ * providing access to strings as preformed UTF-8
+ * 8-bit unsigned value arrays.
+ */
+ function md5blk(s) {/* I figured global was faster. */
+ var md5blks = [], i;
+ /* Andy King said do it this way. */
+ for ( i = 0; i < 64; i += 4) {
+ md5blks[i >> 2] = s.charCodeAt(i) + (s.charCodeAt(i + 1) << 8) + (s.charCodeAt(i + 2) << 16) + (s.charCodeAt(i + 3) << 24);
+ }
+ return md5blks;
+ }
+
+ var hex_chr = '0123456789abcdef'.split('');
+
+ function rhex(n) {
+ var s = '', j = 0;
+ for (; j < 4; j++)
+ s += hex_chr[(n >> (j * 8 + 4)) & 0x0F] + hex_chr[(n >> (j * 8)) & 0x0F];
+ return s;
+ }
+
+ function hex(x) {
+ for (var i = 0; i < x.length; i++)
+ x[i] = rhex(x[i]);
+ return x.join('');
+ }
+
+ function md5(s) {
+ return hex(md51(s));
+ }
+
+ /* this function is much faster,
+ so if possible we use it. Some IEs
+ are the only ones I know of that
+ need the idiotic second function,
+ generated by an if clause. */
+
+ function add32(a, b) {
+ return (a + b) & 0xFFFFFFFF;
+ }
+
+ if (md5('hello') != '5d41402abc4b2a76b9719d911017c592') {
+ function add32(x, y) {
+ var lsw = (x & 0xFFFF) + (y & 0xFFFF), msw = (x >> 16) + (y >> 16) + (lsw >> 16);
+ return (msw << 16) | (lsw & 0xFFFF);
+ }
+
+ }
+
+});
diff --git a/admincp.php/assets/tinymce/plugins/localautosave/plugin.min.js b/admincp.php/assets/tinymce/plugins/localautosave/plugin.min.js
new file mode 100644
index 0000000..4d30678
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/localautosave/plugin.min.js
@@ -0,0 +1,18 @@
+/**
+ * LAS - Local Auto Save Plugin
+ * localautosave/plugin.min.js
+ *
+ * Released under Creative Commons Attribution 3.0 Unported License
+ *
+ * License: http://creativecommons.org/licenses/by/3.0/
+ * Plugin info: http://valtlfelipe.github.io/TinyMCE-LocalAutoSave/
+ * Author: Felipe Valtl de Mello
+ *
+ * Version: 0.3 released 05/01/2014
+ *
+ *
+ * Modified by Diego Valerio Camarda
+ * https://github.com/dvcama/TinyMCE-LocalAutoSave
+ *
+ */
+tinymce.PluginManager.requireLangPack("localautosave");tinymce.PluginManager.add("localautosave",function(e,t){function g(e){return e.replace(/[\x00-\x1f]+| | /gi," ").replace(/(.)\1{5,}|[%&;=<]/g,function(e){if(e.length>1){return"%0"+e.charAt(0)+e.length.toString()+"%"}return l[e]})}function y(e){return e.replace(/%[1-5]|%0(.)(\d+)%/g,function(e,t,n){var r,i,s;if(e.length==2){return c[e]}for(r=[],i=0,s=parseInt(n);iu.getItem(t)});t.reverse();if(e>0){var o=t;t=[];if(e]*>/gi,"").length>0){N()}o=true;try{if(u){var r=S();if(r.length===0){e.windowManager.alert("localautosave.noContent")}else{if(r.length===1&&e.getContent().replace(/\s| |<\/?p[^>]*>| ]*>/gi,"").length===0){e.setContent(E(r[0].substring(r[0].indexOf(",")+1)));o=false}else{var i="";e.windowManager.open({width:380,height:240,scrollbars:true,title:"localautosave.chooseVersion",html:i,buttons:[{text:"localautosave.clearAll",onclick:function(){T(x());tinyMCE.activeEditor.windowManager.close()}},{text:"Cancel",onclick:"close"}]});var h=$("#"+s+"-popup-localautosave").find("li");$(".localautosave_cnt:first").height($(".localautosave_cnt:first").parent().height()-40);h.click(function(){tinyMCE.activeEditor.setContent($(this).children("span").html());tinyMCE.activeEditor.windowManager.close()})}}}else{m=p.exec(document.cookie);if(m){t=y(m[1])}}}catch(d){console.log(d);o=false}}function L(t,n){var r=e,i=r.buttons,s=r.theme.panel.find("toolbar *"),o="undefined";if(typeof i[t]===o)return false;var u=i[t],a=false,f=0;tinymce.each(u,function(e,t){f++});tinymce.each(s,function(e,t){if(e.type!="button"||typeof e.settings===o)return;var r=0;tinymce.each(e.settings,function(e,t){if(u[t]==e)r++});if(r!=f)return;a=e;if(n!=false)a=e.getEl();return false});return a}function A(){var e=".mce-container .localautosave_cnt , .mce-container * .localautosave_cnt , .mce-widget .localautosave_cnt , .mce-widget * .localautosave_cnt {padding:20px;overflow: auto;} ";e+="#localautosave_list li {list-style:none;cursor:pointer;line-height:30px;border-bottom:1px solid #ddd;} ";e+="#localautosave_list li:hover {background-color:#ddd;} ";e+="#localautosave_list li span{display:none;} ";e+="#localautosave_list li tt{float:right;line-height: 30px;} ";$("head").append("")}function O(e,t){var n=e[0],r=e[1],i=e[2],s=e[3];n=_(n,r,i,s,t[0],7,-680876936);s=_(s,n,r,i,t[1],12,-389564586);i=_(i,s,n,r,t[2],17,606105819);r=_(r,i,s,n,t[3],22,-1044525330);n=_(n,r,i,s,t[4],7,-176418897);s=_(s,n,r,i,t[5],12,1200080426);i=_(i,s,n,r,t[6],17,-1473231341);r=_(r,i,s,n,t[7],22,-45705983);n=_(n,r,i,s,t[8],7,1770035416);s=_(s,n,r,i,t[9],12,-1958414417);i=_(i,s,n,r,t[10],17,-42063);r=_(r,i,s,n,t[11],22,-1990404162);n=_(n,r,i,s,t[12],7,1804603682);s=_(s,n,r,i,t[13],12,-40341101);i=_(i,s,n,r,t[14],17,-1502002290);r=_(r,i,s,n,t[15],22,1236535329);n=D(n,r,i,s,t[1],5,-165796510);s=D(s,n,r,i,t[6],9,-1069501632);i=D(i,s,n,r,t[11],14,643717713);r=D(r,i,s,n,t[0],20,-373897302);n=D(n,r,i,s,t[5],5,-701558691);s=D(s,n,r,i,t[10],9,38016083);i=D(i,s,n,r,t[15],14,-660478335);r=D(r,i,s,n,t[4],20,-405537848);n=D(n,r,i,s,t[9],5,568446438);s=D(s,n,r,i,t[14],9,-1019803690);i=D(i,s,n,r,t[3],14,-187363961);r=D(r,i,s,n,t[8],20,1163531501);n=D(n,r,i,s,t[13],5,-1444681467);s=D(s,n,r,i,t[2],9,-51403784);i=D(i,s,n,r,t[7],14,1735328473);r=D(r,i,s,n,t[12],20,-1926607734);n=P(n,r,i,s,t[5],4,-378558);s=P(s,n,r,i,t[8],11,-2022574463);i=P(i,s,n,r,t[11],16,1839030562);r=P(r,i,s,n,t[14],23,-35309556);n=P(n,r,i,s,t[1],4,-1530992060);s=P(s,n,r,i,t[4],11,1272893353);i=P(i,s,n,r,t[7],16,-155497632);r=P(r,i,s,n,t[10],23,-1094730640);n=P(n,r,i,s,t[13],4,681279174);s=P(s,n,r,i,t[0],11,-358537222);i=P(i,s,n,r,t[3],16,-722521979);r=P(r,i,s,n,t[6],23,76029189);n=P(n,r,i,s,t[9],4,-640364487);s=P(s,n,r,i,t[12],11,-421815835);i=P(i,s,n,r,t[15],16,530742520);r=P(r,i,s,n,t[2],23,-995338651);n=H(n,r,i,s,t[0],6,-198630844);s=H(s,n,r,i,t[7],10,1126891415);i=H(i,s,n,r,t[14],15,-1416354905);r=H(r,i,s,n,t[5],21,-57434055);n=H(n,r,i,s,t[12],6,1700485571);s=H(s,n,r,i,t[3],10,-1894986606);i=H(i,s,n,r,t[10],15,-1051523);r=H(r,i,s,n,t[1],21,-2054922799);n=H(n,r,i,s,t[8],6,1873313359);s=H(s,n,r,i,t[15],10,-30611744);i=H(i,s,n,r,t[6],15,-1560198380);r=H(r,i,s,n,t[13],21,1309151649);n=H(n,r,i,s,t[4],6,-145523070);s=H(s,n,r,i,t[11],10,-1120210379);i=H(i,s,n,r,t[2],15,718787259);r=H(r,i,s,n,t[9],21,-343485551);e[0]=U(n,e[0]);e[1]=U(r,e[1]);e[2]=U(i,e[2]);e[3]=U(s,e[3])}function M(e,t,n,r,i,s){t=U(U(t,e),U(r,s));return U(t<>>32-i,n)}function _(e,t,n,r,i,s,o){return M(t&n|~t&r,e,t,i,s,o)}function D(e,t,n,r,i,s,o){return M(t&r|n&~r,e,t,i,s,o)}function P(e,t,n,r,i,s,o){return M(t^n^r,e,t,i,s,o)}function H(e,t,n,r,i,s,o){return M(n^(t|~r),e,t,i,s,o)}function B(e){txt="";var t=e.length,n=[1732584193,-271733879,-1732584194,271733878],r;for(r=64;r<=e.length;r+=64){O(n,j(e.substring(r-64,r)))}e=e.substring(r-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(r=0;r>2]|=e.charCodeAt(r)<<(r%4<<3);i[r>>2]|=128<<(r%4<<3);if(r>55){O(n,i);for(r=0;r<16;r++)i[r]=0}i[14]=t*8;O(n,i);return n}function j(e){var t=[],n;for(n=0;n<64;n+=4){t[n>>2]=e.charCodeAt(n)+(e.charCodeAt(n+1)<<8)+(e.charCodeAt(n+2)<<16)+(e.charCodeAt(n+3)<<24)}return t}function I(e){var t="",n=0;for(;n<4;n++)t+=F[e>>n*8+4&15]+F[e>>n*8&15];return t}function q(e){for(var t=0;t>>32-i,n)}function _(e,t,n,r,i,s,o){return M(t&n|~t&r,e,t,i,s,o)}function D(e,t,n,r,i,s,o){return M(t&r|n&~r,e,t,i,s,o)}function P(e,t,n,r,i,s,o){return M(t^n^r,e,t,i,s,o)}function H(e,t,n,r,i,s,o){return M(n^(t|~r),e,t,i,s,o)}function B(e){txt="";var t=e.length,n=[1732584193,-271733879,-1732584194,271733878],r;for(r=64;r<=e.length;r+=64){O(n,j(e.substring(r-64,r)))}e=e.substring(r-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(r=0;r>2]|=e.charCodeAt(r)<<(r%4<<3);i[r>>2]|=128<<(r%4<<3);if(r>55){O(n,i);for(r=0;r<16;r++)i[r]=0}i[14]=t*8;O(n,i);return n}function j(e){var t=[],n;for(n=0;n<64;n+=4){t[n>>2]=e.charCodeAt(n)+(e.charCodeAt(n+1)<<8)+(e.charCodeAt(n+2)<<16)+(e.charCodeAt(n+3)<<24)}return t}function I(e){var t="",n=0;for(;n<4;n++)t+=F[e>>n*8+4&15]+F[e>>n*8&15];return t}function q(e){for(var t=0;t0){now=new Date;exp=new Date(now.getTime()+20*60*1e3);var r=h.keyName+s;if(h.versions>0){r=r+R(content)}if(h.versions===0||f!=r){try{if(u){if(!u.getItem(r)){u.setItem(r,now.toISOString().replace(/T/g," ").replace(/\.[0-9]*Z$/g,"")+","+w(content))}}else{a=r+"=";b="; expires="+exp.toUTCString();document.cookie=a+g(content).slice(0,4096-a.length-b.length)+b}n=true}catch(i){console.log(i)}if(n){obj=new Object;obj.content=content;obj.time=now.getTime();if(h.callback){h.callback.call(obj)}var l=L("localautosave");$(l).find("i").replaceWith(' ");var c=setTimeout(function(){$(l).find("i").replaceWith(' ')},2e3)}}if(n){f=r}if(h.versions>0){T(x(h.versions))}}}o=false};var C=setInterval(N,h.seconds*1e3);var F="0123456789abcdef".split("");if(R("hello")!="5d41402abc4b2a76b9719d911017c592"){function U(e,t){var n=(e&65535)+(t&65535),r=(e>>16)+(t>>16)+(n>>16);return r<<16|n&65535}}var F="0123456789abcdef".split("");if(R("hello")!="5d41402abc4b2a76b9719d911017c592"){function U(e,t){var n=(e&65535)+(t&65535),r=(e>>16)+(t>>16)+(n>>16);return r<<16|n&65535}}})
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/media/index.html b/admincp.php/assets/tinymce/plugins/media/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/media/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/media/index.php b/admincp.php/assets/tinymce/plugins/media/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/media/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/media/plugin.min.js b/admincp.php/assets/tinymce/plugins/media/plugin.min.js
new file mode 100644
index 0000000..8373a00
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/media/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i"}else"application/x-shockwave-flash"===j.source1mime?(i+='',j.poster&&(i+=' '),i+=" "):j.source1mime.indexOf("audio")!==-1?g.settings.audio_template_callback?i=g.settings.audio_template_callback(j):i+=''+(j.source2?'\n \n":"")+" ":"script"===j.type?i+='':i=g.settings.video_template_callback?g.settings.video_template_callback(j):'\n \n"+(j.source2?' \n":"")+" "}return i};return{dataToHtml:g}}),g("l",["8"],function(a){return a("tinymce.util.Promise")}),g("i",["k","l"],function(a,b){var c=function(a,c,d){var e={};return new b(function(b,f){var g=function(d){return d.html&&(e[a.source1]=d),b({url:a.source1,html:d.html?d.html:c(a)})};e[a.source1]?g(e[a.source1]):d({url:a.source1},g,f)})},d=function(a,c){return new b(function(b){b({html:c(a),url:a.source1})})},e=function(b){return function(c){return a.dataToHtml(b,c)}},f=function(a,b){var f=a.settings.media_url_resolver;return f?c(b,e(a),f):d(b,e(a))};return{getEmbedHtml:f}}),g("j",[],function(){var a=function(a,b){a.state.set("oldVal",a.value()),b.state.set("oldVal",b.value())},b=function(a,b){var c=a.find("#width")[0],d=a.find("#height")[0],e=a.find("#constrain")[0];c&&d&&e&&b(c,d,e.checked())},c=function(b,c,d){var e=b.state.get("oldVal"),f=c.state.get("oldVal"),g=b.value(),h=c.value();d&&e&&f&&g&&h&&(g!==e?(h=Math.round(g/e*h),isNaN(h)||c.value(h)):(g=Math.round(h/f*g),isNaN(g)||b.value(g))),a(b,c)},d=function(c){b(c,a)},e=function(a){b(a,c)},f=function(a){var b=function(){a(function(a){e(a)})};return{type:"container",label:"Dimensions",layout:"flex",align:"center",spacing:5,items:[{name:"width",type:"textbox",maxLength:5,size:5,onchange:b,ariaLabel:"Width"},{type:"label",text:"x"},{name:"height",type:"textbox",maxLength:5,size:5,onchange:b,ariaLabel:"Height"},{name:"constrain",type:"checkbox",checked:!0,text:"Constrain proportions"}]}};return{createUi:f,syncSize:d,updateSize:e}}),g("7",["g","h","6","i","f","3","d","j"],function(a,b,c,d,e,f,g,h){var i=g.ie&&g.ie<=8?"onChange":"onInput",j=function(a){return function(b){var c=b&&b.msg?"Media embed handler error: "+b.msg:"Media embed handler threw unknown error.";a.notificationManager.open({type:"error",text:c})}},k=function(a){var c=a.selection.getNode(),d=c.getAttribute("data-ephox-embed-iri");return d?{source1:d,"data-ephox-embed-iri":d,width:e.getMaxWidth(c),height:e.getMaxHeight(c)}:c.getAttribute("data-mce-object")?b.htmlToData(a.settings.media_scripts,a.serializer.serialize(c,{selection:!0})):{}},l=function(a){var b=a.selection.getNode();if(b.getAttribute("data-mce-object")||b.getAttribute("data-ephox-embed-iri"))return a.selection.getContent()},m=function(a,c){return function(d){var e=d.html,g=a.find("#embed")[0],i=f.extend(b.htmlToData(c.settings.media_scripts,e),{source1:d.url});a.fromJSON(i),g&&(g.value(e),h.updateSize(a))}},n=function(a,b){var c,d,e=a.dom.select("img[data-mce-object]");for(c=0;c=0;d--)b[c]===e[d]&&e.splice(d,1);a.selection.select(e[0])},o=function(a,b){var c=a.dom.select("img[data-mce-object]");a.insertContent(b),n(a,c),a.nodeChanged()},p=function(a,b){var e=a.toJSON();e.embed=c.updateHtml(e.embed,e),e.embed?o(b,e.embed):d.getEmbedHtml(b,e).then(function(a){o(b,a.html)})["catch"](j(b))},q=function(a,b){f.each(b,function(b,c){a.find("#"+c).value(b)})},r=function(a){var e,g,n=[{name:"source1",type:"filepicker",filetype:"media",size:40,autofocus:!0,label:"Source",onpaste:function(){setTimeout(function(){d.getEmbedHtml(a,e.toJSON()).then(m(e,a))["catch"](j(a))},1)},onchange:function(b){d.getEmbedHtml(a,e.toJSON()).then(m(e,a))["catch"](j(a)),q(e,b.meta)},onbeforecall:function(a){a.meta=e.toJSON()}}],o=[],r=function(a){a(e),g=e.toJSON(),e.find("#embed").value(c.updateHtml(g.embed,g))};if(a.settings.media_alt_source!==!1&&o.push({name:"source2",type:"filepicker",filetype:"media",size:40,label:"Alternative source"}),a.settings.media_poster!==!1&&o.push({name:"poster",type:"filepicker",filetype:"image",size:40,label:"Poster"}),a.settings.media_dimensions!==!1){var s=h.createUi(r);n.push(s)}g=k(a);var t={id:"mcemediasource",type:"textbox",flex:1,name:"embed",value:l(a),multiline:!0,rows:5,label:"Source"},u=function(){g=f.extend({},b.htmlToData(a.settings.media_scripts,this.value())),this.parent().parent().fromJSON(g)};t[i]=u,e=a.windowManager.open({title:"Insert/edit media",data:g,bodyType:"tabpanel",body:[{title:"General",type:"form",items:n},{title:"Embed",type:"container",layout:"flex",direction:"column",align:"stretch",padding:10,spacing:10,items:[{type:"label",text:"Paste your embed code below:",forId:"mcemediasource"},t]},{title:"Advanced",type:"form",items:o}],onSubmit:function(){h.updateSize(e),p(e,a)}}),h.syncSize(e)};return{showDialog:r}}),g("0",["1","2","3","4","5","6","7"],function(a,b,c,d,e,f,g){var h=function(b){b.on("ResolveName",function(a){var b;1===a.target.nodeType&&(b=a.target.getAttribute("data-mce-object"))&&(a.name=b)}),b.on("preInit",function(){var f=b.schema.getSpecialElements();c.each("video audio iframe object".split(" "),function(a){f[a]=new RegExp(""+a+"[^>]*>","gi")});var g=b.schema.getBoolAttrs();c.each("webkitallowfullscreen mozallowfullscreen allowfullscreen".split(" "),function(a){g[a]={}}),b.parser.addNodeFilter("iframe,video,audio,object,embed,script",d.placeHolderConverter(b)),b.serializer.addAttributeFilter("data-mce-object",function(c,d){for(var f,g,h,i,j,k,l,m,n=c.length;n--;)if(f=c[n],f.parent){for(l=f.attr(d),g=new a(l,1),"audio"!==l&&"script"!==l&&(m=f.attr("class"),m&&m.indexOf("mce-preview-object")!==-1?g.attr({width:f.firstChild.attr("width"),height:f.firstChild.attr("height")}):g.attr({width:f.attr("width"),height:f.attr("height")})),g.attr({style:f.attr("style")}),i=f.attributes,h=i.length;h--;){var o=i[h].name;0===o.indexOf("data-mce-p-")&&g.attr(o.substr(11),i[h].value)}"script"===l&&g.attr("type","text/javascript"),j=f.attr("data-mce-html"),j&&(k=new a("#text",3),k.raw=!0,k.value=e.sanitize(b,unescape(j)),g.append(k)),f.replace(g)}})}),b.on("click keyup",function(){var a=b.selection.getNode();a&&b.dom.hasClass(a,"mce-preview-object")&&b.dom.getAttrib(a,"data-mce-selected")&&a.setAttribute("data-mce-selected","2")}),b.on("ObjectSelected",function(a){var b=a.target.getAttribute("data-mce-object");"audio"!==b&&"script"!==b||a.preventDefault()}),b.on("objectResized",function(a){var b,c=a.target;c.getAttribute("data-mce-object")&&(b=c.getAttribute("data-mce-html"),b&&(b=unescape(b),c.setAttribute("data-mce-html",escape(f.updateHtml(b,{width:a.width,height:a.height})))))}),this.showDialog=function(){g.showDialog(b)},b.addButton("media",{tooltip:"Insert/edit media",onclick:this.showDialog,stateSelector:["img[data-mce-object]","span[data-mce-object]","div[data-ephox-embed-iri]"]}),b.addMenuItem("media",{icon:"media",text:"Media",onclick:this.showDialog,context:"insert",prependToContext:!0}),b.on("setContent",function(){b.$("span.mce-preview-object").each(function(a,c){var d=b.$(c);0===d.find("span.mce-shim",c).length&&d.append(' ')})}),b.addCommand("mceMedia",this.showDialog)};return b.add("media",h),function(){}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/paste/index.html b/admincp.php/assets/tinymce/plugins/paste/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/paste/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/paste/index.php b/admincp.php/assets/tinymce/plugins/paste/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/paste/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/paste/plugin.min.js b/admincp.php/assets/tinymce/plugins/paste/plugin.min.js
new file mode 100644
index 0000000..6d9ec7a
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/paste/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i",c=function(a){return b+a},d=function(a){return a.replace(b,"")},e=function(a){return a.indexOf(b)!==-1};return{mark:c,unmark:d,isMarked:e,internalHtmlMime:function(){return a}}}),g("g",["6"],function(a){return a("tinymce.html.DomParser")}),g("h",["6"],function(a){return a("tinymce.html.Schema")}),g("d",["a","g","h"],function(a,b,c){function d(b,c){return a.each(c,function(a){b=a.constructor==RegExp?b.replace(a,""):b.replace(a[0],a[1])}),b}function e(e){function f(a){var b=a.name,c=a;if("br"===b)return void(i+="\n");if(j[b]&&(i+=" "),k[b])return void(i+=" ");if(3==a.type&&(i+=a.value),!a.shortEnded&&(a=a.firstChild))do f(a);while(a=a.next);l[b]&&c.next&&(i+="\n","p"==b&&(i+="\n"))}var g=new c,h=new b({},g),i="",j=g.getShortEndedElements(),k=a.makeMap("script noscript style textarea video audio iframe object"," "),l=g.getBlockElements();return e=d(e,[//g]),f(h.parse(e)),i}function f(a){function b(a,b,c){return b||c?"\xa0":" "}return a=d(a,[/^[\s\S]*]*>\s*|\s*<\/body[^>]*>[\s\S]*$/gi,/|/g,[/( ?)\u00a0<\/span>( ?)/g,b],/ /g,/ $/i])}function g(a){var b=0;return function(){return a+b++}}var h=function(){return navigator.userAgent.indexOf(" Edge/")!==-1};return{filter:d,innerText:e,trimHtml:f,createIdGenerator:g,isMsEdge:h}}),g("3",["8","c","d"],function(a,b,c){var d=function(){},e=function(b){return a.iOS===!1&&void 0!==b&&"function"==typeof b.setData&&c.isMsEdge()!==!0},f=function(a,c,d){if(!e(a))return!1;try{return a.clearData(),a.setData("text/html",c),a.setData("text/plain",d),a.setData(b.internalHtmlMime(),c),!0}catch(a){return!1}},g=function(a,b,c,d){f(a.clipboardData,b.html,b.text)?(a.preventDefault(),d()):c(b.html,d)},h=function(a){return function(c,d){var e=b.mark(c),f=a.dom.create("div",{contenteditable:"false"}),g=a.dom.create("div",{contenteditable:"true"},e);a.dom.setStyles(f,{position:"fixed",left:"-3000px",width:"1000px",overflow:"hidden"}),f.appendChild(g),a.dom.add(a.getBody(),f);var h=a.selection.getRng();g.focus();var i=a.dom.createRng();i.selectNodeContents(g),a.selection.setRng(i),setTimeout(function(){f.parentNode.removeChild(f),a.selection.setRng(h),d()},0)}},i=function(a){return{html:a.selection.getContent(),text:a.selection.getContent({format:"text"})}},j=function(a){return function(b){a.selection.isCollapsed()===!1&&g(b,i(a),h(a),function(){a.execCommand("Delete")})}},k=function(a){return function(b){a.selection.isCollapsed()===!1&&g(b,i(a),h(a),d)}},l=function(a){a.on("cut",j(a)),a.on("copy",k(a))};return{register:l}}),g("k",["6"],function(a){return a("tinymce.html.Entities")}),g("e",["k"],function(a){var b=function(a){return!/<(?:(?!\/?(?:div|p|br))[^>]*|(?:div|p|br)\s+\w[^>]+)>/.test(a)},c=function(a){return a.replace(/\r?\n/g," ")},d=function(b,c){var d,e=[],f="<"+b;if("object"==typeof c){for(d in c)c.hasOwnProperty(d)&&e.push(d+'="'+a.encodeAllRaw(c[d])+'"');e.length&&(f+=" "+e.join(" "))}return f+">"},e=function(a,b,c){var e,f,g,h=a.split(/\r?\n/),i=0,j=h.length,k=[],l=[],m=d(b,c),n=""+b+">";if(1===h.length)return a;for(;i")),k=[]),f&&i++;return 1===l.length?l[0]:m+l.join(n+m)+n},f=function(a,b,d){return b?e(a,b,d):c(a)};return{isPlainText:b,convert:f,toBRs:c,toBlockElements:e}}),g("f",["a"],function(a){var b=function(a){return/^https?:\/\/[\w\?\-\/+=.&%@~#]+$/i.test(a)},c=function(a){return b(a)&&/.(gif|jpe?g|png)$/.test(a)},d=function(a,b,c){return a.undoManager.extra(function(){c(a,b)},function(){a.insertContent(' ')}),!0},e=function(a,b,c){return a.undoManager.extra(function(){c(a,b)},function(){a.execCommand("mceInsertLink",!1,b)}),!0},f=function(a,c,d){return!(a.selection.isCollapsed()!==!1||!b(c))&&e(a,c,d)},g=function(a,b,e){return!!c(b)&&d(a,b,e)},h=function(a,b){return a.insertContent(b,{merge:a.settings.paste_merge_formats!==!1,paste:!0}),!0},i=function(b,c){a.each([f,g,h],function(a){return a(b,c,h)!==!0})},j=function(a,b){a.settings.smart_paste===!1?h(a,b):i(a,b)};return{isImageUrl:c,isAbsoluteUrl:b,insertContent:j}}),g("2",["7","8","9","a","b","3","c","e","f","d"],function(a,b,c,d,e,f,g,h,i,j){return function(f){function k(a,b){var c,d,e=f.dom;if(d=b||g.isMarked(a),a=g.unmark(a),c=f.fire("BeforePastePreProcess",{content:a,internal:d}),c=f.fire("PastePreProcess",c),a=c.content,!c.isDefaultPrevented()){if(f.hasEventListeners("PastePostProcess")&&!c.isDefaultPrevented()){var h=e.add(f.getBody(),"div",{style:"display:none"},a);c=f.fire("PastePostProcess",{node:h,internal:d}),e.remove(h),a=c.node.innerHTML}c.isDefaultPrevented()||i.insertContent(f,a)}}function l(a){a=f.dom.encode(a).replace(/\r\n/g,"\n"),a=h.convert(a,f.settings.forced_root_block,f.settings.forced_root_block_attrs),k(a,!1)}function m(){function a(a){var b,c,e,f=a.startContainer;if(b=a.getClientRects(),b.length)return b[0];if(a.collapsed&&1==f.nodeType){for(e=f.childNodes[C.startOffset];e&&3==e.nodeType&&!e.data.length;)e=e.nextSibling;if(e)return"BR"==e.tagName&&(c=d.doc.createTextNode("\ufeff"),e.parentNode.insertBefore(c,e),a=d.createRng(),a.setStartBefore(c),a.setEndAfter(c),b=a.getClientRects(),d.remove(c)),b.length?b[0]:void 0}}var c,d=f.dom,e=f.getBody(),g=f.dom.getViewPort(f.getWin()),h=g.y,i=20;if(C=f.selection.getRng(),f.inline&&(c=f.selection.getScrollContainer(),c&&c.scrollTop>0&&(h=c.scrollTop)),C.getClientRects){var j=a(C);if(j)i=h+(j.top-d.getPos(e).y);else{i=h;var k=C.startContainer;k&&(3==k.nodeType&&k.parentNode!=e&&(k=k.parentNode),1==k.nodeType&&(i=d.getPos(k,c||e).y))}}B=d.add(f.getBody(),"div",{id:"mcepastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: absolute; top: "+i+"px;width: 10px; height: 10px; overflow: hidden; opacity: 0"},H),(b.ie||b.gecko)&&d.setStyle(B,"left","rtl"==d.getStyle(e,"direction",!0)?65535:-65535),d.bind(B,"beforedeactivate focusin focusout",function(a){a.stopPropagation()}),B.focus(),f.selection.select(B,!0)}function n(){if(B){for(var a;a=f.dom.get("mcepastebin");)f.dom.remove(a),f.dom.unbind(a);C&&f.selection.setRng(C)}B=C=null}function o(){var a,b,c,d,e="";for(a=f.dom.select("div[id=mcepastebin]"),b=0;b0&&c.indexOf(I)==-1&&(b["text/plain"]=c)}if(a.types)for(var d=0;d',!1)}else k(' ',!1)}function v(a,b){function c(c){var d,e,f,g=!1;if(c)for(d=0;d0}function z(a){return e.metaKeyPressed(a)&&86==a.keyCode||a.shiftKey&&45==a.keyCode}function A(){function a(a,b,c,d){var e,g;return y(a,"text/html")?e=a["text/html"]:(e=o(),e==H&&(c=!0)),e=j.trimHtml(e),B&&B.firstChild&&"mcepastebin"===B.firstChild.id&&(c=!0),n(),g=d===!1&&h.isPlainText(e),e.length&&!g||(c=!0),c&&(e=y(a,"text/plain")&&g?a["text/plain"]:j.innerText(e)),e==H?void(b||f.windowManager.alert("Please use Ctrl+V/Cmd+V keyboard shortcuts to paste contents.")):void(c?l(e):k(e,d))}function d(a){var b=a["text/plain"];return!!b&&0===b.indexOf("file://")}f.on("keydown",function(a){function c(a){z(a)&&!a.isDefaultPrevented()&&n()}if(z(a)&&!a.isDefaultPrevented()){if(D=a.shiftKey&&86==a.keyCode,D&&b.webkit&&navigator.userAgent.indexOf("Version/")!=-1)return;if(a.stopImmediatePropagation(),F=(new Date).getTime(),b.ie&&D)return a.preventDefault(),void f.fire("paste",{ieFake:!0});n(),m(),f.once("keyup",c),f.once("paste",function(){f.off("keyup",c)})}});var e=function(){return C||f.selection.getRng()};f.on("paste",function(d){var h=(new Date).getTime(),i=q(d),j=(new Date).getTime()-h,k=(new Date).getTime()-F-j<1e3,l="text"==E.pasteFormat||D,p=y(i,g.internalHtmlMime());return D=!1,d.isDefaultPrevented()||w(d)?void n():!r(i)&&v(d,e())?void n():(k||d.preventDefault(),!b.ie||k&&!d.ieFake||y(i,"text/html")||(m(),f.dom.bind(B,"paste",function(a){a.stopPropagation()}),f.getDoc().execCommand("Paste",!1,null),i["text/html"]=o()),void(y(i,"text/html")?(d.preventDefault(),a(i,k,l,p)):c.setEditorTimeout(f,function(){a(i,k,l,p)},0)))}),f.on("dragstart dragend",function(a){G="dragstart"==a.type}),f.on("drop",function(a){var b,e;if(e=x(a),!a.isDefaultPrevented()&&!G){b=p(a.dataTransfer);var h=y(b,g.internalHtmlMime());if((r(b)&&!d(b)||!v(a,e))&&e&&f.settings.paste_filter_drop!==!1){var i=b["mce-internal"]||b["text/html"]||b["text/plain"];i&&(a.preventDefault(),c.setEditorTimeout(f,function(){f.undoManager.transact(function(){b["mce-internal"]&&f.execCommand("Delete"),f.selection.setRng(e),i=j.trimHtml(i),b["text/html"]?k(i,h):l(i)})}))}}}),f.on("dragover dragend",function(a){f.settings.paste_data_images&&a.preventDefault()})}var B,C,D,E=this,F=0,G=!1,H="%MCEPASTEBIN%",I="data:text/mce-internal,",J=j.createIdGenerator("mceclip");E.pasteHtml=k,E.pasteText=l,E.pasteImageData=v,f.on("preInit",function(){A(),f.parser.addNodeFilter("img",function(a,c,d){function e(a){return a.data&&a.data.paste===!0}function g(a){a.attr("data-mce-object")||k===b.transparentSrc||a.remove()}function h(a){return 0===a.indexOf("webkit-fake-url")}function i(a){return 0===a.indexOf("data:")}if(!f.settings.paste_data_images&&e(d))for(var j=a.length;j--;){var k=a[j].attributes.map.src;k&&(h(k)?g(a[j]):!f.settings.allow_html_data_urls&&i(k)&&g(a[j]))}})})}}),g("i",["6"],function(a){return a("tinymce.html.Serializer")}),g("j",["6"],function(a){return a("tinymce.html.Node")}),g("5",["a","g","h","i","j","d"],function(a,b,c,d,e,f){function g(a){return/1&&g.attr("start",""+f),a.wrap(g)),a.name="li",h>k&&j&&j.lastChild.append(g),k=h,d(a),c(a,/^\u00a0+/),c(a,/^\s*([\u2022\u00b7\u00a7\u25CF]|\w+\.)/),c(a,/^\u00a0+/)}for(var g,j,k=1,l=[],m=a.firstChild;"undefined"!=typeof m&&null!==m;)if(l.push(m),m=m.walk(),null!==m)for(;"undefined"!=typeof m&&m.parent!==a;)m=m.walk();for(var n=0;n]+id="?docs-internal-[^>]*>/gi,""),q=q.replace(/ /gi,""),o=k.paste_retain_style_properties,o&&(p=a.makeMap(o.split(/[, ]/))),k.paste_enable_default_filters!==!1&&g(l.content)){l.wordContent=!0,q=f.filter(q,[//gi,/<(!|script[^>]*>.*?<\/script(?=[>\s])|\/?(\?xml(:\w+)?|img|meta|link|style|\w:\w+)(?=[\s\/>]))[^>]*>/gi,[/<(\/?)s>/gi,"<$1strike>"],[/ /gi,"\xa0"],[/([\s\u00a0]*)<\/span>/gi,function(a,b){return b.length>0?b.replace(/./," ").slice(Math.floor(b.length/2)).split("").join("\xa0"):""}]]);var r=k.paste_word_valid_elements;r||(r="-strong/b,-em/i,-u,-span,-p,-ol,-ul,-li,-h1,-h2,-h3,-h4,-h5,-h6,-p/div,-a[href|name],sub,sup,strike,br,del,table[width],tr,td[colspan|rowspan|width],th[colspan|rowspan|width],thead,tfoot,tbody");var s=new c({valid_elements:r,valid_children:"-li[p]"});a.each(s.elements,function(a){a.attributes["class"]||(a.attributes["class"]={},a.attributesOrder.push("class")),a.attributes.style||(a.attributes.style={},a.attributesOrder.push("style"))});var t=new b({},s);t.addAttributeFilter("style",function(a){for(var b,c=a.length;c--;)b=a[c],b.attr("style",n(b,b.attr("style"))),"span"==b.name&&b.parent&&!b.attributes.length&&b.unwrap()}),t.addAttributeFilter("class",function(a){for(var b,c,d=a.length;d--;)b=a[d],c=b.attr("class"),/^(MsoCommentReference|MsoCommentText|msoDel)$/i.test(c)&&b.remove(),b.attr("class",null)}),t.addNodeFilter("del",function(a){for(var b=a.length;b--;)a[b].remove()}),t.addNodeFilter("a",function(a){for(var b,c,d,e=a.length;e--;)if(b=a[e],c=b.attr("href"),d=b.attr("name"),c&&c.indexOf("#_msocom_")!=-1)b.remove();else if(c&&0===c.indexOf("file://")&&(c=c.split("#")[1],c&&(c="#"+c)),c||d){if(d&&!/^_?(?:toc|edn|ftn)/i.test(d)){b.unwrap();continue}b.attr({href:c,name:d})}else b.unwrap()});var u=t.parse(q);k.paste_convert_word_fake_lists!==!1&&m(u),l.content=new d({validate:k.validate},s).serialize(u)}})}return j.isWordContent=g,j}),g("4",["8","a","5","d"],function(a,b,c,d){"use strict";return function(e){function f(a){e.on("BeforePastePreProcess",function(b){b.content=a(b.content)})}function g(a){e.on("PastePostProcess",function(b){a(b.node)})}function h(a){if(!c.isWordContent(a))return a;var f=[];b.each(e.schema.getBlockElements(),function(a,b){f.push(b)});var g=new RegExp("(?: [\\s\\r\\n]+| )*(<\\/?("+f.join("|")+")[^>]*>)(?: [\\s\\r\\n]+| )*","g");return a=d.filter(a,[[g,"$1"]]),a=d.filter(a,[[/ /g," "],[/ /g," "],[/ /g," "]])}function i(a){if(c.isWordContent(a))return a;var b=e.settings.paste_webkit_styles;if(e.settings.paste_remove_styles_if_webkit===!1||"all"==b)return a;if(b&&(b=b.split(/[, ]/)),b){var d=e.dom,f=e.selection.getNode();a=a.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,function(a,c,e,g){var h=d.parseStyle(d.decode(e),"span"),i={};if("none"===b)return c+g;for(var j=0;j]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return a=a.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,function(a,b,c,d){return b+' style="'+c+'"'+d})}function j(a){e.$("a",a).find("font,u").each(function(a,b){e.dom.remove(b,!0)})}a.webkit&&f(i),a.ie&&(f(h),g(j))}}),g("0",["1","2","3","4","5"],function(a,b,c,d,e){var f;return a.add("paste",function(g){function h(){return f||g.settings.paste_plaintext_inform===!1}function i(){if("text"==k.pasteFormat)k.pasteFormat="html",g.fire("PastePlainTextToggle",{state:!1});else if(k.pasteFormat="text",g.fire("PastePlainTextToggle",{state:!0}),!h()){var a=g.translate("Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.");g.notificationManager.open({text:a,type:"info"}),f=!0}g.focus()}function j(){var a=this;a.active("text"===k.pasteFormat),g.on("PastePlainTextToggle",function(b){a.active(b.state)})}var k,l=this,m=g.settings;return/(^|[ ,])powerpaste([, ]|$)/.test(m.plugins)&&a.get("powerpaste")?void("undefined"!=typeof console&&console.log&&console.log("PowerPaste is incompatible with Paste plugin! Remove 'paste' from the 'plugins' option.")):(l.clipboard=k=new b(g),l.quirks=new d(g),l.wordFilter=new e(g),g.settings.paste_as_text&&(l.clipboard.pasteFormat="text"),m.paste_preprocess&&g.on("PastePreProcess",function(a){m.paste_preprocess.call(l,l,a)}),m.paste_postprocess&&g.on("PastePostProcess",function(a){m.paste_postprocess.call(l,l,a)}),g.addCommand("mceInsertClipboardContent",function(a,b){b.content&&l.clipboard.pasteHtml(b.content,b.internal),b.text&&l.clipboard.pasteText(b.text)}),g.settings.paste_block_drop&&g.on("dragend dragover draggesture dragdrop drop drag",function(a){a.preventDefault(),a.stopPropagation()}),g.settings.paste_data_images||g.on("drop",function(a){var b=a.dataTransfer;b&&b.files&&b.files.length>0&&a.preventDefault()}),g.addCommand("mceTogglePlainTextPaste",i),g.addButton("pastetext",{icon:"pastetext",tooltip:"Paste as text",onclick:i,onPostRender:j}),g.addMenuItem("pastetext",{text:"Paste as text",selectable:!0,active:k.pasteFormat,onclick:i,onPostRender:j}),void c.register(g))}),function(){}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/responsivefilemanager/img/index.html b/admincp.php/assets/tinymce/plugins/responsivefilemanager/img/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/responsivefilemanager/img/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/responsivefilemanager/img/index.php b/admincp.php/assets/tinymce/plugins/responsivefilemanager/img/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/responsivefilemanager/img/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/responsivefilemanager/img/insertfile.gif b/admincp.php/assets/tinymce/plugins/responsivefilemanager/img/insertfile.gif
new file mode 100644
index 0000000..93689cb
Binary files /dev/null and b/admincp.php/assets/tinymce/plugins/responsivefilemanager/img/insertfile.gif differ
diff --git a/admincp.php/assets/tinymce/plugins/responsivefilemanager/index.html b/admincp.php/assets/tinymce/plugins/responsivefilemanager/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/responsivefilemanager/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/responsivefilemanager/index.php b/admincp.php/assets/tinymce/plugins/responsivefilemanager/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/responsivefilemanager/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/responsivefilemanager/plugin.min.js b/admincp.php/assets/tinymce/plugins/responsivefilemanager/plugin.min.js
new file mode 100644
index 0000000..4c4add1
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/responsivefilemanager/plugin.min.js
@@ -0,0 +1 @@
+tinymce.PluginManager.add("responsivefilemanager",function(e){function n(t){0===e.settings.external_filemanager_path.toLowerCase().indexOf(t.origin.toLowerCase())&&"responsivefilemanager"===t.data.sender&&(tinymce.activeEditor.insertContent(t.data.html),tinymce.activeEditor.windowManager.close(),window.removeEventListener?window.removeEventListener("message",n,!1):window.detachEvent("onmessage",n))}function t(){var t=window.innerWidth-20,i=window.innerHeight-40;if(t>1800&&(t=1800),i>1200&&(i=1200),t>600){var a=(t-20)%138;t=t-a+10}e.focus(!0);var s="RESPONSIVE FileManager";"undefined"!=typeof e.settings.filemanager_title&&e.settings.filemanager_title&&(s=e.settings.filemanager_title);var r="key";"undefined"!=typeof e.settings.filemanager_access_key&&e.settings.filemanager_access_key&&(r=e.settings.filemanager_access_key);var o="";"undefined"!=typeof e.settings.filemanager_sort_by&&e.settings.filemanager_sort_by&&(o="&sort_by="+e.settings.filemanager_sort_by);var g="false";"undefined"!=typeof e.settings.filemanager_descending&&e.settings.filemanager_descending&&(g=e.settings.filemanager_descending);var d="";"undefined"!=typeof e.settings.filemanager_subfolder&&e.settings.filemanager_subfolder&&(d="&fldr="+e.settings.filemanager_subfolder);var l="";"undefined"!=typeof e.settings.filemanager_crossdomain&&e.settings.filemanager_crossdomain&&(l="&crossdomain=1",window.addEventListener?window.addEventListener("message",n,!1):window.attachEvent("onmessage",n)),win=e.windowManager.open({title:s,file:e.settings.external_filemanager_path+"dialog.php?type=4&descending="+g+o+d+l+"&lang="+e.settings.language+"&akey="+r,width:t,height:i,inline:1,resizable:!0,maximizable:!0})}e.addButton("responsivefilemanager",{icon:"browse",tooltip:"Insert file",shortcut:"Ctrl+E",onclick:t}),e.addShortcut("Ctrl+E","",t),e.addMenuItem("responsivefilemanager",{icon:"browse",text:"Insert file",shortcut:"Ctrl+E",onclick:t,context:"insert"})});
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/table/index.html b/admincp.php/assets/tinymce/plugins/table/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/table/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/table/index.php b/admincp.php/assets/tinymce/plugins/table/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/table/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/table/plugin.min.js b/admincp.php/assets/tinymce/plugins/table/plugin.min.js
new file mode 100644
index 0000000..b9d5079
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/table/plugin.min.js
@@ -0,0 +1,2 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i9)&&(b.hasChildNodes()||(b.innerHTML=' '))}var c=function(a){return function(b,c){b&&(c=parseInt(c,10),1===c||0===c?b.removeAttribute(a,1):b.setAttribute(a,c,1))}},d=function(a){return function(b){return parseInt(b.getAttribute(a)||1,10)}};return{setColSpan:c("colSpan"),setRowSpan:c("rowspan"),getColSpan:d("colSpan"),getRowSpan:d("rowSpan"),setSpanVal:function(a,b,d){c(b)(a,d)},getSpanVal:function(a,b){return d(b)(a)},paddCell:b}}),g("c",["6","b"],function(a,b){var c=function(a,b,c){return a[c]?a[c][b]:null},d=function(a,b,d){var e=c(a,b,d);return e?e.elm:null},e=function(a,b,e,f){var g,h,i=0,j=d(a,b,e);for(g=e;(f>0?g=0)&&(h=c(a,b,g),j===h.elm);g+=f)i++;return i},f=function(a,b,c){for(var d,e=a[c],f=b;f '),!1},"childNodes"),d=q(d,!1),p(d),g(d,"rowSpan",1),g(d,"colSpan",1),f?d.appendChild(f):c.paddCell(d),d}function z(){var a,b=ca.createRng();return e(ca.select("tr",i),function(a){0===a.cells.length&&ca.remove(a)}),0===ca.select("tr",i).length?(b.setStartBefore(i),b.setEndBefore(i),ba.setRng(b),void ca.remove(i)):(e(ca.select("thead,tbody,tfoot",i),function(a){0===a.rows.length&&ca.remove(a)}),n(),void(_&&(a=Z[Math.min(Z.length-1,_.y)],a&&(ba.select(a[Math.min(a.length-1,_.x)].elm,!0),ba.collapse(!0)))))}function A(a,b,c,d){var e,f,g,h,i;for(e=Z[b][a].elm.parentNode,g=1;g<=c;g++)if(e=ca.getNext(e,"tr")){for(f=a;f>=0;f--)if(i=Z[b+g][f].elm,i.parentNode==e){for(h=1;h<=d;h++)ca.insertAfter(y(i),i);break}if(f==-1)for(h=1;h<=d;h++)e.insertBefore(y(e.cells[0]),e.cells[0])}}function B(){e(Z,function(a,b){e(a,function(a,c){var d,e,h;if(u(a)&&(a=a.elm,d=f(a,"colspan"),e=f(a,"rowspan"),d>1||e>1)){for(g(a,"rowSpan",1),g(a,"colSpan",1),h=0;hc)&&d.push(a[e]);return d}function D(b){return a.grep(b,function(a){return a.real===!1})}function E(a){for(var b=[],c=0;c1&&(x=1),g(o,"colSpan",w),g(o,"rowSpan",x),m=i;m<=k;m++)for(l=h;l<=j;l++)Z[m]&&Z[m][l]&&(b=Z[m][l].elm,b!=o&&(q=a.grep(b.childNodes),e(q,function(a){o.appendChild(a)}),q.length&&(q=a.grep(o.childNodes),s=0,e(q,function(a){"BR"==a.nodeName&&s++0&&Z[b-1][h]&&(l=Z[b-1][h].elm,m=f(l,"rowSpan"),m>1)){g(l,"rowSpan",m+1);continue}}else if(m=f(c,"rowspan"),m>1){g(c,"rowSpan",m+1);continue}k=y(c),g(k,"colSpan",c.colSpan),j.appendChild(k),d=c}j.hasChildNodes()&&(a?i.parentNode.insertBefore(j,i):ca.insertAfter(j,i))}}function J(a,b){b=b||v().length||1;for(var c=0;c1?g(c,"colSpan",b-1):ca.remove(c)}),b.push(d))})}),z()}function P(){function a(a){var b,c;e(a.cells,function(a){var c=f(a,"rowSpan");c>1&&(g(a,"rowSpan",c-1),b=T(a),A(b.x,b.y,1,1))}),b=T(a.cells[0]),e(Z[b.y],function(a){var b;a=a.elm,a!=c&&(b=f(a,"rowSpan"),b<=1?ca.remove(a):g(a,"rowSpan",b-1),c=a)})}var b;b=v(),l(i)&&b.length==i.rows.length||(e(b.reverse(),function(b){a(b)}),z())}function Q(){var a=v();if(!l(i)||a.length!=i.rows.length)return ca.remove(a),z(),a}function R(){var a=v();return e(a,function(b,c){a[c]=q(b,!0)}),a}function S(b,c){var h,i,j,l=[];b&&(h=d.splitAt(Z,_.x,_.y,c),i=h.row,a.each(h.cells,p),j=a.map(b,function(a){return a.cloneNode(!0)}),e(j,function(a,b,d){var h,j,k,m,n=a.cells.length,q=0;for(o(a),h=0;h1&&(q--,b+k>d.length?(k=d.length-b,g(j,"rowSpan",k),l.push(d.length-1)):l.push(b+k-1)),p(j);for(e(l,function(a){b<=a&&q++}),h=q;h<$;h++)a.appendChild(y(a.cells[n-1]));for(h=$;h1?g(j,"colSpan",m-1):ca.remove(j);c?i.parentNode.insertBefore(a,i):i=ca.insertAfter(a,i)}),k())}function T(a){var b;return e(Z,function(c,d){return e(c,function(c,e){if(c.elm==a)return b={x:e,y:d},!1}),!b}),b}function U(a){_=T(a)}function V(){var a,b;return a=b=0,e(Z,function(c,d){e(c,function(c,e){var f,g;u(c)&&(c=Z[d][e],e>a&&(a=e),d>b&&(b=d),c.real&&(f=c.colspan-1,g=c.rowspan-1,f&&e+f>a&&(a=e+f),g&&d+g>b&&(b=d+g)))})}),{x:a,y:b}}function W(a){var b,c,d,e,f,g,h,i,j,l;if(aa=T(a),_&&aa){for(b=Math.min(_.x,aa.x),c=Math.min(_.y,aa.y),d=Math.max(_.x,aa.x),e=Math.max(_.y,aa.y),f=d,g=e,l=c;l<=e;l++)for(j=b;j<=d;j++)a=Z[l][j],a.real&&(h=a.colspan-1,i=a.rowspan-1,h&&j+h>f&&(f=j+h),i&&l+i>g&&(g=l+i));for(k(),l=c;l<=g;l++)for(j=b;j<=f;j++)Z[l][j]&&ca.setAttrib(Z[l][j].elm,"data-mce-selected","1")}}function X(a,b){var c,d,e;c=T(a),d=c.y*$+c.x;do{if(d+=b,e=r(d%$,Math.floor(d/$)),!e)break;if(e.elm!=a)return ba.select(e.elm,!0),ca.isEmpty(e.elm)&&ba.collapse(!0),!0}while(e.elm==a);return!1}function Y(b){if(_){var c=d.splitAt(Z,_.x,_.y,b);a.each(c.cells,p)}}var Z,$,_,aa,ba=h.selection,ca=ba.dom;i=i||ca.getParent(ba.getStart(!0),"table"),n(),j=j||ca.getParent(ba.getStart(!0),"th,td"),j&&(_=T(j),aa=V(),j=r(_.x,_.y)),a.extend(this,{deleteTable:x,split:B,merge:H,insertRow:I,insertRows:J,insertCol:K,insertCols:L,splitCols:Y,deleteCols:O,deleteRows:P,cutRows:Q,copyRows:R,pasteRows:S,getPos:T,setStartCell:U,setEndCell:W,moveRelIdx:X,refresh:n})}}),g("d",["a"],function(a){return a("tinymce.util.VK")}),g("e",["a"],function(a){return a("tinymce.util.Delay")}),g("2",["d","e","8","6","b"],function(a,b,c,d,e){var f=d.each,g=e.getSpanVal;return function(h){function i(){function c(c){function d(a,b){var d=a?"previousSibling":"nextSibling",f=h.dom.getParent(b,"tr"),g=f[d];if(g)return r(h,b,g,a),c.preventDefault(),!0;var i=h.dom.getParent(f,"table"),l=f.parentNode,m=l.nodeName.toLowerCase();if("tbody"===m||m===(a?"tfoot":"thead")){var n=e(a,i,l,"tbody");if(null!==n)return j(a,n,b)}return k(a,f,d,i)}function e(a,b,c,d){var e=h.dom.select(">"+d,b),f=e.indexOf(c);if(a&&0===f||!a&&f===e.length-1)return i(a,b);if(f===-1){var g="thead"===c.tagName.toLowerCase()?0:e.length-1;return e[g]}return e[f+(a?-1:1)]}function i(a,b){var c=a?"thead":"tfoot",d=h.dom.select(">"+c,b);return 0!==d.length?d[0]:null}function j(a,b,d){var e=l(b,a);return e&&r(h,d,e,a),c.preventDefault(),!0}function k(a,b,e,f){var g=f[e];if(g)return m(g),!0;var i=h.dom.getParent(f,"td,th");if(i)return d(a,i,c);var j=l(b,!a);return m(j),c.preventDefault(),!1}function l(a,b){var c=a&&a[b?"lastChild":"firstChild"];return c&&"BR"===c.nodeName?h.dom.getParent(c,"td,th"):c}function m(a){h.selection.setCursorLocation(a,0)}function n(){return u==a.UP||u==a.DOWN}function o(a){var b=a.selection.getNode(),c=a.dom.getParent(b,"tr");return null!==c}function p(a){for(var b=0,c=a;c.previousSibling;)c=c.previousSibling,b+=g(c,"colspan");return b}function q(a,b){var c=0,d=0;return f(a.children,function(a,e){if(c+=g(a,"colspan"),d=e,c>b)return!1}),d}function r(a,b,c,d){var e=p(h.dom.getParent(b,"td,th")),f=q(c,e),g=c.childNodes[f],i=l(g,d);m(i||g)}function s(a){var b=h.selection.getNode(),c=h.dom.getParent(b,"td,th"),d=h.dom.getParent(a,"td,th");return c&&c!==d&&t(c,d)}function t(a,b){return h.dom.getParent(a,"TABLE")===h.dom.getParent(b,"TABLE")}var u=c.keyCode;if(n()&&o(h)){var v=h.selection.getNode();b.setEditorTimeout(h,function(){s(v)&&d(!c.shiftKey&&u===a.UP,v,c)},0)}}h.on("KeyDown",function(a){c(a)})}function j(){function a(a,b){var c,d=b.ownerDocument,e=d.createRange();return e.setStartBefore(b),e.setEnd(a.endContainer,a.endOffset),c=d.createElement("body"),c.appendChild(e.cloneContents()),0===c.innerHTML.replace(/<(br|img|object|embed|input|textarea)[^>]*>/gi,"-").replace(/<[^>]+>/g,"").length}h.on("KeyDown",function(b){var c,d,e=h.dom;37!=b.keyCode&&38!=b.keyCode||(c=h.selection.getRng(),d=e.getParent(c.startContainer,"table"),d&&h.getBody().firstChild==d&&a(c,d)&&(c=e.createRng(),c.setStartBefore(d),c.setEndBefore(d),h.selection.setRng(c),b.preventDefault()))})}function k(){h.on("KeyDown SetContent VisualAid",function(){var a;for(a=h.getBody().lastChild;a;a=a.previousSibling)if(3==a.nodeType){if(a.nodeValue.length>0)break}else if(1==a.nodeType&&("BR"==a.tagName||!a.getAttribute("data-mce-bogus")))break;a&&"TABLE"==a.nodeName&&(h.settings.forced_root_block?h.dom.add(h.getBody(),h.settings.forced_root_block,h.settings.forced_root_block_attrs,c.ie&&c.ie<10?" ":' '):h.dom.add(h.getBody(),"br",{"data-mce-bogus":"1"}))}),h.on("PreProcess",function(a){var b=a.node.lastChild;b&&("BR"==b.nodeName||1==b.childNodes.length&&("BR"==b.firstChild.nodeName||"\xa0"==b.firstChild.nodeValue))&&b.previousSibling&&"TABLE"==b.previousSibling.nodeName&&h.dom.remove(b)})}function l(){function a(a,b,c,d){var e,f,g,h=3,i=a.dom.getParent(b.startContainer,"TABLE");return i&&(e=i.parentNode),f=b.startContainer.nodeType==h&&0===b.startOffset&&0===b.endOffset&&d&&("TR"==c.nodeName||c==e),g=("TD"==c.nodeName||"TH"==c.nodeName)&&!d,f||g}function b(){var b=h.selection.getRng(),c=h.selection.getNode(),d=h.dom.getParent(b.startContainer,"TD,TH");if(a(h,b,c,d)){d||(d=c);for(var e=d.lastChild;e.lastChild;)e=e.lastChild;3==e.nodeType&&(b.setEnd(e,e.data.length),h.selection.setRng(b))}}h.on("KeyDown",function(){b()}),h.on("MouseDown",function(a){2!=a.button&&b()})}function m(){function b(a){h.selection.select(a,!0),h.selection.collapse(!0)}function c(a){h.$(a).empty(),e.paddCell(a)}h.on("keydown",function(e){if((e.keyCode==a.DELETE||e.keyCode==a.BACKSPACE)&&!e.isDefaultPrevented()){var f,g,i,j;if(f=h.dom.getParent(h.selection.getStart(),"table")){if(g=h.dom.select("td,th",f),i=d.grep(g,function(a){return!!h.dom.getAttrib(a,"data-mce-selected")}),0===i.length)return j=h.dom.getParent(h.selection.getStart(),"td,th"),void(h.selection.isCollapsed()&&j&&h.dom.isEmpty(j)&&(e.preventDefault(),c(j),b(j)));e.preventDefault(),h.undoManager.transact(function(){g.length==i.length?h.execCommand("mceTableDelete"):(d.each(i,c),b(i[0]))})}}})}function n(){var b="\ufeff",c=function(a){return h.dom.isEmpty(a)||a.firstChild===a.lastChild&&f(a.firstChild)},d=function(a){return a&&"CAPTION"==a.nodeName&&"TABLE"==a.parentNode.nodeName},e=function(a,b){var c=b.firstChild;do if(c===a)return!0;while(c=c.firstChild);return!1},f=function(a){if(3===a.nodeType){if(a.data===b)return!0;a=a.parentNode}return 1===a.nodeType&&a.hasAttribute("data-mce-caret")},g=function(a){var b=h.selection.getRng();return!b.startOffset&&!b.startContainer.previousSibling&&e(b.startContainer,a)},i=function(a,c){var d;d=c?h.dom.create("p",{"data-mce-caret":"after","data-mce-bogus":"all"},' '):a.ownerDocument.createTextNode(b),a.appendChild(d)},j=function(a,d){var e=a.lastChild,g=h.selection.getRng(),j=g.startContainer,k=g.startOffset;c(a)?(a.innerHTML=b,j=a.lastChild,k=0):f(e)||i(a,h.dom.isBlock(e)),h.selection.setCursorLocation(j,k)},k=function(a){var b=h.selection.getRng(),c=h.dom.createRng(),d=a.firstChild;b.commonAncestorContainer===a.parentNode&&e(b.startContainer,a)&&(c.setStart(a,0),1===d.nodeType?c.setEnd(a,a.childNodes.length):c.setEnd(d,d.nodeValue.length),h.selection.setRng(c))};h.on("keydown",function(b){if(!(b.keyCode!==a.DELETE&&b.keyCode!==a.BACKSPACE||b.isDefaultPrevented())){var e=h.dom.getParent(h.selection.getStart(),"caption");d(e)&&(h.selection.isCollapsed()?(j(e),(c(e)||b.keyCode===a.BACKSPACE&&g(e))&&b.preventDefault()):(k(e),h.undoManager.transact(function(){h.execCommand("Delete"),j(e)}),b.preventDefault()))}})}n(),m(),c.webkit&&(i(),l()),c.gecko&&(j(),k()),c.ie>9&&(j(),k())}}),g("7",["a"],function(a){return a("tinymce.dom.TreeWalker")}),g("3",["1","7","6"],function(a,b,c){return function(d,e){function f(a){d.getBody().style.webkitUserSelect="",(a||p)&&(d.$("td[data-mce-selected],th[data-mce-selected]").removeAttr("data-mce-selected"),p=!1)}function g(a,b){return!(!a||!b)&&a===o.getParent(b,"table")}function h(b){var c,f,h=b.target;if(!m&&!n&&h!==l&&(l=h,k&&j)){if(f=o.getParent(h,"td,th"),g(k,f)||(f=o.getParent(k,"td,th")),j===f&&!p)return;if(e(!0),g(k,f)){b.preventDefault(),i||(i=new a(d,k,j),d.getBody().style.webkitUserSelect="none"),i.setEndCell(f),p=!0,c=d.selection.getSel();try{c.removeAllRanges?c.removeAllRanges():c.empty()}catch(a){}}}}var i,j,k,l,m,n,o=d.dom,p=!0,q=function(){j=i=k=l=null,e(!1)};return d.on("SelectionChange",function(a){p&&a.stopImmediatePropagation()},!0),d.on("MouseDown",function(a){2==a.button||m||n||(f(),j=o.getParent(a.target,"td,th"),k=o.getParent(j,"table"))}),d.on("mouseover",h),d.on("remove",function(){o.unbind(d.getDoc(),"mouseover",h),f()}),d.on("MouseUp",function(){function a(a,d){var f=new b(a,a);do{if(3==a.nodeType&&0!==c.trim(a.nodeValue).length)return void(d?e.setStart(a,0):e.setEnd(a,a.nodeValue.length));if("BR"==a.nodeName)return void(d?e.setStartBefore(a):e.setEndBefore(a))}while(a=d?f.next():f.prev())}var e,f,g,h,k,l=d.selection;if(j){if(i&&(d.getBody().style.webkitUserSelect=""),f=o.select("td[data-mce-selected],th[data-mce-selected]"),f.length>0){e=o.createRng(),h=f[0],e.setStartBefore(h),e.setEndAfter(h),a(h,1),g=new b(h,o.getParent(f[0],"table"));do if("TD"==h.nodeName||"TH"==h.nodeName){if(!o.getAttrib(h,"data-mce-selected"))break;k=h}while(h=g.next());a(k),l.setRng(e)}d.nodeChanged(),q()}}),d.on("KeyUp Drop SetContent",function(a){f("setcontent"==a.type),q(),m=!1}),d.on("ObjectResizeStart ObjectResized",function(a){m="objectresized"!=a.type}),d.on("dragstart",function(){n=!0}),d.on("drop dragend",function(){n=!1}),{clear:f}}}),g("4",["6","8"],function(a,b){var c=a.each;return function(d){function e(){var a=d.settings.color_picker_callback;if(a)return function(){var b=this;a.call(d,function(a){b.value(a).fire("change")},b.value())}}function f(a){return{title:"Advanced",type:"form",defaults:{onchange:function(){l(a,this.parents().reverse()[0],"style"==this.name())}},items:[{label:"Style",name:"style",type:"textbox"},{type:"form",padding:0,formItemDefaults:{layout:"grid",alignH:["start","right"]},defaults:{size:7},items:[{label:"Border color",type:"colorbox",name:"borderColor",onaction:e()},{label:"Background color",type:"colorbox",name:"backgroundColor",onaction:e()}]}]}}function g(a){return a?a.replace(/px$/,""):""}function h(a){return/^[0-9]+$/.test(a)&&(a+="px"),a}function i(a){c("left center right".split(" "),function(b){d.formatter.remove("align"+b,{},a)})}function j(a){c("top middle bottom".split(" "),function(b){d.formatter.remove("valign"+b,{},a)})}function k(b,c,d){function e(b,d){return d=d||[],a.each(b,function(a){var b={text:a.text||a.title};a.menu?b.menu=e(a.menu):(b.value=a.value,c&&c(b)),d.push(b)}),d}return e(b,d||[])}function l(a,b,c){var d=b.toJSON(),e=a.parseStyle(d.style);c?(b.find("#borderColor").value(e["border-color"]||"")[0].fire("change"),b.find("#backgroundColor").value(e["background-color"]||"")[0].fire("change")):(e["border-color"]=d.borderColor,e["background-color"]=d.backgroundColor),b.find("#style").value(a.serializeStyle(a.parseStyle(a.serializeStyle(e))))}function m(a,b,c){var d=a.parseStyle(a.getAttrib(c,"style"));d["border-color"]&&(b.borderColor=d["border-color"]),d["background-color"]&&(b.backgroundColor=d["background-color"]),b.style=a.serializeStyle(d)}function n(a,b,d){var e=a.parseStyle(a.getAttrib(b,"style"));c(d,function(a){e[a.name]=a.value}),a.setAttrib(b,"style",a.serializeStyle(a.parseStyle(a.serializeStyle(e))))}var o=this;o.tableProps=function(){o.table(!0)},o.table=function(e){function j(){function c(a,b,d){if("TD"===a.tagName||"TH"===a.tagName)v.setStyle(a,b,d);else if(a.children)for(var e=0;e ',p.insertBefore(e,p.firstChild)),i(p),w.align&&d.formatter.apply("align"+w.align,{},p),d.focus(),d.addVisual()})}function o(a,b){function c(a,c){for(var d=0;d1?p={width:"",height:"",scope:"","class":"",align:"",style:"",type:o.nodeName.toLowerCase()}:(p={width:g(r.getStyle(o,"width")||r.getAttrib(o,"width")),height:g(r.getStyle(o,"height")||r.getAttrib(o,"height")),scope:r.getAttrib(o,"scope"),"class":r.getAttrib(o,"class")},p.type=o.nodeName.toLowerCase(),c("left center right".split(" "),function(a){d.formatter.matchNode(o,"align"+a)&&(p.align=a)}),c("top middle bottom".split(" "),function(a){d.formatter.matchNode(o,"valign"+a)&&(p.valign=a)}),m(r,p,o)),d.settings.table_cell_class_list&&(q={name:"class",type:"listbox",label:"Class",values:k(d.settings.table_cell_class_list,function(a){a.value&&(a.textStyle=function(){return d.formatter.getCssText({block:"td",classes:[a.value]})})})});var t={type:"form",layout:"flex",direction:"column",labelGapCalc:"children",padding:0,items:[{type:"form",layout:"grid",columns:2,labelGapCalc:!1,padding:0,defaults:{type:"textbox",maxWidth:50},items:[{label:"Width",name:"width"},{label:"Height",name:"height"},{label:"Cell type",name:"type",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"Cell",value:"td"},{text:"Header cell",value:"th"}]},{label:"Scope",name:"scope",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"None",value:""},{text:"Row",value:"row"},{text:"Column",value:"col"},{text:"Row group",value:"rowgroup"},{text:"Column group",value:"colgroup"}]},{label:"H Align",name:"align",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{label:"V Align",name:"valign",type:"listbox",text:"None",minWidth:90,maxWidth:null,values:[{text:"None",value:""},{text:"Top",value:"top"},{text:"Middle",value:"middle"},{text:"Bottom",value:"bottom"}]}]},q]};d.settings.table_cell_advtab!==!1?d.windowManager.open({title:"Cell properties",bodyType:"tabpanel",data:p,body:[{title:"General",type:"form",items:t},f(r)],onsubmit:n}):d.windowManager.open({title:"Cell properties",data:p,body:t,onsubmit:n})}},o.row=function(){function b(a,b,c){(1===u.length||c)&&t.setAttrib(a,b,c)}function e(a,b,c){(1===u.length||c)&&t.setStyle(a,b,c)}function j(){var f,g,j;l(t,this),r=a.extend(r,this.toJSON()),d.undoManager.transact(function(){var a=r.type;c(u,function(c){b(c,"scope",r.scope),b(c,"style",r.style),b(c,"class",r["class"]),e(c,"height",h(r.height)),a!==c.parentNode.nodeName.toLowerCase()&&(f=t.getParent(c,"table"),g=c.parentNode,j=t.select(a,f)[0],j||(j=t.create(a),f.firstChild?f.insertBefore(j,f.firstChild):f.appendChild(j)),j.appendChild(c),g.hasChildNodes()||t.remove(g)),1===u.length&&i(c),r.align&&d.formatter.apply("align"+r.align,{},c)}),d.focus()})}var n,o,p,q,r,s,t=d.dom,u=[];n=d.dom.getParent(d.selection.getStart(),"table"),o=d.dom.getParent(d.selection.getStart(),"td,th"),c(n.rows,function(a){c(a.cells,function(b){if(t.getAttrib(b,"data-mce-selected")||b==o)return u.push(a),!1})}),p=u[0],p&&(u.length>1?r={height:"",scope:"","class":"",align:"",type:p.parentNode.nodeName.toLowerCase()}:(r={height:g(t.getStyle(p,"height")||t.getAttrib(p,"height")),scope:t.getAttrib(p,"scope"),"class":t.getAttrib(p,"class")},r.type=p.parentNode.nodeName.toLowerCase(),c("left center right".split(" "),function(a){d.formatter.matchNode(p,"align"+a)&&(r.align=a)}),m(t,r,p)),d.settings.table_row_class_list&&(q={name:"class",type:"listbox",label:"Class",values:k(d.settings.table_row_class_list,function(a){a.value&&(a.textStyle=function(){return d.formatter.getCssText({block:"tr",classes:[a.value]})})})}),s={type:"form",columns:2,padding:0,defaults:{type:"textbox"},items:[{type:"listbox",name:"type",label:"Row type",text:"Header",maxWidth:null,values:[{text:"Header",value:"thead"},{text:"Body",value:"tbody"},{text:"Footer",value:"tfoot"}]},{type:"listbox",name:"align",label:"Alignment",text:"None",maxWidth:null,values:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{label:"Height",name:"height"},q]},d.settings.table_row_advtab!==!1?d.windowManager.open({title:"Row properties",data:r,bodyType:"tabpanel",body:[{title:"General",type:"form",items:s},f(t)],onsubmit:j}):d.windowManager.open({title:"Row properties",data:r,body:s,onsubmit:j}))}}}),g("5",["6","d"],function(a,b){var c;return function(d){function e(a,b){return{index:a,y:d.dom.getPos(b).y}}function f(a,b){return{index:a,y:d.dom.getPos(b).y+b.offsetHeight}}function g(a,b){return{index:a,x:d.dom.getPos(b).x}}function h(a,b){return{index:a,x:d.dom.getPos(b).x+b.offsetWidth}}function i(){var a=d.getBody().dir;return"rtl"===a}function j(){return d.inline}function k(){return j?d.getBody().ownerDocument.body:d.getBody()}function l(a,b){return i()?h(a,b):g(a,b)}function m(a,b){return i()?g(a,b):h(a,b)}function n(a,b){return o(a,"width")/o(b,"width")*100}function o(a,b){var c=d.dom.getStyle(a,b,!0),e=parseInt(c,10);return e}function p(a){var b=o(a,"width"),c=o(a.parentElement,"width");return b/c*100}function q(a,b){var c=o(a,"width");return b/c*100}function r(a,b){var c=o(a.parentElement,"width");return b/c*100}function s(a,b,c){for(var d=[],e=1;e0?s(e,f,g):[],k=h.length>0?s(l,m,h):[];w(j,a.offsetWidth,i),x(k,a.offsetHeight,i)}function F(a,b,c,d){if(b<0||b>=a.length-1)return"";var e=a[b];if(e)e={value:e,delta:0};else for(var f=a.slice(0,b).reverse(),g=0;g0?e:f}function I(b,c,d){for(var e=C(b),f=a.map(e,function(a){return l(a.colIndex,a.element).x}),g=[],h=0;h1?F(f,h):H(e[h].element,c,d);j=j?j:va,g.push(j)}return g}function J(a){var b=G(a,"height"),c=parseInt(b,10);return Q(b)&&(c=0),!isNaN(c)&&c>0?c:o(a,"height")}function K(b){for(var c=D(b),d=a.map(c,function(a){return e(a.rowIndex,a.element).y}),f=[],g=0;g1?F(d,g):J(c[g].element);i=i?i:wa,f.push(i)}return f}function L(b,c,d,e,f){function g(b){return a.map(b,function(){return 0})}function h(){var a;if(f)a=[100-l[0]];else{var b=Math.max(e,l[0]+d);a=[b-l[0]]}return a}function i(a,b){var c,f=g(l.slice(0,a)),h=g(l.slice(b+1));if(d>=0){var i=Math.max(e,l[b]-d);c=f.concat([d,i-l[b]]).concat(h)}else{var j=Math.max(e,l[a]+d),k=l[a]-j;c=f.concat([j-l[a],k]).concat(h)}return c}function j(a,b){var c,f=g(l.slice(0,b));if(d>=0)c=f.concat([d]);else{var h=Math.max(e,l[b]+d);c=f.concat([h-l[b]])}return c}var k,l=b.slice(0);return k=0===b.length?[]:1===b.length?h():0===c?i(0,1):c>0&&c=1&&S(c,b,a)}else if(_(ia)){var g=parseInt(d.dom.getAttrib(ia,pa),10),h=d.dom.getPos(ia).y;a=parseInt(d.dom.getAttrib(ia,oa),10),b=h-g,Math.abs(b)>=1&&T(c,b,a)}u(c),d.nodeChanged()}}function Z(a,b){ha=ha?ha:W(),ga=!0,d.dom.addClass(a,xa),ia=a,X(ha,b),d.dom.add(k(),ha)}function $(a){return d.dom.hasClass(a,qa)}function _(a){return d.dom.hasClass(a,ma)}function aa(a){ja=void 0!==ja?ja:a.clientX;var b=a.clientX-ja;ja=a.clientX;var c=d.dom.getPos(ia).x;d.dom.setStyle(ia,"left",c+b+"px")}function ba(a){ka=void 0!==ka?ka:a.clientY;var b=a.clientY-ka;ka=a.clientY;var c=d.dom.getPos(ia).y;d.dom.setStyle(ia,"top",c+b+"px")}function ca(a){ja=void 0,Z(a,aa)}function da(a){ka=void 0,Z(a,ba)}function ea(a){var b=a.target,e=d.getBody();if(d.$.contains(e,c)||c===e)if($(b)){a.preventDefault();var f=d.dom.getPos(b).x;d.dom.setAttrib(b,ta,f),ca(b)}else if(_(b)){a.preventDefault();var g=d.dom.getPos(b).y;d.dom.setAttrib(b,pa,g),da(b)}else t()}var fa,ga,ha,ia,ja,ka,la="mce-resize-bar",ma="mce-resize-bar-row",na="row-resize",oa="data-row",pa="data-initial-top",qa="mce-resize-bar-col",ra="col-resize",sa="data-col",ta="data-initial-left",ua=4,va=10,wa=10,xa="mce-resize-bar-dragging",ya=new RegExp(/(\d+(\.\d+)?%)/),za=new RegExp(/px|em/);return d.on("init",function(){d.dom.bind(k(),"mousedown",ea)}),d.on("ObjectResized",function(b){var c=b.target;if("TABLE"===c.nodeName){var e=[];a.each(c.rows,function(b){a.each(b.cells,function(a){var b=d.dom.getStyle(a,"width",!0);e.push({cell:a,width:b})})}),a.each(e,function(a){d.dom.setStyle(a.cell,"width",a.width),d.dom.setAttrib(a.cell,"width",null)})}}),d.on("mouseover",function(a){if(!ga){var b=d.dom.getParent(a.target,"table");("TABLE"===a.target.nodeName||b)&&(c=b,u(b))}}),d.on("keydown",function(a){switch(a.keyCode){case b.LEFT:case b.RIGHT:case b.UP:case b.DOWN:t()}}),d.on("remove",function(){t(),d.dom.unbind(k(),"mousedown",ea)}),{adjustWidth:S,adjustHeight:T,clearBars:t,drawBars:E,determineDeltas:L,getTableGrid:z,getTableDetails:y,getWidths:I,getPixelHeights:K,isPercentageBasedSize:Q,isPixelBasedSize:R,recalculateWidths:N,recalculateCellHeights:O,recalculateRowHeights:P}}}),g("9",["a"],function(a){return a("tinymce.PluginManager")}),g("0",["1","2","3","4","5","6","7","8","9"],function(a,b,c,d,e,f,g,h,i){function j(f){function g(a){return function(){f.execCommand(a)}}function i(a,b){var c,d,e,g;for(e='",f.undoManager.transact(function(){f.insertContent(e),g=f.dom.get("__mce"),f.dom.setAttrib(g,"id",null),f.$("tr",g).each(function(a,b){f.fire("newrow",{node:b}),f.$("th,td",b).each(function(a,b){f.fire("newcell",{node:b})})}),f.dom.setAttribs(g,f.settings.table_default_attributes||{}),f.dom.setStyles(g,f.settings.table_default_styles||{})}),g}function j(a,b,c){function d(){var d,e,g,h={},i=0;e=f.dom.select("td[data-mce-selected],th[data-mce-selected]"),d=e[0],d||(d=f.selection.getStart()),c&&e.length>0?(k(e,function(a){return h[a.parentNode.parentNode.nodeName]=1}),k(h,function(a){i+=a}),g=1!==i):g=!f.dom.getParent(d,b),a.disabled(g),f.selection.selectorChanged(b,function(b){a.disabled(!b)})}f.initialized?d():f.on("init",d)}function l(){j(this,"table")}function m(){j(this,"td,th")}function n(){j(this,"td,th",!0)}function o(){var a="";a='';for(var b=0;b<10;b++){a+="";for(var c=0;c<10;c++)a+=' ';a+=" "}return a+="
",a+='1 x 1
'}function p(a,b,c){var d,e,g,h,i,j=c.getEl().getElementsByTagName("table")[0],k=c.isRtl()||"tl-tr"==c.parent().rel;for(j.nextSibling.innerHTML=a+1+" x "+(b+1),k&&(a=9-a),e=0;e<10;e++)for(d=0;d<10;d++)h=j.rows[e].childNodes[d].firstChild,i=(k?d>=a:d<=a)&&e<=b,f.dom.toggleClass(h,"mce-active",i),i&&(g=h);return g.parentNode}function q(){f.addButton("tableprops",{title:"Table properties",onclick:y.tableProps,icon:"table"}),f.addButton("tabledelete",{title:"Delete table",onclick:g("mceTableDelete")}),f.addButton("tablecellprops",{title:"Cell properties",onclick:g("mceTableCellProps")}),f.addButton("tablemergecells",{title:"Merge cells",onclick:g("mceTableMergeCells")}),f.addButton("tablesplitcells",{title:"Split cell",onclick:g("mceTableSplitCells")}),f.addButton("tableinsertrowbefore",{title:"Insert row before",onclick:g("mceTableInsertRowBefore")}),f.addButton("tableinsertrowafter",{title:"Insert row after",onclick:g("mceTableInsertRowAfter")}),f.addButton("tabledeleterow",{title:"Delete row",onclick:g("mceTableDeleteRow")}),f.addButton("tablerowprops",{title:"Row properties",onclick:g("mceTableRowProps")}),f.addButton("tablecutrow",{title:"Cut row",onclick:g("mceTableCutRow")}),f.addButton("tablecopyrow",{title:"Copy row",onclick:g("mceTableCopyRow")}),f.addButton("tablepasterowbefore",{title:"Paste row before",onclick:g("mceTablePasteRowBefore")}),f.addButton("tablepasterowafter",{title:"Paste row after",onclick:g("mceTablePasteRowAfter")}),f.addButton("tableinsertcolbefore",{title:"Insert column before",onclick:g("mceTableInsertColBefore")}),f.addButton("tableinsertcolafter",{title:"Insert column after",onclick:g("mceTableInsertColAfter")}),f.addButton("tabledeletecol",{title:"Delete column",onclick:g("mceTableDeleteCol")})}function r(a){var b=f.dom.is(a,"table")&&f.getBody().contains(a);return b}function s(){var a=f.settings.table_toolbar;""!==a&&a!==!1&&(a||(a="tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol"),f.addContextToolbar(r,a))}function t(){return v}function u(a){v=a}var v,w,x=this,y=new d(f);!f.settings.object_resizing||f.settings.table_resize_bars===!1||f.settings.object_resizing!==!0&&"table"!==f.settings.object_resizing||(w=e(f)),f.settings.table_grid===!1?f.addMenuItem("inserttable",{text:"Table",icon:"table",context:"table",onclick:y.table}):f.addMenuItem("inserttable",{text:"Table",icon:"table",context:"table",ariaHideMenu:!0,onclick:function(a){a.aria&&(this.parent().hideAll(),a.stopImmediatePropagation(),y.table())},onshow:function(){p(0,0,this.menu.items()[0])},onhide:function(){var a=this.menu.items()[0].getEl().getElementsByTagName("a");f.dom.removeClass(a,"mce-active"),f.dom.addClass(a[0],"mce-active")},menu:[{type:"container",html:o(),onPostRender:function(){this.lastX=this.lastY=0},onmousemove:function(a){var b,c,d=a.target;"A"==d.tagName.toUpperCase()&&(b=parseInt(d.getAttribute("data-mce-x"),10),c=parseInt(d.getAttribute("data-mce-y"),10),(this.isRtl()||"tl-tr"==this.parent().rel)&&(b=9-b),b===this.lastX&&c===this.lastY||(p(b,c,a.control),this.lastX=b,this.lastY=c))},onclick:function(a){var b=this;"A"==a.target.tagName.toUpperCase()&&(a.preventDefault(),a.stopPropagation(),b.parent().cancel(),f.undoManager.transact(function(){i(b.lastX+1,b.lastY+1)}),f.addVisual())}}]}),f.addMenuItem("tableprops",{text:"Table properties",context:"table",onPostRender:l,onclick:y.tableProps}),f.addMenuItem("deletetable",{text:"Delete table",context:"table",onPostRender:l,cmd:"mceTableDelete"}),f.addMenuItem("cell",{separator:"before",text:"Cell",context:"table",menu:[{text:"Cell properties",onclick:g("mceTableCellProps"),onPostRender:m},{text:"Merge cells",onclick:g("mceTableMergeCells"),onPostRender:n},{text:"Split cell",onclick:g("mceTableSplitCells"),onPostRender:m}]}),f.addMenuItem("row",{text:"Row",context:"table",menu:[{text:"Insert row before",onclick:g("mceTableInsertRowBefore"),onPostRender:m},{text:"Insert row after",onclick:g("mceTableInsertRowAfter"),onPostRender:m},{text:"Delete row",onclick:g("mceTableDeleteRow"),onPostRender:m},{text:"Row properties",onclick:g("mceTableRowProps"),onPostRender:m},{text:"-"},{text:"Cut row",onclick:g("mceTableCutRow"),onPostRender:m},{text:"Copy row",onclick:g("mceTableCopyRow"),onPostRender:m},{text:"Paste row before",onclick:g("mceTablePasteRowBefore"),onPostRender:m},{text:"Paste row after",onclick:g("mceTablePasteRowAfter"),onPostRender:m}]}),f.addMenuItem("column",{text:"Column",context:"table",menu:[{text:"Insert column before",onclick:g("mceTableInsertColBefore"),onPostRender:m},{text:"Insert column after",onclick:g("mceTableInsertColAfter"),onPostRender:m},{text:"Delete column",onclick:g("mceTableDeleteCol"),onPostRender:m}]});var z=[];k("inserttable tableprops deletetable | cell row column".split(" "),function(a){"|"==a?z.push({text:"-"}):z.push(f.menuItems[a])}),f.addButton("table",{type:"menubutton",title:"Table",menu:z}),h.isIE||f.on("click",function(a){a=a.target,"TABLE"===a.nodeName&&(f.selection.select(a),f.nodeChanged())}),x.quirks=new b(f),f.on("Init",function(){x.cellSelection=new c(f,function(a){a&&w&&w.clearBars()}),x.resizeBars=w}),f.on("PreInit",function(){f.serializer.addAttributeFilter("data-mce-cell-padding,data-mce-border,data-mce-border-color",function(a,b){for(var c=a.length;c--;)a[c].attr(b,null)})}),k({mceTableSplitCells:function(a){a.split()},mceTableMergeCells:function(a){var b;b=f.dom.getParent(f.selection.getStart(),"th,td"),f.dom.select("td[data-mce-selected],th[data-mce-selected]").length?a.merge():y.merge(a,b)},mceTableInsertRowBefore:function(a){a.insertRows(!0)},mceTableInsertRowAfter:function(a){a.insertRows()},mceTableInsertColBefore:function(a){a.insertCols(!0)},mceTableInsertColAfter:function(a){a.insertCols()},mceTableDeleteCol:function(a){a.deleteCols()},mceTableDeleteRow:function(a){a.deleteRows()},mceTableCutRow:function(a){v=a.cutRows()},mceTableCopyRow:function(a){v=a.copyRows()},mceTablePasteRowBefore:function(a){a.pasteRows(v,!0)},mceTablePasteRowAfter:function(a){a.pasteRows(v)},mceSplitColsBefore:function(a){a.splitCols(!0)},mceSplitColsAfter:function(a){a.splitCols(!1)},mceTableDelete:function(a){w&&w.clearBars(),a.deleteTable()}},function(b,c){f.addCommand(c,function(){var c=new a(f);c&&(b(c),f.execCommand("mceRepaint"),x.cellSelection.clear())})}),k({mceInsertTable:y.table,mceTableProps:function(){y.table(!0)},mceTableRowProps:y.row,mceTableCellProps:y.cell},function(a,b){f.addCommand(b,function(b,c){a(c)})}),q(),s(),f.settings.table_tab_navigation!==!1&&f.on("keydown",function(b){var c,d,e;9==b.keyCode&&(c=f.dom.getParent(f.selection.getStart(),"th,td"),c&&(b.preventDefault(),d=new a(f),e=b.shiftKey?-1:1,f.undoManager.transact(function(){!d.moveRelIdx(c,e)&&e>0&&(d.insertRow(),d.refresh(),d.moveRelIdx(c,e))})))}),x.insertTable=i,x.setClipboardRows=u,x.getClipboardRows=t}var k=f.each;return i.add("table",j),function(){}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/visualblocks/css/index.html b/admincp.php/assets/tinymce/plugins/visualblocks/css/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/visualblocks/css/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/visualblocks/css/index.php b/admincp.php/assets/tinymce/plugins/visualblocks/css/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/visualblocks/css/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/visualblocks/css/visualblocks.css b/admincp.php/assets/tinymce/plugins/visualblocks/css/visualblocks.css
new file mode 100644
index 0000000..96e4d7c
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/visualblocks/css/visualblocks.css
@@ -0,0 +1,154 @@
+.mce-visualblocks p {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin-left: 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks h1 {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin-left: 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks h2 {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin-left: 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks h3 {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin-left: 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks h4 {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin-left: 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks h5 {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin-left: 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks h6 {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin-left: 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks div:not([data-mce-bogus]) {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin-left: 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks section {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin: 0 0 1em 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks article {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin: 0 0 1em 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks blockquote {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks address {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin: 0 0 1em 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks pre {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin-left: 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks figure {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin: 0 0 1em 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks hgroup {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin: 0 0 1em 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks aside {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin: 0 0 1em 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks figcaption {
+ border: 1px dashed #BBB;
+}
+
+.mce-visualblocks ul {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin: 0 0 1em 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks ol {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin: 0 0 1em 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==);
+ background-repeat: no-repeat;
+}
+
+.mce-visualblocks dl {
+ padding-top: 10px;
+ border: 1px dashed #BBB;
+ margin: 0 0 1em 3px;
+ background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==);
+ background-repeat: no-repeat;
+}
diff --git a/admincp.php/assets/tinymce/plugins/visualblocks/index.html b/admincp.php/assets/tinymce/plugins/visualblocks/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/visualblocks/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/plugins/visualblocks/index.php b/admincp.php/assets/tinymce/plugins/visualblocks/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/visualblocks/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/plugins/visualblocks/plugin.min.js b/admincp.php/assets/tinymce/plugins/visualblocks/plugin.min.js
new file mode 100644
index 0000000..067eaac
--- /dev/null
+++ b/admincp.php/assets/tinymce/plugins/visualblocks/plugin.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/skins/index.php b/admincp.php/assets/tinymce/skins/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/skins/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/skins/lightgray/content.inline.min.css b/admincp.php/assets/tinymce/skins/lightgray/content.inline.min.css
new file mode 100644
index 0000000..c6a5bf3
--- /dev/null
+++ b/admincp.php/assets/tinymce/skins/lightgray/content.inline.min.css
@@ -0,0 +1 @@
+.mce-content-body .mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:black;font-family:Arial;font-size:11px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;line-height:normal;font-weight:normal;text-align:left;-webkit-tap-highlight-color:transparent;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;direction:ltr;max-width:none}.mce-object{border:1px dotted #3A3A3A;background:#D5D5D5 url(img/object.gif) no-repeat center}.mce-preview-object{display:inline-block;position:relative;margin:0 2px 0 2px;line-height:0;border:1px solid gray}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-preview-object .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}figure.align-left{float:left}figure.align-right{float:right}figure.image.align-center{display:table;margin-left:auto;margin-right:auto}figure.image{display:inline-block;border:1px solid gray;margin:0 2px 0 1px;background:#f5f2f0}figure.image img{margin:8px 8px 0 8px}figure.image figcaption{margin:6px 8px 6px 8px;text-align:center}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px !important;height:9px !important;border:1px dotted #3A3A3A;background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-nbsp,.mce-shy{background:#AAA}.mce-shy::after{content:'-'}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#3399ff;color:#fff}.mce-spellchecker-word{border-bottom:2px solid #F00;cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid #008000;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td[data-mce-selected],th[data-mce-selected]{background-color:#3399ff !important}.mce-edit-focus{outline:1px dotted #333}.mce-resize-bar-dragging{background-color:blue;opacity:.25;filter:alpha(opacity=25);zoom:1}.mce-content-body p,.mce-content-body div,.mce-content-body h1,.mce-content-body h2,.mce-content-body h3,.mce-content-body h4,.mce-content-body h5,.mce-content-body h6{line-height:1.2em}.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus{outline:2px solid #2d8ac7}.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover{outline:2px solid #7ACAFF}.mce-content-body *[contentEditable=false][data-mce-selected]{outline:2px solid #2d8ac7}.mce-content-body a[data-mce-selected],.mce-content-body code[data-mce-selected]{background:#bfe6ff}.mce-content-body hr{cursor:default}
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/skins/lightgray/content.min.css b/admincp.php/assets/tinymce/skins/lightgray/content.min.css
new file mode 100644
index 0000000..074f713
--- /dev/null
+++ b/admincp.php/assets/tinymce/skins/lightgray/content.min.css
@@ -0,0 +1 @@
+body{background-color:#FFFFFF;color:#000000;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;scrollbar-3dlight-color:#F0F0EE;scrollbar-arrow-color:#676662;scrollbar-base-color:#F0F0EE;scrollbar-darkshadow-color:#DDDDDD;scrollbar-face-color:#E0E0DD;scrollbar-highlight-color:#F0F0EE;scrollbar-shadow-color:#F0F0EE;scrollbar-track-color:#F5F5F5}td,th{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px}.mce-content-body .mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:black;font-family:Arial;font-size:11px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;line-height:normal;font-weight:normal;text-align:left;-webkit-tap-highlight-color:transparent;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;direction:ltr;max-width:none}.mce-object{border:1px dotted #3A3A3A;background:#D5D5D5 url(img/object.gif) no-repeat center}.mce-preview-object{display:inline-block;position:relative;margin:0 2px 0 2px;line-height:0;border:1px solid gray}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-preview-object .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}figure.align-left{float:left}figure.align-right{float:right}figure.image.align-center{display:table;margin-left:auto;margin-right:auto}figure.image{display:inline-block;border:1px solid gray;margin:0 2px 0 1px;background:#f5f2f0}figure.image img{margin:8px 8px 0 8px}figure.image figcaption{margin:6px 8px 6px 8px;text-align:center}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px !important;height:9px !important;border:1px dotted #3A3A3A;background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-nbsp,.mce-shy{background:#AAA}.mce-shy::after{content:'-'}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#3399ff;color:#fff}.mce-spellchecker-word{border-bottom:2px solid #F00;cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid #008000;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td[data-mce-selected],th[data-mce-selected]{background-color:#3399ff !important}.mce-edit-focus{outline:1px dotted #333}.mce-resize-bar-dragging{background-color:blue;opacity:.25;filter:alpha(opacity=25);zoom:1}.mce-content-body p,.mce-content-body div,.mce-content-body h1,.mce-content-body h2,.mce-content-body h3,.mce-content-body h4,.mce-content-body h5,.mce-content-body h6{line-height:1.2em}.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus{outline:2px solid #2d8ac7}.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover{outline:2px solid #7ACAFF}.mce-content-body *[contentEditable=false][data-mce-selected]{outline:2px solid #2d8ac7}.mce-content-body a[data-mce-selected],.mce-content-body code[data-mce-selected]{background:#bfe6ff}.mce-content-body hr{cursor:default}
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/skins/lightgray/fonts/index.html b/admincp.php/assets/tinymce/skins/lightgray/fonts/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/skins/lightgray/fonts/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/skins/lightgray/fonts/index.php b/admincp.php/assets/tinymce/skins/lightgray/fonts/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/skins/lightgray/fonts/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce-small.eot b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce-small.eot
new file mode 100644
index 0000000..b144ba0
Binary files /dev/null and b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce-small.eot differ
diff --git a/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce-small.svg b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce-small.svg
new file mode 100644
index 0000000..b4ee6f4
--- /dev/null
+++ b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce-small.svg
@@ -0,0 +1,63 @@
+
+
+
+Generated by IcoMoon
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce-small.ttf b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce-small.ttf
new file mode 100644
index 0000000..a983e2d
Binary files /dev/null and b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce-small.ttf differ
diff --git a/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce-small.woff b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce-small.woff
new file mode 100644
index 0000000..d8962df
Binary files /dev/null and b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce-small.woff differ
diff --git a/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce.eot b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce.eot
new file mode 100644
index 0000000..f99c13f
Binary files /dev/null and b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce.eot differ
diff --git a/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce.svg b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce.svg
new file mode 100644
index 0000000..5727cea
--- /dev/null
+++ b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce.svg
@@ -0,0 +1,131 @@
+
+
+
+Generated by IcoMoon
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce.ttf b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce.ttf
new file mode 100644
index 0000000..16536bf
Binary files /dev/null and b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce.ttf differ
diff --git a/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce.woff b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce.woff
new file mode 100644
index 0000000..74b50f4
Binary files /dev/null and b/admincp.php/assets/tinymce/skins/lightgray/fonts/tinymce.woff differ
diff --git a/admincp.php/assets/tinymce/skins/lightgray/img/anchor.gif b/admincp.php/assets/tinymce/skins/lightgray/img/anchor.gif
new file mode 100644
index 0000000..606348c
Binary files /dev/null and b/admincp.php/assets/tinymce/skins/lightgray/img/anchor.gif differ
diff --git a/admincp.php/assets/tinymce/skins/lightgray/img/index.html b/admincp.php/assets/tinymce/skins/lightgray/img/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/skins/lightgray/img/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/skins/lightgray/img/index.php b/admincp.php/assets/tinymce/skins/lightgray/img/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/skins/lightgray/img/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/skins/lightgray/img/loader.gif b/admincp.php/assets/tinymce/skins/lightgray/img/loader.gif
new file mode 100644
index 0000000..c69e937
Binary files /dev/null and b/admincp.php/assets/tinymce/skins/lightgray/img/loader.gif differ
diff --git a/admincp.php/assets/tinymce/skins/lightgray/img/object.gif b/admincp.php/assets/tinymce/skins/lightgray/img/object.gif
new file mode 100644
index 0000000..cccd7f0
Binary files /dev/null and b/admincp.php/assets/tinymce/skins/lightgray/img/object.gif differ
diff --git a/admincp.php/assets/tinymce/skins/lightgray/img/trans.gif b/admincp.php/assets/tinymce/skins/lightgray/img/trans.gif
new file mode 100644
index 0000000..3884865
Binary files /dev/null and b/admincp.php/assets/tinymce/skins/lightgray/img/trans.gif differ
diff --git a/admincp.php/assets/tinymce/skins/lightgray/index.html b/admincp.php/assets/tinymce/skins/lightgray/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/skins/lightgray/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/skins/lightgray/index.php b/admincp.php/assets/tinymce/skins/lightgray/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/skins/lightgray/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/skins/lightgray/skin.min.css b/admincp.php/assets/tinymce/skins/lightgray/skin.min.css
new file mode 100644
index 0000000..f7f5cd8
--- /dev/null
+++ b/admincp.php/assets/tinymce/skins/lightgray/skin.min.css
@@ -0,0 +1 @@
+.mce-container,.mce-container *,.mce-widget,.mce-widget *,.mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:#333;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;-webkit-tap-highlight-color:transparent;line-height:normal;font-weight:normal;text-align:left;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;direction:ltr;max-width:none}.mce-widget button{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.mce-container *[unselectable]{-moz-user-select:none;-webkit-user-select:none;-o-user-select:none;user-select:none}.mce-fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.mce-fade.mce-in{opacity:1}.mce-tinymce{visibility:inherit !important;position:relative}.mce-fullscreen{border:0;padding:0;margin:0;overflow:hidden;height:100%;z-index:100}div.mce-fullscreen{position:fixed;top:0;left:0;width:100%;height:auto}.mce-tinymce{display:block}.mce-wordcount{position:absolute;top:0;right:0;padding:8px}div.mce-edit-area{background:#FFF;filter:none}.mce-statusbar{position:relative}.mce-statusbar .mce-container-body{position:relative}.mce-fullscreen .mce-resizehandle{display:none}.mce-charmap{border-collapse:collapse}.mce-charmap td{cursor:default;border:1px solid rgba(0,0,0,0.2);width:20px;height:20px;line-height:20px;text-align:center;vertical-align:middle;padding:2px}.mce-charmap td div{text-align:center}.mce-charmap td:hover{background:#D9D9D9}.mce-grid td.mce-grid-cell div{border:1px solid #d6d6d6;width:15px;height:15px;margin:0;cursor:pointer}.mce-grid td.mce-grid-cell div:focus{border-color:#3498db}.mce-grid td.mce-grid-cell div[disabled]{cursor:not-allowed}.mce-grid{border-spacing:2px;border-collapse:separate}.mce-grid a{display:block;border:1px solid transparent}.mce-grid a:hover,.mce-grid a:focus{border-color:#3498db}.mce-grid-border{margin:0 4px 0 4px}.mce-grid-border a{border-color:#d6d6d6;width:13px;height:13px}.mce-grid-border a:hover,.mce-grid-border a.mce-active{border-color:#3498db;background:#3498db}.mce-text-center{text-align:center}div.mce-tinymce-inline{width:100%}.mce-colorbtn-trans div{text-align:center;vertical-align:middle;font-weight:bold;font-size:20px;line-height:16px;color:#707070}.mce-monospace{font-family:"Courier New",Courier,monospace}.mce-toolbar-grp{padding:2px 0}.mce-toolbar-grp .mce-flow-layout-item{margin-bottom:0}.mce-rtl .mce-wordcount{left:0;right:auto}.mce-container b{font-weight:bold}.mce-container p{margin-bottom:5px}.mce-container a{cursor:pointer;color:#2980b9}.mce-container a:hover{text-decoration:underline}.mce-container ul{margin-left:15px}.mce-container .mce-table-striped{border-collapse:collapse;margin:10px}.mce-container .mce-table-striped thead>tr{background-color:#fafafa}.mce-container .mce-table-striped thead>tr th{font-weight:bold}.mce-container .mce-table-striped td,.mce-container .mce-table-striped th{padding:5px}.mce-container .mce-table-striped tr:nth-child(even){background-color:#fafafa}.mce-container .mce-table-striped tbody>tr:hover{background-color:#e1e1e1}.mce-branding-powered-by{background-color:#f0f0f0;position:absolute;right:0;bottom:0;width:91px;height:9px;margin-right:-1px;margin-bottom:-1px;border:1px solid #c5c5c5;border-width:1px 1px 0 1px;padding:6px 6px 0 6px;background-image:url('data:image/gif;base64,R0lGODlhXwAJAIABAIiIiAAAACH5BAEKAAEALAAAAABfAAkAAAJxhBGpy+2PUnzqGNpmPNJqDIZSJY4m+KXLF3At2V6xPFfuvMF6J6fINTnhTr9XcaRC6pKvFYlZjDIszaXRSA3ijlXo9AlWindaldSJthJ55XAz6+ZWbVCOdojP77p8J8vlUSI4SHEnaEiYqOhARdhIWAAAOw');background-repeat:no-repeat;background-position:center center}.mce-croprect-container{position:absolute;top:0;left:0}.mce-croprect-handle{position:absolute;top:0;left:0;width:20px;height:20px;border:2px solid white}.mce-croprect-handle-nw{border-width:2px 0 0 2px;margin:-2px 0 0 -2px;cursor:nw-resize;top:100px;left:100px}.mce-croprect-handle-ne{border-width:2px 2px 0 0;margin:-2px 0 0 -20px;cursor:ne-resize;top:100px;left:200px}.mce-croprect-handle-sw{border-width:0 0 2px 2px;margin:-20px 2px 0 -2px;cursor:sw-resize;top:200px;left:100px}.mce-croprect-handle-se{border-width:0 2px 2px 0;margin:-20px 0 0 -20px;cursor:se-resize;top:200px;left:200px}.mce-croprect-handle-move{position:absolute;cursor:move;border:0}.mce-croprect-block{opacity:.3;filter:alpha(opacity=30);zoom:1;position:absolute;background:black}.mce-croprect-handle:focus{border-color:#3498db}.mce-croprect-handle-move:focus{outline:1px solid #3498db}.mce-imagepanel{overflow:auto;background:black}.mce-imagepanel-bg{position:absolute;background:url('data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==')}.mce-imagepanel img{position:absolute}.mce-imagetool.mce-btn .mce-ico{display:block;width:20px;height:20px;text-align:center;line-height:20px;font-size:20px;padding:5px}.mce-arrow-up{margin-top:12px}.mce-arrow-down{margin-top:-12px}.mce-arrow:before,.mce-arrow:after{position:absolute;left:50%;display:block;width:0;height:0;border-style:solid;border-color:transparent;content:""}.mce-arrow.mce-arrow-up:before{top:-9px;border-bottom-color:rgba(0,0,0,0.2);border-width:0 9px 9px;margin-left:-9px}.mce-arrow.mce-arrow-down:before{bottom:-9px;border-top-color:rgba(0,0,0,0.2);border-width:9px 9px 0;margin-left:-9px}.mce-arrow.mce-arrow-up:after{top:-8px;border-bottom-color:#f0f0f0;border-width:0 8px 8px;margin-left:-8px}.mce-arrow.mce-arrow-down:after{bottom:-8px;border-top-color:#f0f0f0;border-width:8px 8px 0;margin-left:-8px}.mce-arrow.mce-arrow-left:before,.mce-arrow.mce-arrow-left:after{margin:0}.mce-arrow.mce-arrow-left:before{left:8px}.mce-arrow.mce-arrow-left:after{left:9px}.mce-arrow.mce-arrow-right:before,.mce-arrow.mce-arrow-right:after{left:auto;margin:0}.mce-arrow.mce-arrow-right:before{right:8px}.mce-arrow.mce-arrow-right:after{right:9px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-left:before{left:-9px;top:50%;border-right-color:rgba(0,0,0,0.2);border-width:9px 9px 9px 0;margin-top:-9px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-left:after{left:-8px;top:50%;border-right-color:#f0f0f0;border-width:8px 8px 8px 0;margin-top:-8px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-left{margin-left:12px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-right:before{right:-9px;top:50%;border-left-color:rgba(0,0,0,0.2);border-width:9px 0 9px 9px;margin-top:-9px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-right:after{right:-8px;top:50%;border-left-color:#f0f0f0;border-width:8px 0 8px 8px;margin-top:-8px}.mce-arrow.mce-arrow-center.mce-arrow.mce-arrow-right{margin-left:-14px}.mce-edit-aria-container>.mce-container-body{display:flex}.mce-edit-aria-container>.mce-container-body .mce-edit-area{flex:1}.mce-edit-aria-container>.mce-container-body .mce-sidebar>.mce-container-body{display:flex;align-items:stretch;height:100%}.mce-edit-aria-container>.mce-container-body .mce-sidebar-panel{min-width:250px;max-width:250px;position:relative}.mce-edit-aria-container>.mce-container-body .mce-sidebar-panel>.mce-container-body{position:absolute;width:100%;height:100%;overflow:auto;top:0;left:0}.mce-sidebar-toolbar{border:0 solid rgba(0,0,0,0.2);border-left-width:1px}.mce-sidebar-toolbar .mce-btn.mce-active,.mce-sidebar-toolbar .mce-btn.mce-active:hover{border:1px solid transparent;border-color:transparent;background-color:#2d8ac7}.mce-sidebar-toolbar .mce-btn.mce-active button,.mce-sidebar-toolbar .mce-btn.mce-active:hover button,.mce-sidebar-toolbar .mce-btn.mce-active button i,.mce-sidebar-toolbar .mce-btn.mce-active:hover button i{color:#fff;text-shadow:1px 1px none}.mce-sidebar-panel{border:0 solid rgba(0,0,0,0.2);border-left-width:1px}.mce-container,.mce-container-body{display:block}.mce-autoscroll{overflow:hidden}.mce-scrollbar{position:absolute;width:7px;height:100%;top:2px;right:2px;opacity:.4;filter:alpha(opacity=40);zoom:1}.mce-scrollbar-h{top:auto;right:auto;left:2px;bottom:2px;width:100%;height:7px}.mce-scrollbar-thumb{position:absolute;background-color:#000;border:1px solid #888;border-color:rgba(85,85,85,0.6);width:5px;height:100%}.mce-scrollbar-h .mce-scrollbar-thumb{width:100%;height:5px}.mce-scrollbar:hover,.mce-scrollbar.mce-active{background-color:#AAA;opacity:.6;filter:alpha(opacity=60);zoom:1}.mce-scroll{position:relative}.mce-panel{border:0 solid #cacaca;border:0 solid rgba(0,0,0,0.2);background-color:#f0f0f0}.mce-floatpanel{position:absolute}.mce-floatpanel.mce-fixed{position:fixed}.mce-floatpanel .mce-arrow,.mce-floatpanel .mce-arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.mce-floatpanel .mce-arrow{border-width:11px}.mce-floatpanel .mce-arrow:after{border-width:10px;content:""}.mce-floatpanel.mce-popover{filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);background:transparent;top:0;left:0;background:#FFF;border:1px solid rgba(0,0,0,0.2);border:1px solid rgba(0,0,0,0.25)}.mce-floatpanel.mce-popover.mce-bottom{margin-top:10px;*margin-top:0}.mce-floatpanel.mce-popover.mce-bottom>.mce-arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:rgba(0,0,0,0.2);border-bottom-color:rgba(0,0,0,0.25);top:-11px}.mce-floatpanel.mce-popover.mce-bottom>.mce-arrow:after{top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#FFF}.mce-floatpanel.mce-popover.mce-bottom.mce-start{margin-left:-22px}.mce-floatpanel.mce-popover.mce-bottom.mce-start>.mce-arrow{left:20px}.mce-floatpanel.mce-popover.mce-bottom.mce-end{margin-left:22px}.mce-floatpanel.mce-popover.mce-bottom.mce-end>.mce-arrow{right:10px;left:auto}.mce-fullscreen{border:0;padding:0;margin:0;overflow:hidden;height:100%}div.mce-fullscreen{position:fixed;top:0;left:0}#mce-modal-block{opacity:0;filter:alpha(opacity=0);zoom:1;position:fixed;left:0;top:0;width:100%;height:100%;background:#000}#mce-modal-block.mce-in{opacity:.3;filter:alpha(opacity=30);zoom:1}.mce-window-move{cursor:move}.mce-window{filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);background:transparent;background:#FFF;position:fixed;top:0;left:0;opacity:0;transform:scale(.1);transition:transform 100ms ease-in,opacity 150ms ease-in}.mce-window.mce-in{transform:scale(1);opacity:1}.mce-window-head{padding:9px 15px;border-bottom:1px solid #c5c5c5;position:relative}.mce-window-head .mce-close{position:absolute;right:0;top:0;height:38px;width:38px;text-align:center;cursor:pointer}.mce-window-head .mce-close i{color:#858585}.mce-close:hover i{color:#adadad}.mce-window-head .mce-title{line-height:20px;font-size:20px;font-weight:bold;text-rendering:optimizelegibility;padding-right:20px}.mce-window .mce-container-body{display:block}.mce-foot{display:block;background-color:#FFF;border-top:1px solid #c5c5c5}.mce-window-head .mce-dragh{position:absolute;top:0;left:0;cursor:move;width:90%;height:100%}.mce-window iframe{width:100%;height:100%}.mce-window-body .mce-listbox{border-color:#ccc}.mce-rtl .mce-window-head .mce-close{position:absolute;right:auto;left:15px}.mce-rtl .mce-window-head .mce-dragh{left:auto;right:0}.mce-rtl .mce-window-head .mce-title{direction:rtl;text-align:right}.mce-tooltip{position:absolute;padding:5px;opacity:.8;filter:alpha(opacity=80);zoom:1}.mce-tooltip-inner{font-size:11px;background-color:#000;color:white;max-width:200px;padding:5px 8px 4px 8px;text-align:center;white-space:normal}.mce-tooltip-arrow{position:absolute;width:0;height:0;line-height:0;border:5px dashed #000}.mce-tooltip-arrow-n{border-bottom-color:#000}.mce-tooltip-arrow-s{border-top-color:#000}.mce-tooltip-arrow-e{border-left-color:#000}.mce-tooltip-arrow-w{border-right-color:#000}.mce-tooltip-nw,.mce-tooltip-sw{margin-left:-14px}.mce-tooltip-ne,.mce-tooltip-se{margin-left:14px}.mce-tooltip-n .mce-tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-nw .mce-tooltip-arrow{top:0;left:10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-ne .mce-tooltip-arrow{top:0;right:10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-s .mce-tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-sw .mce-tooltip-arrow{bottom:0;left:10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-se .mce-tooltip-arrow{bottom:0;right:10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.mce-tooltip-e .mce-tooltip-arrow{right:0;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.mce-tooltip-w .mce-tooltip-arrow{left:0;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.mce-progress{display:inline-block;position:relative;height:20px}.mce-progress .mce-bar-container{display:inline-block;width:100px;height:100%;margin-right:8px;border:1px solid #ccc;overflow:hidden}.mce-progress .mce-text{display:inline-block;margin-top:auto;margin-bottom:auto;font-size:14px;width:40px;color:#333}.mce-bar{display:block;width:0;height:100%;background-color:#d7d7d7;-webkit-transition:width .2s ease;transition:width .2s ease}.mce-notification{position:absolute;background-color:#F0F0F0;padding:5px;margin-top:5px;border-width:1px;border-style:solid;border-color:#CCCCCC;transition:transform 100ms ease-in,opacity 150ms ease-in;opacity:0}.mce-notification.mce-in{opacity:1}.mce-notification-success{background-color:#dff0d8;border-color:#d6e9c6}.mce-notification-info{background-color:#d9edf7;border-color:#779ECB}.mce-notification-warning{background-color:#fcf8e3;border-color:#faebcc}.mce-notification-error{background-color:#f2dede;border-color:#ebccd1}.mce-notification.mce-has-close{padding-right:15px}.mce-notification .mce-ico{margin-top:5px}.mce-notification-inner{display:inline-block;font-size:14px;margin:5px 8px 4px 8px;text-align:center;white-space:normal;color:#31708f}.mce-notification-inner a{text-decoration:underline;cursor:pointer}.mce-notification .mce-progress{margin-right:8px}.mce-notification .mce-progress .mce-text{margin-top:5px}.mce-notification *,.mce-notification .mce-progress .mce-text{color:#333333}.mce-notification .mce-progress .mce-bar-container{border-color:#CCCCCC}.mce-notification .mce-progress .mce-bar-container .mce-bar{background-color:#333333}.mce-notification-success *,.mce-notification-success .mce-progress .mce-text{color:#3c763d}.mce-notification-success .mce-progress .mce-bar-container{border-color:#d6e9c6}.mce-notification-success .mce-progress .mce-bar-container .mce-bar{background-color:#3c763d}.mce-notification-info *,.mce-notification-info .mce-progress .mce-text{color:#31708f}.mce-notification-info .mce-progress .mce-bar-container{border-color:#779ECB}.mce-notification-info .mce-progress .mce-bar-container .mce-bar{background-color:#31708f}.mce-notification-warning *,.mce-notification-warning .mce-progress .mce-text{color:#8a6d3b}.mce-notification-warning .mce-progress .mce-bar-container{border-color:#faebcc}.mce-notification-warning .mce-progress .mce-bar-container .mce-bar{background-color:#8a6d3b}.mce-notification-error *,.mce-notification-error .mce-progress .mce-text{color:#a94442}.mce-notification-error .mce-progress .mce-bar-container{border-color:#ebccd1}.mce-notification-error .mce-progress .mce-bar-container .mce-bar{background-color:#a94442}.mce-notification .mce-close{position:absolute;top:6px;right:8px;font-size:20px;font-weight:bold;line-height:20px;color:#858585;cursor:pointer;height:20px;overflow:hidden}.mce-abs-layout{position:relative}body .mce-abs-layout-item,.mce-abs-end{position:absolute}.mce-abs-end{width:1px;height:1px}.mce-container-body.mce-abs-layout{overflow:hidden}.mce-btn{border:1px solid #b1b1b1;border-color:transparent transparent transparent transparent;position:relative;text-shadow:0 1px 1px rgba(255,255,255,0.75);display:inline-block;*display:inline;*zoom:1;background-color:#f0f0f0}.mce-btn:hover,.mce-btn:focus{color:#333;background-color:#e3e3e3;border-color:#ccc}.mce-btn.mce-disabled button,.mce-btn.mce-disabled:hover button{cursor:default;opacity:.4;filter:alpha(opacity=40);zoom:1}.mce-btn.mce-active,.mce-btn.mce-active:hover{background-color:#dbdbdb;border-color:#ccc}.mce-btn:active{background-color:#e0e0e0;border-color:#ccc}.mce-btn button{padding:4px 8px;font-size:14px;line-height:20px;*line-height:16px;cursor:pointer;color:#333;text-align:center;overflow:visible;-webkit-appearance:none}.mce-btn button::-moz-focus-inner{border:0;padding:0}.mce-btn i{text-shadow:1px 1px none}.mce-primary.mce-btn-has-text{min-width:50px}.mce-primary{color:#fff;border:1px solid transparent;border-color:transparent;background-color:#2d8ac7}.mce-primary:hover,.mce-primary:focus{background-color:#257cb6;border-color:transparent}.mce-primary.mce-disabled button,.mce-primary.mce-disabled:hover button{cursor:default;opacity:.4;filter:alpha(opacity=40);zoom:1}.mce-primary.mce-active,.mce-primary.mce-active:hover,.mce-primary:not(.mce-disabled):active{background-color:#206ea1}.mce-primary button,.mce-primary button i{color:#fff;text-shadow:1px 1px none}.mce-btn .mce-txt{font-size:inherit;line-height:inherit;color:inherit}.mce-btn-large button{padding:9px 14px;font-size:16px;line-height:normal}.mce-btn-large i{margin-top:2px}.mce-btn-small button{padding:1px 5px;font-size:12px;*padding-bottom:2px}.mce-btn-small i{line-height:20px;vertical-align:top;*line-height:18px}.mce-btn .mce-caret{margin-top:8px;margin-left:0}.mce-btn-small .mce-caret{margin-top:8px;margin-left:0}.mce-caret{display:inline-block;*display:inline;*zoom:1;width:0;height:0;vertical-align:top;border-top:4px solid #333;border-right:4px solid transparent;border-left:4px solid transparent;content:""}.mce-disabled .mce-caret{border-top-color:#aaa}.mce-caret.mce-up{border-bottom:4px solid #333;border-top:0}.mce-btn-flat{border:0;background:transparent;filter:none}.mce-btn-flat:hover,.mce-btn-flat.mce-active,.mce-btn-flat:focus,.mce-btn-flat:active{border:0;background:#e6e6e6;filter:none}.mce-btn-has-text .mce-ico{padding-right:5px}.mce-rtl .mce-btn button{direction:rtl}.mce-btn-group .mce-btn{border-width:1px;margin:0;margin-left:2px}.mce-btn-group:not(:first-child){border-left:1px solid #d9d9d9;padding-left:3px;margin-left:3px}.mce-btn-group .mce-first{margin-left:0}.mce-btn-group .mce-btn.mce-flow-layout-item{margin:0}.mce-rtl .mce-btn-group .mce-btn{margin-left:0;margin-right:2px}.mce-rtl .mce-btn-group .mce-first{margin-right:0}.mce-rtl .mce-btn-group:not(:first-child){border-left:none;border-right:1px solid #d9d9d9;padding-right:4px;margin-right:4px}.mce-checkbox{cursor:pointer}i.mce-i-checkbox{margin:0 3px 0 0;border:1px solid #c5c5c5;background-color:#f0f0f0;text-indent:-10em;*font-size:0;*line-height:0;*text-indent:0;overflow:hidden}.mce-checked i.mce-i-checkbox{color:#333;font-size:16px;line-height:16px;text-indent:0}.mce-checkbox:focus i.mce-i-checkbox,.mce-checkbox.mce-focus i.mce-i-checkbox{border:1px solid rgba(82,168,236,0.8)}.mce-checkbox.mce-disabled .mce-label,.mce-checkbox.mce-disabled i.mce-i-checkbox{color:#acacac}.mce-checkbox .mce-label{vertical-align:middle}.mce-rtl .mce-checkbox{direction:rtl;text-align:right}.mce-rtl i.mce-i-checkbox{margin:0 0 0 3px}.mce-combobox{position:relative;display:inline-block;*display:inline;*zoom:1;*height:32px}.mce-combobox input{border:1px solid #c5c5c5;border-right-color:#c5c5c5;height:28px}.mce-combobox.mce-disabled input{color:#adadad}.mce-combobox .mce-btn{border:1px solid #c5c5c5;border-left:0;margin:0}.mce-combobox button{padding-right:8px;padding-left:8px}.mce-combobox.mce-disabled .mce-btn button{cursor:default;opacity:.4;filter:alpha(opacity=40);zoom:1}.mce-combobox .mce-status{position:absolute;right:2px;top:50%;line-height:16px;margin-top:-8px;font-size:12px;width:15px;height:15px;text-align:center;cursor:pointer}.mce-combobox.mce-has-status input{padding-right:20px}.mce-combobox.mce-has-open .mce-status{right:37px}.mce-combobox .mce-status.mce-i-warning{color:#c09853}.mce-combobox .mce-status.mce-i-checkmark{color:#468847}.mce-menu.mce-combobox-menu{border-top:0;margin-top:0;max-height:200px}.mce-menu.mce-combobox-menu .mce-menu-item{padding:4px 6px 4px 4px;font-size:11px}.mce-menu.mce-combobox-menu .mce-menu-item-sep{padding:0}.mce-menu.mce-combobox-menu .mce-text{font-size:11px}.mce-menu.mce-combobox-menu .mce-menu-item-link,.mce-menu.mce-combobox-menu .mce-menu-item-link b{font-size:11px}.mce-menu.mce-combobox-menu .mce-text b{font-size:11px}.mce-colorbox i{border:1px solid #c5c5c5;width:14px;height:14px}.mce-colorbutton .mce-ico{position:relative}.mce-colorbutton-grid{margin:4px}.mce-colorbutton button{padding-right:6px;padding-left:6px}.mce-colorbutton .mce-preview{padding-right:3px;display:block;position:absolute;left:50%;top:50%;margin-left:-17px;margin-top:7px;background:gray;width:13px;height:2px;overflow:hidden}.mce-colorbutton.mce-btn-small .mce-preview{margin-left:-16px;padding-right:0;width:16px}.mce-colorbutton .mce-open{padding-left:4px;padding-right:4px;border-left:1px solid transparent}.mce-colorbutton:hover .mce-open{border-color:#ccc}.mce-colorbutton.mce-btn-small .mce-open{padding:0 3px 0 3px}.mce-rtl .mce-colorbutton{direction:rtl}.mce-rtl .mce-colorbutton .mce-preview{margin-left:0;padding-right:0;padding-left:3px}.mce-rtl .mce-colorbutton.mce-btn-small .mce-preview{margin-left:0;padding-right:0;padding-left:2px}.mce-rtl .mce-colorbutton .mce-open{padding-left:4px;padding-right:4px;border-left:0}.mce-colorpicker{position:relative;width:250px;height:220px}.mce-colorpicker-sv{position:absolute;top:0;left:0;width:90%;height:100%;border:1px solid #c5c5c5;cursor:crosshair;overflow:hidden}.mce-colorpicker-h-chunk{width:100%}.mce-colorpicker-overlay1,.mce-colorpicker-overlay2{width:100%;height:100%;position:absolute;top:0;left:0}.mce-colorpicker-overlay1{filter:progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr='#ffffff', endColorstr='#00ffffff');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr='#ffffff', endColorstr='#00ffffff')";background:linear-gradient(to right, #fff, rgba(255,255,255,0))}.mce-colorpicker-overlay2{filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#00000000', endColorstr='#000000');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#00000000', endColorstr='#000000')";background:linear-gradient(to bottom, rgba(0,0,0,0), #000)}.mce-colorpicker-selector1{background:none;position:absolute;width:12px;height:12px;margin:-8px 0 0 -8px;border:1px solid black;border-radius:50%}.mce-colorpicker-selector2{position:absolute;width:10px;height:10px;border:1px solid white;border-radius:50%}.mce-colorpicker-h{position:absolute;top:0;right:0;width:6.5%;height:100%;border:1px solid #c5c5c5;cursor:crosshair}.mce-colorpicker-h-marker{margin-top:-4px;position:absolute;top:0;left:-1px;width:100%;border:1px solid #333;background:#fff;height:4px;z-index:100}.mce-path{display:inline-block;*display:inline;*zoom:1;padding:8px;white-space:normal}.mce-path .mce-txt{display:inline-block;padding-right:3px}.mce-path .mce-path-body{display:inline-block}.mce-path-item{display:inline-block;*display:inline;*zoom:1;cursor:pointer;color:#333}.mce-path-item:hover{text-decoration:underline}.mce-path-item:focus{background:#666;color:#fff}.mce-path .mce-divider{display:inline}.mce-disabled .mce-path-item{color:#aaa}.mce-rtl .mce-path{direction:rtl}.mce-fieldset{border:0 solid #9E9E9E}.mce-fieldset>.mce-container-body{margin-top:-15px}.mce-fieldset-title{margin-left:5px;padding:0 5px 0 5px}.mce-fit-layout{display:inline-block;*display:inline;*zoom:1}.mce-fit-layout-item{position:absolute}.mce-flow-layout-item{display:inline-block;*display:inline;*zoom:1}.mce-flow-layout-item{margin:2px 0 2px 2px}.mce-flow-layout-item.mce-last{margin-right:2px}.mce-flow-layout{white-space:normal}.mce-tinymce-inline .mce-flow-layout{white-space:nowrap}.mce-rtl .mce-flow-layout{text-align:right;direction:rtl}.mce-rtl .mce-flow-layout-item{margin:2px 2px 2px 0}.mce-rtl .mce-flow-layout-item.mce-last{margin-left:2px}.mce-iframe{border:0 solid rgba(0,0,0,0.2);width:100%;height:100%}.mce-infobox{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 1px rgba(255,255,255,0.75);overflow:hidden;border:1px solid red}.mce-infobox div{display:block;margin:5px}.mce-infobox div button{position:absolute;top:50%;right:4px;cursor:pointer;margin-top:-8px;display:none}.mce-infobox div button:focus{outline:2px solid #ccc}.mce-infobox.mce-has-help div{margin-right:25px}.mce-infobox.mce-has-help button{display:block}.mce-infobox.mce-success{background:#dff0d8;border-color:#d6e9c6}.mce-infobox.mce-success div{color:#3c763d}.mce-infobox.mce-warning{background:#fcf8e3;border-color:#faebcc}.mce-infobox.mce-warning div{color:#8a6d3b}.mce-infobox.mce-error{background:#f2dede;border-color:#ebccd1}.mce-infobox.mce-error div{color:#a94442}.mce-rtl .mce-infobox div{text-align:right;direction:rtl}.mce-label{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 1px rgba(255,255,255,0.75);overflow:hidden}.mce-label.mce-autoscroll{overflow:auto}.mce-label.mce-disabled{color:#aaa}.mce-label.mce-multiline{white-space:pre-wrap}.mce-label.mce-success{color:#468847}.mce-label.mce-warning{color:#c09853}.mce-label.mce-error{color:#b94a48}.mce-rtl .mce-label{text-align:right;direction:rtl}.mce-menubar .mce-menubtn{border-color:transparent;background:transparent;filter:none}.mce-menubar .mce-menubtn button{color:#333}.mce-menubar{border:1px solid rgba(217,217,217,0.52)}.mce-menubar .mce-menubtn button span{color:#333}.mce-menubar .mce-caret{border-top-color:#333}.mce-menubar .mce-menubtn:hover,.mce-menubar .mce-menubtn.mce-active,.mce-menubar .mce-menubtn:focus{border-color:#ccc;background:#fff;filter:none}.mce-menubtn button{color:#333}.mce-menubtn.mce-btn-small span{font-size:12px}.mce-menubtn.mce-fixed-width span{display:inline-block;overflow-x:hidden;text-overflow:ellipsis;width:90px}.mce-menubtn.mce-fixed-width.mce-btn-small span{width:70px}.mce-menubtn .mce-caret{*margin-top:6px}.mce-rtl .mce-menubtn button{direction:rtl;text-align:right}.mce-menu-item{display:block;padding:6px 15px 6px 12px;clear:both;font-weight:normal;line-height:20px;color:#333;white-space:nowrap;cursor:pointer;line-height:normal;border-left:4px solid transparent;margin-bottom:1px}.mce-menu-item .mce-ico,.mce-menu-item .mce-text{color:#333}.mce-menu-item.mce-disabled .mce-text,.mce-menu-item.mce-disabled .mce-ico{color:#adadad}.mce-menu-item:hover .mce-text,.mce-menu-item.mce-selected .mce-text,.mce-menu-item:focus .mce-text{color:white}.mce-menu-item:hover .mce-ico,.mce-menu-item.mce-selected .mce-ico,.mce-menu-item:focus .mce-ico{color:white}.mce-menu-item.mce-disabled:hover{background:#CCC}.mce-menu-shortcut{display:inline-block;color:#adadad}.mce-menu-shortcut{display:inline-block;*display:inline;*zoom:1;padding:0 15px 0 20px}.mce-menu-item:hover .mce-menu-shortcut,.mce-menu-item.mce-selected .mce-menu-shortcut,.mce-menu-item:focus .mce-menu-shortcut{color:white}.mce-menu-item .mce-caret{margin-top:4px;*margin-top:3px;margin-right:6px;border-top:4px solid transparent;border-bottom:4px solid transparent;border-left:4px solid #333}.mce-menu-item.mce-selected .mce-caret,.mce-menu-item:focus .mce-caret,.mce-menu-item:hover .mce-caret{border-left-color:white}.mce-menu-align .mce-menu-shortcut{*margin-top:-2px}.mce-menu-align .mce-menu-shortcut,.mce-menu-align .mce-caret{position:absolute;right:0}.mce-menu-item.mce-active i{visibility:visible}.mce-menu-item-normal.mce-active{background-color:#3498db}.mce-menu-item-preview.mce-active{border-left:5px solid #aaa}.mce-menu-item-normal.mce-active .mce-text{color:white}.mce-menu-item-normal.mce-active:hover .mce-text,.mce-menu-item-normal.mce-active:hover .mce-ico{color:white}.mce-menu-item-normal.mce-active:focus .mce-text,.mce-menu-item-normal.mce-active:focus .mce-ico{color:white}.mce-menu-item:hover,.mce-menu-item.mce-selected,.mce-menu-item:focus{text-decoration:none;color:white;background-color:#2d8ac7}.mce-menu-item-link{color:#093;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mce-menu-item-link b{color:#093}.mce-menu-item-ellipsis{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mce-menu-item:hover *,.mce-menu-item.mce-selected *,.mce-menu-item:focus *{color:white}div.mce-menu .mce-menu-item-sep,.mce-menu-item-sep:hover{border:0;padding:0;height:1px;margin:9px 1px;overflow:hidden;background:transparent;border-bottom:1px solid rgba(0,0,0,0.1);cursor:default;filter:none}div.mce-menu .mce-menu-item b{font-weight:bold}.mce-menu-item-indent-1{padding-left:20px}.mce-menu-item-indent-2{padding-left:35px}.mce-menu-item-indent-2{padding-left:35px}.mce-menu-item-indent-3{padding-left:40px}.mce-menu-item-indent-4{padding-left:45px}.mce-menu-item-indent-5{padding-left:50px}.mce-menu-item-indent-6{padding-left:55px}.mce-menu.mce-rtl{direction:rtl}.mce-rtl .mce-menu-item{text-align:right;direction:rtl;padding:6px 12px 6px 15px}.mce-menu-align.mce-rtl .mce-menu-shortcut,.mce-menu-align.mce-rtl .mce-caret{right:auto;left:0}.mce-rtl .mce-menu-item .mce-caret{margin-left:6px;margin-right:0;border-right:4px solid #333;border-left:0}.mce-rtl .mce-menu-item.mce-selected .mce-caret,.mce-rtl .mce-menu-item:focus .mce-caret,.mce-rtl .mce-menu-item:hover .mce-caret{border-left-color:transparent;border-right-color:white}.mce-throbber{position:absolute;top:0;left:0;width:100%;height:100%;opacity:.6;filter:alpha(opacity=60);zoom:1;background:#fff url('img/loader.gif') no-repeat center center}.mce-throbber-inline{position:static;height:50px}.mce-menu .mce-throbber-inline{height:25px;background-size:contain}.mce-menu{position:absolute;left:0;top:0;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);background:transparent;z-index:1000;padding:5px 0 5px 0;margin:-1px 0 0;min-width:160px;background:#fff;border:1px solid #989898;border:1px solid rgba(0,0,0,0.2);z-index:1002;max-height:400px;overflow:auto;overflow-x:hidden}.mce-menu i{display:none}.mce-menu-has-icons i{display:inline-block;*display:inline}.mce-menu-sub-tr-tl{margin:-6px 0 0 -1px}.mce-menu-sub-br-bl{margin:6px 0 0 -1px}.mce-menu-sub-tl-tr{margin:-6px 0 0 1px}.mce-menu-sub-bl-br{margin:6px 0 0 1px}.mce-listbox button{text-align:left;padding-right:20px;position:relative}.mce-listbox .mce-caret{position:absolute;margin-top:-2px;right:8px;top:50%}.mce-rtl .mce-listbox .mce-caret{right:auto;left:8px}.mce-rtl .mce-listbox button{padding-right:10px;padding-left:20px}.mce-container-body .mce-resizehandle{position:absolute;right:0;bottom:0;width:16px;height:16px;visibility:visible;cursor:s-resize;margin:0}.mce-container-body .mce-resizehandle-both{cursor:se-resize}i.mce-i-resize{color:#333}.mce-selectbox{background:#fff;border:1px solid #c5c5c5}.mce-slider{border:1px solid #AAA;background:#EEE;width:100px;height:10px;position:relative;display:block}.mce-slider.mce-vertical{width:10px;height:100px}.mce-slider-handle{border:1px solid #BBB;background:#DDD;display:block;width:13px;height:13px;position:absolute;top:0;left:0;margin-left:-1px;margin-top:-2px}.mce-slider-handle:focus{background:#BBB}.mce-spacer{visibility:hidden}.mce-splitbtn .mce-open{border-left:1px solid transparent}.mce-splitbtn:hover .mce-open{border-left-color:#ccc}.mce-splitbtn button{padding-right:6px;padding-left:6px}.mce-splitbtn .mce-open{padding-right:4px;padding-left:4px}.mce-splitbtn .mce-open.mce-active{background-color:#dbdbdb;outline:1px solid #ccc}.mce-splitbtn.mce-btn-small .mce-open{padding:0 3px 0 3px}.mce-rtl .mce-splitbtn{direction:rtl;text-align:right}.mce-rtl .mce-splitbtn button{padding-right:4px;padding-left:4px}.mce-rtl .mce-splitbtn .mce-open{border-left:0}.mce-stack-layout-item{display:block}.mce-tabs{display:block;border-bottom:1px solid #c5c5c5}.mce-tabs,.mce-tabs+.mce-container-body{background:#FFF}.mce-tab{display:inline-block;*display:inline;*zoom:1;border:1px solid #c5c5c5;border-width:0 1px 0 0;background:#ffffff;padding:8px;text-shadow:0 1px 1px rgba(255,255,255,0.75);height:13px;cursor:pointer}.mce-tab:hover{background:#FDFDFD}.mce-tab.mce-active{background:#FDFDFD;border-bottom-color:transparent;margin-bottom:-1px;height:14px}.mce-rtl .mce-tabs{text-align:right;direction:rtl}.mce-rtl .mce-tab{border-width:0 0 0 1px}.mce-textbox{background:#fff;border:1px solid #c5c5c5;display:inline-block;-webkit-transition:border linear .2s, box-shadow linear .2s;transition:border linear .2s, box-shadow linear .2s;height:28px;resize:none;padding:0 4px 0 4px;white-space:pre-wrap;*white-space:pre;color:#333}.mce-textbox:focus,.mce-textbox.mce-focus{border-color:#3498db}.mce-placeholder .mce-textbox{color:#aaa}.mce-textbox.mce-multiline{padding:4px;height:auto}.mce-textbox.mce-disabled{color:#adadad}.mce-rtl .mce-textbox{text-align:right;direction:rtl}@font-face{font-family:'tinymce';src:url('fonts/tinymce.eot');src:url('fonts/tinymce.eot?#iefix') format('embedded-opentype'),url('fonts/tinymce.woff') format('woff'),url('fonts/tinymce.ttf') format('truetype'),url('fonts/tinymce.svg#tinymce') format('svg');font-weight:normal;font-style:normal}@font-face{font-family:'tinymce-small';src:url('fonts/tinymce-small.eot');src:url('fonts/tinymce-small.eot?#iefix') format('embedded-opentype'),url('fonts/tinymce-small.woff') format('woff'),url('fonts/tinymce-small.ttf') format('truetype'),url('fonts/tinymce-small.svg#tinymce') format('svg');font-weight:normal;font-style:normal}.mce-ico{font-family:'tinymce',Arial;font-style:normal;font-weight:normal;font-variant:normal;font-size:16px;line-height:16px;speak:none;vertical-align:text-top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;background:transparent center center;background-size:cover;width:16px;height:16px;color:#333}.mce-btn-small .mce-ico{font-family:'tinymce-small',Arial}.mce-i-save:before{content:"\e000"}.mce-i-newdocument:before{content:"\e001"}.mce-i-fullpage:before{content:"\e002"}.mce-i-alignleft:before{content:"\e003"}.mce-i-aligncenter:before{content:"\e004"}.mce-i-alignright:before{content:"\e005"}.mce-i-alignjustify:before{content:"\e006"}.mce-i-alignnone:before{content:"\e003"}.mce-i-cut:before{content:"\e007"}.mce-i-paste:before{content:"\e008"}.mce-i-searchreplace:before{content:"\e009"}.mce-i-bullist:before{content:"\e00a"}.mce-i-numlist:before{content:"\e00b"}.mce-i-indent:before{content:"\e00c"}.mce-i-outdent:before{content:"\e00d"}.mce-i-blockquote:before{content:"\e00e"}.mce-i-undo:before{content:"\e00f"}.mce-i-redo:before{content:"\e010"}.mce-i-link:before{content:"\e011"}.mce-i-unlink:before{content:"\e012"}.mce-i-anchor:before{content:"\e013"}.mce-i-image:before{content:"\e014"}.mce-i-media:before{content:"\e015"}.mce-i-help:before{content:"\e016"}.mce-i-code:before{content:"\e017"}.mce-i-insertdatetime:before{content:"\e018"}.mce-i-preview:before{content:"\e019"}.mce-i-forecolor:before{content:"\e01a"}.mce-i-backcolor:before{content:"\e01a"}.mce-i-table:before{content:"\e01b"}.mce-i-hr:before{content:"\e01c"}.mce-i-removeformat:before{content:"\e01d"}.mce-i-subscript:before{content:"\e01e"}.mce-i-superscript:before{content:"\e01f"}.mce-i-charmap:before{content:"\e020"}.mce-i-emoticons:before{content:"\e021"}.mce-i-print:before{content:"\e022"}.mce-i-fullscreen:before{content:"\e023"}.mce-i-spellchecker:before{content:"\e024"}.mce-i-nonbreaking:before{content:"\e025"}.mce-i-template:before{content:"\e026"}.mce-i-pagebreak:before{content:"\e027"}.mce-i-restoredraft:before{content:"\e028"}.mce-i-bold:before{content:"\e02a"}.mce-i-italic:before{content:"\e02b"}.mce-i-underline:before{content:"\e02c"}.mce-i-strikethrough:before{content:"\e02d"}.mce-i-visualchars:before{content:"\e02e"}.mce-i-visualblocks:before{content:"\e02e"}.mce-i-ltr:before{content:"\e02f"}.mce-i-rtl:before{content:"\e030"}.mce-i-copy:before{content:"\e031"}.mce-i-resize:before{content:"\e032"}.mce-i-browse:before{content:"\e034"}.mce-i-pastetext:before{content:"\e035"}.mce-i-rotateleft:before{content:"\eaa8"}.mce-i-rotateright:before{content:"\eaa9"}.mce-i-crop:before{content:"\ee78"}.mce-i-editimage:before{content:"\e915"}.mce-i-options:before{content:"\ec6a"}.mce-i-flipv:before{content:"\eaaa"}.mce-i-fliph:before{content:"\eaac"}.mce-i-zoomin:before{content:"\eb35"}.mce-i-zoomout:before{content:"\eb36"}.mce-i-sun:before{content:"\eccc"}.mce-i-moon:before{content:"\eccd"}.mce-i-arrowleft:before{content:"\edc0"}.mce-i-arrowright:before{content:"\e93c"}.mce-i-drop:before{content:"\e935"}.mce-i-contrast:before{content:"\ecd4"}.mce-i-sharpen:before{content:"\eba7"}.mce-i-resize2:before{content:"\edf9"}.mce-i-orientation:before{content:"\e601"}.mce-i-invert:before{content:"\e602"}.mce-i-gamma:before{content:"\e600"}.mce-i-remove:before{content:"\ed6a"}.mce-i-tablerowprops:before{content:"\e604"}.mce-i-tablecellprops:before{content:"\e605"}.mce-i-table2:before{content:"\e606"}.mce-i-tablemergecells:before{content:"\e607"}.mce-i-tableinsertcolbefore:before{content:"\e608"}.mce-i-tableinsertcolafter:before{content:"\e609"}.mce-i-tableinsertrowbefore:before{content:"\e60a"}.mce-i-tableinsertrowafter:before{content:"\e60b"}.mce-i-tablesplitcells:before{content:"\e60d"}.mce-i-tabledelete:before{content:"\e60e"}.mce-i-tableleftheader:before{content:"\e62a"}.mce-i-tabletopheader:before{content:"\e62b"}.mce-i-tabledeleterow:before{content:"\e800"}.mce-i-tabledeletecol:before{content:"\e801"}.mce-i-codesample:before{content:"\e603"}.mce-i-fill:before{content:"\e902"}.mce-i-borderwidth:before{content:"\e903"}.mce-i-line:before{content:"\e904"}.mce-i-count:before{content:"\e905"}.mce-i-translate:before{content:"\e907"}.mce-i-drag:before{content:"\e908"}.mce-i-home:before{content:"\e90b"}.mce-i-upload:before{content:"\e914"}.mce-i-bubble:before{content:"\e91c"}.mce-i-user:before{content:"\e91d"}.mce-i-lock:before{content:"\e926"}.mce-i-unlock:before{content:"\e927"}.mce-i-settings:before{content:"\e928"}.mce-i-remove2:before{content:"\e92a"}.mce-i-menu:before{content:"\e92d"}.mce-i-warning:before{content:"\e930"}.mce-i-question:before{content:"\e931"}.mce-i-pluscircle:before{content:"\e932"}.mce-i-info:before{content:"\e933"}.mce-i-notice:before{content:"\e934"}.mce-i-arrowup:before{content:"\e93b"}.mce-i-arrowdown:before{content:"\e93d"}.mce-i-arrowup2:before{content:"\e93f"}.mce-i-arrowdown2:before{content:"\e940"}.mce-i-menu2:before{content:"\e941"}.mce-i-newtab:before{content:"\e961"}.mce-i-a11y:before{content:"\e900"}.mce-i-plus:before{content:"\e93a"}.mce-i-insert:before{content:"\e93a"}.mce-i-minus:before{content:"\e939"}.mce-i-books:before{content:"\e911"}.mce-i-reload:before{content:"\e906"}.mce-i-toc:before{content:"\e901"}.mce-i-checkmark:before{content:"\e033"}.mce-i-checkbox:before,.mce-i-selected:before{content:"\e033"}.mce-i-insert{font-size:14px}.mce-i-selected{visibility:hidden}i.mce-i-backcolor{text-shadow:none;background:#BBB}
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/themes/index.html b/admincp.php/assets/tinymce/themes/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/themes/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/themes/index.php b/admincp.php/assets/tinymce/themes/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/themes/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/themes/inlite/index.html b/admincp.php/assets/tinymce/themes/inlite/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/themes/inlite/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/themes/inlite/index.php b/admincp.php/assets/tinymce/themes/inlite/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/themes/inlite/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/themes/inlite/theme.min.js b/admincp.php/assets/tinymce/themes/inlite/theme.min.js
new file mode 100644
index 0000000..25996d2
--- /dev/null
+++ b/admincp.php/assets/tinymce/themes/inlite/theme.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i0})},e=function(b,c){var e=function(a){return"string"==typeof a?d(a,/[ ,]/):a},f=function(a,b){return a===!1?[]:b};return a.isArray(b)?b:a.isString(b)?e(b):a.isBoolean(b)?f(b,c):c},f=function(a){return function(c,d,f){var g=d in c.settings?c.settings[d]:f;return b(f,a),e(g,f)}};return{getStringOr:c(a.isString),getBoolOr:c(a.isBoolean),getNumberOr:c(a.isNumber),getHandlerOr:c(a.isFunction),getToolbarItemsOr:f(a.isArray)}}),g("7",[],function(){var a=function(a,b){return{id:a,rect:b}},b=function(a,b){for(var c=0;c',e+="",d=0;d",c=0;c ";e+=""}return e+=" ",e+=""},d=function(a){var b=a.dom.select("*[data-mce-id]");return b[0]},e=function(a,b,e){a.undoManager.transact(function(){var f,g;a.insertContent(c(b,e)),f=d(a),f.removeAttribute("data-mce-id"),g=a.dom.select("td,th",f),a.selection.setCursorLocation(g[0],0)})},f=function(a,b){a.execCommand("FormatBlock",!1,b)},g=function(b,c,d){var e,f;e=b.editorUpload.blobCache,f=e.create(a.uuid("mceu"),d,c),e.add(f),b.insertContent(b.dom.createHTML("img",{src:f.blobUri()}))},h=function(a){a.selection.collapse(!1)},i=function(a){a.focus(),b.unlinkSelection(a),h(a)},j=function(a,b,c){a.focus(),a.dom.setAttrib(b,"href",c),h(a)},k=function(a,b){a.execCommand("mceInsertLink",!1,{href:b}),h(a)},l=function(a,b){var c=a.dom.getParent(a.selection.getStart(),"a[href]");c?j(a,c,b):k(a,b)},m=function(a,b){0===b.trim().length?i(a):l(a,b)};return{insertTable:e,formatBlock:f,insertBlob:g,createLink:m,unlink:i}}),g("v",[],function(){var a=function(a){return/^www\.|\.(com|org|edu|gov|uk|net|ca|de|jp|fr|au|us|ru|ch|it|nl|se|no|es|mil)$/i.test(a.trim())},b=function(a){return/^https?:\/\//.test(a.trim())};return{isDomainLike:a,isAbsolute:b}}),g("l",["g","j","s","p","v"],function(a,b,c,d,e){var f=function(a){a.find("textbox").eq(0).each(function(a){a.focus()})},g=function(c,d){var e=b.create(a.extend({type:"form",layout:"flex",direction:"row",padding:5,name:c,spacing:3},d));return e.on("show",function(){f(e)}),e},h=function(a,b){return b?a.show():a.hide()},i=function(a,b){return new c(function(c){a.windowManager.confirm("The URL you entered seems to be an external link. Do you want to add the required http:// prefix?",function(a){var d=a===!0?"http://"+b:b;c(d)})})},j=function(a,b){return!e.isAbsolute(b)&&e.isDomainLike(b)?i(a,b):c.resolve(b)},k=function(a,b){var c={},e=function(){a.focus(),d.unlink(a),b()},f=function(a){var b=a.meta;b&&b.attach&&(c={href:this.value(),attach:b.attach})},i=function(b){if(b.control===this){var c,d="";c=a.dom.getParent(a.selection.getStart(),"a[href]"),c&&(d=a.dom.getAttrib(c,"href")),this.fromJSON({linkurl:d}),h(this.find("#unlink"),c),this.find("#linkurl")[0].focus()}};return g("quicklink",{items:[{type:"button",name:"unlink",icon:"unlink",onclick:e,tooltip:"Remove link"},{type:"filepicker",name:"linkurl",placeholder:"Paste or type a link",filetype:"file",onchange:f},{type:"button",icon:"checkmark",subtype:"primary",tooltip:"Ok",onclick:"submit"}],onshow:i,onsubmit:function(e){j(a,e.data.linkurl).then(function(e){a.undoManager.transact(function(){e===c.href&&(c.attach(),c={}),d.createLink(a,e)}),b()})}})};return{createQuickLinkForm:k}}),g("m",["q","r"],function(a,b){var c=function(a,b){return{rect:a,position:b}},d=function(a,b){return{x:b.x,y:b.y,w:a.w,h:a.h}},e=function(b,e,f,g,h){var i,j,k;return i=a.findBestRelativePosition(h,f,g,b),f=a.clamp(f,g),i?(j=a.relativePosition(h,f,i),k=d(h,j),c(k,i)):(f=a.intersect(g,f),f?(i=a.findBestRelativePosition(h,f,g,e))?(j=a.relativePosition(h,f,i),k=d(h,j),c(k,i)):(k=d(h,f),c(k,i)):null)},f=function(a,b,c){return e(["cr-cl","cl-cr"],["bc-tc","bl-tl","br-tr"],a,b,c)},g=function(a,b,c){return e(["tc-bc","bc-tc","tl-bl","bl-tl","tr-br","br-tr"],["bc-tc","bl-tl","br-tr"],a,b,c)},h=function(a,c,d,e){var f;return"function"==typeof a?(f=a({elementRect:b.toClientRect(c),contentAreaRect:b.toClientRect(d),panelRect:b.toClientRect(e)}),b.fromClientRect(f)):e},i=function(a){return a.panelRect};return{calcInsert:f,calc:g,userConstrain:h,defaultHandler:i}}),g("c",["g","j","i","k","l","f","m","5"],function(a,b,c,d,e,f,g,h){return function(){var i,j,k=["bold","italic","|","quicklink","h2","h3","blockquote"],l=["quickimage","quicktable"],m=function(b,c){return a.map(c,function(a){return d.create(b,a.id,a.items)})},n=function(a){return h.getToolbarItemsOr(a,"selection_toolbar",k)},o=function(a){return h.getToolbarItemsOr(a,"insert_toolbar",l)},p=function(a){return a.items().length>0},q=function(c,f){var g=m(c,f).concat([d.create(c,"text",n(c)),d.create(c,"insert",o(c)),e.createQuickLinkForm(c,B)]);return b.create({type:"floatpanel",role:"dialog",classes:"tinymce tinymce-inline arrow",ariaLabel:"Inline toolbar",layout:"flex",direction:"column",align:"stretch",autohide:!1,autofix:!0,fixed:!0,border:1,items:a.grep(g,p),oncancel:function(){c.focus()}})},r=function(a){a&&a.show()},s=function(a,b){a.moveTo(b.x,b.y)},t=function(b,c){c=c?c.substr(0,2):"",a.each({t:"down",b:"up",c:"center"},function(a,d){b.classes.toggle("arrow-"+a,d===c.substr(0,1))}),"cr"===c?(b.classes.toggle("arrow-left",!0),b.classes.toggle("arrow-right",!1)):"cl"===c?(b.classes.toggle("arrow-left",!0),b.classes.toggle("arrow-right",!0)):a.each({l:"left",r:"right"},function(a,d){b.classes.toggle("arrow-"+a,d===c.substr(1,1))})},u=function(a,b){var c=a.items().filter("#"+b);return c.length>0&&(c[0].show(),a.reflow(),!0)},v=function(a,b,d,e){var i,k,l,m;return m=h.getHandlerOr(d,"inline_toolbar_position_handler",g.defaultHandler),i=f.getContentAreaRect(d),k=c.DOM.getRect(a.getEl()),l="insert"===b?g.calcInsert(e,i,k):g.calc(e,i,k),!!l&&(k=l.rect,j=e,s(a,g.userConstrain(m,e,i,k)),t(a,l.position),!0)},w=function(a,b,c,d){return r(a),a.items().hide(),u(a,b)?void(v(a,b,c,d)===!1&&B(a)):void B(a)},x=function(){return i.items().filter("form:visible").length>0},y=function(a,b){if(i){if(i.items().hide(),!u(i,b))return void B(i);var d,e,k,l;r(i),i.items().hide(),u(i,b),l=h.getHandlerOr(a,"inline_toolbar_position_handler",g.defaultHandler),d=f.getContentAreaRect(a),e=c.DOM.getRect(i.getEl()),k=g.calc(j,d,e),k&&(e=k.rect,s(i,g.userConstrain(l,j,d,e)),t(i,k.position))}},z=function(a,b,c,d){i||(i=q(a,d),i.renderTo(document.body).reflow().moveTo(c.x,c.y),a.nodeChanged()),w(i,b,a,c)},A=function(a,b,c){i&&v(i,b,a,c)},B=function(){i&&i.hide()},C=function(){i&&i.find("toolbar:visible").eq(0).each(function(a){a.focus(!0)})},D=function(){i&&(i.remove(),i=null)},E=function(){return i&&i.visible()&&x()};return{show:z,showForm:y,reposition:A,inForm:E,hide:B,focus:C,remove:D}}}),g("n",["s"],function(a){var b=function(b){return new a(function(a){var c=new FileReader;c.onloadend=function(){a(c.result.split(",")[1])},c.readAsDataURL(b)})};return{blobToBase64:b}}),g("o",["s"],function(a){var b=function(){return new a(function(a){var b;b=document.createElement("input"),b.type="file",b.style.position="fixed",b.style.left=0,b.style.top=0,b.style.opacity=.001,document.body.appendChild(b),b.onchange=function(b){a(Array.prototype.slice.call(b.target.files))},b.click(),b.parentNode.removeChild(b)})};return{pickFile:b}}),g("b",["c","n","o","p"],function(a,b,c,d){var e=function(a){for(var b=function(b){return function(){d.formatBlock(a,b)}},c=1;c<6;c++){var e="h"+c;a.addButton(e,{text:e.toUpperCase(),tooltip:"Heading "+c,stateSelector:e,onclick:b(e),onPostRender:function(){var a=this.getEl().firstChild.firstChild;a.style.fontWeight="bold"}})}},f=function(a,f){a.addButton("quicklink",{icon:"link",tooltip:"Insert/Edit link",stateSelector:"a[href]",onclick:function(){f.showForm(a,"quicklink")}}),a.addButton("quickimage",{icon:"image",tooltip:"Insert image",onclick:function(){c.pickFile().then(function(c){var e=c[0];b.blobToBase64(e).then(function(b){d.insertBlob(a,b,e)})})}}),a.addButton("quicktable",{icon:"table",tooltip:"Insert table",onclick:function(){f.hide(),d.insertTable(a,2,2)}}),e(a)};return{addToEditor:f}}),g("0",["1","2","3","4","5","6","7","8","9","a","b","c"],function(a,b,c,d,e,f,g,h,i,j,k,l){var m=function(a){var b=a.selection.getNode(),c=a.dom.getParents(b);return c},n=function(a,b,c,d){var e=function(c){return a.dom.is(c,b)};return{predicate:e,id:c,items:d}},o=function(a){var b=a.contextToolbars;return d.flatten([b?b:[],n(a,"img","image","alignleft aligncenter alignright")])},p=function(a,b){var c,d,e;return d=m(a),e=h.fromContextToolbars(b),c=g.match(a,[f.element(d[0],e),i.textSelection("text"),i.emptyTextBlock(d,"insert"),f.parent(d,e)]),c&&c.rect?c:null},q=function(a,b){var c=function(){var c=o(a),d=p(a,c);d?b.show(a,d.id,d.rect,c):b.hide()};return function(){a.removed||c()}},r=function(a,b){return function(){var c=o(a),d=p(a,c);d&&b.reposition(a,d.id,d.rect)}},s=function(a,b,c){return function(){a.removed||b.inForm()||c()}},t=function(a,b){var d=c.throttle(q(a,b),0),e=c.throttle(s(a,b,q(a,b)),0);a.on("blur hide ObjectResizeStart",b.hide),a.on("click",d),a.on("nodeChange mouseup",e),a.on("ResizeEditor keyup",d),a.on("ResizeWindow",r(a,b)),a.on("remove",b.remove),a.shortcuts.add("Alt+F10","",b.focus)},u=function(a,b){a.shortcuts.remove("meta+k"),a.shortcuts.add("meta+k","",function(){var c=o(a),d=d=g.match(a,[i.textSelection("quicklink")]);d&&b.show(a,d.id,d.rect,c)})},v=function(a,b){return j.load(a,function(){t(a,b),u(a,b)}),{}},w=function(a){throw new Error(a)};return a.add("inlite",function(a){var b=new l;k.addToEditor(a,b);var c=function(){return a.inline?v(a,b):w("inlite theme only supports inline mode.")};return{renderUI:c}}),b.appendTo(window.tinymce?window.tinymce:{}),function(){}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/themes/modern/index.html b/admincp.php/assets/tinymce/themes/modern/index.html
new file mode 100644
index 0000000..7d13843
--- /dev/null
+++ b/admincp.php/assets/tinymce/themes/modern/index.html
@@ -0,0 +1,8 @@
+
+
+
+
+Error!!!
+
+Error!!!
+
diff --git a/admincp.php/assets/tinymce/themes/modern/index.php b/admincp.php/assets/tinymce/themes/modern/index.php
new file mode 100644
index 0000000..9d18103
--- /dev/null
+++ b/admincp.php/assets/tinymce/themes/modern/index.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/themes/modern/theme.min.js b/admincp.php/assets/tinymce/themes/modern/theme.min.js
new file mode 100644
index 0000000..7dda013
--- /dev/null
+++ b/admincp.php/assets/tinymce/themes/modern/theme.min.js
@@ -0,0 +1 @@
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i=0;c--)for(d=f.length-1;d>=0;d--)if(f[d].predicate(e[c]))return{toolbar:f[d],element:e[c]};return null};a.on("click keyup setContent ObjectResized",function(b){("setcontent"!==b.type||b.selection)&&c.setEditorTimeout(a,function(){var b;b=u(a.selection.getNode()),b?(t(),s(b)):t()})}),a.on("blur hide contextmenu",t),a.on("ObjectResizeStart",function(){var b=u(a.selection.getNode());b&&b.toolbar.panel&&b.toolbar.panel.hide()}),a.on("ResizeEditor ResizeWindow",q(!0)),a.on("nodeChange",q(!1)),a.on("remove",function(){b.each(n(),function(a){a.panel&&a.panel.remove()}),a.contextToolbars={}}),a.shortcuts.add("ctrl+shift+e > ctrl+shift+p","",function(){var b=u(a.selection.getNode());b&&b.toolbar.panel&&b.toolbar.panel.items()[0].focus()})};return{addContextualToolbars:m}}),g("h",["d"],function(a){var b={file:{title:"File",items:"newdocument"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall"},insert:{title:"Insert",items:"|"},view:{title:"View",items:"visualaid |"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript | formats | removeformat"},table:{title:"Table"},tools:{title:"Tools"}},c=function(a,b){var c;return"|"==b?{text:"|"}:c=a[b]},d=function(d,e,f){var g,h,i,j,k;if(k=a.makeMap((e.removed_menuitems||"").split(/[ ,]/)),e.menu?(h=e.menu[f],j=!0):h=b[f],h){g={text:h.title},i=[],a.each((h.items||"").split(/[ ,]/),function(a){var b=c(d,a);b&&!k[a]&&i.push(c(d,a))}),j||a.each(d,function(a){a.context==f&&("before"==a.separator&&i.push({text:"|"}),a.prependToContext?i.unshift(a):i.push(a),"after"==a.separator&&i.push({text:"|"}))});for(var l=0;l=11},k=function(a){return!(!j()||!a.sidebars)&&a.sidebars.length>0},l=function(b){var c=a.map(b.sidebars,function(a){var c=a.settings;return{type:"button",icon:c.icon,image:c.image,tooltip:c.tooltip,onclick:i(b,a.name,b.sidebars)}});return{type:"panel",name:"sidebar",layout:"stack",classes:"sidebar",items:[{type:"toolbar",layout:"stack",classes:"sidebar-toolbar",items:c}]}};return{hasSidebar:k,createSidebar:l}}),g("j",[],function(){var a=function(a){var b=function(){a._skinLoaded=!0,a.fire("SkinLoaded")};return function(){a.initialized?b():a.on("init",b)}};return{fireSkinLoaded:a}}),g("6",["b","c","d","e","f","g","h","9","i","j","k"],function(a,b,c,d,e,f,g,h,i,j,k){var l=a.DOM,m=function(a){return function(b){a.find("*").disabled("readonly"===b.mode)}},n=function(a){return{type:"panel",name:"iframe",layout:"stack",classes:"edit-area",border:a,html:""}},o=function(a){return{type:"panel",layout:"stack",classes:"edit-aria-container",border:"1 0 0 0",items:[n("0"),i.createSidebar(a)]}},p=function(a,c,p){var q,r,s,t=a.settings;return p.skinUiCss&&l.styleSheetLoader.load(p.skinUiCss,j.fireSkinLoaded(a)),q=c.panel=b.create({type:"panel",role:"application",classes:"tinymce",style:"visibility: hidden",layout:"stack",border:1,items:[t.menubar===!1?null:{type:"menubar",border:"0 0 1 0",items:g.createMenuButtons(a)},k.createToolbars(a,t.toolbar_items_size),i.hasSidebar(a)?o(a):n("1 0 0 0")]}),t.resize!==!1&&(r={type:"resizehandle",direction:t.resize,onResizeStart:function(){var b=a.getContentAreaContainer().firstChild;s={width:b.clientWidth,height:b.clientHeight}},onResize:function(b){"both"===t.resize?h.resizeTo(a,s.width+b.deltaX,s.height+b.deltaY):h.resizeTo(a,null,s.height+b.deltaY)}}),t.statusbar!==!1&&q.add({type:"panel",name:"statusbar",classes:"statusbar",layout:"flow",border:"1 0 0 0",ariaRoot:!0,items:[{type:"elementpath",editor:a},r]}),a.fire("BeforeRenderUI"),a.on("SwitchMode",m(q)),q.renderBefore(p.targetNode).reflow(),t.readonly&&a.setMode("readonly"),p.width&&l.setStyle(q.getEl(),"width",p.width),a.on("remove",function(){q.remove(),q=null}),d.addKeys(a,q),f.addContextualToolbars(a),e.setup(a),{iframeContainer:q.find("#iframe")[0].getEl(),editorContainer:q.getEl()}};return{render:p}}),g("l",["a"],function(a){return a("tinymce.ui.FloatPanel")}),g("7",["d","c","b","l","k","h","g","e","j"],function(a,b,c,d,e,f,g,h,i){var j=function(a,j,k){var l,m,n=a.settings,o=c.DOM;n.fixed_toolbar_container&&(m=o.select(n.fixed_toolbar_container)[0]);var p=function(){if(l&&l.moveRel&&l.visible()&&!l._fixed){var b=a.selection.getScrollContainer(),c=a.getBody(),d=0,e=0;if(b){var f=o.getPos(c),g=o.getPos(b);d=Math.max(0,g.x-f.x),e=Math.max(0,g.y-f.y)}l.fixed(!1).moveRel(c,a.rtl?["tr-br","br-tr"]:["tl-bl","bl-tl","tr-br"]).moveBy(d,e)}},q=function(){l&&(l.show(),p(),o.addClass(a.getBody(),"mce-edit-focus"))},r=function(){l&&(l.hide(),d.hideAll(),o.removeClass(a.getBody(),"mce-edit-focus"))},s=function(){return l?void(l.visible()||q()):(l=j.panel=b.create({type:m?"panel":"floatpanel",role:"application",classes:"tinymce tinymce-inline",layout:"flex",direction:"column",align:"stretch",autohide:!1,autofix:!0,fixed:!!m,border:1,items:[n.menubar===!1?null:{type:"menubar",border:"0 0 1 0",items:f.createMenuButtons(a)},e.createToolbars(a,n.toolbar_items_size)]}),a.fire("BeforeRenderUI"),l.renderTo(m||document.body).reflow(),h.addKeys(a,l),q(),g.addContextualToolbars(a),a.on("nodeChange",p),a.on("activate",q),a.on("deactivate",r),void a.nodeChanged())};return n.content_editable=!0,a.on("focus",function(){k.skinUiCss?o.styleSheetLoader.load(k.skinUiCss,s,s):s()}),a.on("blur hide",r),a.on("remove",function(){l&&(l.remove(),l=null)}),k.skinUiCss&&o.styleSheetLoader.load(k.skinUiCss,i.fireSkinLoaded(a)),{}};return{render:j}}),g("m",["a"],function(a){return a("tinymce.ui.Throbber")}),g("8",["m"],function(a){var b=function(b,c){var d;b.on("ProgressState",function(b){d=d||new a(c.panel.getEl("body")),b.state?d.show(b.time):d.hide()})};return{setup:b}}),g("0",["1","2","3","4","5","6","7","8","9"],function(a,b,c,d,e,f,g,h,i){var j=b.ThemeManager;e.appendTo(a.tinymce?a.tinymce:{});var k=function(a,b,d){var e=a.settings,i=e.skin!==!1&&(e.skin||"lightgray");if(i){var j=e.skin_url;j=j?a.documentBaseURI.toAbsolute(j):c.baseURL+"/skins/"+i,d.skinUiCss=j+"/skin.min.css",a.contentCSS.push(j+"/content"+(a.inline?".inline":"")+".min.css")}return h.setup(a,b),e.inline?g.render(a,b,d):f.render(a,b,d)};return j.add("modern",function(a){return{renderUI:function(b){return k(a,this,b)},resizeTo:function(b,c){return i.resizeTo(a,b,c)},resizeBy:function(b,c){return i.resizeBy(a,b,c)}}}),function(){}}),d("0")()}();
\ No newline at end of file
diff --git a/admincp.php/assets/tinymce/tinymce.min.js b/admincp.php/assets/tinymce/tinymce.min.js
new file mode 100644
index 0000000..a5707d1
--- /dev/null
+++ b/admincp.php/assets/tinymce/tinymce.min.js
@@ -0,0 +1,16 @@
+// 4.6.1 (2017-05-10)
+!function(){var a={},b=function(b){for(var c=a[b],e=c.deps,f=c.defn,g=e.length,h=new Array(g),i=0;i=d.x&&f.x+f.w<=d.w+d.x&&f.y>=d.y&&f.y+f.h<=d.h+d.y)return e[g];return null}function c(a,b,c){return f(a.x-b,a.y-c,a.w+2*b,a.h+2*c)}function d(a,b){var c,d,e,g;return c=i(a.x,b.x),d=i(a.y,b.y),e=h(a.x+a.w,b.x+b.w),g=h(a.y+a.h,b.y+b.h),e-c<0||g-d<0?null:f(c,d,e-c,g-d)}function e(a,b,c){var d,e,g,h,j,k,l,m,n,o;return j=a.x,k=a.y,l=a.x+a.w,m=a.y+a.h,n=b.x+b.w,o=b.y+b.h,d=i(0,b.x-j),e=i(0,b.y-k),g=i(0,l-n),h=i(0,m-o),j+=d,k+=e,c&&(l+=d,m+=e,j-=g,k-=h),l-=g,m-=h,f(j,k,l-j,m-k)}function f(a,b,c,d){return{x:a,y:b,w:c,h:d}}function g(a){return f(a.left,a.top,a.width,a.height)}var h=Math.min,i=Math.max,j=Math.round;return{inflate:c,relativePosition:a,findBestRelativePosition:b,intersect:d,clamp:e,create:f,fromClientRect:g}}),g("4",[],function(){function a(a,b){return function(){a.apply(b,arguments)}}function b(b){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof b)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],h(b,a(d,this),a(e,this))}function c(a){var b=this;return null===this._state?void this._deferreds.push(a):void i(function(){var c=b._state?a.onFulfilled:a.onRejected;if(null===c)return void(b._state?a.resolve:a.reject)(b._value);var d;try{d=c(b._value)}catch(b){return void a.reject(b)}a.resolve(d)})}function d(b){try{if(b===this)throw new TypeError("A promise cannot be resolved with itself.");if(b&&("object"==typeof b||"function"==typeof b)){var c=b.then;if("function"==typeof c)return void h(a(c,b),a(d,this),a(e,this))}this._state=!0,this._value=b,f.call(this)}catch(a){e.call(this,a)}}function e(a){this._state=!1,this._value=a,f.call(this)}function f(){for(var a=0,b=this._deferreds.length;a=534;return{opera:b,webkit:c,ie:d,gecko:g,mac:h,iOS:i,android:j,contentEditable:q,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:8!=d,range:window.getSelection&&"Range"in window,documentMode:d&&!f?document.documentMode||7:10,fileApi:k,ceFalse:d===!1||d>8,canHaveCSP:d===!1||d>11,desktop:!l&&!m,windowsPhone:n}}),g("7",["5","6"],function(a,b){"use strict";function c(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d||!1):a.attachEvent&&a.attachEvent("on"+b,c)}function d(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d||!1):a.detachEvent&&a.detachEvent("on"+b,c)}function e(a,b){var c,d=b;return c=a.path,c&&c.length>0&&(d=c[0]),a.deepPath&&(c=a.deepPath(),c&&c.length>0&&(d=c[0])),d}function f(a,c){var d,f,g=c||{};for(d in a)k[d]||(g[d]=a[d]);if(g.target||(g.target=g.srcElement||document),b.experimentalShadowDom&&(g.target=e(a,g.target)),a&&j.test(a.type)&&a.pageX===f&&a.clientX!==f){var h=g.target.ownerDocument||document,i=h.documentElement,o=h.body;g.pageX=a.clientX+(i&&i.scrollLeft||o&&o.scrollLeft||0)-(i&&i.clientLeft||o&&o.clientLeft||0),g.pageY=a.clientY+(i&&i.scrollTop||o&&o.scrollTop||0)-(i&&i.clientTop||o&&o.clientTop||0)}return g.preventDefault=function(){g.isDefaultPrevented=n,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},g.stopPropagation=function(){g.isPropagationStopped=n,a&&(a.stopPropagation?a.stopPropagation():a.cancelBubble=!0)},g.stopImmediatePropagation=function(){g.isImmediatePropagationStopped=n,g.stopPropagation()},l(g)===!1&&(g.isDefaultPrevented=m,g.isPropagationStopped=m,g.isImmediatePropagationStopped=m),"undefined"==typeof g.metaKey&&(g.metaKey=!1),g}function g(e,f,g){function h(){return"complete"===l.readyState||"interactive"===l.readyState&&l.body}function i(){g.domLoaded||(g.domLoaded=!0,f(m))}function j(){h()&&(d(l,"readystatechange",j),i())}function k(){try{l.documentElement.doScroll("left")}catch(b){return void a.setTimeout(k)}i()}var l=e.document,m={type:"ready"};return g.domLoaded?void f(m):(!l.addEventListener||b.ie&&b.ie<11?(c(l,"readystatechange",j),l.documentElement.doScroll&&e.self===e.top&&k()):h()?i():c(e,"DOMContentLoaded",i),void c(e,"load",i))}function h(){function a(a,b){var c,d,e,f,g=m[b];if(c=g&&g[a.type])for(d=0,e=c.length;dv.cacheLength&&delete a[b.shift()],a[c+" "]=d}var b=[];return a}function c(a){return a[M]=!0,a}function d(a){var b=F.createElement("div");try{return!!a(b)}catch(a){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function e(a,b){for(var c=a.split("|"),d=a.length;d--;)v.attrHandle[c[d]]=b}function f(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||V)-(~a.sourceIndex||V);if(d)return d;if(c)for(;c=c.nextSibling;)if(c===b)return-1;return a?1:-1}function g(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function h(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function i(a){return c(function(b){return b=+b,c(function(c,d){for(var e,f=a([],c.length,b),g=f.length;g--;)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function j(a){return a&&typeof a.getElementsByTagName!==U&&a}function k(){}function l(a){for(var b=0,c=a.length,d="";b1?function(b,c,d){for(var e=a.length;e--;)if(!a[e](b,c,d))return!1;return!0}:a[0]}function o(b,c,d){for(var e=0,f=c.length;e-1&&(c[j]=!(g[j]=l))}}else t=p(t===g?t.splice(q,t.length):t),f?f(null,g,t,i):$.apply(g,t)})}function r(a){for(var b,c,d,e=a.length,f=v.relative[a[0].type],g=f||v.relative[" "],h=f?1:0,i=m(function(a){return a===b},g,!0),j=m(function(a){return aa.call(b,a)>-1},g,!0),k=[function(a,c,d){return!f&&(d||c!==B)||((b=c).nodeType?i(a,c,d):j(a,c,d))}];h1&&n(k),h>1&&l(a.slice(0,h-1).concat({value:" "===a[h-2].type?"*":""})).replace(ga,"$1"),c,h0,f=b.length>0,g=function(c,g,h,i,j){var k,l,m,n=0,o="0",q=c&&[],r=[],s=B,t=c||f&&v.find.TAG("*",j),u=O+=null==s?1:Math.random()||.1,w=t.length;for(j&&(B=g!==F&&g);o!==w&&null!=(k=t[o]);o++){if(f&&k){for(l=0;m=b[l++];)if(m(k,g,h)){i.push(k);break}j&&(O=u)}e&&((k=!m&&k)&&n--,c&&q.push(k))}if(n+=o,e&&o!==n){for(l=0;m=d[l++];)m(q,r,g,h);if(c){if(n>0)for(;o--;)q[o]||r[o]||(r[o]=Y.call(i));r=p(r)}$.apply(i,r),j&&!c&&r.length>0&&n+d.length>1&&a.uniqueSort(i)}return j&&(O=u,B=s),q};return e?c(g):g}var t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M="sizzle"+-new Date,N=window.document,O=0,P=0,Q=b(),R=b(),S=b(),T=function(a,b){return a===b&&(D=!0),0},U="undefined",V=1<<31,W={}.hasOwnProperty,X=[],Y=X.pop,Z=X.push,$=X.push,_=X.slice,aa=X.indexOf||function(a){for(var b=0,c=this.length;b+~]|"+ca+")"+ca+"*"),ja=new RegExp("="+ca+"*([^\\]'\"]*?)"+ca+"*\\]","g"),ka=new RegExp(fa),la=new RegExp("^"+da+"$"),ma={ID:new RegExp("^#("+da+")"),CLASS:new RegExp("^\\.("+da+")"),TAG:new RegExp("^("+da+"|[*])"),ATTR:new RegExp("^"+ea),PSEUDO:new RegExp("^"+fa),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ca+"*(even|odd|(([+-]|)(\\d*)n|)"+ca+"*(?:([+-]|)"+ca+"*(\\d+)|))"+ca+"*\\)|)","i"),bool:new RegExp("^(?:"+ba+")$","i"),needsContext:new RegExp("^"+ca+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ca+"*((?:-\\d)?\\d*)"+ca+"*\\)|)(?=[^-]|$)","i")},na=/^(?:input|select|textarea|button)$/i,oa=/^h\d$/i,pa=/^[^{]+\{\s*\[native \w/,qa=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ra=/[+~]/,sa=/'|\\/g,ta=new RegExp("\\\\([\\da-f]{1,6}"+ca+"?|("+ca+")|.)","ig"),ua=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{$.apply(X=_.call(N.childNodes),N.childNodes),X[N.childNodes.length].nodeType}catch(a){$={apply:X.length?function(a,b){Z.apply(a,_.call(b))}:function(a,b){for(var c=a.length,d=0;a[c++]=b[d++];);a.length=c-1}}}u=a.support={},x=a.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},E=a.setDocument=function(a){function b(a){try{return a.top}catch(a){}return null}var c,e=a?a.ownerDocument||a:N,g=e.defaultView;return e!==F&&9===e.nodeType&&e.documentElement?(F=e,G=e.documentElement,H=!x(e),g&&g!==b(g)&&(g.addEventListener?g.addEventListener("unload",function(){E()},!1):g.attachEvent&&g.attachEvent("onunload",function(){E()})),u.attributes=d(function(a){return a.className="i",!a.getAttribute("className")}),u.getElementsByTagName=d(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),u.getElementsByClassName=pa.test(e.getElementsByClassName),u.getById=d(function(a){return G.appendChild(a).id=M,!e.getElementsByName||!e.getElementsByName(M).length}),u.getById?(v.find.ID=function(a,b){if(typeof b.getElementById!==U&&H){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},v.filter.ID=function(a){var b=a.replace(ta,ua);return function(a){return a.getAttribute("id")===b}}):(delete v.find.ID,v.filter.ID=function(a){var b=a.replace(ta,ua);return function(a){var c=typeof a.getAttributeNode!==U&&a.getAttributeNode("id");return c&&c.value===b}}),v.find.TAG=u.getElementsByTagName?function(a,b){if(typeof b.getElementsByTagName!==U)return b.getElementsByTagName(a)}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){for(;c=f[e++];)1===c.nodeType&&d.push(c);return d}return f},v.find.CLASS=u.getElementsByClassName&&function(a,b){if(H)return b.getElementsByClassName(a)},J=[],I=[],(u.qsa=pa.test(e.querySelectorAll))&&(d(function(a){a.innerHTML=" ",a.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+ca+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||I.push("\\["+ca+"*(?:value|"+ba+")"),a.querySelectorAll(":checked").length||I.push(":checked")}),d(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&I.push("name"+ca+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),I.push(",.*:")})),(u.matchesSelector=pa.test(K=G.matches||G.webkitMatchesSelector||G.mozMatchesSelector||G.oMatchesSelector||G.msMatchesSelector))&&d(function(a){u.disconnectedMatch=K.call(a,"div"),K.call(a,"[s!='']:x"),J.push("!=",fa)}),I=I.length&&new RegExp(I.join("|")),J=J.length&&new RegExp(J.join("|")),c=pa.test(G.compareDocumentPosition),L=c||pa.test(G.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},T=c?function(a,b){if(a===b)return D=!0,0;var c=!a.compareDocumentPosition-!b.compareDocumentPosition;return c?c:(c=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&c||!u.sortDetached&&b.compareDocumentPosition(a)===c?a===e||a.ownerDocument===N&&L(N,a)?-1:b===e||b.ownerDocument===N&&L(N,b)?1:C?aa.call(C,a)-aa.call(C,b):0:4&c?-1:1)}:function(a,b){if(a===b)return D=!0,0;var c,d=0,g=a.parentNode,h=b.parentNode,i=[a],j=[b];if(!g||!h)return a===e?-1:b===e?1:g?-1:h?1:C?aa.call(C,a)-aa.call(C,b):0;if(g===h)return f(a,b);for(c=a;c=c.parentNode;)i.unshift(c);for(c=b;c=c.parentNode;)j.unshift(c);for(;i[d]===j[d];)d++;return d?f(i[d],j[d]):i[d]===N?-1:j[d]===N?1:0},e):F},a.matches=function(b,c){return a(b,null,null,c)},a.matchesSelector=function(b,c){if((b.ownerDocument||b)!==F&&E(b),c=c.replace(ja,"='$1']"),u.matchesSelector&&H&&(!J||!J.test(c))&&(!I||!I.test(c)))try{var d=K.call(b,c);if(d||u.disconnectedMatch||b.document&&11!==b.document.nodeType)return d}catch(a){}return a(c,F,null,[b]).length>0},a.contains=function(a,b){return(a.ownerDocument||a)!==F&&E(a),L(a,b)},a.attr=function(a,b){(a.ownerDocument||a)!==F&&E(a);var c=v.attrHandle[b.toLowerCase()],d=c&&W.call(v.attrHandle,b.toLowerCase())?c(a,b,!H):void 0;return void 0!==d?d:u.attributes||!H?a.getAttribute(b):(d=a.getAttributeNode(b))&&d.specified?d.value:null},a.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},a.uniqueSort=function(a){var b,c=[],d=0,e=0;if(D=!u.detectDuplicates,C=!u.sortStable&&a.slice(0),a.sort(T),D){for(;b=a[e++];)b===a[e]&&(d=c.push(e));for(;d--;)a.splice(c[d],1)}return C=null,a},w=a.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(1===e||9===e||11===e){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=w(a)}else if(3===e||4===e)return a.nodeValue}else for(;b=a[d++];)c+=w(b);return c},v=a.selectors={cacheLength:50,createPseudo:c,match:ma,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ta,ua),a[3]=(a[3]||a[4]||a[5]||"").replace(ta,ua),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(b){return b[1]=b[1].toLowerCase(),"nth"===b[1].slice(0,3)?(b[3]||a.error(b[0]),b[4]=+(b[4]?b[5]+(b[6]||1):2*("even"===b[3]||"odd"===b[3])),b[5]=+(b[7]+b[8]||"odd"===b[3])):b[3]&&a.error(b[0]),b},PSEUDO:function(a){var b,c=!a[6]&&a[2];return ma.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&ka.test(c)&&(b=y(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ta,ua).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=Q[a+" "];return b||(b=new RegExp("(^|"+ca+")"+a+"("+ca+"|$)"))&&Q(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==U&&a.getAttribute("class")||"")})},ATTR:function(b,c,d){return function(e){var f=a.attr(e,b);return null==f?"!="===c:!c||(f+="","="===c?f===d:"!="===c?f!==d:"^="===c?d&&0===f.indexOf(d):"*="===c?d&&f.indexOf(d)>-1:"$="===c?d&&f.slice(-d.length)===d:"~="===c?(" "+f+" ").indexOf(d)>-1:"|="===c&&(f===d||f.slice(0,d.length+1)===d+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){for(;p;){for(l=b;l=l[p];)if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){for(k=q[M]||(q[M]={}),j=k[a]||[],n=j[0]===O&&j[1],m=j[0]===O&&j[2],l=n&&q.childNodes[n];l=++n&&l&&l[p]||(m=n=0)||o.pop();)if(1===l.nodeType&&++m&&l===b){k[a]=[O,n,m];break}}else if(s&&(j=(b[M]||(b[M]={}))[a])&&j[0]===O)m=j[1];else for(;(l=++n&&l&&l[p]||(m=n=0)||o.pop())&&((h?l.nodeName.toLowerCase()!==r:1!==l.nodeType)||!++m||(s&&((l[M]||(l[M]={}))[a]=[O,m]),l!==b)););return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(b,d){var e,f=v.pseudos[b]||v.setFilters[b.toLowerCase()]||a.error("unsupported pseudo: "+b);return f[M]?f(d):f.length>1?(e=[b,b,"",d],v.setFilters.hasOwnProperty(b.toLowerCase())?c(function(a,b){for(var c,e=f(a,d),g=e.length;g--;)c=aa.call(a,e[g]),a[c]=!(b[c]=e[g])}):function(a){return f(a,0,e)}):f}},pseudos:{not:c(function(a){var b=[],d=[],e=z(a.replace(ga,"$1"));return e[M]?c(function(a,b,c,d){for(var f,g=e(a,null,d,[]),h=a.length;h--;)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,c,f){return b[0]=a,e(b,null,f,d),!d.pop()}}),has:c(function(b){return function(c){return a(b,c).length>0}}),contains:c(function(a){return a=a.replace(ta,ua),function(b){return(b.textContent||b.innerText||w(b)).indexOf(a)>-1}}),lang:c(function(b){return la.test(b||"")||a.error("unsupported lang: "+b),b=b.replace(ta,ua).toLowerCase(),function(a){var c;do if(c=H?a.lang:a.getAttribute("xml:lang")||a.getAttribute("lang"))return c=c.toLowerCase(),c===b||0===c.indexOf(b+"-");while((a=a.parentNode)&&1===a.nodeType);return!1}}),target:function(a){var b=window.location&&window.location.hash;return b&&b.slice(1)===a.id},root:function(a){return a===G},focus:function(a){return a===F.activeElement&&(!F.hasFocus||F.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!v.pseudos.empty(a)},header:function(a){return oa.test(a.nodeName)},input:function(a){return na.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:i(function(){return[0]}),last:i(function(a,b){return[b-1]}),eq:i(function(a,b,c){return[c<0?c+b:c]}),even:i(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:i(function(a,b,c){for(var d=c<0?c+b:c;++d2&&"ID"===(g=f[0]).type&&u.getById&&9===b.nodeType&&H&&v.relative[f[1].type]){if(b=(v.find.ID(g.matches[0].replace(ta,ua),b)||[])[0],!b)return c;k&&(b=b.parentNode),a=a.slice(f.shift().value.length)}for(e=ma.needsContext.test(a)?0:f.length;e--&&(g=f[e],!v.relative[h=g.type]);)if((i=v.find[h])&&(d=i(g.matches[0].replace(ta,ua),ra.test(f[0].type)&&j(b.parentNode)||b))){if(f.splice(e,1),a=d.length&&l(f),!a)return $.apply(c,d),c;break}}return(k||z(a,m))(d,b,!H,c,ra.test(a)&&j(b.parentNode)||b),c},u.sortStable=M.split("").sort(T).join("")===M,u.detectDuplicates=!!D,E(),u.sortDetached=d(function(a){return 1&a.compareDocumentPosition(F.createElement("div"))}),d(function(a){return a.innerHTML=" ","#"===a.firstChild.getAttribute("href")})||e("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),u.attributes&&d(function(a){return a.innerHTML=" ",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||e("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),d(function(a){return null==a.getAttribute("disabled")})||e(ba,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),a}),g("1g",[],function(){function a(a){var b,c,d=a;if(!j(a))for(d=[],b=0,c=a.length;b=0;e--)i(a,b[e],c,d);else for(e=0;e)[^>]*$|#([\w\-]*)$)/,A=a.Event,B=c.makeMap("children,contents,next,prev"),C=c.makeMap("fillOpacity fontWeight lineHeight opacity orphans widows zIndex zoom"," "),D=c.makeMap("checked compact declare defer disabled ismap multiple nohref noshade nowrap readonly selected"," "),E={"for":"htmlFor","class":"className",readonly:"readOnly"},F={"float":"cssFloat"},G={},H={},I=/^\s*|\s*$/g;return l.fn=l.prototype={constructor:l,selector:"",context:null,length:0,init:function(a,b){var c,d,e=this;if(!a)return e;if(a.nodeType)return e.context=e[0]=a,e.length=1,e;if(b&&b.nodeType)e.context=b;else{if(b)return l(a).attr(b);e.context=b=document}if(f(a)){if(e.selector=a,c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c)return l(b).find(a);if(c[1])for(d=h(a,q(b)).firstChild;d;)x.call(e,d),d=d.nextSibling;else{if(d=q(b).getElementById(c[2]),!d)return e;if(d.id!==c[2])return e.find(a);e.length=1,e[0]=d}}else this.add(a,!1);return e},toArray:function(){return c.toArray(this)},add:function(a,b){var c,d,e=this;if(f(a))return e.add(l(a));if(b!==!1)for(c=l.unique(e.toArray().concat(l.makeArray(a))),e.length=c.length,d=0;d1&&(B[a]||(e=l.unique(e)),0===a.indexOf("parents")&&(e=e.reverse())),e=l(e),c?e.filter(c):e}}),o({parentsUntil:function(a,b){return r(a,"parentNode",b)},nextUntil:function(a,b){return s(a,"nextSibling",1,b).slice(1)},prevUntil:function(a,b){return s(a,"previousSibling",1,b).slice(1)}},function(a,b){l.fn[a]=function(c,d){var e=this,f=[];return e.each(function(){var a=b.call(f,this,c,f);a&&(l.isArray(a)?f.push.apply(f,a):f.push(a))}),this.length>1&&(f=l.unique(f),0!==a.indexOf("parents")&&"prevUntil"!==a||(f=f.reverse())),f=l(f),d?f.filter(d):f}}),l.fn.is=function(a){return!!a&&this.filter(a).length>0},l.fn.init.prototype=l.fn,l.overrideDefaults=function(a){function b(d,e){return c=c||a(),0===arguments.length&&(d=c.element),e||(e=c.context),new b.fn.init(d,e)}var c;return l.extend(b,this),b},d.ie&&d.ie<8&&(u(G,"get",{maxlength:function(a){var b=a.maxLength;return 2147483647===b?v:b},size:function(a){var b=a.size;return 20===b?v:b},"class":function(a){return a.className},style:function(a){var b=a.style.cssText;return 0===b.length?v:b}}),u(G,"set",{"class":function(a,b){a.className=b},style:function(a,b){a.style.cssText=b}})),d.ie&&d.ie<9&&(F["float"]="styleFloat",u(H,"set",{opacity:function(a,b){var c=a.style;null===b||""===b?c.removeAttribute("filter"):(c.zoom=1,c.filter="alpha(opacity="+100*b+")")}})),l.attrHooks=G,l.cssHooks=H,l}),g("b",[],function(){return function(a,b){function c(a,b,c,d){function e(a){return a=parseInt(a,10).toString(16),a.length>1?a:"0"+a}return"#"+e(b)+e(c)+e(d)}var d,e,f,g,h=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,i=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,j=/\s*([^:]+):\s*([^;]+);?/g,k=/\s+$/,l={},m="\ufeff";for(a=a||{},b&&(f=b.getValidStyles(),g=b.getInvalidStyles()),e=("\\\" \\' \\; \\: ; : "+m).split(" "),d=0;d-1&&c||(w[a+b]=d==-1?i[0]:i.join(" "),delete w[a+"-top"+b],delete w[a+"-right"+b],delete w[a+"-bottom"+b],delete w[a+"-left"+b])}}function f(a){var b,c=w[a];if(c){for(c=c.split(" "),b=c.length;b--;)if(c[b]!==c[0])return!1;return w[a]=c[0],!0}}function g(a,b,c,d){f(b)&&f(c)&&f(d)&&(w[a]=w[b]+" "+w[c]+" "+w[d],delete w[b],delete w[c],delete w[d])}function n(a){return v=!0,l[a]}function o(a,b){return v&&(a=a.replace(/\uFEFF[0-9]/g,function(a){return l[a]})),b||(a=a.replace(/\\([\'\";:])/g,"$1")),a}function p(a){return String.fromCharCode(parseInt(a.slice(1),16))}function q(a){return a.replace(/\\[0-9a-f]+/gi,p)}function r(b,c,d,e,f,g){if(f=f||g)return f=o(f),"'"+f.replace(/\'/g,"\\'")+"'";if(c=o(c||d||e),!a.allow_script_urls){var h=c.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(h))return"";if(!a.allow_svg_data_urls&&/^data:image\/svg/i.test(h))return""}return x&&(c=x.call(y,c,"style")),"url('"+c.replace(/\'/g,"\\'")+"')"}var s,t,u,v,w={},x=a.url_converter,y=a.url_converter_scope||this;if(b){for(b=b.replace(/[\u0000-\u001F]/g,""),b=b.replace(/\\[\"\';:\uFEFF]/g,n).replace(/\"[^\"]+\"|\'[^\']+\'/g,function(a){return a.replace(/[;:]/g,n)});s=j.exec(b);)if(j.lastIndex=s.index+s[0].length,t=s[1].replace(k,"").toLowerCase(),u=s[2].replace(k,""),t&&u){if(t=q(t),u=q(u),t.indexOf(m)!==-1||t.indexOf('"')!==-1)continue;if(!a.allow_script_urls&&("behavior"==t||/expression\s*\(|\/\*|\*\//.test(u)))continue;"font-weight"===t&&"700"===u?u="bold":"color"!==t&&"background-color"!==t||(u=u.toLowerCase()),u=u.replace(h,c),u=u.replace(i,r),w[t]=v?o(u,!0):u}e("border","",!0),e("border","-width"),e("border","-color"),e("border","-style"),e("padding",""),e("margin",""),g("border","border-width","border-style","border-color"),"medium none"===w.border&&delete w.border,"none"===w["border-image"]&&delete w["border-image"]}return w},serialize:function(a,b){function c(b){var c,d,e,g;if(c=f[b])for(d=0,e=c.length;d0?" ":"")+b+": "+g+";")}function d(a,b){var c;return c=g["*"],(!c||!c[a])&&(c=g[b],!c||!c[a])}var e,h,i="";if(b&&f)c("*"),c(b);else for(e in a)h=a[e],!h||g&&!d(e,b)||(i+=(i.length>0?" ":"")+e+": "+h+";");return i}}}}),g("c",[],function(){return function(a,b){function c(a,c,d,e){var f,g;if(a){if(!e&&a[c])return a[c];if(a!=b){if(f=a[d])return f;for(g=a.parentNode;g&&g!=b;g=g.parentNode)if(f=g[d])return f}}}function d(a,c,d,e){var f,g,h;if(a){if(f=a[d],b&&f===b)return;if(f){if(!e)for(h=f[c];h;h=h[c])if(!h[c])return h;return f}if(g=a.parentNode,g&&g!==b)return g}}var e=a;this.current=function(){return e},this.next=function(a){return e=c(e,"firstChild","nextSibling",a)},this.prev=function(a){return e=c(e,"lastChild","previousSibling",a)},this.prev2=function(a){return e=d(e,"lastChild","previousSibling",a)}}}),g("d",["9"],function(a){function b(a){var b;return b=document.createElement("div"),b.innerHTML=a,b.textContent||b.innerText||a}function c(a,b){var c,d,f,g={};if(a){for(a=a.split(","),b=b||10,c=0;c\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,j=/[<>&\"\']/g,k=/([a-z0-9]+);?|&([a-z0-9]+);/gi,l={128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"};e={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},f={"<":"<",">":">","&":"&",""":'"',"'":"'"},d=c("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32);var m={encodeRaw:function(a,b){return a.replace(b?h:i,function(a){return e[a]||a})},encodeAllRaw:function(a){return(""+a).replace(j,function(a){return e[a]||a})},encodeNumeric:function(a,b){return a.replace(b?h:i,function(a){return a.length>1?""+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";":e[a]||""+a.charCodeAt(0)+";"})},encodeNamed:function(a,b,c){return c=c||d,a.replace(b?h:i,function(a){return e[a]||c[a]||a})},getEncodeFunc:function(a,b){function f(a,c){return a.replace(c?h:i,function(a){return void 0!==e[a]?e[a]:void 0!==b[a]?b[a]:a.length>1?""+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";":""+a.charCodeAt(0)+";"})}function j(a,c){return m.encodeNamed(a,c,b)}return b=c(b)||d,a=g(a.replace(/\+/g,",")),a.named&&a.numeric?f:a.named?b?j:m.encodeNamed:a.numeric?m.encodeNumeric:m.encodeRaw},decode:function(a){return a.replace(k,function(a,c){return c?(c="x"===c.charAt(0).toLowerCase()?parseInt(c.substr(1),16):parseInt(c,10),c>65535?(c-=65536,String.fromCharCode(55296+(c>>10),56320+(1023&c))):l[c]||String.fromCharCode(c)):f[a]||d[a]||b(a)})}};return m}),g("1h",["9"],function(a){function b(c){function d(){return J.createDocumentFragment()}function e(a,b){x(N,a,b)}function f(a,b){x(O,a,b)}function g(a){e(a.parentNode,U(a))}function h(a){e(a.parentNode,U(a)+1)}function i(a){f(a.parentNode,U(a))}function j(a){f(a.parentNode,U(a)+1)}function k(a){a?(I[R]=I[Q],I[S]=I[P]):(I[Q]=I[R],I[P]=I[S]),I.collapsed=N}function l(a){g(a),j(a)}function m(a){e(a,0),f(a,1===a.nodeType?a.childNodes.length:a.nodeValue.length)}function n(a,b){var c=I[Q],d=I[P],e=I[R],f=I[S],g=b.startContainer,h=b.startOffset,i=b.endContainer,j=b.endOffset;return 0===a?w(c,d,g,h):1===a?w(e,f,g,h):2===a?w(e,f,i,j):3===a?w(c,d,i,j):void 0}function o(){y(M)}function p(){return y(K)}function q(){return y(L)}function r(a){var b,d,e=this[Q],f=this[P];3!==e.nodeType&&4!==e.nodeType||!e.nodeValue?(e.childNodes.length>0&&(d=e.childNodes[f]),d?e.insertBefore(a,d):3==e.nodeType?c.insertAfter(a,e):e.appendChild(a)):f?f>=e.nodeValue.length?c.insertAfter(a,e):(b=e.splitText(f),e.parentNode.insertBefore(a,b)):e.parentNode.insertBefore(a,e)}function s(a){var b=I.extractContents();I.insertNode(a),a.appendChild(b),I.selectNode(a)}function t(){return T(new b(c),{startContainer:I[Q],startOffset:I[P],endContainer:I[R],endOffset:I[S],collapsed:I.collapsed,commonAncestorContainer:I.commonAncestorContainer})}function u(a,b){var c;if(3==a.nodeType)return a;if(b<0)return a;for(c=a.firstChild;c&&b>0;)--b,c=c.nextSibling;return c?c:a}function v(){return I[Q]==I[R]&&I[P]==I[S]}function w(a,b,d,e){var f,g,h,i,j,k;if(a==d)return b==e?0:b0&&I.collapse(a):I.collapse(a),I.collapsed=v(),I.commonAncestorContainer=c.findCommonAncestor(I[Q],I[R])}function y(a){var b,c,d,e,f,g,h,i=0,j=0;if(I[Q]==I[R])return z(a);for(b=I[R],c=b.parentNode;c;b=c,c=c.parentNode){if(c==I[Q])return A(b,a);++i}for(b=I[Q],c=b.parentNode;c;b=c,c=c.parentNode){if(c==I[R])return B(b,a);++j}for(d=j-i,e=I[Q];d>0;)e=e.parentNode,d--;for(f=I[R];d<0;)f=f.parentNode,d++;for(g=e.parentNode,h=f.parentNode;g!=h;g=g.parentNode,h=h.parentNode)e=g,f=h;return C(e,f,a)}function z(a){var b,c,e,f,g,h,i,j,k;if(a!=M&&(b=d()),I[P]==I[S])return b;if(3==I[Q].nodeType){if(c=I[Q].nodeValue,e=c.substring(I[P],I[S]),a!=L&&(f=I[Q],j=I[P],k=I[S]-I[P],0===j&&k>=f.nodeValue.length-1?f.parentNode.removeChild(f):f.deleteData(j,k),I.collapse(N)),a==M)return;return e.length>0&&b.appendChild(J.createTextNode(e)),b}for(f=u(I[Q],I[P]),g=I[S]-I[P];f&&g>0;)h=f.nextSibling,i=G(f,a),b&&b.appendChild(i),--g,f=h;return a!=L&&I.collapse(N),b}function A(a,b){var c,e,f,g,h,i;if(b!=M&&(c=d()),e=D(a,b),c&&c.appendChild(e),f=U(a),g=f-I[P],g<=0)return b!=L&&(I.setEndBefore(a),I.collapse(O)),c;for(e=a.previousSibling;g>0;)h=e.previousSibling,i=G(e,b),c&&c.insertBefore(i,c.firstChild),--g,e=h;return b!=L&&(I.setEndBefore(a),I.collapse(O)),c}function B(a,b){var c,e,f,g,h,i;for(b!=M&&(c=d()),f=E(a,b),c&&c.appendChild(f),e=U(a),++e,g=I[S]-e,f=a.nextSibling;f&&g>0;)h=f.nextSibling,i=G(f,b),c&&c.appendChild(i),--g,f=h;return b!=L&&(I.setStartAfter(a),I.collapse(N)),c}function C(a,b,c){var e,f,g,h,i,j,k;for(c!=M&&(f=d()),e=E(a,c),f&&f.appendChild(e),g=U(a),h=U(b),++g,i=h-g,j=a.nextSibling;i>0;)k=j.nextSibling,e=G(j,c),f&&f.appendChild(e),j=k,--i;return e=D(b,c),f&&f.appendChild(e),c!=L&&(I.setStartAfter(a),I.collapse(N)),f}function D(a,b){var c,d,e,f,g,h=u(I[R],I[S]-1),i=h!=I[R];if(h==a)return F(h,i,O,b);for(c=h.parentNode,d=F(c,O,O,b);c;){for(;h;)e=h.previousSibling,f=F(h,i,O,b),b!=M&&d.insertBefore(f,d.firstChild),i=N,h=e;if(c==a)return d;h=c.previousSibling,c=c.parentNode,g=F(c,O,O,b),b!=M&&g.appendChild(d),d=g}}function E(a,b){var c,d,e,f,g,h=u(I[Q],I[P]),i=h!=I[Q];if(h==a)return F(h,i,N,b);for(c=h.parentNode,d=F(c,O,N,b);c;){for(;h;)e=h.nextSibling,f=F(h,i,N,b),b!=M&&d.appendChild(f),i=N,h=e;if(c==a)return d;h=c.nextSibling,c=c.parentNode,g=F(c,O,N,b),b!=M&&g.appendChild(d),d=g}}function F(a,b,d,e){var f,g,h,i,j;if(b)return G(a,e);if(3==a.nodeType){if(f=a.nodeValue,d?(i=I[P],g=f.substring(i),h=f.substring(0,i)):(i=I[S],g=f.substring(0,i),h=f.substring(i)),e!=L&&(a.nodeValue=h),e==M)return;return j=c.clone(a,O),j.nodeValue=g,j}if(e!=M)return c.clone(a,O)}function G(a,b){return b!=M?b==L?c.clone(a,N):a:void a.parentNode.removeChild(a)}function H(){return c.create("body",null,q()).outerText}var I=this,J=c.doc,K=0,L=1,M=2,N=!0,O=!1,P="startOffset",Q="startContainer",R="endContainer",S="endOffset",T=a.extend,U=c.nodeIndex;return T(I,{startContainer:J,startOffset:0,endContainer:J,endOffset:0,collapsed:N,commonAncestorContainer:J,START_TO_START:0,START_TO_END:1,END_TO_END:2,END_TO_START:3,setStart:e,setEnd:f,setStartBefore:g,setStartAfter:h,setEndBefore:i,setEndAfter:j,collapse:k,selectNode:l,selectNodeContents:m,compareBoundaryPoints:n,deleteContents:o,extractContents:p,cloneContents:q,insertNode:r,surroundContents:s,cloneRange:t,toStringIE:H}),I}return b.prototype.toString=function(){return this.toStringIE()},b}),h("4i",Array),h("4j",Error),g("3s",["4i","4j"],function(a,b){var c=function(){},d=function(a,b){return function(){return a(b.apply(null,arguments))}},e=function(a){return function(){return a}},f=function(a){return a},g=function(a,b){return a===b},h=function(b){for(var c=new a(arguments.length-1),d=1;d-1},h=function(a,b){return t(a,b).isSome()},i=function(a,b){for(var c=[],d=0;d=0;c--){var d=a[c];b(d,c,a)}},n=function(a,b){for(var c=[],d=[],e=0,f=a.length;e=b.length&&c(d)}};0===b.length?c([]):a.each(b,function(a,b){a.get(f(b))})})};return{par:b}}),g("3u",["3r","3t","4n"],function(a,b,c){var d=function(a){return c.par(a,b.nu)},e=function(b,c){var e=a.map(b,c);return d(e)},f=function(a,b){return function(c){return b(c).bind(a)}};return{par:d,mapM:e,compose:f}}),g("3v",["3s","4h"],function(a,b){var c=function(d){var e=function(a){return d===a},f=function(a){return c(d)},g=function(a){return c(d)},h=function(a){return c(a(d))},i=function(a){a(d)},j=function(a){return a(d)},k=function(a,b){return b(d)},l=function(a){return a(d)},m=function(a){return a(d)},n=function(){return b.some(d)};return{is:e,isValue:a.constant(!0),isError:a.constant(!1),getOr:a.constant(d),getOrThunk:a.constant(d),getOrDie:a.constant(d),or:f,orThunk:g,fold:k,map:h,each:i,bind:j,exists:l,forall:m,toOption:n}},d=function(c){var e=function(a){return a()},f=function(){return a.die(c)()},g=function(a){return a},h=function(a){return a()},i=function(a){return d(c)},j=function(a){return d(c)},k=function(a,b){return a(c)};return{is:a.constant(!1),isValue:a.constant(!1),isError:a.constant(!0),getOr:a.identity,getOrThunk:e,getOrDie:f,or:g,orThunk:h,fold:k,map:i,each:a.noop,bind:j,exists:a.constant(!1),forall:a.constant(!0),toOption:b.none}};return{value:c,error:d}}),g("1i",["3r","3s","3t","3u","3v","5","9"],function(a,b,c,d,e,f,g){"use strict";return function(h,i){function j(a){h.getElementsByTagName("head")[0].appendChild(a)}function k(a,b,c){function d(){for(var a=t.passed,b=a.length;b--;)a[b]();t.status=2,t.passed=[],t.failed=[]}function e(){for(var a=t.failed,b=a.length;b--;)a[b]();t.status=3,t.passed=[],t.failed=[]}function i(){var a=navigator.userAgent.match(/WebKit\/(\d*)/);return!!(a&&a[1]<536)}function k(a,b){a()||((new Date).getTime()-s0)return r=h.createElement("style"),
+r.textContent='@import "'+a+'"',p(),void j(r);o()}j(q),q.href=a}}var l,m=0,n={};i=i||{},l=i.maxLoadTime||5e3;var o=function(a){return c.nu(function(c){k(a,b.compose(c,b.constant(e.value(a))),b.compose(c,b.constant(e.error(a))))})},p=function(a){return a.fold(b.identity,b.identity)},q=function(b,c,e){d.par(a.map(b,o)).get(function(b){var d=a.partition(b,function(a){return a.isValue()});d.fail.length>0?e(d.fail.map(p)):c(d.pass.map(p))})};return{load:k,loadAll:q}}}),g("j",["9"],function(a){function b(b,c){return b=a.trim(b),b?b.split(c||" "):[]}function c(a){function c(a,c,d){function e(a,b){var c,d,e={};for(c=0,d=a.length;c]*>","gi")}),a.valid_elements?n(a.valid_elements):(h(t,function(a,b){F[b]={attributes:a.attributes,attributesOrder:a.attributesOrder},G[b]=a.children}),"html5"!=a.schema&&h(b("strong/b em/i"),function(a){a=b(a,"/"),F[a[1]].outputName=a[0]}),h(b("ol ul sub sup blockquote span font a table tbody tr strong em b i"),function(a){F[a]&&(F[a].removeEmpty=!0)}),h(b("p h1 h2 h3 h4 h5 h6 th td pre div address caption"),function(a){F[a].paddEmpty=!0}),h(b("span"),function(a){F[a].removeEmptyAttrs=!0})),o(a.custom_elements),p(a.valid_children),m(a.extended_valid_elements),p("+ol[ul|ol],+ul[ul|ol]"),h({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},function(a,c){F[c]&&(F[c].parentsRequired=b(a))}),a.invalid_elements&&h(j(a.invalid_elements),function(a){F[a]&&delete F[a]}),q("span")||m("span[!data-mce-type|*]"),E.children=G,E.getValidStyles=function(){return r},E.getInvalidStyles=function(){return s},E.getValidClasses=function(){return y},E.getBoolAttrs=function(){return x},E.getBlockElements=function(){return z},E.getTextBlockElements=function(){return C},E.getTextInlineElements=function(){return D},E.getShortEndedElements=function(){return w},E.getSelfClosingElements=function(){return v},E.getNonEmptyElements=function(){return A},E.getMoveCaretBeforeOnEnterElements=function(){return B},E.getWhiteSpaceElements=function(){return u},E.getSpecialElements=function(){return J},E.isValidChild=function(a,b){var c=G[a.toLowerCase()];return!(!c||!c[b.toLowerCase()])},E.isValid=function(a,b){var c,d,e=q(a);if(e){if(!b)return!0;if(e.attributes[b])return!0;if(c=e.attributePatterns)for(d=c.length;d--;)if(c[d].pattern.test(a))return!0}return!1},E.getElementRule=q,E.getCustomElements=function(){return I},E.addValidElements=m,E.setValidElements=n,E.addCustomElements=o,E.addValidChildren=p,E.elements=F}}),g("e",["a","7","1h","8","1i","c","6","d","j","b","9"],function(a,b,c,d,e,f,g,h,i,j,k){function l(a,b){var c,d={},e=b.keep_values;return c={set:function(c,d,e){b.url_converter&&(d=b.url_converter.call(b.url_converter_scope||a,d,e,c[0])),c.attr("data-mce-"+e,d).attr(e,d)},get:function(a,b){return a.attr("data-mce-"+b)||a.attr(b)}},d={style:{set:function(a,b){return null!==b&&"object"==typeof b?void a.css(b):(e&&a.attr("data-mce-style",b),void a.attr("style",b))},get:function(b){var c=b.attr("data-mce-style")||b.attr("style");return c=a.serializeStyle(a.parseStyle(c),b[0].nodeName)}}},e&&(d.href=d.src=c),d}function m(a,b){var c=b.attr("style");c=a.serializeStyle(a.parseStyle(c),b[0].nodeName),c||(c=null),b.attr("data-mce-style",c)}function n(a,b){var c,d,e=0;if(a)for(c=a.nodeType,a=a.previousSibling;a;a=a.previousSibling)d=a.nodeType,(!b||3!=d||d!=c&&a.nodeValue.length)&&(e++,c=d);return e}function o(c,d){var f,g=this;g.doc=c,g.win=window,g.files={},g.counter=0,g.stdMode=!t||c.documentMode>=8,g.boxModel=!t||"CSS1Compat"==c.compatMode||g.stdMode,g.styleSheetLoader=new e(c),g.boundEvents=[],g.settings=d=d||{},g.schema=d.schema?d.schema:new i({}),g.styles=new j({url_converter:d.url_converter,url_converter_scope:d.url_converter_scope},d.schema),g.fixDoc(c),g.events=d.ownEvents?new b(d.proxy):b.Event,g.attrHooks=l(g,d),f=d.schema?d.schema.getBlockElements():{},g.$=a.overrideDefaults(function(){return{context:c,element:g.getRoot()}}),g.isBlock=function(a){if(!a)return!1;var b=a.nodeType;return b?!(1!==b||!f[a.nodeName]):!!f[a]}}var p=k.each,q=k.is,r=k.grep,s=k.trim,t=g.ie,u=/^([a-z0-9],?)+$/i,v=/^[ \t\r\n]*$/;return o.prototype={$$:function(a){return"string"==typeof a&&(a=this.get(a)),this.$(a)},root:null,fixDoc:function(a){var b,c=this.settings;if(t&&c.schema){"abbr article aside audio canvas details figcaption figure footer header hgroup mark menu meter nav output progress section summary time video".replace(/\w+/g,function(b){a.createElement(b)});for(b in c.schema.getCustomElements())a.createElement(b)}},clone:function(a,b){var c,d,e=this;return!t||1!==a.nodeType||b?a.cloneNode(b):(d=e.doc,b?c.firstChild:(c=d.createElement(a.nodeName),p(e.getAttribs(a),function(b){e.setAttrib(c,b.nodeName,e.getAttrib(a,b.nodeName))}),c))},getRoot:function(){var a=this;return a.settings.root_element||a.doc.body},getViewPort:function(a){var b,c;return a=a?a:this.win,b=a.document,c=this.boxModel?b.documentElement:b.body,{x:a.pageXOffset||c.scrollLeft,y:a.pageYOffset||c.scrollTop,w:a.innerWidth||c.clientWidth,h:a.innerHeight||c.clientHeight}},getRect:function(a){var b,c,d=this;return a=d.get(a),b=d.getPos(a),c=d.getSize(a),{x:b.x,y:b.y,w:c.w,h:c.h}},getSize:function(a){var b,c,d=this;return a=d.get(a),b=d.getStyle(a,"width"),c=d.getStyle(a,"height"),b.indexOf("px")===-1&&(b=0),c.indexOf("px")===-1&&(c=0),{w:parseInt(b,10)||a.offsetWidth||a.clientWidth,h:parseInt(c,10)||a.offsetHeight||a.clientHeight}},getParent:function(a,b,c){return this.getParents(a,b,c,!1)},getParents:function(a,b,c,d){var e,f=this,g=[];for(a=f.get(a),d=void 0===d,c=c||("BODY"!=f.getRoot().nodeName?f.getRoot().parentNode:null),q(b,"string")&&(e=b,b="*"===b?function(a){return 1==a.nodeType}:function(a){return f.is(a,e)});a&&a!=c&&a.nodeType&&9!==a.nodeType;){if(!b||b(a)){if(!d)return a;g.push(a)}a=a.parentNode}return d?g:null},get:function(a){var b;return a&&this.doc&&"string"==typeof a&&(b=a,a=this.doc.getElementById(a),a&&a.id!==b)?this.doc.getElementsByName(b)[1]:a},getNext:function(a,b){return this._findSib(a,b,"nextSibling")},getPrev:function(a,b){return this._findSib(a,b,"previousSibling")},select:function(a,b){var c=this;return d(a,c.get(b)||c.settings.root_element||c.doc,[])},is:function(a,b){var c;if(!a)return!1;if(void 0===a.length){if("*"===b)return 1==a.nodeType;if(u.test(b)){for(b=b.toLowerCase().split(/,/),a=a.nodeName.toLowerCase(),c=b.length-1;c>=0;c--)if(b[c]==a)return!0;return!1}}if(a.nodeType&&1!=a.nodeType)return!1;var e=a.nodeType?[a]:a;return d(b,e[0].ownerDocument||e[0],null,e).length>0},add:function(a,b,c,d,e){var f=this;return this.run(a,function(a){var g;return g=q(b,"string")?f.doc.createElement(b):b,f.setAttribs(g,c),d&&(d.nodeType?g.appendChild(d):f.setHTML(g,d)),e?g:a.appendChild(g)})},create:function(a,b,c){return this.add(this.doc.createElement(a),a,b,c,1)},createHTML:function(a,b,c){var d,e="";e+="<"+a;for(d in b)b.hasOwnProperty(d)&&null!==b[d]&&"undefined"!=typeof b[d]&&(e+=" "+d+'="'+this.encode(b[d])+'"');return"undefined"!=typeof c?e+">"+c+""+a+">":e+" />"},createFragment:function(a){var b,c,d,e=this.doc;for(d=e.createElement("div"),b=e.createDocumentFragment(),a&&(d.innerHTML=a);c=d.firstChild;)b.appendChild(c);return b},remove:function(a,b){return a=this.$$(a),b?a.each(function(){for(var a;a=this.firstChild;)3==a.nodeType&&0===a.data.length?this.removeChild(a):this.parentNode.insertBefore(a,this)}).remove():a.remove(),a.length>1?a.toArray():a[0]},setStyle:function(a,b,c){a=this.$$(a).css(b,c),this.settings.update_styles&&m(this,a)},getStyle:function(a,b,c){return a=this.$$(a),c?a.css(b):(b=b.replace(/-(\D)/g,function(a,b){return b.toUpperCase()}),"float"==b&&(b=g.ie&&g.ie<12?"styleFloat":"cssFloat"),a[0]&&a[0].style?a[0].style[b]:void 0)},setStyles:function(a,b){a=this.$$(a).css(b),this.settings.update_styles&&m(this,a)},removeAllAttribs:function(a){return this.run(a,function(a){var b,c=a.attributes;for(b=c.length-1;b>=0;b--)a.removeAttributeNode(c.item(b))})},setAttrib:function(a,b,c){var d,e,f=this,g=f.settings;""===c&&(c=null),a=f.$$(a),d=a.attr(b),a.length&&(e=f.attrHooks[b],e&&e.set?e.set(a,c,b):a.attr(b,c),d!=c&&g.onSetAttrib&&g.onSetAttrib({attrElm:a,attrName:b,attrValue:c}))},setAttribs:function(a,b){var c=this;c.$$(a).each(function(a,d){p(b,function(a,b){c.setAttrib(d,b,a)})})},getAttrib:function(a,b,c){var d,e,f=this;return a=f.$$(a),a.length&&(d=f.attrHooks[b],e=d&&d.get?d.get(a,b):a.attr(b)),"undefined"==typeof e&&(e=c||""),e},getPos:function(b,c){var d,e,f=this,g=0,h=0,i=f.doc,j=i.body;if(b=f.get(b),c=c||j,b){if(c===j&&b.getBoundingClientRect&&"static"===a(j).css("position"))return e=b.getBoundingClientRect(),c=f.boxModel?i.documentElement:j,g=e.left+(i.documentElement.scrollLeft||j.scrollLeft)-c.clientLeft,h=e.top+(i.documentElement.scrollTop||j.scrollTop)-c.clientTop,{x:g,y:h};for(d=b;d&&d!=c&&d.nodeType;)g+=d.offsetLeft||0,h+=d.offsetTop||0,d=d.offsetParent;for(d=b.parentNode;d&&d!=c&&d.nodeType;)g-=d.scrollLeft||0,h-=d.scrollTop||0,d=d.parentNode}return{x:g,y:h}},parseStyle:function(a){return this.styles.parse(a)},serializeStyle:function(a,b){return this.styles.serialize(a,b)},addStyle:function(a){var b,c,d=this,e=d.doc;if(d!==o.DOM&&e===document){var f=o.DOM.addedStyles;if(f=f||[],f[a])return;f[a]=!0,o.DOM.addedStyles=f}c=e.getElementById("mceDefaultStyles"),c||(c=e.createElement("style"),c.id="mceDefaultStyles",c.type="text/css",b=e.getElementsByTagName("head")[0],b.firstChild?b.insertBefore(c,b.firstChild):b.appendChild(c)),c.styleSheet?c.styleSheet.cssText+=a:c.appendChild(e.createTextNode(a))},loadCSS:function(a){var b,c=this,d=c.doc;return c!==o.DOM&&d===document?void o.DOM.loadCSS(a):(a||(a=""),b=d.getElementsByTagName("head")[0],void p(a.split(","),function(a){var e;a=k._addCacheSuffix(a),c.files[a]||(c.files[a]=!0,e=c.create("link",{rel:"stylesheet",href:a}),t&&d.documentMode&&d.recalc&&(e.onload=function(){d.recalc&&d.recalc(),e.onload=null}),b.appendChild(e))}))},addClass:function(a,b){this.$$(a).addClass(b)},removeClass:function(a,b){this.toggleClass(a,b,!1)},hasClass:function(a,b){return this.$$(a).hasClass(b)},toggleClass:function(b,c,d){this.$$(b).toggleClass(c,d).each(function(){""===this.className&&a(this).attr("class",null)})},show:function(a){this.$$(a).show()},hide:function(a){this.$$(a).hide()},isHidden:function(a){return"none"==this.$$(a).css("display")},uniqueId:function(a){return(a?a:"mce_")+this.counter++},setHTML:function(b,c){b=this.$$(b),t?b.each(function(b,d){if(d.canHaveHTML!==!1){for(;d.firstChild;)d.removeChild(d.firstChild);try{d.innerHTML=" "+c,d.removeChild(d.firstChild)}catch(b){a("
").html(" "+c).contents().slice(1).appendTo(d)}return c}}):b.html(c)},getOuterHTML:function(b){return b=this.get(b),1==b.nodeType&&"outerHTML"in b?b.outerHTML:a("
").append(a(b).clone()).html()},setOuterHTML:function(b,c){var d=this;d.$$(b).each(function(){try{if("outerHTML"in this)return void(this.outerHTML=c)}catch(a){}d.remove(a(this).html(c),!0)})},decode:h.decode,encode:h.encodeAllRaw,insertAfter:function(a,b){return b=this.get(b),this.run(a,function(a){var c,d;return c=b.parentNode,d=b.nextSibling,d?c.insertBefore(a,d):c.appendChild(a),a})},replace:function(a,b,c){var d=this;return d.run(b,function(b){return q(b,"array")&&(a=a.cloneNode(!0)),c&&p(r(b.childNodes),function(b){a.appendChild(b)}),b.parentNode.replaceChild(a,b)})},rename:function(a,b){var c,d=this;return a.nodeName!=b.toUpperCase()&&(c=d.create(b),p(d.getAttribs(a),function(b){d.setAttrib(c,b.nodeName,d.getAttrib(a,b.nodeName))}),d.replace(c,a,1)),c||a},findCommonAncestor:function(a,b){for(var c,d=a;d;){for(c=b;c&&d!=c;)c=c.parentNode;if(d==c)break;d=d.parentNode}return!d&&a.ownerDocument?a.ownerDocument.documentElement:d},toHex:function(a){return this.styles.toHex(k.trim(a))},run:function(a,b,c){var d,e=this;return"string"==typeof a&&(a=e.get(a)),!!a&&(c=c||this,a.nodeType||!a.length&&0!==a.length?b.call(c,a):(d=[],p(a,function(a,f){a&&("string"==typeof a&&(a=e.get(a)),d.push(b.call(c,a,f)))}),d))},getAttribs:function(a){var b;if(a=this.get(a),!a)return[];if(t){if(b=[],"OBJECT"==a.nodeName)return a.attributes;"OPTION"===a.nodeName&&this.getAttrib(a,"selected")&&b.push({specified:1,nodeName:"selected"});var c=/<\/?[\w:\-]+ ?|=[\"][^\"]+\"|=\'[^\']+\'|=[\w\-]+|>/gi;return a.cloneNode(!1).outerHTML.replace(c,"").replace(/[\w:\-]+/gi,function(a){b.push({specified:1,nodeName:a})}),b}return a.attributes},isEmpty:function(a,b){var c,d,e,g,h,i,j=this,k=0;if(a=a.firstChild){h=new f(a,a.parentNode),b=b||(j.schema?j.schema.getNonEmptyElements():null),g=j.schema?j.schema.getWhiteSpaceElements():{};do{if(e=a.nodeType,1===e){var l=a.getAttribute("data-mce-bogus");if(l){a=h.next("all"===l);continue}if(i=a.nodeName.toLowerCase(),b&&b[i]){if("br"===i){k++,a=h.next();continue}return!1}for(d=j.getAttribs(a),c=d.length;c--;)if(i=d[c].nodeName,"name"===i||"data-mce-bookmark"===i)return!1}if(8==e)return!1;if(3===e&&!v.test(a.nodeValue))return!1;if(3===e&&a.parentNode&&g[a.parentNode.nodeName]&&v.test(a.nodeValue))return!1;a=h.next()}while(a)}return k<=1},createRng:function(){var a=this.doc;return a.createRange?a.createRange():new c(this)},nodeIndex:n,split:function(a,b,c){function d(a){function b(a){var b=a.previousSibling&&"SPAN"==a.previousSibling.nodeName,c=a.nextSibling&&"SPAN"==a.nextSibling.nodeName;return b&&c}var c,e=a.childNodes,f=a.nodeType;if(1!=f||"bookmark"!=a.getAttribute("data-mce-type")){for(c=e.length-1;c>=0;c--)d(e[c]);if(9!=f){if(3==f&&a.nodeValue.length>0){var g=s(a.nodeValue).length;if(!h.isBlock(a.parentNode)||g>0||0===g&&b(a))return}else if(1==f&&(e=a.childNodes,1==e.length&&e[0]&&1==e[0].nodeType&&"bookmark"==e[0].getAttribute("data-mce-type")&&a.parentNode.insertBefore(e[0],a),e.length||/^(br|hr|input|img)$/i.test(a.nodeName)))return;h.remove(a)}return a}}var e,f,g,h=this,i=h.createRng();if(a&&b)return i.setStart(a.parentNode,h.nodeIndex(a)),i.setEnd(b.parentNode,h.nodeIndex(b)),e=i.extractContents(),i=h.createRng(),i.setStart(b.parentNode,h.nodeIndex(b)+1),i.setEnd(a.parentNode,h.nodeIndex(a)+1),f=i.extractContents(),g=a.parentNode,g.insertBefore(d(e),a),c?g.insertBefore(c,a):g.insertBefore(b,a),g.insertBefore(d(f),a),h.remove(a),c||b},bind:function(a,b,c,d){var e=this;if(k.isArray(a)){for(var f=a.length;f--;)a[f]=e.bind(a[f],b,c,d);return a}return!e.settings.collect||a!==e.doc&&a!==e.win||e.boundEvents.push([a,b,c,d]),e.events.bind(a,b,c,d||e)},unbind:function(a,b,c){var d,e=this;if(k.isArray(a)){for(d=a.length;d--;)a[d]=e.unbind(a[d],b,c);return a}if(e.boundEvents&&(a===e.doc||a===e.win))for(d=e.boundEvents.length;d--;){var f=e.boundEvents[d];a!=f[0]||b&&b!=f[1]||c&&c!=f[2]||this.events.unbind(f[0],f[1],f[2])}return this.events.unbind(a,b,c)},fire:function(a,b,c){return this.events.fire(a,b,c)},getContentEditable:function(a){var b;return a&&1==a.nodeType?(b=a.getAttribute("data-mce-contenteditable"),b&&"inherit"!==b?b:"inherit"!==a.contentEditable?a.contentEditable:null):null},getContentEditableParent:function(a){for(var b=this.getRoot(),c=null;a&&a!==b&&(c=this.getContentEditable(a),null===c);a=a.parentNode);return c},destroy:function(){var a=this;if(a.boundEvents){for(var b=a.boundEvents.length;b--;){var c=a.boundEvents[b];this.events.unbind(c[0],c[1],c[2])}a.boundEvents=null}d.setDocument&&d.setDocument(),a.win=a.doc=a.root=a.events=a.frag=null},isChildOf:function(a,b){for(;a;){if(b===a)return!0;a=a.parentNode}return!1},dumpRng:function(a){return"startContainer: "+a.startContainer.nodeName+", startOffset: "+a.startOffset+", endContainer: "+a.endContainer.nodeName+", endOffset: "+a.endOffset},_findSib:function(a,b,c){var d=this,e=b;if(a)for("string"==typeof e&&(e=function(a){return d.is(a,b)}),a=a[c];a;a=a[c])if(e(a))return a;return null}},o.DOM=new o(document),o.nodeIndex=n,o}),g("f",["e","9"],function(a,b){function c(){function a(a,c,e){function f(){k.remove(j),i&&(i.onreadystatechange=i.onload=i=null),c()}function h(){g(e)?e():"undefined"!=typeof console&&console.log&&console.log("Failed to load script: "+a)}var i,j,k=d;j=k.uniqueId(),i=document.createElement("script"),i.id=j,i.type="text/javascript",i.src=b._addCacheSuffix(a),"onreadystatechange"in i?i.onreadystatechange=function(){/loaded|complete/.test(i.readyState)&&f()}:i.onload=f,i.onerror=h,(document.getElementsByTagName("head")[0]||document.body).appendChild(i)}var c,h=0,i=1,j=2,k=3,l={},m=[],n={},o=[],p=0;this.isDone=function(a){return l[a]==j},this.markDone=function(a){l[a]=j},this.add=this.load=function(a,b,d,e){var f=l[a];f==c&&(m.push(a),l[a]=h),b&&(n[a]||(n[a]=[]),n[a].push({success:b,failure:e,scope:d||this}))},this.remove=function(a){delete l[a],delete n[a]},this.loadQueue=function(a,b,c){this.loadScripts(m,a,b,c)},this.loadScripts=function(b,d,h,m){function q(a,b){e(n[b],function(b){g(b[a])&&b[a].call(b.scope)}),n[b]=c}var r,s=[];o.push({success:d,failure:m,scope:h||this}),(r=function(){var c=f(b);b.length=0,e(c,function(b){return l[b]===j?void q("success",b):l[b]===k?void q("failure",b):void(l[b]!==i&&(l[b]=i,p++,a(b,function(){l[b]=j,p--,q("success",b),r()},function(){l[b]=k,p--,s.push(b),q("failure",b),r()})))}),p||(e(o,function(a){0===s.length?g(a.success)&&a.success.call(a.scope):g(a.failure)&&a.failure.call(a.scope,s)}),o.length=0)})()}}var d=a.DOM,e=b.each,f=b.grep,g=function(a){return"function"==typeof a};return c.ScriptLoader=new c,c}),g("g",["f","9"],function(a,b){function c(){var a=this;a.items=[],a.urls={},a.lookup={}}var d=b.each;return c.prototype={get:function(a){if(this.lookup[a])return this.lookup[a].instance},dependencies:function(a){var b;return this.lookup[a]&&(b=this.lookup[a].dependencies),b||[]},requireLangPack:function(b,d){var e=c.language;if(e&&c.languageLoad!==!1){if(d)if(d=","+d+",",d.indexOf(","+e.substr(0,2)+",")!=-1)e=e.substr(0,2);else if(d.indexOf(","+e+",")==-1)return;a.ScriptLoader.add(this.urls[b]+"/langs/"+e+".js")}},add:function(a,b,c){return this.items.push(b),this.lookup[a]={instance:b,dependencies:c},b},remove:function(a){delete this.urls[a],delete this.lookup[a]},createUrl:function(a,b){return"object"==typeof b?b:{prefix:a.prefix,resource:b,suffix:a.suffix}},addComponents:function(b,c){var e=this.urls[b];d(c,function(b){a.ScriptLoader.add(e+"/"+b)})},load:function(b,e,f,g,h){function i(){var c=j.dependencies(b);d(c,function(a){var b=j.createUrl(e,a);j.load(b.resource,b,void 0,void 0)}),f&&(g?f.call(g):f.call(a))}var j=this,k=e;j.urls[b]||("object"==typeof e&&(k=e.prefix+e.resource+e.suffix),0!==k.indexOf("/")&&k.indexOf("://")==-1&&(k=c.baseURL+"/"+k),j.urls[b]=k.substring(0,k.lastIndexOf("/")),j.lookup[b]?i():a.ScriptLoader.add(k,i,g,h))}},c.PluginManager=new c,c.ThemeManager=new c,c}),g("1j",[],function(){function a(a){return function(b){return!!b&&b.nodeType==a}}function b(a){return a=a.toLowerCase().split(" "),function(b){var c,d;if(b&&b.nodeType)for(d=b.nodeName.toLowerCase(),c=0;c0&&d.charAt(0)!==b.ZWSP&&c.insertData(0,b.ZWSP),c}return null},q=function(c){if(a.isText(c)){var d=c.data;return d.length>0&&d.charAt(d.length-1)!==b.ZWSP&&c.insertData(d.length,b.ZWSP),c}return null},r=function(c){return c&&a.isText(c.container())&&c.container().data.charAt(c.offset())===b.ZWSP},s=function(c){return c&&a.isText(c.container())&&c.container().data.charAt(c.offset()-1)===b.ZWSP};return{isCaretContainer:e,isCaretContainerBlock:c,isCaretContainerInline:d,showCaretContainerBlock:l,insertInline:f,prependInline:p,appendInline:q,isBeforeInline:r,isAfterInline:s,
+insertBlock:h,hasContent:o,startsWithCaretContainer:i,endsWithCaretContainer:j}}),g("h",["9","c","1j","1h","1k"],function(a,b,c,d,e){function f(a){return q(a)||r(a)}function g(a,b){var c=a.childNodes;return b--,b>c.length-1?b=c.length-1:b<0&&(b=0),c[b]||a}function h(a,b,c){for(;a&&a!==b;){if(c(a))return a;a=a.parentNode}return null}function i(a,b,c){return null!==h(a,b,c)}function j(a,b,c){return i(a,b,function(a){return a.nodeName===c})}function k(a){return"_mce_caret"===a.id}function l(a,b){return s(a)&&i(a,b,k)===!1}function m(a){this.walk=function(b,c){function d(a){var b;return b=a[0],3===b.nodeType&&b===q&&r>=b.nodeValue.length&&a.splice(0,1),b=a[a.length-1],0===t&&a.length>0&&b===s&&3===b.nodeType&&a.splice(a.length-1,1),a}function e(a,b,c){for(var d=[];a&&a!=c;a=a[b])d.push(a);return d}function f(a,b){do{if(a.parentNode==b)return a;a=a.parentNode}while(a)}function h(a,b,f){var g=f?"nextSibling":"previousSibling";for(l=a,m=l.parentNode;l&&l!=b;l=m)m=l.parentNode,n=e(l==a?l:l[g],g),n.length&&(f||n.reverse(),c(d(n)))}var i,j,k,l,m,n,o,q=b.startContainer,r=b.startOffset,s=b.endContainer,t=b.endOffset;if(o=a.select("td[data-mce-selected],th[data-mce-selected]"),o.length>0)return void p(o,function(a){c([a])});if(1==q.nodeType&&q.hasChildNodes()&&(q=q.childNodes[r]),1==s.nodeType&&s.hasChildNodes()&&(s=g(s,t)),q==s)return c(d([q]));for(i=a.findCommonAncestor(q,s),l=q;l;l=l.parentNode){if(l===s)return h(q,i,!0);if(l===i)break}for(l=s;l;l=l.parentNode){if(l===q)return h(s,i);if(l===i)break}j=f(q,i)||q,k=f(s,i)||s,h(q,j,!0),n=e(j==q?j:j.nextSibling,"nextSibling",k==s?k.nextSibling:k),n.length&&c(d(n)),h(s,k)},this.split=function(a){function b(a,b){return a.splitText(b)}var c=a.startContainer,d=a.startOffset,e=a.endContainer,f=a.endOffset;return c==e&&3==c.nodeType?d>0&&dd?(f-=d,c=e=b(e,f).previousSibling,f=e.nodeValue.length,d=0):f=0):(3==c.nodeType&&d>0&&d0&&f0)return void(j(q,w,"A")===!1&&(n=q,o=c?q.nodeValue.length:0,f=!0));if(a.isBlock(q)||t[q.nodeName.toLowerCase()])return;h=q}e&&h&&(n=h,f=!0,o=0)}var n,o,p,q,t,u,v,w=a.getRoot();if(n=c[(d?"start":"end")+"Container"],o=c[(d?"start":"end")+"Offset"],v=1==n.nodeType&&o===n.childNodes.length,t=a.schema.getNonEmptyElements(),u=d,!s(n)){if(1==n.nodeType&&o>n.childNodes.length-1&&(u=!1),9===n.nodeType&&(n=a.getRoot(),o=0),n===w){if(u&&(q=n.childNodes[o>0?o-1:0])){if(s(q))return;if(t[q.nodeName]||"TABLE"==q.nodeName)return}if(n.hasChildNodes()){if(o=Math.min(!u&&o>0?o-1:o,n.childNodes.length-1),n=n.childNodes[o],o=0,!e&&n===w.lastChild&&"TABLE"===n.nodeName)return;if(i(n)||s(n))return;if(n.hasChildNodes()&&!/TABLE/.test(n.nodeName)){q=n,p=new b(n,w);do{if(r(q)||s(q)){f=!1;break}if(3===q.nodeType&&q.nodeValue.length>0){o=u?0:q.nodeValue.length,n=q,f=!0;break}if(t[q.nodeName.toLowerCase()]&&!g(q)){o=a.nodeIndex(q),n=q.parentNode,"IMG"!=q.nodeName||u||o++,f=!0;break}}while(q=u?p.next():p.prev())}}}e&&(3===n.nodeType&&0===o&&m(!0),1===n.nodeType&&(q=n.childNodes[o],q||(q=n.childNodes[o-1]),!q||"BR"!==q.nodeName||k(q,"A")||h(q)||h(q,!0)||m(!0,q))),u&&!e&&3===n.nodeType&&o===n.nodeValue.length&&m(!1),f&&c["set"+(d?"Start":"End")](n,o)}}var e,f=!1;return e=c.collapsed,d(!0),e||d(),f&&e&&c.collapse(!0),f}}function n(b,c,d){var e,f,g;if(e=d.elementFromPoint(b,c),f=d.body.createTextRange(),e&&"HTML"!=e.tagName||(e=d.body),f.moveToElementText(e),g=a.toArray(f.getClientRects()),g=g.sort(function(a,b){return a=Math.abs(Math.max(a.top-c,a.bottom-c)),b=Math.abs(Math.max(b.top-c,b.bottom-c)),a-b}),g.length>0){c=(g[0].bottom+g[0].top)/2;try{return f.moveToPoint(b,c),f.collapse(!0),f}catch(a){}}return null}function o(a,b){var c=a&&a.parentElement?a.parentElement():null;return r(h(c,b,f))?null:a}var p=a.each,q=c.isContentEditableTrue,r=c.isContentEditableFalse,s=e.isCaretContainer;return m.compareRanges=function(a,b){if(a&&b){if(!a.item&&!a.duplicate)return a.startContainer==b.startContainer&&a.startOffset==b.startOffset;if(a.item&&b.item&&a.item(0)===b.item(0))return!0;if(a.isEqual&&b.isEqual&&b.isEqual(a))return!0}return!1},m.getCaretRangeFromPoint=function(a,b,c){var d,e;if(c.caretPositionFromPoint)e=c.caretPositionFromPoint(a,b),d=c.createRange(),d.setStart(e.offsetNode,e.offset),d.collapse(!0);else if(c.caretRangeFromPoint)d=c.caretRangeFromPoint(a,b);else if(c.body.createTextRange){d=c.body.createTextRange();try{d.moveToPoint(a,b),d.collapse(!0)}catch(e){d=n(a,b,c)}return o(d,c.body)}return d},m.getSelectedNode=function(a){var b=a.startContainer,c=a.startOffset;return b.hasChildNodes()&&a.endOffset==c+1?b.childNodes[c]:null},m.getNode=function(a,b){return 1==a.nodeType&&a.hasChildNodes()&&(b>=a.childNodes.length&&(b=a.childNodes.length-1),a=a.childNodes[b]),a},m}),g("i",[],function(){function a(a,b,c){var d,e,f=c?"lastChild":"firstChild",g=c?"prev":"next";if(a[f])return a[f];if(a!==b){if(d=a[g])return d;for(e=a.parent;e&&e!==b;e=e.parent)if(d=e[g])return d}}function b(a,b){this.name=a,this.type=b,1===b&&(this.attributes=[],this.attributes.map={})}var c=/^[ \t\r\n]*$/,d={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11};return b.prototype={replace:function(a){var b=this;return a.parent&&a.remove(),b.insert(a,b),b.remove(),b},attr:function(a,b){var c,d,e,f=this;if("string"!=typeof a){for(d in a)f.attr(d,a[d]);return f}if(c=f.attributes){if(b!==e){if(null===b){if(a in c.map)for(delete c.map[a],d=c.length;d--;)if(c[d].name===a)return c=c.splice(d,1),f;return f}if(a in c.map){for(d=c.length;d--;)if(c[d].name===a){c[d].value=b;break}}else c.push({name:a,value:b});return c.map[a]=b,f}return c.map[a]}},clone:function(){var a,c,d,e,f,g=this,h=new b(g.name,g.type);if(d=g.attributes){for(f=[],f.map={},a=0,c=d.length;a]+(?:(?:"[^"]*")|(?:\'[^\']*\')|[^>]*))*|\/|\s+)>/g,f.lastIndex=d=c;e=f.exec(b);){if(d=f.lastIndex,"/"===e[1])h--;else if(!e[1]){if(e[2]in g)continue;h++}if(0===h)break}return d}function e(e,h){function i(){}var j=this;e=e||{},j.schema=h=h||new a,e.fix_self_closing!==!1&&(e.fix_self_closing=!0),f("comment cdata text start end pi doctype".split(" "),function(a){a&&(j[a]=e[a]||i)}),j.parse=function(a){function f(a){var b,c;for(b=O.length;b--&&O[b].name!==a;);if(b>=0){for(c=O.length-1;c>=b;c--)a=O[c],a.valid&&M.end(a.name);O.length=b}}function i(a,b,c,d,f){var h,i,j=/[\s\u0000-\u001F]+/g;if(b=b.toLowerCase(),c=b in t?b:Q(c||d||f||""),v&&!q&&g(b)===!1){if(h=A[b],!h&&B){for(i=B.length;i--&&(h=B[i],!h.pattern.test(b)););i===-1&&(h=null)}if(!h)return;if(h.validValues&&!(c in h.validValues))return}if(R[b]&&!e.allow_script_urls){var k=c.replace(j,"");try{k=decodeURIComponent(k)}catch(a){k=unescape(k)}if(S.test(k))return;if(!e.allow_html_data_urls&&T.test(k)&&!/^data:image\//i.test(k))return}m.map[b]=c,m.push({name:b,value:c})}var j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M=this,N=0,O=[],P=0,Q=b.decode,R=c.makeMap("src,href,data,background,formaction,poster"),S=/((java|vb)script|mhtml):/i,T=/^data:/i;for(H=new RegExp("<(?:(?:!--([\\w\\W]*?)-->)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:!DOCTYPE([\\w\\W]*?)>)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)>)|(?:([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)((?:\\s+[^\"'>]+(?:(?:\"[^\"]*\")|(?:'[^']*')|[^>]*))*|\\/|\\s+)>))","g"),I=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,s=h.getShortEndedElements(),G=e.self_closing_elements||h.getSelfClosingElements(),t=h.getBoolAttrs(),v=e.validate,r=e.remove_internals,L=e.fix_self_closing,J=h.getSpecialElements();j=H.exec(a+">");){if(Na.length){M.text(Q(a.substr(j.index))),N=j.index+j[0].length;continue}if(k=k.toLowerCase(),":"===k.charAt(0)&&(k=k.substr(1)),u=k in s,L&&G[k]&&O.length>0&&O[O.length-1].name===k&&f(k),!v||(w=h.getElementRule(k))){if(x=!0,v&&(A=w.attributes,B=w.attributePatterns),(z=j[8])?(q=z.indexOf("data-mce-type")!==-1,q&&r&&(x=!1),m=[],m.map={},z.replace(I,i)):(m=[],m.map={}),v&&!q){if(C=w.attributesRequired,D=w.attributesDefault,E=w.attributesForced,F=w.removeEmptyAttrs,F&&!m.length&&(x=!1),E)for(n=E.length;n--;)y=E[n],p=y.name,K=y.value,"{$uid}"===K&&(K="mce_"+P++),m.map[p]=K,m.push({name:p,value:K});if(D)for(n=D.length;n--;)y=D[n],p=y.name,p in m.map||(K=y.value,"{$uid}"===K&&(K="mce_"+P++),m.map[p]=K,m.push({name:p,value:K}));if(C){for(n=C.length;n--&&!(C[n]in m.map););n===-1&&(x=!1)}if(y=m.map["data-mce-bogus"]){if("all"===y){N=d(h,a,H.lastIndex),H.lastIndex=N;continue}x=!1}}x&&M.start(k,m,u)}else x=!1;if(l=J[k]){l.lastIndex=N=j.index+j[0].length,(j=l.exec(a))?(x&&(o=a.substr(N,j.index-N)),N=j.index+j[0].length):(o=a.substr(N),N=a.length),x&&(o.length>0&&M.text(o,!0),M.end(k)),H.lastIndex=N;continue}u||(z&&z.indexOf("/")==z.length-1?x&&M.end(k):O.push({name:k,valid:x}))}else(k=j[1])?(">"===k.charAt(0)&&(k=" "+k),e.allow_conditional_comments||"[if"!==k.substr(0,3).toLowerCase()||(k=" "+k),M.comment(k)):(k=j[2])?M.cdata(k):(k=j[3])?M.doctype(k):(k=j[4])&&M.pi(k,j[5]);N=j.index+j[0].length}for(N=0;n--)k=O[n],k.valid&&M.end(k.name)}}var f=c.each,g=function(a){return 0===a.indexOf("data-")||0===a.indexOf("aria-")};return e.findEndTag=d,e}),g("l",["i","j","k","9"],function(a,b,c,d){var e=d.makeMap,f=d.each,g=d.explode,h=d.extend,i=function(b,c){b.padd_empty_with_br?c.empty().append(new a("br","1")).shortEnded=!0:c.empty().append(new a("#text","3")).value="\xa0"},j=function(a,b){return a&&a.firstChild===a.lastChild&&a.firstChild.name===b};return function(k,l){function m(b){var c,d,f,g,h,i,k,m,o,p,q,r,s,t,u,v;for(r=e("tr,td,th,tbody,thead,tfoot,table"),p=l.getNonEmptyElements(),q=l.getWhiteSpaceElements(),s=l.getTextBlockElements(),t=l.getSpecialElements(),c=0;c1){for(g.reverse(),h=i=n.filterNode(g[0].clone()),o=0;o0)return void(b.value=d);if(c=b.next){if(3==c.type&&c.value.length){b=b.prev;continue}if(!f[c.name]&&"script"!=c.name&&"style"!=c.name){b=b.prev;continue}}e=b.prev,b.remove(),b=e}}function n(a){var b,c={};for(b in a)"li"!==b&&"p"!=b&&(c[b]=a[b]);return c}var s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N=[];if(d=d||{},q={},r={},D=h(e("script,style,head,html,body,title,meta,param"),l.getBlockElements()),L=l.getNonEmptyElements(),K=l.children,C=k.validate,M="forced_root_block"in d?d.forced_root_block:k.forced_root_block,J=l.getWhiteSpaceElements(),E=/^[ \t\r\n]+/,G=/[ \t\r\n]+$/,H=/[ \t\r\n]+/g,I=/^[ \t\r\n]+$/,s=new c({validate:C,allow_script_urls:k.allow_script_urls,allow_conditional_comments:k.allow_conditional_comments,self_closing_elements:n(l.getSelfClosingElements()),cdata:function(a){u.append(g("#cdata",4)).value=a},text:function(a,b){var c;F||(a=a.replace(H," "),u.lastChild&&D[u.lastChild.name]&&(a=a.replace(E,""))),0!==a.length&&(c=g("#text",3),c.raw=!!b,u.append(c).value=a)},comment:function(a){u.append(g("#comment",8)).value=a},pi:function(a,b){u.append(g(a,7)).value=b,j(u)},doctype:function(a){var b;b=u.append(g("#doctype",10)),b.value=a,j(u)},start:function(a,b,c){var d,e,f,h,i;if(f=C?l.getElementRule(a):{}){for(d=g(f.outputName||a,1),d.attributes=b,d.shortEnded=c,u.append(d),i=K[u.name],i&&K[d.name]&&!i[d.name]&&N.push(d),e=p.length;e--;)h=p[e].name,h in b.map&&(A=r[h],A?A.push(d):r[h]=[d]);D[a]&&j(d),c||(u=d),!F&&J[a]&&(F=!0)}},end:function(a){var b,c,d,e,f;if(c=C?l.getElementRule(a):{}){if(D[a]&&!F){if(b=u.firstChild,b&&3===b.type)if(d=b.value.replace(E,""),d.length>0)b.value=d,b=b.next;else for(e=b.next,b.remove(),b=e;b&&3===b.type;)d=b.value,e=b.next,(0===d.length||I.test(d))&&(b.remove(),b=e),b=e;if(b=u.lastChild,b&&3===b.type)if(d=b.value.replace(G,""),d.length>0)b.value=d,b=b.prev;else for(e=b.prev,b.remove(),b=e;b&&3===b.type;)d=b.value,e=b.prev,(0===d.length||I.test(d))&&(b.remove(),b=e),b=e}if(F&&J[a]&&(F=!1),(c.removeEmpty||c.paddEmpty)&&u.isEmpty(L,J))if(c.paddEmpty)i(k,u);else if(!u.attributes.map.name&&!u.attributes.map.id)return f=u.parent,D[u.name]?u.empty().remove():u.unwrap(),void(u=f);u=u.parent}}},l),t=u=new a(d.context||k.root_name,11),s.parse(b),C&&N.length&&(d.context?d.invalid=!0:m(N)),M&&("body"==t.name||d.isRootContent)&&f(),!d.invalid){for(B in q){for(A=o[B],v=q[B],y=v.length;y--;)v[y].parent||v.splice(y,1);for(w=0,x=A.length;w0&&(m=i[i.length-1],m.length>0&&"\n"!==m&&i.push("\n")),i.push("<",a),b)for(j=0,k=b.length;j":i[i.length]=" />",c&&d&&f[a]&&i.length>0&&(m=i[i.length-1],m.length>0&&"\n"!==m&&i.push("\n"))},end:function(a){var b;i.push("",a,">"),d&&f[a]&&i.length>0&&(b=i[i.length-1],b.length>0&&"\n"!==b&&i.push("\n"))},text:function(a,b){a.length>0&&(i[i.length]=b?a:g(a))},cdata:function(a){i.push("")},comment:function(a){i.push("")},pi:function(a,b){b?i.push("",a," ",g(b),"?>"):i.push("",a,"?>"),d&&i.push("\n")},doctype:function(a){i.push("",d?"\n":"")},reset:function(){i.length=0},getContent:function(){return i.join("").replace(/\n$/,"")}}}}),g("n",["m","j"],function(a,b){return function(c,d){var e=this,f=new a(c);c=c||{},c.validate=!("validate"in c)||c.validate,e.schema=d=d||new b,e.writer=f,e.serialize=function(a){function b(a){var c,h,i,j,k,l,m,n,o,p=e[a.type];if(p)p(a);else{if(c=a.name,h=a.shortEnded,i=a.attributes,g&&i&&i.length>1&&(l=[],l.map={},o=d.getElementRule(a.name))){for(m=0,n=o.attributesOrder.length;m]+data-mce-bogus[^>]+>[\u200b\ufeff]+<\\/span>","\\s?("+v.join("|")+')="[^"]+"'].join("|"),"gi");return a=j.trim(a.replace(b,""))}function p(a){var b,d,e,g,h,i=a,j=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,k=f.schema;for(i=o(i),h=k.getShortEndedElements();g=j.exec(i);)d=j.lastIndex,e=g[0].length,b=h[g[1]]?d:c.findEndTag(k,i,d),i=i.substring(0,d-e)+i.substring(b),j.lastIndex=d-e;return i}function q(){return p(f.getBody().innerHTML)}function r(a){i.inArray(v,a)===-1&&(u.addAttributeFilter(a,function(a,b){for(var c=a.length;c--;)a[c].attr(b,null)}),v.push(a))}var s,t,u,v=["data-mce-selected"];return f&&(s=f.dom,t=f.schema),s=s||n,t=t||new g(a),a.entity_encoding=a.entity_encoding||"named",a.remove_trailing_brs=!("remove_trailing_brs"in a)||a.remove_trailing_brs,u=new b(a,t),u.addAttributeFilter("data-mce-tabindex",function(a,b){for(var c,d=a.length;d--;)c=a[d],c.attr("tabindex",c.attributes.map["data-mce-tabindex"]),c.attr(b,null)}),u.addAttributeFilter("src,href,style",function(b,c){for(var d,e,f,g=b.length,h="data-mce-"+c,i=a.url_converter,j=a.url_converter_scope;g--;)d=b[g],e=d.attributes.map[h],e!==f?(d.attr(c,e.length>0?e:null),d.attr(h,null)):(e=d.attributes.map[c],"style"===c?e=s.serializeStyle(s.parseStyle(e),d.name):i&&(e=i.call(j,e,c,d.name)),d.attr(c,e.length>0?e:null))}),u.addAttributeFilter("class",function(a){for(var b,c,d=a.length;d--;)b=a[d],c=b.attr("class"),c&&(c=b.attr("class").replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),b.attr("class",c.length>0?c:null))}),u.addAttributeFilter("data-mce-type",function(a,b,c){for(var d,e=a.length;e--;)d=a[e],"bookmark"!==d.attributes.map["data-mce-type"]||c.cleanup||d.remove()}),u.addNodeFilter("noscript",function(a){for(var b,c=a.length;c--;)b=a[c].firstChild,b&&(b.value=d.decode(b.value))}),u.addNodeFilter("script,style",function(a,b){function c(a){return a.replace(/()/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(()?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")}for(var d,e,f,g=a.length;g--;)d=a[g],e=d.firstChild?d.firstChild.value:"","script"===b?(f=d.attr("type"),f&&d.attr("type","mce-no/type"==f?null:f.replace(/^mce\-/,"")),e.length>0&&(d.firstChild.value="// ")):e.length>0&&(d.firstChild.value="")}),u.addNodeFilter("#comment",function(a){for(var b,c=a.length;c--;)b=a[c],0===b.value.indexOf("[CDATA[")?(b.name="#cdata",b.type=4,b.value=b.value.replace(/^\[CDATA\[|\]\]$/g,"")):0===b.value.indexOf("mce:protected ")&&(b.name="#text",b.type=3,b.raw=!0,b.value=unescape(b.value).substr(14))}),u.addNodeFilter("xml:namespace,input",function(a,b){for(var c,d=a.length;d--;)c=a[d],7===c.type?c.remove():1===c.type&&("input"!==b||"type"in c.attributes.map||c.attr("type","text"))}),u.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize",function(a,b){for(var c=a.length;c--;)a[c].attr(b,null)}),{schema:t,addNodeFilter:u.addNodeFilter,addAttributeFilter:u.addAttributeFilter,serialize:function(b,c){var d,f,g,i,n,o,p=this;return h.ie&&s.select("script,style,select,map").length>0?(n=b.innerHTML,b=b.cloneNode(!1),s.setHTML(b,n)):b=b.cloneNode(!0),d=document.implementation,d.createHTMLDocument&&(f=d.createHTMLDocument(""),l("BODY"==b.nodeName?b.childNodes:[b],function(a){f.body.appendChild(f.importNode(a,!0))}),b="BODY"!=b.nodeName?f.body.firstChild:f.body,g=s.doc,s.doc=f),c=c||{},c.format=c.format||"html",c.selection&&(c.forced_root_block=""),c.no_events||(c.node=b,p.onPreProcess(c)),o=u.parse(m(c.getInner?b.innerHTML:s.getOuterHTML(b)),c),k(o),i=new e(a,t),c.content=i.serialize(o),c.cleanup||(c.content=j.trim(c.content),c.content=c.content.replace(/\uFEFF/g,"")),c.no_events||p.onPostProcess(c),g&&(s.doc=g),c.node=null,c.content},addRules:function(a){t.addValidElements(a)},setRules:function(a){t.setValidElements(a)},onPreProcess:function(a){f&&f.fire("PreProcess",a)},onPostProcess:function(a){f&&f.fire("PostProcess",a)},addTempAttr:r,trimHtml:o,getTrimmedContent:q,trimContent:p}}}),g("p",["6"],function(a){return{BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,modifierPressed:function(a){return a.shiftKey||a.ctrlKey||a.altKey||this.metaKeyPressed(a)},metaKeyPressed:function(b){return a.mac?b.metaKey:b.ctrlKey&&!b.altKey}}}),g("q",["p","9","5","6","1j"],function(a,b,c,d,e){function f(a,b){for(;b&&b!=a;){if(h(b)||g(b))return b;b=b.parentNode}return null}var g=e.isContentEditableFalse,h=e.isContentEditableTrue;return function(e,h){function i(a){var b=h.settings.object_resizing;return b!==!1&&!d.iOS&&("string"!=typeof b&&(b="table,img,div"),"false"!==a.getAttribute("data-mce-resize")&&(a!=h.getBody()&&h.dom.is(a,b)))}function j(b){var c,d,e,f,g;c=b.screenX-F,d=b.screenY-G,N=c*D[2]+J,O=d*D[3]+K,N=N<5?5:N,O=O<5?5:O,e="IMG"==z.nodeName&&h.settings.resize_img_proportional!==!1?!a.modifierPressed(b):a.modifierPressed(b)||"IMG"==z.nodeName&&D[2]*D[3]!==0,e&&(W(c)>W(d)?(O=X(N*L),N=X(O/L)):(N=X(O/L),O=X(N*L))),R.setStyles(A,{width:N,height:O}),f=D.startPos.x+c,g=D.startPos.y+d,f=f>0?f:0,g=g>0?g:0,R.setStyles(B,{left:f,top:g,display:"block"}),B.innerHTML=N+" × "+O,D[2]<0&&A.clientWidth<=N&&R.setStyle(A,"left",H+(J-N)),D[3]<0&&A.clientHeight<=O&&R.setStyle(A,"top",I+(K-O)),c=Y.scrollWidth-P,d=Y.scrollHeight-Q,c+d!==0&&R.setStyles(B,{left:f-c,top:g-d}),M||(h.fire("ObjectResizeStart",{target:z,width:J,height:K}),M=!0)}function k(){function a(a,b){b&&(z.style[a]||!h.schema.isValid(z.nodeName.toLowerCase(),a)?R.setStyle(z,a,b):R.setAttrib(z,a,b))}M=!1,a("width",N),a("height",O),R.unbind(T,"mousemove",j),R.unbind(T,"mouseup",k),U!=T&&(R.unbind(U,"mousemove",j),R.unbind(U,"mouseup",k)),R.remove(A),R.remove(B),V&&"TABLE"!=z.nodeName||l(z),h.fire("ObjectResized",{target:z,width:N,height:O}),R.setAttrib(z,"style",R.getAttrib(z,"style")),h.nodeChanged()}function l(a,b,c){var e,f,g,l,n;m(),v(),e=R.getPos(a,Y),H=e.x,I=e.y,n=a.getBoundingClientRect(),f=n.width||n.right-n.left,g=n.height||n.bottom-n.top,z!=a&&(u(),z=a,N=O=0),l=h.fire("ObjectSelected",{target:a}),i(a)&&!l.isDefaultPrevented()?S(C,function(a,e){function h(b){F=b.screenX,G=b.screenY,J=z.clientWidth,K=z.clientHeight,L=K/J,D=a,a.startPos={x:f*a[0]+H,y:g*a[1]+I},P=Y.scrollWidth,Q=Y.scrollHeight,A=z.cloneNode(!0),R.addClass(A,"mce-clonedresizable"),R.setAttrib(A,"data-mce-bogus","all"),A.contentEditable=!1,A.unSelectabe=!0,R.setStyles(A,{left:H,top:I,margin:0}),A.removeAttribute("data-mce-selected"),Y.appendChild(A),R.bind(T,"mousemove",j),R.bind(T,"mouseup",k),U!=T&&(R.bind(U,"mousemove",j),R.bind(U,"mouseup",k)),B=R.add(Y,"div",{"class":"mce-resize-helper","data-mce-bogus":"all"},J+" × "+K)}var i;return b?void(e==b&&h(c)):(i=R.get("mceResizeHandle"+e),i&&R.remove(i),i=R.add(Y,"div",{id:"mceResizeHandle"+e,"data-mce-bogus":"all","class":"mce-resizehandle",unselectable:!0,style:"cursor:"+e+"-resize; margin:0; padding:0"}),d.ie&&(i.contentEditable=!1),R.bind(i,"mousedown",function(a){a.stopImmediatePropagation(),a.preventDefault(),h(a)}),a.elm=i,void R.setStyles(i,{left:f*a[0]+H-i.offsetWidth/2,top:g*a[1]+I-i.offsetHeight/2}))}):m(),z.setAttribute("data-mce-selected","1")}function m(){var a,b;v(),z&&z.removeAttribute("data-mce-selected");for(a in C)b=R.get("mceResizeHandle"+a),b&&(R.unbind(b),R.remove(b))}function n(a){function b(a,b){if(a)do if(a===b)return!0;while(a=a.parentNode)}var c,d;if(!M&&!h.removed)return S(R.select("img[data-mce-selected],hr[data-mce-selected]"),function(a){a.removeAttribute("data-mce-selected")}),d="mousedown"==a.type?a.target:e.getNode(),d=R.$(d).closest(V?"table":"table,img,hr")[0],b(d,Y)&&(w(),c=e.getStart(!0),b(c,d)&&b(e.getEnd(!0),d)&&(!V||d!=c&&"IMG"!==c.nodeName))?void l(d):void m()}function o(a,b,c){a&&a.attachEvent&&a.attachEvent("on"+b,c)}function p(a,b,c){a&&a.detachEvent&&a.detachEvent("on"+b,c)}function q(a){var b,c,d,e,f,g,i,j=a.srcElement;b=j.getBoundingClientRect(),g=E.clientX-b.left,i=E.clientY-b.top;for(c in C)if(d=C[c],e=j.offsetWidth*d[0],f=j.offsetHeight*d[1],W(e-g)<8&&W(f-i)<8){D=d;break}M=!0,h.fire("ObjectResizeStart",{target:z,width:z.clientWidth,height:z.clientHeight}),h.getDoc().selection.empty(),l(j,c,E)}function r(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function s(a){return g(f(h.getBody(),a))}function t(a){var b=a.srcElement;if(s(b))return void r(a);if(b!=z){if(h.fire("ObjectSelected",{target:b}),u(),0===b.id.indexOf("mceResizeHandle"))return void(a.returnValue=!1);"IMG"!=b.nodeName&&"TABLE"!=b.nodeName||(m(),z=b,o(b,"resizestart",q))}}function u(){p(z,"resizestart",q)}function v(){for(var a in C){var b=C[a];b.elm&&(R.unbind(b.elm),delete b.elm)}}function w(){try{h.getDoc().execCommand("enableObjectResizing",!1,!1)}catch(a){}}function x(a){var b;if(V){b=T.body.createControlRange();try{return b.addElement(a),b.select(),!0}catch(a){}}}function y(){z=A=null,V&&(u(),p(Y,"controlselect",t))}var z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R=h.dom,S=b.each,T=h.getDoc(),U=document,V=d.ie&&d.ie<11,W=Math.abs,X=Math.round,Y=h.getBody();C={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]};var Z=".mce-content-body";return h.contentStyles.push(Z+" div.mce-resizehandle {position: absolute;border: 1px solid black;box-sizing: box-sizing;background: #FFF;width: 7px;height: 7px;z-index: 10000}"+Z+" .mce-resizehandle:hover {background: #000}"+Z+" img[data-mce-selected],"+Z+" hr[data-mce-selected] {outline: 1px solid black;resize: none}"+Z+" .mce-clonedresizable {position: absolute;"+(d.gecko?"":"outline: 1px dashed black;")+"opacity: .5;filter: alpha(opacity=50);z-index: 10000}"+Z+" .mce-resize-helper {background: #555;background: rgba(0,0,0,0.75);border-radius: 3px;border: 1px;color: white;display: none;font-family: sans-serif;font-size: 12px;white-space: nowrap;line-height: 14px;margin: 5px 10px;padding: 5px;position: absolute;z-index: 10001}"),h.on("init",function(){V?(h.on("ObjectResized",function(a){"TABLE"!=a.target.nodeName&&(m(),x(a.target))}),o(Y,"controlselect",t),h.on("mousedown",function(a){E=a})):(w(),d.ie>=11&&(h.on("mousedown click",function(a){var b=a.target,c=b.nodeName;M||!/^(TABLE|IMG|HR)$/.test(c)||s(b)||(h.selection.select(b,"TABLE"==c),
+"mousedown"==a.type&&h.nodeChanged())}),h.dom.bind(Y,"mscontrolselect",function(a){function b(a){c.setEditorTimeout(h,function(){h.selection.select(a)})}return s(a.target)?(a.preventDefault(),void b(a.target)):void(/^(TABLE|IMG|HR)$/.test(a.target.nodeName)&&(a.preventDefault(),"IMG"==a.target.tagName&&b(a.target)))})));var a=c.throttle(function(a){h.composing||n(a)});h.on("nodechange ResizeEditor ResizeWindow drop",a),h.on("keyup compositionend",function(b){z&&"TABLE"==z.nodeName&&a(b)}),h.on("hide blur",m)}),h.on("remove",v),{isResizable:i,showResizeRect:l,hideResizeRect:m,updateResizeRect:n,controlSelect:x,destroy:y}}}),g("1r",[],function(){function a(a){return function(){return a}}function b(a){return function(b){return!a(b)}}function c(a,b){return function(c){return a(b(c))}}function d(){var a=h.call(arguments);return function(b){for(var c=0;c=a.length?a.apply(this,b.slice(1)):function(){var a=b.concat([].slice.call(arguments));return f.apply(this,a)}}function g(){}var h=[].slice;return{constant:a,negate:b,and:e,or:d,curry:f,compose:c,noop:g}}),g("3w",["1j","1g","1k"],function(a,b,c){function d(a){return!p(a)&&(l(a)?!m(a.parentNode):n(a)||k(a)||o(a)||j(a))}function e(a,b){for(a=a.parentNode;a&&a!=b;a=a.parentNode){if(j(a))return!1;if(i(a))return!0}return!0}function f(a){return!!j(a)&&b.reduce(a.getElementsByTagName("*"),function(a,b){return a||i(b)},!1)!==!0}function g(a){return n(a)||f(a)}function h(a,b){return d(a)&&e(a,b)}var i=a.isContentEditableTrue,j=a.isContentEditableFalse,k=a.isBr,l=a.isText,m=a.matchNodeNames("script style textarea"),n=a.matchNodeNames("img input textarea hr iframe video audio object"),o=a.matchNodeNames("table"),p=c.isCaretContainer;return{isCaretCandidate:d,isInEditable:e,isAtomic:g,isEditableCaretCandidate:h}}),g("3x",[],function(){function a(a){return a?{left:k(a.left),top:k(a.top),bottom:k(a.bottom),right:k(a.right),width:k(a.width),height:k(a.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0}}function b(b,c){return b=a(b),c?b.right=b.left:(b.left=b.left+b.width,b.right=b.left),b.width=0,b}function c(a,b){return a.left===b.left&&a.top===b.top&&a.bottom===b.bottom&&a.right===b.right}function d(a,b,c){return a>=0&&a<=Math.min(b.height,c.height)/2}function e(a,b){return a.bottom-a.height/2b.bottom)&&d(b.top-a.bottom,a,b)}function f(a,b){return a.top>b.bottom||!(a.bottomb.right}function i(a,b){return e(a,b)?-1:f(a,b)?1:g(a,b)?-1:h(a,b)?1:0}function j(a,b,c){return b>=a.left&&b<=a.right&&c>=a.top&&c<=a.bottom}var k=Math.round;return{clone:a,collapse:b,isEqual:c,isAbove:e,isBelow:f,isLeft:g,isRight:h,compare:i,containsXY:j}}),g("3y",[],function(){function a(a){return"string"==typeof a&&a.charCodeAt(0)>=768&&b.test(a)}var b=new RegExp("[\u0300-\u036f\u0483-\u0487\u0488-\u0489\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u0610-\u061a\u064b-\u065f\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7-\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e3-\u0902\u093a\u093c\u0941-\u0948\u094d\u0951-\u0957\u0962-\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2-\u09e3\u0a01-\u0a02\u0a3c\u0a41-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a70-\u0a71\u0a75\u0a81-\u0a82\u0abc\u0ac1-\u0ac5\u0ac7-\u0ac8\u0acd\u0ae2-\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62-\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c00\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c62-\u0c63\u0c81\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc-\u0ccd\u0cd5-\u0cd6\u0ce2-\u0ce3\u0d01\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62-\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb-\u0ebc\u0ec8-\u0ecd\u0f18-\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86-\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039-\u103a\u103d-\u103e\u1058-\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085-\u1086\u108d\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752-\u1753\u1772-\u1773\u17b4-\u17b5\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927-\u1928\u1932\u1939-\u193b\u1a17-\u1a18\u1a1b\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1ab0-\u1abd\u1abe\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80-\u1b81\u1ba2-\u1ba5\u1ba8-\u1ba9\u1bab-\u1bad\u1be6\u1be8-\u1be9\u1bed\u1bef-\u1bf1\u1c2c-\u1c33\u1c36-\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1cf4\u1cf8-\u1cf9\u1dc0-\u1df5\u1dfc-\u1dff\u200c-\u200d\u20d0-\u20dc\u20dd-\u20e0\u20e1\u20e2-\u20e4\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302d\u302e-\u302f\u3099-\u309a\ua66f\ua670-\ua672\ua674-\ua67d\ua69e-\ua69f\ua6f0-\ua6f1\ua802\ua806\ua80b\ua825-\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\ua9e5\uaa29-\uaa2e\uaa31-\uaa32\uaa35-\uaa36\uaa43\uaa4c\uaa7c\uaab0\uaab2-\uaab4\uaab7-\uaab8\uaabe-\uaabf\uaac1\uaaec-\uaaed\uaaf6\uabe5\uabe8\uabed\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\uff9e-\uff9f]");return{isExtendingChar:a}}),g("1n",["1r","1j","e","h","3w","3x","3y"],function(a,b,c,d,e,f,g){function h(a){return"createRange"in a?a.createRange():c.DOM.createRng()}function i(a){return a&&/[\r\n\t ]/.test(a)}function j(a){var b,c=a.startContainer,d=a.startOffset;return!!(i(a.toString())&&r(c.parentNode)&&(b=c.data,i(b[d-1])||i(b[d+1])))}function k(a){function b(a){var b,c=a.ownerDocument,d=h(c),e=c.createTextNode("\xa0"),g=a.parentNode;return g.insertBefore(e,a),d.setStart(e,0),d.setEnd(e,1),b=f.clone(d.getBoundingClientRect()),g.removeChild(e),b}function c(a){var c,d;return d=a.getClientRects(),c=d.length>0?f.clone(d[0]):f.clone(a.getBoundingClientRect()),t(a)&&0===c.left?b(a):c}function d(a,b){return a=f.collapse(a,b),a.width=1,a.right=a.left+1,a}function e(a){0!==a.height&&(n.length>0&&f.isEqual(a,n[n.length-1])||n.push(a))}function i(a,b){var f=h(a.ownerDocument);if(b0&&(f.setStart(a,b-1),f.setEnd(a,b),j(f)||e(d(c(f),!1))),b=b.data.length:c>=b.childNodes.length}function g(){var a;return a=h(b.ownerDocument),a.setStart(b,c),a.setEnd(b,c),a}function i(){return d||(d=k(new l(b,c))),d}function j(){return i().length>0}function m(a){return a&&b===a.container()&&c===a.offset()}function n(a){return v(b,a?c-1:c)}return{container:a.constant(b),offset:a.constant(c),toRange:g,getClientRects:i,isVisible:j,isAtStart:e,isAtEnd:f,isEqual:m,getNode:n}}var m=b.isElement,n=e.isCaretCandidate,o=b.matchStyleValues("display","block table"),p=b.matchStyleValues("float","left right"),q=a.and(m,n,a.negate(p)),r=a.negate(b.matchStyleValues("white-space","pre pre-line pre-wrap")),s=b.isText,t=b.isBr,u=c.nodeIndex,v=d.getNode;return l.fromRangeStart=function(a){return new l(a.startContainer,a.startOffset)},l.fromRangeEnd=function(a){return new l(a.endContainer,a.endOffset)},l.after=function(a){return new l(a.parentNode,u(a)+1)},l.before=function(a){return new l(a.parentNode,u(a))},l.isAtStart=function(a){return!!a&&a.isAtStart()},l.isAtEnd=function(a){return!!a&&a.isAtEnd()},l.isTextPosition=function(a){return!!a&&b.isText(a.container())},l}),g("1m",["1j","e","1r","1g","1n"],function(a,b,c,d,e){function f(a){var b=a.parentNode;return r(b)?f(b):b}function g(a){return a?d.reduce(a.childNodes,function(a,b){return r(b)&&"BR"!=b.nodeName?a=a.concat(g(b)):a.push(b),a},[]):[]}function h(a,b){for(;(a=a.previousSibling)&&q(a);)b+=a.data.length;return b}function i(a){return function(b){return a===b}}function j(b){var c,e,h;return c=g(f(b)),e=d.findIndex(c,i(b),b),c=c.slice(0,e+1),h=d.reduce(c,function(a,b,d){return q(b)&&q(c[d-1])&&a++,a},0),c=d.filter(c,a.matchNodeNames(b.nodeName)),e=d.findIndex(c,i(b),b),e-h}function k(a){var b;return b=q(a)?"text()":a.nodeName.toLowerCase(),b+"["+j(a)+"]"}function l(a,b,c){var d=[];for(b=b.parentNode;b!=a&&(!c||!c(b));b=b.parentNode)d.push(b);return d}function m(b,e){var f,g,i,j,m,n=[];return f=e.container(),g=e.offset(),q(f)?i=h(f,g):(j=f.childNodes,g>=j.length?(i="after",g=j.length-1):i="before",f=j[g]),n.push(k(f)),m=l(b,f),m=d.filter(m,c.negate(a.isBogus)),n=n.concat(d.map(m,function(a){return k(a)})),n.reverse().join("/")+","+i}function n(b,c,e){var f=g(b);return f=d.filter(f,function(a,b){return!q(a)||!q(f[b-1])}),f=d.filter(f,a.matchNodeNames(c)),f[e]}function o(a,b){for(var c,d=a,f=0;q(d);){if(c=d.data.length,b>=f&&b<=f+c){a=d,b-=f;break}if(!q(d.nextSibling)){a=d,b=c;break}f+=c,d=d.nextSibling}return b>a.data.length&&(b=a.data.length),new e(a,b)}function p(a,b){var c,f,g;return b?(c=b.split(","),b=c[0].split("/"),g=c.length>1?c[1]:"before",f=d.reduce(b,function(a,b){return(b=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(b))?("text()"===b[1]&&(b[1]="#text"),n(a,b[1],parseInt(b[2],10))):null},a),f?q(f)?o(f,parseInt(g,10)):(g="after"===g?s(f)+1:s(f),new e(f.parentNode,g)):null):null}var q=a.isText,r=a.isBogus,s=b.nodeIndex;return{create:m,resolve:p}}),g("r",["1m","1k","1n","1j","h","6","1l","9"],function(a,b,c,d,e,f,g,h){function i(g){var i=g.dom;this.getBookmark=function(f,l){function m(a,b){var c=0;return h.each(i.select(a),function(a){if("all"!==a.getAttribute("data-mce-bogus"))return a!=b&&void c++}),c}function n(a){function b(b){var c,d,e,f=b?"start":"end";c=a[f+"Container"],d=a[f+"Offset"],1==c.nodeType&&"TR"==c.nodeName&&(e=c.childNodes,c=e[Math.min(b?d:d-1,e.length-1)],c&&(d=b?0:c.childNodes.length,a["set"+(b?"Start":"End")](c,d)))}return b(!0),b(),a}function o(a){function b(a,b){var d,e=a[b?"startContainer":"endContainer"],f=a[b?"startOffset":"endOffset"],g=[],h=0;for(3===e.nodeType?g.push(l?k(e,f):f):(d=e.childNodes,f>=d.length&&d.length&&(h=1,f=Math.max(0,d.length-1)),g.push(i.nodeIndex(d[f],l)+h));e&&e!=c;e=e.parentNode)g.push(i.nodeIndex(e,l));return g}var c=i.getRoot(),d={};return d.start=b(a,!0),g.isCollapsed()||(d.end=b(a)),d}function p(a){function c(a,c){var f;if(d.isElement(a)&&(a=e.getNode(a,c),j(a)))return a;if(b.isCaretContainer(a)){if(d.isText(a)&&b.isCaretContainerBlock(a)&&(a=a.parentNode),f=a.previousSibling,j(f))return f;if(f=a.nextSibling,j(f))return f}}return c(a.startContainer,a.startOffset)||c(a.endContainer,a.endOffset)}var q,r,s,t,u,v,w,x="";if(2==f)return v=g.getNode(),u=v?v.nodeName:null,q=g.getRng(),j(v)||"IMG"==u?{name:u,index:m(u,v)}:g.tridentSel?g.tridentSel.getBookmark(f):(v=p(q),v?(u=v.tagName,{name:u,index:m(u,v)}):o(q));if(3==f)return q=g.getRng(),{start:a.create(i.getRoot(),c.fromRangeStart(q)),end:a.create(i.getRoot(),c.fromRangeEnd(q))};if(f)return{rng:g.getRng()};if(q=g.getRng(),s=i.uniqueId(),t=g.isCollapsed(),w="overflow:hidden;line-height:0px",q.duplicate||q.item){if(q.item)return v=q.item(0),u=v.nodeName,{name:u,index:m(u,v)};r=q.duplicate();try{q.collapse(),q.pasteHTML(''+x+" "),t||(r.collapse(!1),q.moveToElementText(r.parentElement()),0===q.compareEndPoints("StartToEnd",r)&&r.move("character",-1),r.pasteHTML(''+x+" "))}catch(a){return null}}else{if(v=g.getNode(),u=v.nodeName,"IMG"==u)return{name:u,index:m(u,v)};r=n(q.cloneRange()),t||(r.collapse(!1),r.insertNode(i.create("span",{"data-mce-type":"bookmark",id:s+"_end",style:w},x))),q=n(q),q.collapse(!0),q.insertNode(i.create("span",{"data-mce-type":"bookmark",id:s+"_start",style:w},x))}return g.moveToBookmark({id:s,keep:1}),{id:s}},this.moveToBookmark=function(b){function c(a){var c,d,e,f,g=b[a?"start":"end"];if(g){for(e=g[0],d=l,c=g.length-1;c>=1;c--){if(f=d.childNodes,g[c]>f.length-1)return;d=f[g[c]]}3===d.nodeType&&(e=Math.min(g[0],d.nodeValue.length)),1===d.nodeType&&(e=Math.min(g[0],d.childNodes.length)),a?k.setStart(d,e):k.setEnd(d,e)}return!0}function d(a){var c,d,e,g,j=i.get(b.id+"_"+a),k=b.keep;if(j&&(c=j.parentNode,"start"==a?(k?(c=j.firstChild,d=1):d=i.nodeIndex(j),m=n=c,o=p=d):(k?(c=j.firstChild,d=1):d=i.nodeIndex(j),n=c,p=d),!k)){for(g=j.previousSibling,e=j.nextSibling,h.each(h.grep(j.childNodes),function(a){3==a.nodeType&&(a.nodeValue=a.nodeValue.replace(/\uFEFF/g,""))});j=i.get(b.id+"_"+a);)i.remove(j,1);g&&e&&g.nodeType==e.nodeType&&3==g.nodeType&&!f.opera&&(d=g.nodeValue.length,g.appendData(e.nodeValue),i.remove(e),"start"==a?(m=n=g,o=p=d):(n=g,p=d))}}function e(a){return!i.isBlock(a)||a.innerHTML||f.ie||(a.innerHTML=' '),a}function j(){var c,d;return c=i.createRng(),d=a.resolve(i.getRoot(),b.start),c.setStart(d.container(),d.offset()),d=a.resolve(i.getRoot(),b.end),c.setEnd(d.container(),d.offset()),c}var k,l,m,n,o,p;if(b)if(h.isArray(b.start)){if(k=i.createRng(),l=i.getRoot(),g.tridentSel)return g.tridentSel.moveToBookmark(b);c(!0)&&c()&&g.setRng(k)}else"string"==typeof b.start?g.setRng(j(b)):b.id?(d("start"),d("end"),m&&(k=i.createRng(),k.setStart(e(m),o),k.setEnd(e(n),p),g.setRng(k))):b.name?g.select(i.select(b.name)[b.index]):b.rng&&g.setRng(b.rng)}}var j=d.isContentEditableFalse,k=function(a,b){var c,d;for(d=g.trim(a.data.slice(0,b)).length,c=a.previousSibling;c&&3===c.nodeType;c=c.previousSibling)d+=g.trim(c.data).length;return d};return i.isBookmarkNode=function(a){return a&&"SPAN"===a.tagName&&"bookmark"===a.getAttribute("data-mce-type")},i}),g("1o",["1j"],function(a){var b=function(a){for(var b=0,c=0,d=a;d&&d.nodeType;)b+=d.offsetLeft||0,c+=d.offsetTop||0,d=d.offsetParent;return{x:b,y:c}},c=function(a,b,c){var d={elm:b,alignToTop:c};return a.fire("scrollIntoView",d),d.isDefaultPrevented()},d=function(d,e,f){var g,h,i,j,k=d.dom,l=k.getRoot(),m=0;if(!c(d,e,f)&&a.isElement(e)){if(f===!1&&(m=e.offsetHeight),"BODY"!==l.nodeName){var n=d.selection.getScrollContainer();if(n)return g=b(e).y-b(n).y+m,j=n.clientHeight,i=n.scrollTop,void((gi+j)&&(n.scrollTop=gi+j)&&d.getWin().scrollTo(0,g0)e=j-1;else{if(!(m<0))return{node:h};l=j+1}if(m<0)for(h?d.collapse(!1):(d.moveToElementText(k),d.collapse(!0),h=k,f=!0),i=0;0!==d.compareEndPoints(c?"StartToStart":"StartToEnd",b)&&0!==d.move("character",1)&&k==d.parentElement();)i++;else for(d.collapse(!0),i=0;0!==d.compareEndPoints(c?"StartToStart":"StartToEnd",b)&&0!==d.move("character",-1)&&k==d.parentElement();)i++;return{node:h,position:m,offset:i,inside:f}}}function c(){function c(a){var c,d,e,f,g,h=b(k,a),i=0;if(c=h.node,d=h.offset,h.inside&&!c.hasChildNodes())return void l[a?"setStart":"setEnd"](c,0);if(d===f)return void l[a?"setStartBefore":"setEndAfter"](c);if(h.position<0){if(e=h.inside?c.firstChild:c.nextSibling,!e)return void l[a?"setStartAfter":"setEndAfter"](c);if(!d)return void(3==e.nodeType?l[a?"setStart":"setEnd"](e,0):l[a?"setStartBefore":"setEndBefore"](e));for(;e;){if(3==e.nodeType&&(g=e.nodeValue,i+=g.length,i>=d)){c=e,i-=d,i=g.length-i;break}e=e.nextSibling}}else{if(e=c.previousSibling,!e)return l[a?"setStartBefore":"setEndBefore"](c);if(!d)return void(3==c.nodeType?l[a?"setStart":"setEnd"](e,c.nodeValue.length):l[a?"setStartAfter":"setEndAfter"](e));for(;e;){if(3==e.nodeType&&(i+=e.nodeValue.length,i>=d)){c=e,i-=d;break}e=e.previousSibling}}l[a?"setStart":"setEnd"](c,i)}var f,g,h,i,j,k=a.getRng(),l=e.createRng();if(f=k.item?k.item(0):k.parentElement(),f.ownerDocument!=e.doc)return l;if(g=a.isCollapsed(),k.item)return l.setStart(f.parentNode,e.nodeIndex(f)),l.setEnd(l.startContainer,l.startOffset+1),l;try{c(!0),g||c()}catch(b){if(b.number!=-2147024809)throw b;j=d.getBookmark(2),h=k.duplicate(),h.collapse(!0),f=h.parentElement(),g||(h=k.duplicate(),h.collapse(!1),i=h.parentElement(),i.innerHTML=i.innerHTML),f.innerHTML=f.innerHTML,d.moveToBookmark(j),k=a.getRng(),c(!0),g||c()}return l}var d=this,e=a.dom,f=!1;this.getBookmark=function(c){function d(a){var b,c,d,f,g=[];for(b=a.parentNode,c=e.getRoot().parentNode;b!=c&&9!==b.nodeType;){for(d=b.children,f=d.length;f--;)if(a===d[f]){g.push(f);break}a=b,b=b.parentNode}return g}function f(a){var c;if(c=b(g,a))return{position:c.position,offset:c.offset,indexes:d(c.node),inside:c.inside}}var g=a.getRng(),h={};return 2===c&&(g.item?h.start={ctrl:!0,indexes:d(g.item(0))}:(h.start=f(!0),a.isCollapsed()||(h.end=f()))),h},this.moveToBookmark=function(a){function b(a){var b,c,d,f;for(b=e.getRoot(),c=a.length-1;c>=0;c--)f=b.children,d=a[c],d<=f.length-1&&(b=f[d]);return b}function c(c){var e,g,h,i,j=a[c?"start":"end"];j&&(e=j.position>0,g=f.createTextRange(),g.moveToElementText(b(j.indexes)),i=j.offset,i!==h?(g.collapse(j.inside||e),g.moveStart("character",e?-i:i)):g.collapse(c),d.setEndPoint(c?"StartToStart":"EndToStart",g),c&&d.collapse(!0))}var d,f=e.doc.body;a.start&&(a.start.ctrl?(d=f.createControlRange(),d.addElement(b(a.start.indexes)),d.select()):(d=f.createTextRange(),c(!0),c(),d.select()))},this.addRange=function(b){function c(a){var b,c,g,l,m;g=e.create("a"),b=a?h:j,c=a?i:k,l=d.duplicate(),b!=o&&b!=o.documentElement||(b=p,c=0),3==b.nodeType?(b.parentNode.insertBefore(g,b),l.moveToElementText(g),l.moveStart("character",c),e.remove(g),d.setEndPoint(a?"StartToStart":"EndToEnd",l)):(m=b.childNodes,m.length?(c>=m.length?e.insertAfter(g,m[m.length-1]):b.insertBefore(g,m[c]),l.moveToElementText(g)):b.canHaveHTML&&(b.innerHTML=" ",g=b.firstChild,l.moveToElementText(g),l.collapse(f)),d.setEndPoint(a?"StartToStart":"EndToEnd",l),e.remove(g))}var d,g,h,i,j,k,l,m,n,o=a.dom.doc,p=o.body;if(h=b.startContainer,i=b.startOffset,j=b.endContainer,k=b.endOffset,d=p.createTextRange(),h==j&&1==h.nodeType){if(i==k&&!h.hasChildNodes()){if(h.canHaveHTML)return l=h.previousSibling,l&&!l.hasChildNodes()&&e.isBlock(l)?l.innerHTML="":l=null,h.innerHTML=" ",d.moveToElementText(h.lastChild),d.select(),e.doc.selection.clear(),h.innerHTML="",void(l&&(l.innerHTML=""));i=e.nodeIndex(h),h=h.parentNode}if(i==k-1)try{if(n=h.childNodes[i],g=p.createControlRange(),g.addElement(n),g.select(),m=a.getRng(),m.item&&n===m.item(0))return}catch(a){}}c(!0),c(),d.select()},this.getRangeAt=c}return a}),g("s",["1n","r","q","1j","h","1o","c","1p","6","1l","9"],function(a,b,c,d,e,f,g,h,i,j,k){function l(a,d,e,f){var g=this;g.dom=a,g.win=d,g.serializer=e,g.editor=f,g.bookmarkManager=new b(g),g.controlSelection=new c(g,f),g.win.getSelection||(g.tridentSel=new h(g))}var m=k.each,n=k.trim,o=i.ie;return l.prototype={setCursorLocation:function(a,b){var c=this,d=c.dom.createRng();a?(d.setStart(a,b),d.setEnd(a,b),c.setRng(d),c.collapse(!1)):(c._moveEndPoint(d,c.editor.getBody(),!0),c.setRng(d))},getContent:function(a){var b,c,d,e=this,f=e.getRng(),g=e.dom.create("body"),h=e.getSel();return a=a||{},b=c="",a.get=!0,a.format=a.format||"html",a.selection=!0,e.editor.fire("BeforeGetContent",a),"text"===a.format?e.isCollapsed()?"":j.trim(f.text||(h.toString?h.toString():"")):(f.cloneContents?(d=f.cloneContents(),d&&g.appendChild(d)):void 0!==f.item||void 0!==f.htmlText?(g.innerHTML=" "+(f.item?f.item(0).outerHTML:f.htmlText),g.removeChild(g.firstChild)):g.innerHTML=f.toString(),/^\s/.test(g.innerHTML)&&(b=" "),/\s+$/.test(g.innerHTML)&&(c=" "),a.getInner=!0,a.content=e.isCollapsed()?"":b+e.serializer.serialize(g,a)+c,e.editor.fire("GetContent",a),a.content)},setContent:function(a,b){var c,d,e,f=this,g=f.getRng(),h=f.win.document;if(b=b||{format:"html"},b.set=!0,b.selection=!0,b.content=a,b.no_events||f.editor.fire("BeforeSetContent",b),a=b.content,g.insertNode){a+='_ ',g.startContainer==h&&g.endContainer==h?h.body.innerHTML=a:(g.deleteContents(),0===h.body.childNodes.length?h.body.innerHTML=a:g.createContextualFragment?g.insertNode(g.createContextualFragment(a)):(d=h.createDocumentFragment(),e=h.createElement("div"),d.appendChild(e),e.outerHTML=a,g.insertNode(d))),c=f.dom.get("__caret"),g=h.createRange(),g.setStartBefore(c),g.setEndBefore(c),f.setRng(g),f.dom.remove("__caret");try{f.setRng(g)}catch(a){}}else g.item&&(h.execCommand("Delete",!1,null),g=f.getRng()),/^\s+/.test(a)?(g.pasteHTML('_ '+a),f.dom.remove("__mce_tmp")):g.pasteHTML(a);b.no_events||f.editor.fire("SetContent",b)},getStart:function(a){var b,c,d,e,f=this,g=f.getRng();if(g.duplicate||g.item){if(g.item)return g.item(0);for(d=g.duplicate(),d.collapse(1),b=d.parentElement(),b.ownerDocument!==f.dom.doc&&(b=f.dom.getRoot()),c=e=g.parentElement();e=e.parentNode;)if(e==b){b=c;break}return b}return b=g.startContainer,1==b.nodeType&&b.hasChildNodes()&&(a&&g.collapsed||(b=b.childNodes[Math.min(b.childNodes.length-1,g.startOffset)])),b&&3==b.nodeType?b.parentNode:b},getEnd:function(a){var b,c,d=this,e=d.getRng();return e.duplicate||e.item?e.item?e.item(0):(e=e.duplicate(),e.collapse(0),b=e.parentElement(),b.ownerDocument!==d.dom.doc&&(b=d.dom.getRoot()),b&&"BODY"==b.nodeName?b.lastChild||b:b):(b=e.endContainer,c=e.endOffset,1==b.nodeType&&b.hasChildNodes()&&(a&&e.collapsed||(b=b.childNodes[c>0?c-1:c])),b&&3==b.nodeType?b.parentNode:b)},getBookmark:function(a,b){return this.bookmarkManager.getBookmark(a,b)},moveToBookmark:function(a){return this.bookmarkManager.moveToBookmark(a)},select:function(a,b){var c,d=this,e=d.dom,f=e.createRng();if(d.lastFocusBookmark=null,a){if(!b&&d.controlSelection.controlSelect(a))return;c=e.nodeIndex(a),f.setStart(a.parentNode,c),f.setEnd(a.parentNode,c+1),b&&(d._moveEndPoint(f,a,!0),d._moveEndPoint(f,a)),d.setRng(f)}return a},isCollapsed:function(){var a=this,b=a.getRng(),c=a.getSel();return!(!b||b.item)&&(b.compareEndPoints?0===b.compareEndPoints("StartToEnd",b):!c||b.collapsed)},collapse:function(a){var b,c=this,d=c.getRng();d.item&&(b=d.item(0),d=c.win.document.body.createTextRange(),d.moveToElementText(b)),d.collapse(!!a),c.setRng(d)},getSel:function(){var a=this.win;return a.getSelection?a.getSelection():a.document.selection},getRng:function(a){function b(a,b,c){try{return b.compareBoundaryPoints(a,c)}catch(a){return-1}}var c,d,e,f,g,h,i=this;if(!i.win)return null;if(f=i.win.document,"undefined"==typeof f||null===f)return null;if(!a&&i.lastFocusBookmark){var j=i.lastFocusBookmark;return j.startContainer?(d=f.createRange(),d.setStart(j.startContainer,j.startOffset),d.setEnd(j.endContainer,j.endOffset)):d=j,d}if(a&&i.tridentSel)return i.tridentSel.getRangeAt(0);try{(c=i.getSel())&&(d=c.rangeCount>0?c.getRangeAt(0):c.createRange?c.createRange():f.createRange())}catch(a){}if(h=i.editor.fire("GetSelectionRange",{range:d}),h.range!==d)return h.range;if(o&&d&&d.setStart&&f.selection){try{g=f.selection.createRange()}catch(a){}g&&g.item&&(e=g.item(0),d=f.createRange(),d.setStartBefore(e),d.setEndAfter(e))}return d||(d=f.createRange?f.createRange():f.body.createTextRange()),d.setStart&&9===d.startContainer.nodeType&&d.collapsed&&(e=i.dom.getRoot(),d.setStart(e,0),d.setEnd(e,0)),i.selectedRange&&i.explicitRange&&(0===b(d.START_TO_START,d,i.selectedRange)&&0===b(d.END_TO_END,d,i.selectedRange)?d=i.explicitRange:(i.selectedRange=null,i.explicitRange=null)),d},setRng:function(a,b){var c,d,e,f=this;if(a)if(a.select){f.explicitRange=null;try{a.select()}catch(a){}}else if(f.tridentSel){if(a.cloneRange)try{f.tridentSel.addRange(a)}catch(a){}}else{if(c=f.getSel(),e=f.editor.fire("SetSelectionRange",{range:a,forward:b}),a=e.range,c){f.explicitRange=a;try{c.removeAllRanges(),c.addRange(a)}catch(a){}b===!1&&c.extend&&(c.collapse(a.endContainer,a.endOffset),c.extend(a.startContainer,a.startOffset)),f.selectedRange=c.rangeCount>0?c.getRangeAt(0):null}a.collapsed||a.startContainer!==a.endContainer||!c.setBaseAndExtent||i.ie||a.endOffset-a.startOffset<2&&a.startContainer.hasChildNodes()&&(d=a.startContainer.childNodes[a.startOffset],d&&"IMG"===d.tagName&&(c.setBaseAndExtent(a.startContainer,a.startOffset,a.endContainer,a.endOffset),c.anchorNode===a.startContainer&&c.focusNode===a.endContainer||c.setBaseAndExtent(d,0,d,1))),f.editor.fire("AfterSetSelectionRange",{range:a,forward:b})}},setNode:function(a){var b=this;return b.setContent(b.dom.getOuterHTML(a)),a},getNode:function(){function a(a,b){for(var c=a;a&&3===a.nodeType&&0===a.length;)a=b?a.nextSibling:a.previousSibling;return a||c}var b,c,d,e,f,g=this,h=g.getRng(),i=g.dom.getRoot();return h?(c=h.startContainer,d=h.endContainer,e=h.startOffset,f=h.endOffset,h.setStart?(b=h.commonAncestorContainer,!h.collapsed&&(c==d&&f-e<2&&c.hasChildNodes()&&(b=c.childNodes[e]),3===c.nodeType&&3===d.nodeType&&(c=c.length===e?a(c.nextSibling,!0):c.parentNode,d=0===f?a(d.previousSibling,!1):d.parentNode,c&&c===d))?c:b&&3==b.nodeType?b.parentNode:b):(b=h.item?h.item(0):h.parentElement(),b.ownerDocument!==g.win.document&&(b=i),b)):i},getSelectedBlocks:function(a,b){var c,d,e=this,f=e.dom,h=[];if(d=f.getRoot(),a=f.getParent(a||e.getStart(),f.isBlock),b=f.getParent(b||e.getEnd(),f.isBlock),a&&a!=d&&h.push(a),a&&b&&a!=b){c=a;for(var i=new g(a,d);(c=i.next())&&c!=b;)f.isBlock(c)&&h.push(c)}return b&&a!=b&&b!=d&&h.push(b),h},isForward:function(){var a,b,c=this.dom,d=this.getSel();return!(d&&d.anchorNode&&d.focusNode)||(a=c.createRng(),a.setStart(d.anchorNode,d.anchorOffset),a.collapse(!0),b=c.createRng(),b.setStart(d.focusNode,d.focusOffset),b.collapse(!0),a.compareBoundaryPoints(a.START_TO_START,b)<=0)},normalize:function(){var a=this,b=a.getRng();return i.range&&new e(a.dom).normalize(b)&&a.setRng(b,a.isForward()),b},selectorChanged:function(a,b){var c,d=this;return d.selectorChangedData||(d.selectorChangedData={},c={},d.editor.on("NodeChange",function(a){var b=a.element,e=d.dom,f=e.getParents(b,null,e.getRoot()),g={};m(d.selectorChangedData,function(a,b){m(f,function(d){if(e.is(d,b))return c[b]||(m(a,function(a){a(!0,{node:d,selector:b,parents:f})}),c[b]=a),g[b]=a,!1})}),m(c,function(a,d){g[d]||(delete c[d],m(a,function(a){a(!1,{node:b,selector:d,parents:f})}))})})),d.selectorChangedData[a]||(d.selectorChangedData[a]=[]),d.selectorChangedData[a].push(b),d},getScrollContainer:function(){for(var a,b=this.dom.getRoot();b&&"BODY"!=b.nodeName;){if(b.scrollHeight>b.clientHeight){a=b;break}b=b.parentNode}return a},scrollIntoView:function(a,b){f.scrollIntoView(this.editor,a,b)},placeCaretAt:function(a,b){this.setRng(e.getCaretRangeFromPoint(a,b,this.editor.getDoc()))},_moveEndPoint:function(a,b,c){var d=b,e=new g(b,d),f=this.dom.schema.getNonEmptyElements();do{if(3==b.nodeType&&0!==n(b.nodeValue).length)return void(c?a.setStart(b,0):a.setEnd(b,b.nodeValue.length));if(f[b.nodeName]&&!/^(TD|TH)$/.test(b.nodeName))return void(c?a.setStartBefore(b):"BR"==b.nodeName?a.setEndBefore(b):a.setEndAfter(b));if(i.ie&&i.ie<11&&this.dom.isBlock(b)&&this.dom.isEmpty(b))return void(c?a.setStart(b,0):a.setEnd(b,0))}while(b=c?e.next():e.prev());"BODY"==d.nodeName&&(c?a.setStart(d,0):a.setEnd(d,d.childNodes.length))},getBoundingClientRect:function(){var b=this.getRng();return b.collapsed?a.fromRangeStart(b).getClientRects()[0]:b.getBoundingClientRect()},destroy:function(){this.win=null,this.controlSelection.destroy()}},l}),g("1q",["r","9"],function(a,b){function c(b){this.compare=function(c,e){function f(a){var c={};return d(b.getAttribs(a),function(d){var e=d.nodeName.toLowerCase();0!==e.indexOf("_")&&"style"!==e&&0!==e.indexOf("data-")&&(c[e]=b.getAttrib(a,e))}),c}function g(a,b){var c,d;for(d in a)if(a.hasOwnProperty(d)){if(c=b[d],"undefined"==typeof c)return!1;if(a[d]!=c)return!1;delete b[d]}for(d in b)if(b.hasOwnProperty(d))return!1;return!0}return c.nodeName==e.nodeName&&(!!g(f(c),f(e))&&(!!g(b.parseStyle(b.getAttrib(c,"style")),b.parseStyle(b.getAttrib(e,"style")))&&(!a.isBookmarkNode(c)&&!a.isBookmarkNode(e))))}}var d=b.each;return c}),g("1s",["e","9","j"],function(a,b,c){function d(a,d){function e(a,b){b.classes.length&&j.addClass(a,b.classes.join(" ")),j.setAttribs(a,b.attrs)}function f(a){var b;return k="string"==typeof a?{name:a,classes:[],attrs:{}}:a,b=j.create(k.name),e(b,k),b}function g(a,c){var d="string"!=typeof a?a.nodeName.toLowerCase():a,e=m.getElementRule(d),f=e.parentsRequired;return!(!f||!f.length)&&(c&&b.inArray(f,c)!==-1?c:f[0])}function h(a,c,d){var e,i,k,l=c.length&&c[0],m=l&&l.name;if(k=g(a,m))m==k?(i=c[0],c=c.slice(1)):i=k;else if(l)i=c[0],c=c.slice(1);else if(!d)return a;return i&&(e=f(i),e.appendChild(a)),d&&(e||(e=j.create("div"),e.appendChild(a)),b.each(d,function(b){var c=f(b);e.insertBefore(c,a)})),h(e,c,i&&i.siblings)}var i,k,l,m=d&&d.schema||new c({});return a&&a.length?(k=a[0],i=f(k),l=j.create("div"),l.appendChild(h(i,a.slice(1),k.siblings)),l):""}function e(a,b){return d(g(a),b)}function f(a){var c,d={classes:[],attrs:{}};return a=d.selector=b.trim(a),"*"!==a&&(c=a.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,function(a,c,e,f,g){switch(c){case"#":d.attrs.id=e;break;case".":d.classes.push(e);break;case":":b.inArray("checked disabled enabled read-only required".split(" "),e)!==-1&&(d.attrs[e]=e)}if("["==f){var h=g.match(/([\w\-]+)(?:\=\"([^\"]+))?/);h&&(d.attrs[h[1]]=h[2])}return""})),d.name=c||"div",d}function g(a){return a&&"string"==typeof a?(a=a.split(/\s*,\s*/)[0],a=a.replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),b.map(a.split(/(?:>|\s+(?![^\[\]]+\]))/),function(a){var c=b.map(a.split(/(?:~\+|~|\+)/),f),d=c.pop();return c.length&&(d.siblings=c),d}).reverse()):[]}function h(a,b){function c(a){return a.replace(/%(\w+)/g,"")}var e,f,h,k,l,m,n="";if(m=a.settings.preview_styles,m===!1)return"";if("string"!=typeof m&&(m="font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"),"string"==typeof b){if(b=a.formatter.get(b),!b)return;b=b[0]}return"preview"in b&&(m=b.preview,m===!1)?"":(e=b.block||b.inline||"span",k=g(b.selector),k.length?(k[0].name||(k[0].name=e),e=b.selector,f=d(k,a)):f=d([e],a),h=j.select(e,f)[0]||f.firstChild,i(b.styles,function(a,b){a=c(a),a&&j.setStyle(h,b,a)}),i(b.attributes,function(a,b){a=c(a),a&&j.setAttrib(h,b,a)}),i(b.classes,function(a){a=c(a),j.hasClass(h,a)||j.addClass(h,a)}),a.fire("PreviewFormats"),j.setStyles(f,{position:"absolute",left:-65535}),a.getBody().appendChild(f),l=j.getStyle(a.getBody(),"fontSize",!0),l=/px$/.test(l)?parseInt(l,10):0,i(m.split(" "),function(b){var c=j.getStyle(h,b,!0);if(!("background-color"==b&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(c)&&(c=j.getStyle(a.getBody(),b,!0),"#ffffff"==j.toHex(c).toLowerCase())||"color"==b&&"#000000"==j.toHex(c).toLowerCase())){if("font-size"==b&&/em|%$/.test(c)){if(0===l)return;c=parseFloat(c,10)/(/%$/.test(c)?100:1),c=c*l+"px"}"border"==b&&c&&(n+="padding:0 2px;"),n+=b+":"+c+";"}}),a.fire("AfterPreviewFormats"),j.remove(f),n)}var i=b.each,j=a.DOM;return{getCssText:h,parseSelector:g,selectorToHtml:e}}),g("1t",["1g","1j","a"],function(a,b,c){function d(a,b){var c=f[a];c||(f[a]=c=[]),f[a].push(b)}function e(a,b){h(f[a],function(a){a(b)})}var f={},g=a.filter,h=a.each;return d("pre",function(d){function e(b){return i(b.previousSibling)&&a.indexOf(j,b.previousSibling)!=-1}function f(a,b){
+c(b).remove(),c(a).append(" ").append(b.childNodes)}var i,j,k=d.selection.getRng();i=b.matchNodeNames("pre"),k.collapsed||(j=d.selection.getSelectedBlocks(),h(g(g(j,i),e),function(a){f(a.previousSibling,a)}))}),{postProcess:e}}),g("t",["c","h","r","1q","1j","1r","9","1s","1t"],function(a,b,c,d,e,f,g,h,i){return function(j){function k(a){return a.nodeType&&(a=a.nodeName),!!j.schema.getTextBlockElements()[a.toLowerCase()]}function l(a){return/^(TH|TD)$/.test(a.nodeName)}function m(a){return a&&/^(IMG)$/.test(a.nodeName)}function n(a,b){return da.getParents(a,b,da.getRoot())}function o(a){return 1===a.nodeType&&"_mce_caret"===a.id}function p(){s({valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{"float":"left"},preview:"font-family font-size"}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"img,table",collapsed:!1,styles:{"float":"right"},preview:"font-family font-size"}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},inherit:!1,defaultBlock:"div",preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all"}],italic:[{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all"}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all"}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all"}],forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0},fontname:{inline:"span",styles:{fontFamily:"%value"}},fontsize:{inline:"span",styles:{fontSize:"%value"}},fontsize_class:{inline:"span",attributes:{"class":"%value"}},blockquote:{block:"blockquote",wrapper:1,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(){return!0},onformat:function(a,b,c){qa(c,function(b,c){da.setAttrib(a,c,b)})}},removeformat:[{selector:"b,strong,em,i,font,u,strike,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]}),qa("p h1 h2 h3 h4 h5 h6 div address pre div dt dd samp".split(/\s/),function(a){s(a,{block:a,remove:"all"})}),s(j.settings.formats)}function q(){j.addShortcut("meta+b","bold_desc","Bold"),j.addShortcut("meta+i","italic_desc","Italic"),j.addShortcut("meta+u","underline_desc","Underline");for(var a=1;a<=6;a++)j.addShortcut("access+"+a,"",["FormatBlock",!1,"h"+a]);j.addShortcut("access+7","",["FormatBlock",!1,"p"]),j.addShortcut("access+8","",["FormatBlock",!1,"div"]),j.addShortcut("access+9","",["FormatBlock",!1,"address"])}function r(a){return a?ca[a]:ca}function s(a,b){a&&("string"!=typeof a?qa(a,function(a,b){s(b,a)}):(b=b.length?b:[b],qa(b,function(a){a.deep===_&&(a.deep=!a.selector),a.split===_&&(a.split=!a.selector||a.inline),a.remove===_&&a.selector&&!a.inline&&(a.remove="none"),a.selector&&a.inline&&(a.mixed=!0,a.block_expand=!0),"string"==typeof a.classes&&(a.classes=a.classes.split(/\s+/))}),ca[a]=b))}function t(a){return a&&ca[a]&&delete ca[a],ca}function u(a,b){var c=r(b);if(c)for(var d=0;d0)return d;if(d.childNodes.length>1||d==b||"BR"==d.tagName)return d}}var c=j.selection.getRng(),e=c.startContainer,f=c.endContainer;if(e!=f&&0===c.endOffset){var g=b(e,f),h=3==g.nodeType?g.data.length:g.childNodes.length;c.setEnd(g,h)}return c}function h(a,d,g){var h,i,j=[],l=!0;h=p.inline||p.block,i=da.create(h),e(i),fa.walk(a,function(a){function d(a){var q,r,s,t;if(t=l,q=a.nodeName.toLowerCase(),r=a.parentNode.nodeName.toLowerCase(),1===a.nodeType&&oa(a)&&(t=l,l="true"===oa(a),s=!0),H(q,"br"))return m=0,void(p.block&&da.remove(a));if(p.wrapper&&A(a,b,c))return void(m=0);if(l&&!s&&p.block&&!p.wrapper&&k(q)&&ga(r,h))return a=da.rename(a,h),e(a),j.push(a),void(m=0);if(p.selector){var u=f(n,a);if(!p.inline||u)return void(m=0)}!l||s||!ga(h,q)||!ga(r,h)||!g&&3===a.nodeType&&1===a.nodeValue.length&&65279===a.nodeValue.charCodeAt(0)||o(a)||p.inline&&ha(a)?(m=0,qa(ra(a.childNodes),d),s&&(l=t),m=0):(m||(m=da.clone(i,ma),a.parentNode.insertBefore(m,a),j.push(m)),m.appendChild(a))}var m;qa(a,d)}),p.links===!0&&qa(j,function(a){function b(a){"A"===a.nodeName&&e(a,p),qa(ra(a.childNodes),b)}b(a)}),qa(j,function(a){function d(a){var b=0;return qa(a.childNodes,function(a){P(a)||pa(a)||b++}),b}function f(a){var b=!1;return qa(a.childNodes,function(a){if(J(a))return b=a,!1}),b}function g(a,b){do{if(1!==d(a))break;if(a=f(a),!a)break;if(b(a))return a}while(a);return null}function h(a){var b,c;return b=f(a),b&&!pa(b)&&G(b,p)&&(c=da.clone(b,ma),e(c),da.replace(c,a,na),da.remove(b,1)),c||a}var i;if(i=d(a),(j.length>1||!ha(a))&&0===i)return void da.remove(a,1);if(p.inline||p.wrapper){if(p.exact||1!==i||(a=h(a)),qa(n,function(b){qa(da.select(b.inline,a),function(a){J(a)&&T(b,c,a,b.exact?a:null)})}),A(a.parentNode,b,c)&&T(p,c,a)&&(a=0),p.merge_with_parents&&da.getParent(a.parentNode,function(d){if(A(d,b,c))return T(p,c,a)&&(a=0),na}),a&&!ha(a)&&!M(a,"fontSize")){var k=g(a,K("fontSize"));k&&x("fontsize",{value:M(k,"fontSize")},a)}a&&p.merge_siblings!==!1&&(a=W(V(a),a),a=W(a,V(a,na)))}})}var l,m,n=r(b),p=n[0],q=!d&&ea.isCollapsed();if("false"!==oa(ea.getNode())){if(p){if(d)d.nodeType?f(n,d)||(m=da.createRng(),m.setStartBefore(d),m.setEndAfter(d),h(R(m,n),null,!0)):h(d,null,!0);else if(q&&p.inline&&!da.select("td[data-mce-selected],th[data-mce-selected]").length)Y("apply",b,c);else{var s=j.selection.getNode();ia||!n[0].defaultBlock||da.getParent(s,da.isBlock)||x(n[0].defaultBlock),j.selection.setRng(g()),l=ea.getBookmark(),h(R(ea.getRng(na),n),l),p.styles&&((p.styles.color||p.styles.textDecoration)&&(sa(s,w,"childNodes"),w(s)),p.styles.backgroundColor&&I(s,K("fontSize"),L("backgroundColor",O(p.styles.backgroundColor,c)))),ea.moveToBookmark(l),Z(ea.getRng(na)),j.nodeChanged()}i.postProcess(b,j)}}else{d=ea.getNode();for(var t=0,u=n.length;t=0;e--){if(f=g[e].selector,!f||g[e].defaultBlock)return na;for(d=c.length-1;d>=0;d--)if(da.is(c[d],f))return na}return ma}function E(a,b,c){var d;return $||($={},d={},j.on("NodeChange",function(a){var b=n(a.element),c={};b=g.grep(b,function(a){return 1==a.nodeType&&!a.getAttribute("data-mce-bogus")}),qa($,function(a,e){qa(b,function(f){return A(f,e,{},a.similar)?(d[e]||(qa(a,function(a){a(!0,{node:f,format:e,parents:b})}),d[e]=a),c[e]=a,!1):!u(f,e)&&void 0})}),qa(d,function(e,f){c[f]||(delete d[f],qa(e,function(c){c(!1,{node:a.element,format:f,parents:b})}))})})),qa(a.split(","),function(a){$[a]||($[a]=[],$[a].similar=c),$[a].push(b)}),this}function F(a){return h.getCssText(j,a)}function G(a,b){return H(a,b.inline)?na:H(a,b.block)?na:b.selector?1==a.nodeType&&da.is(a,b.selector):void 0}function H(a,b){return a=a||"",b=b||"",a=""+(a.nodeName||a),b=""+(b.nodeName||b),a.toLowerCase()==b.toLowerCase()}function I(a,b,c){qa(a.childNodes,function(a){J(a)&&(b(a)&&c(a),a.hasChildNodes()&&I(a,b,c))})}function J(a){return a&&1===a.nodeType&&!pa(a)&&!o(a)&&!e.isBogus(a)}function K(a){return f.curry(function(a,b){return!(!b||!M(b,a))},a)}function L(a,b){return f.curry(function(a,b,c){da.setStyle(c,a,b)},a,b)}function M(a,b){return N(da.getStyle(a,b),b)}function N(a,b){return"color"!=b&&"backgroundColor"!=b||(a=da.toHex(a)),"fontWeight"==b&&700==a&&(a="bold"),"fontFamily"==b&&(a=a.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),""+a}function O(a,b){return"string"!=typeof a?a=a(b):b&&(a=a.replace(/%(\w+)/g,function(a,c){return b[c]||a})),a}function P(a){return a&&3===a.nodeType&&/^([\t \r\n]+|)$/.test(a.nodeValue)}function Q(a,b,c){var d=da.create(b,c);return a.parentNode.insertBefore(d,a),d.appendChild(a),d}function R(b,c,d){function e(a){function b(a){return"BR"==a.nodeName&&a.getAttribute("data-mce-bogus")&&!a.nextSibling}var d,e,f,g,h;if(d=e=a?q:s,g=a?"previousSibling":"nextSibling",h=da.getRoot(),3==d.nodeType&&!P(d)&&(a?r>0:tf?c:f,c===-1||d||c++):(c=g.indexOf(" ",b),f=g.indexOf("\xa0",b),c=c!==-1&&(f===-1||cm?m:r],3==q.nodeType&&(r=0)),1==s.nodeType&&s.hasChildNodes()&&(m=s.childNodes.length-1,s=s.childNodes[t>m?m:t-1],3==s.nodeType&&(t=s.nodeValue.length)),q=g(q),s=g(s),(pa(q.parentNode)||pa(q))&&(q=pa(q)?q:q.parentNode,q=q.nextSibling||q,3==q.nodeType&&(r=0)),(pa(s.parentNode)||pa(s))&&(s=pa(s)?s:s.parentNode,s=s.previousSibling||s,3==s.nodeType&&(t=s.length)),c[0].inline&&(b.collapsed&&(p=h(q,r,!0),p&&(q=p.container,r=p.offset),p=h(s,t),p&&(s=p.container,t=p.offset)),o=f(s,t),o.node)){for(;o.node&&0===o.offset&&o.node.previousSibling;)o=f(o.node.previousSibling);o.node&&o.offset>0&&3===o.node.nodeType&&" "===o.node.nodeValue.charAt(o.offset-1)&&o.offset>1&&(s=o.node,s.splitText(o.offset-1))}return(c[0].inline||c[0].block_expand)&&(c[0].inline&&3==q.nodeType&&0!==r||(q=e(!0)),c[0].inline&&3==s.nodeType&&t!==s.nodeValue.length||(s=e())),c[0].selector&&c[0].expand!==ma&&!c[0].inline&&(q=i(q,"previousSibling"),s=i(s,"nextSibling")),(c[0].block||c[0].selector)&&(q=l(q,"previousSibling"),s=l(s,"nextSibling"),c[0].block&&(ha(q)||(q=e(!0)),ha(s)||(s=e()))),1==q.nodeType&&(r=ja(q),q=q.parentNode),1==s.nodeType&&(t=ja(s)+1,s=s.parentNode),{startContainer:q,startOffset:r,endContainer:s,endOffset:t}}function S(a,b){return b.links&&"A"==a.tagName}function T(a,b,c,d){var e,f,g;if(!G(c,a)&&!S(c,a))return ma;if("all"!=a.remove)for(qa(a.styles,function(e,f){e=N(O(e,b),f),"number"==typeof f&&(f=e,d=0),(a.remove_similar||!d||H(M(d,f),e))&&da.setStyle(c,f,""),g=1}),g&&""===da.getAttrib(c,"style")&&(c.removeAttribute("style"),c.removeAttribute("data-mce-style")),qa(a.attributes,function(a,e){var f;if(a=O(a,b),"number"==typeof e&&(e=a,d=0),!d||H(da.getAttrib(d,e),a)){if("class"==e&&(a=da.getAttrib(c,e),a&&(f="",qa(a.split(/\s+/),function(a){/mce\-\w+/.test(a)&&(f+=(f?" ":"")+a)}),f)))return void da.setAttrib(c,e,f);"class"==e&&c.removeAttribute("className"),la.test(e)&&c.removeAttribute("data-mce-"+e),c.removeAttribute(e)}}),qa(a.classes,function(a){a=O(a,b),d&&!da.hasClass(d,a)||da.removeClass(c,a)}),f=da.getAttribs(c),e=0;ef?f:e]),3===d.nodeType&&c&&e>=d.nodeValue.length&&(d=new a(d,j.getBody()).next()||d),3!==d.nodeType||c||0!==e||(d=new a(d,j.getBody()).prev()||d),d}function Y(b,c,d,e){function f(a){var b=da.create("span",{id:p,"data-mce-bogus":!0,style:q?"color:red":""});return a&&b.appendChild(j.getDoc().createTextNode(ka)),b}function g(a,b){for(;a;){if(3===a.nodeType&&a.nodeValue!==ka||a.childNodes.length>1)return!1;b&&1===a.nodeType&&b.push(a),a=a.firstChild}return!0}function h(a){for(;a;){if(a.id===p)return a;a=a.parentNode}}function i(b){var c;if(b)for(c=new a(b,b),b=c.current();b;b=c.next())if(3===b.nodeType)return b}function l(a,b){var c,d;if(a)d=ea.getRng(!0),g(a)?(b!==!1&&(d.setStartBefore(a),d.setEndBefore(a)),da.remove(a)):(c=i(a),c.nodeValue.charAt(0)===ka&&(c.deleteData(0,1),d.startContainer==c&&d.startOffset>0&&d.setStart(c,d.startOffset-1),d.endContainer==c&&d.endOffset>0&&d.setEnd(c,d.endOffset-1)),da.remove(a,1)),ea.setRng(d);else if(a=h(ea.getStart()),!a)for(;a=da.get(p);)l(a,!1)}function m(){var a,b,e,g,j,k,l;a=ea.getRng(!0),g=a.startOffset,k=a.startContainer,l=k.nodeValue,b=h(ea.getStart()),b&&(e=i(b));var m=/[^\s\u00a0\u00ad\u200b\ufeff]/;l&&g>0&&g=0;l--)i.appendChild(da.clone(o[l],!1)),i=i.firstChild;i.appendChild(da.doc.createTextNode(ka)),i=i.firstChild;var p=da.getParent(j,k);p&&da.isEmpty(p)?j.parentNode.replaceChild(m,j):da.insertAfter(m,j),ea.setCursorLocation(i,1),da.isEmpty(j)&&da.remove(j)}}function o(){var a;a=h(ea.getStart()),a&&!da.isEmpty(a)&&sa(a,function(a){1!=a.nodeType||a.id===p||da.isEmpty(a)||da.setAttrib(a,"data-mce-bogus",null)},"childNodes")}var p="_mce_caret",q=j.settings.caret_debug;j._hasCaretEvents||(ba=function(){var a,b=[];if(g(h(ea.getStart()),b))for(a=b.length;a--;)da.setAttrib(b[a],"data-mce-bogus","1")},aa=function(a){var b=a.keyCode;l(),8==b&&ea.isCollapsed()&&ea.getStart().innerHTML==ka&&l(h(ea.getStart())),37!=b&&39!=b||l(h(ea.getStart())),o()},j.on("SetContent",function(a){a.selection&&o()}),j._hasCaretEvents=!0),"apply"==b?m():n()}function Z(b){var c,d,e,f=b.startContainer,g=b.startOffset;if((b.startContainer!=b.endContainer||!m(b.startContainer.childNodes[b.startOffset]))&&(3==f.nodeType&&g>=f.nodeValue.length&&(g=ja(f),f=f.parentNode),1==f.nodeType))for(e=f.childNodes,gi-h?(k.push([c,d[n]]),++n):(k.push([b,e[o]]),++o);else{j(f,m.start,h,m.start-m.diag,k);for(var p=m.start;p=a&&s>=c&&d[r]===e[s];)h[q]=r--,s--;if(l%2===0&&-o<=p&&p<=o&&h[q]<=g[q+l])return k(h[q],p+a-c,b,f)}}},m=[];return j(0,d.length,0,e.length,m),m};return{KEEP:a,DELETE:c,INSERT:b,diff:d}}),g("3z",["1g","d","4o"],function(a,b,c){var d=function(a){return 1===a.nodeType?a.outerHTML:3===a.nodeType?b.encodeRaw(a.data,!1):8===a.nodeType?"":""},e=function(a){var b,c,d;for(d=document.createElement("div"),b=document.createDocumentFragment(),a&&(d.innerHTML=a);c=d.firstChild;)b.appendChild(c);return b},f=function(a,b,c){var d=e(b);if(a.hasChildNodes()&&c")!==-1},d=function(a){return{type:"fragmented",fragments:a,content:"",bookmark:null,beforeBookmark:null}},e=function(a){return{type:"complete",fragments:null,content:a,bookmark:null,beforeBookmark:null}},f=function(f){var g,h,i;return g=b.read(f.getBody()),i=a.map(g,function(a){return f.serializer.trimContent(a)}),h=i.join(""),c(h)?d(i):e(h)},g=function(a,c,d){"fragmented"===c.type?b.write(c.fragments,a.getBody()):a.setContent(c.content,{format:"raw"}),a.selection.moveToBookmark(d?c.beforeBookmark:c.bookmark)},h=function(a){return"fragmented"===a.type?a.fragments.join(""):a.content},i=function(a,b){return h(a)===h(b)};return{createFragmentedLevel:d,createCompleteLevel:e,createFromEditor:f,applyToEditor:g,isEq:i}}),g("u",["p","9","1u"],function(a,b,c){return function(a){function d(b){a.setDirty(b)}function e(a){n(!1),i.add({},a)}function f(){i.typing&&(n(!1),i.add())}var g,h,i=this,j=0,k=[],l=0,m=function(){return 0===l},n=function(a){m()&&(i.typing=a)};return a.on("init",function(){i.add()}),a.on("BeforeExecCommand",function(a){var b=a.command;"Undo"!==b&&"Redo"!==b&&"mceRepaint"!==b&&(f(),i.beforeChange())}),a.on("ExecCommand",function(a){var b=a.command;"Undo"!==b&&"Redo"!==b&&"mceRepaint"!==b&&e(a)}),a.on("ObjectResizeStart Cut",function(){i.beforeChange()}),a.on("SaveContent ObjectResized blur",e),a.on("DragEnd",e),a.on("KeyUp",function(b){var f=b.keyCode;b.isDefaultPrevented()||((f>=33&&f<=36||f>=37&&f<=40||45===f||b.ctrlKey)&&(e(),a.nodeChanged()),46!==f&&8!==f||a.nodeChanged(),h&&i.typing&&c.isEq(c.createFromEditor(a),k[0])===!1&&(a.isDirty()===!1&&(d(!0),a.fire("change",{level:k[0],lastLevel:null})),a.fire("TypingUndo"),h=!1,a.nodeChanged()))}),a.on("KeyDown",function(a){var b=a.keyCode;if(!a.isDefaultPrevented()){if(b>=33&&b<=36||b>=37&&b<=40||45===b)return void(i.typing&&e(a));var c=a.ctrlKey&&!a.altKey||a.metaKey;!(b<16||b>20)||224===b||91===b||i.typing||c||(i.beforeChange(),n(!0),i.add({},a),h=!0)}}),a.on("MouseDown",function(a){i.typing&&e(a)}),a.addShortcut("meta+z","","Undo"),a.addShortcut("meta+y,meta+shift+z","","Redo"),a.on("AddUndo Undo Redo ClearUndos",function(b){b.isDefaultPrevented()||a.nodeChanged()}),i={data:k,typing:!1,beforeChange:function(){m()&&(g=a.selection.getBookmark(2,!0))},add:function(e,f){var h,i,l,n=a.settings;if(l=c.createFromEditor(a),e=e||{},e=b.extend(e,l),m()===!1||a.removed)return null;if(i=k[j],a.fire("BeforeAddUndo",{level:e,lastLevel:i,originalEvent:f}).isDefaultPrevented())return null;if(i&&c.isEq(i,e))return null;if(k[j]&&(k[j].beforeBookmark=g),n.custom_undo_redo_levels&&k.length>n.custom_undo_redo_levels){for(h=0;h0&&(d(!0),a.fire("change",o)),e},undo:function(){var b;return i.typing&&(i.add(),i.typing=!1,n(!1)),j>0&&(b=k[--j],c.applyToEditor(a,b,!0),d(!0),a.fire("undo",{level:b})),b},redo:function(){var b;return j0||i.typing&&k[0]&&!c.isEq(c.createFromEditor(a),k[0])},hasRedo:function(){return j0&&e.unsuppMessage(m);var n={};return a.each(h,function(a){n[a]=b.constant(f[a])}),a.each(i,function(a){n[a]=b.constant(g.prototype.hasOwnProperty.call(f,a)?d.some(f[a]):d.none())}),n}}}),g("57",["5v","5w"],function(a,b){
+return{immutable:a,immutableBag:b}}),g("70",[],function(){return Function("return this;")()}),g("6n",["70"],function(a){var b=function(b,c){for(var d=void 0!==c?c:a,e=0;e1)throw c.error("HTML does not have a single root node",a),"HTML must have a single root node";return h(f.childNodes[0])},f=function(a,b){var c=b||d,e=c.createElement(a);return h(e)},g=function(a,b){var c=b||d,e=c.createTextNode(a);return h(e)},h=function(c){if(null===c||void 0===c)throw new b("Node cannot be null or undefined");return{dom:a.constant(c)}};return{fromHtml:e,fromTag:f,fromText:g,fromDom:h}}),g("61",[],function(){return{ATTRIBUTE:2,CDATA_SECTION:4,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,ELEMENT:1,TEXT:3,PROCESSING_INSTRUCTION:7,ENTITY_REFERENCE:5,ENTITY:6,NOTATION:12}}),g("5a",["3r","4h","4t","61","4j","1x"],function(a,b,c,d,e,f){var g=0,h=1,i=2,j=3,k=function(){var a=f.createElement("span");return void 0!==a.matches?g:void 0!==a.msMatchesSelector?h:void 0!==a.webkitMatchesSelector?i:void 0!==a.mozMatchesSelector?j:-1}(),l=d.ELEMENT,m=d.DOCUMENT,n=function(a,b){var c=a.dom();if(c.nodeType!==l)return!1;if(k===g)return c.matches(b);if(k===h)return c.msMatchesSelector(b);if(k===i)return c.webkitMatchesSelector(b);if(k===j)return c.mozMatchesSelector(b);throw new e("Browser lacks native selectors")},o=function(a){return a.nodeType!==l&&a.nodeType!==m||0===a.childElementCount},p=function(b,d){var e=void 0===d?f:d.dom();return o(e)?[]:a.map(e.querySelectorAll(b),c.fromDom)},q=function(a,d){var e=void 0===d?f:d.dom();return o(e)?b.none():b.from(e.querySelector(a)).map(c.fromDom)};return{all:p,is:n,one:q}}),g("4s",["3r","3s","58","59","5a"],function(a,b,c,d,e){var f=function(a,b){return a.dom()===b.dom()},g=function(a,b){return a.dom().isEqualNode(b.dom())},h=function(c,d){return a.exists(d,b.curry(f,c))},i=function(a,b){var c=a.dom(),d=b.dom();return c!==d&&c.contains(d)},j=function(a,b){return c.documentPositionContainedBy(a.dom(),b.dom())},k=d.detect().browser,l=k.isIE()?j:i;return{eq:f,isEqualNode:g,member:h,contains:l,is:e.is}}),g("5c",["61"],function(a){var b=function(a){var b=a.dom().nodeName;return b.toLowerCase()},c=function(a){return a.dom().nodeType},d=function(a){return a.dom().nodeValue},e=function(a){return function(b){return c(b)===a}},f=function(d){return c(d)===a.COMMENT||"#comment"===b(d)},g=e(a.ELEMENT),h=e(a.TEXT),i=e(a.DOCUMENT);return{name:b,type:c,value:d,isElement:g,isText:h,isDocument:i,isComment:f}}),g("63",["5y","4t","5c","1x"],function(a,b,c,d){var e=function(a){var b=c.isText(a)?a.dom().parentNode:a.dom();return void 0!==b&&null!==b&&b.ownerDocument.body.contains(b)},f=a.cached(function(){return g(b.fromDom(d))}),g=function(a){var c=a.dom().body;if(null===c||void 0===c)throw"Body is not available yet";return b.fromDom(c)};return{body:f,getBody:g,inBody:e}}),g("64",["62","4h"],function(a,b){return function(c,d,e,f,g){return c(e,f)?b.some(e):a.isFunction(g)&&g(e)?b.none():d(e,f,g)}}),g("5d",["62","3r","3s","4h","63","4s","4t","64"],function(a,b,c,d,e,f,g,h){var i=function(a){return n(e.body(),a)},j=function(b,e,f){for(var h=b.dom(),i=a.isFunction(f)?f:c.constant(!1);h.parentNode;){h=h.parentNode;var j=g.fromDom(h);if(e(j))return d.some(j);if(i(j))break}return d.none()},k=function(a,b,c){var d=function(a){return b(a)};return h(d,j,a,b,c)},l=function(a,b){var c=a.dom();return c.parentNode?m(g.fromDom(c.parentNode),function(c){return!f.eq(a,c)&&b(c)}):d.none()},m=function(a,d){var e=b.find(a.dom().childNodes,c.compose(d,g.fromDom));return e.map(g.fromDom)},n=function(a,b){var c=function(a){for(var e=0;e0&&b0}function h(a){return a<0}function i(a,b){for(var c;c=a(b);)if(!y(c))return c;return null}function j(a,c,d,e,f){var j=new b(a,e);if(h(c)){if((v(a)||y(a))&&(a=i(j.prev,!0),d(a)))return a;for(;a=i(j.prev,f);)if(d(a))return a}if(g(c)){if((v(a)||y(a))&&(a=i(j.next,!0),d(a)))return a;for(;a=i(j.next,f);)if(d(a))return a}return null}function k(a,b){for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(u(a))return a;return b}function l(a,b){for(;a&&a!=b;){if(w(a))return a;a=a.parentNode}return null}function m(a,b,c){return l(a.container(),c)==l(b.container(),c)}function n(a,b,c){return k(a.container(),c)==k(b.container(),c)}function o(a,b){var c,d;return b?(c=b.container(),d=b.offset(),A(c)?c.childNodes[d+a]:null):null}function p(a,b){var c=b.ownerDocument.createRange();return a?(c.setStartBefore(b),c.setEndBefore(b)):(c.setStartAfter(b),c.setEndAfter(b)),c}function q(a,b,c){return l(b,a)==l(c,a)}function r(a,b,c){var d,e;for(e=a?"previousSibling":"nextSibling";c&&c!=b;){if(d=c[e],x(d)&&(d=d[e]),v(d)){if(q(b,d,c))return d;break}if(B(d))break;c=c.parentNode}return null}function s(a,b,d){var f,g,h,i,j=z(r,!0,b),k=z(r,!1,b);if(g=d.startContainer,h=d.startOffset,e.isCaretContainerBlock(g)){if(A(g)||(g=g.parentNode),i=g.getAttribute("data-mce-caret"),"before"==i&&(f=g.nextSibling,v(f)))return C(f);if("after"==i&&(f=g.previousSibling,v(f)))return D(f)}if(!d.collapsed)return d;if(c.isText(g)){if(x(g)){if(1===a){if(f=k(g))return C(f);if(f=j(g))return D(f)}if(a===-1){if(f=j(g))return D(f);if(f=k(g))return C(f)}return d}if(e.endsWithCaretContainer(g)&&h>=g.data.length-1)return 1===a&&(f=k(g))?C(f):d;if(e.startsWithCaretContainer(g)&&h<=1)return a===-1&&(f=j(g))?D(f):d;if(h===g.data.length)return f=k(g),f?C(f):d;if(0===h)return f=j(g),f?D(f):d}return d}function t(a,b){return v(o(a,b))}var u=c.isContentEditableTrue,v=c.isContentEditableFalse,w=c.matchStyleValues("display","block table table-cell table-caption"),x=e.isCaretContainer,y=e.isCaretContainerBlock,z=a.curry,A=c.isElement,B=f.isCaretCandidate,C=z(p,!0),D=z(p,!1);return{isForwards:g,isBackwards:h,findNode:j,getEditingHost:k,getParentBlock:l,isInSameBlock:m,isInSameEditingHost:n,isBeforeContentEditableFalse:z(t,0),isAfterContentEditableFalse:z(t,-1),normalizeRange:s}}),g("44",["1j","3w","1n","4v","1g","1r"],function(a,b,c,d,e,f){function g(a,b){for(var c=[];a&&a!=b;)c.push(a),a=a.parentNode;return c}function h(a,b){return a.hasChildNodes()&&b0)return c(v,--w);if(p(a)&&w0&&(y=h(v,w-1),r(y)))return!s(y)&&(z=d.findNode(y,a,t,y))?m(z)?c(z,z.data.length):c.after(z):m(y)?c(y,y.data.length):c.before(y);if(p(a)&&w0&&b.before(a,d),e(a)};return{empty:d,remove:e,unwrap:f}}),g("4q",["3r","4h","5g","5h","4t","5e","52","1n","5f","1j"],function(a,b,c,d,e,f,g,h,i,j){var k=function(h,k,l,m){var n=f.children(k);return j.isBr(m.getNode())&&(d.remove(e.fromDom(m.getNode())),m=g.positionIn(!1,l.dom()).getOr()),a.each(n,function(a){c.append(l,a)}),i.isEmpty(k)&&d.remove(k),n.length>0?b.from(m):b.none()},l=function(a,b,c){return a?g.positionIn(!1,b.dom()).bind(function(d){return k(a,c,b,d)}):g.positionIn(!1,c.dom()).bind(function(d){return k(a,b,c,d)})};return{mergeBlocks:l}}),g("40",["4p","4q"],function(a,b){var c=function(c,d){var e;return e=a.read(c.getBody(),d,c.selection.getRng()).bind(function(a){return b.mergeBlocks(d,a.from().block(),a.to().block())}),e.each(function(a){c.selection.setRng(a.toRange())}),e.isSome()};return{backspaceDelete:c}}),g("41",["4r","4s","4t","4u","4q"],function(a,b,c,d,e){var f=function(f,g){var h=g.getRng();return a.liftN([d.getParentTextBlock(f,c.fromDom(h.startContainer)),d.getParentTextBlock(f,c.fromDom(h.endContainer))],function(a,c){return b.eq(a,c)===!1&&(h.deleteContents(),e.mergeBlocks(!0,a,c).each(function(a){g.setRng(a.toRange())}),!0)}).getOr(!1)},g=function(a,b){var d=c.fromDom(a.getBody());return a.selection.isCollapsed()===!1&&f(d,a.selection)};return{backspaceDelete:g}}),g("5i",["3r","68","62","4i","4j","5b"],function(a,b,c,d,e,f){var g=function(g){if(!c.isArray(g))throw new e("cases must be an array");if(0===g.length)throw new e("there must be at least one case");var h=[],i={};return a.each(g,function(j,k){var l=b.keys(j);if(1!==l.length)throw new e("one and only one name per case");var m=l[0],n=j[m];if(void 0!==i[m])throw new e("duplicate key detected:"+m);if("cata"===m)throw new e("cannot have a case named cata (sorry)");if(!c.isArray(n))throw new e("case arguments must be an array");h.push(m),i[m]=function(){var c=arguments.length;if(c!==n.length)throw new e("Wrong number of arguments to case "+m+". Expected "+n.length+" ("+n+"), got "+c);for(var i=new d(c),j=0;ji.before(b).offset()},n=function(a,b){return m(b,a)?new i(b.container(),b.offset()-1):b},o=function(a){return k.isText(a)?new i(a,0):i.before(a)},p=function(a){return k.isText(a)?new i(a,a.data.length):i.after(a)},q=function(a){return h.isCaretCandidate(a.previousSibling)?b.some(p(a.previousSibling)):a.previousSibling?l.findCaretPositionIn(a.previousSibling,!1):b.none()},r=function(a){return h.isCaretCandidate(a.nextSibling)?b.some(o(a.nextSibling)):a.nextSibling?l.findCaretPositionIn(a.nextSibling,!0):b.none()},s=function(a,c){var d=i.before(c.previousSibling?c.previousSibling:c.parentNode);return l.findCaretPosition(a,!1,d).fold(function(){return l.findCaretPosition(a,!0,i.after(c))},b.some)},t=function(a,c){return l.findCaretPosition(a,!0,i.after(c)).fold(function(){return l.findCaretPosition(a,!1,i.before(c))},b.some)},u=function(a,b){return q(b).orThunk(function(){return r(b)}).orThunk(function(){return s(a,b)})},v=function(a,b){return r(b).orThunk(function(){return q(b)}).orThunk(function(){return t(a,b)})},w=function(a,b,c){return a?v(b,c):u(b,c)},x=function(b,c,d){return w(b,c,d).map(a.curry(n,d))},y=function(a,b,c){c.fold(function(){a.focus()},function(c){a.selection.setRng(c.toRange(),b)})},z=function(a){return function(b){return b.dom()===a}},A=function(a,b){return b&&a.schema.getBlockElements().hasOwnProperty(f.name(b))},B=function(a){if(j.isEmpty(a)){var f=e.fromHtml(' ');return d.empty(a),c.append(a,f),b.some(i.before(f.dom()))}return b.none()},C=function(c,e,f){var h=x(e,c.getBody(),f.dom()),i=g.ancestor(f,a.curry(A,c),z(c.getBody()));d.remove(f),i.bind(B).fold(function(){y(c,e,h)},function(a){y(c,e,b.some(a))})};return{deleteElement:C}}),g("42",["4t","1n","4v","4p","4w","4x","4q","1j"],function(a,b,c,d,e,f,g,h){var i=function(b,c){return function(d){return f.deleteElement(b,c,a.fromDom(d)),!0}},j=function(a,c){return function(d){var e=c?b.before(d):b.after(d);return a.selection.setRng(e.toRange()),!0}},k=function(a){return function(b){return a.selection.setRng(b.toRange()),!0}},l=function(a,b){var c=e.read(a.getBody(),b,a.selection.getRng()).map(function(c){return c.fold(i(a,b),j(a,b),k(a))});return c.getOr(!1)},m=function(b,c){var d=b.selection.getNode();return!!h.isContentEditableFalse(d)&&(f.deleteElement(b,c,a.fromDom(b.selection.getNode())),!0)},n=function(a,b){for(;b&&b!==a;){if(h.isContentEditableTrue(b)||h.isContentEditableFalse(b))return b;b=b.parentNode}return null},o=function(a){var c,d=n(a.getBody(),a.selection.getNode());return h.isContentEditableTrue(d)&&a.dom.isBlock(d)&&a.dom.isEmpty(d)&&(c=a.dom.create("br",{"data-mce-bogus":"1"}),a.dom.setHTML(d,""),d.appendChild(c),a.selection.setRng(b.before(c).toRange())),!0},p=function(a,b){return a.selection.isCollapsed()?l(a,b):m(a,b)};return{backspaceDelete:p,paddEmptyElement:o}}),g("5k",["3s","1j","1l"],function(a,b,c){var d=b.isText,e=function(a){return d(a)&&a.data[0]===c.ZWSP},f=function(a){return d(a)&&a.data[a.data.length-1]===c.ZWSP},g=function(a){return a.ownerDocument.createTextNode(c.ZWSP)},h=function(a){if(d(a.previousSibling))return f(a.previousSibling)?a.previousSibling:(a.previousSibling.appendData(c.ZWSP),a.previousSibling);if(d(a))return e(a)?a:(a.insertData(0,c.ZWSP),a);var b=g(a);return a.parentNode.insertBefore(b,a),b},i=function(a){if(d(a.nextSibling))return e(a.nextSibling)?a.nextSibling:(a.nextSibling.insertData(0,c.ZWSP),a.nextSibling);if(d(a))return f(a)?a:(a.appendData(c.ZWSP),a);var b=g(a);return a.nextSibling?a.parentNode.insertBefore(b,a.nextSibling):a.parentNode.appendChild(b),b},j=function(a,b){return a?h(b):i(b)};return{insertInline:j,insertInlineBefore:a.curry(j,!0),insertInlineAfter:a.curry(j,!1)}}),g("5l",["3r","1k","1n","1j","1l","9"],function(a,b,c,d,e,f){var g=d.isElement,h=d.isText,i=function(a){var b=a.parentNode;b&&b.removeChild(a)},j=function(a){try{return a.nodeValue}catch(a){return""}},k=function(a,b){0===b.length?i(a):a.nodeValue=b},l=function(a){var b=e.trim(a);return{count:a.length-b.length,text:b}},m=function(a,b){return s(a),b},n=function(a,b){var d=l(a.data.substr(0,b.offset())),e=l(a.data.substr(b.offset())),f=d.text+e.text;return f.length>0?(k(a,f),new c(a,b.offset()-d.count)):b},o=function(b,d){var e=d.container(),f=a.indexOf(e.childNodes,b).map(function(a){return a0&&h(a[a.length-1])?a.slice(0,-1):a},j=function(a,b){var c=a.getParent(b,a.isBlock);return c&&"LI"===c.nodeName?c:null},k=function(a,b){return!!j(a,b)},l=function(a,b){var c=b.cloneRange(),d=b.cloneRange();return c.setStartBefore(a),d.setEndAfter(a),[c.cloneContents(),d.cloneContents()]},m=function(a,d){var e=c.before(a),f=new b(d),g=f.next(e);return g?g.toRange():null},n=function(a,d){var e=c.after(a),f=new b(d),g=f.prev(e);return g?g.toRange():null},o=function(b,c,d,e){var f=l(b,e),g=b.parentNode;return g.insertBefore(f[0],b),a.each(c,function(a){g.insertBefore(a,b)}),g.insertBefore(f[1],b),g.removeChild(b),n(c[c.length-1],d)},p=function(b,c,d){var e=b.parentNode;return a.each(c,function(a){e.insertBefore(a,b)}),m(b,d)},q=function(a,b,c,d){return d.insertAfter(b.reverse(),a),n(b[0],c)},r=function(a,d,e,h){var k=f(d,a,h),l=j(d,e.startContainer),m=i(g(k.firstChild)),n=1,r=2,s=d.getRoot(),t=function(a){var f=c.fromRangeStart(e),g=new b(d.getRoot()),h=a===n?g.prev(f):g.next(f);return!h||j(d,h.getNode())!==l};return t(n)?p(l,m,s):t(r)?q(l,m,s,d):o(l,m,s,e)};return{isListFragment:d,insertAtCaret:r,isParentBlockLi:k,trimListItems:i,listItems:g}}),g("1w",["1n","44","1q","1j","45","6","n","46","9"],function(a,b,c,d,e,f,g,h,i){var j=d.matchNodeNames("td th"),k=function(a,b,c){if("all"===c.getAttribute("data-mce-bogus"))c.parentNode.insertBefore(a.dom.createFragment(b),c);else{var d=c.firstChild,e=c.lastChild;!d||d===e&&"BR"===d.nodeName?a.dom.setHTML(c,b):a.selection.setContent(b)}},l=function(d,l,m){function n(a){function b(a){return d[a]&&3==d[a].nodeType}var c,d,e;return c=I.getRng(!0),d=c.startContainer,e=c.startOffset,3==d.nodeType&&(e>0?a=a.replace(/^ /," "):b("previousSibling")||(a=a.replace(/^ /," ")),e|)$/," "):b("nextSibling")||(a=a.replace(/( | )( |)$/," "))),a}function o(){var a,b,c;a=I.getRng(!0),b=a.startContainer,c=a.startOffset,3==b.nodeType&&a.collapsed&&("\xa0"===b.data[c]?(b.deleteData(c,1),/[\u00a0| ]$/.test(l)||(l+=" ")):"\xa0"===b.data[c-1]&&(b.deleteData(c-1,1),/[\u00a0| ]$/.test(l)||(l=" "+l)))}function p(){if(G){var a=d.getBody(),b=new c(J);i.each(J.select("*[data-mce-fragment]"),function(c){for(var d=c.parentNode;d&&d!=a;d=d.parentNode)H[c.nodeName.toLowerCase()]&&b.compare(d,c)&&J.remove(c,!0)})}}function q(a){for(var b=a;b=b.walk();)1===b.type&&b.attr("data-mce-fragment","1")}function r(a){i.each(a.getElementsByTagName("*"),function(a){a.removeAttribute("data-mce-fragment")})}function s(a){return!!a.getAttribute("data-mce-fragment")}function t(a){return a&&!d.schema.getShortEndedElements()[a.nodeName]}function u(c){function e(a){for(var b=d.getBody();a&&a!==b;a=a.parentNode)if("false"===d.dom.getContentEditable(a))return a;return null}function g(c){var e=a.fromRangeStart(c),f=new b(d.getBody());if(e=f.next(e))return e.toRange()}var h,i,k;if(c){if(I.scrollIntoView(c),h=e(c))return J.remove(c),void I.select(h);C=J.createRng(),D=c.previousSibling,D&&3==D.nodeType?(C.setStart(D,D.nodeValue.length),f.ie||(E=c.nextSibling,E&&3==E.nodeType&&(D.appendData(E.data),E.parentNode.removeChild(E)))):(C.setStartBefore(c),C.setEndBefore(c)),i=J.getParent(c,J.isBlock),J.remove(c),i&&J.isEmpty(i)&&(d.$(i).empty(),C.setStart(i,0),C.setEnd(i,0),j(i)||s(i)||!(k=g(C))?J.add(i,J.create("br",{"data-mce-bogus":"1"})):(C=k,J.remove(i))),I.setRng(C)}}var v,w,x,y,z,A,B,C,D,E,F,G,H=d.schema.getTextInlineElements(),I=d.selection,J=d.dom;/^ | $/.test(l)&&(l=n(l)),v=d.parser,G=m.merge,w=new g({validate:d.settings.validate},d.schema),F=' ',A={content:l,format:"html",selection:!0},d.fire("BeforeSetContent",A),l=A.content,l.indexOf("{$caret}")==-1&&(l+="{$caret}"),l=l.replace(/\{\$caret\}/,F),C=I.getRng();var K=C.startContainer||(C.parentElement?C.parentElement():null),L=d.getBody();K===L&&I.isCollapsed()&&J.isBlock(L.firstChild)&&t(L.firstChild)&&J.isEmpty(L.firstChild)&&(C=J.createRng(),C.setStart(L.firstChild,0),C.setEnd(L.firstChild,0),I.setRng(C)),I.isCollapsed()||(d.selection.setRng(e.normalize(d.selection.getRng())),d.getDoc().execCommand("Delete",!1,null),o()),x=I.getNode();var M={context:x.nodeName.toLowerCase(),data:m.data};if(z=v.parse(l,M),m.paste===!0&&h.isListFragment(z)&&h.isParentBlockLi(J,x))return C=h.insertAtCaret(w,J,d.selection.getRng(!0),z),d.selection.setRng(C),void d.fire("SetContent",A);if(q(z),D=z.lastChild,"mce_marker"==D.attr("id"))for(B=D,D=D.prev;D;D=D.walk(!0))if(3==D.type||!J.isBlock(D.name)){d.schema.isValidChild(D.parent.name,"span")&&D.parent.insert(B,D,"br"===D.name);break}if(d._selectionOverrides.showBlockCaretContainer(x),M.invalid){for(I.setContent(F),x=I.getNode(),y=d.getBody(),9==x.nodeType?x=D=y:D=x;D!==y;)x=D,D=D.parentNode;l=x==y?y.innerHTML:J.getOuterHTML(x),l=w.serialize(v.parse(l.replace(//i,function(){return w.serialize(z)}))),x==y?J.setHTML(y,l):J.setOuterHTML(x,l)}else l=w.serialize(z),k(d,l,x);p(),u(J.get("mce_marker")),r(d.getBody()),d.fire("SetContent",A),d.addVisual()},m=function(a){var b;return"string"!=typeof a?(b=i.extend({paste:a.paste,data:{paste:a.paste}},a),{content:a.content,details:b}):{content:a,details:{}}},n=function(a,b){var c=m(b);l(a,c.content,c.details)};return{insertAtCaret:n}}),g("v",["1v","1j","h","c","6","1w","9"],function(a,b,c,d,e,f,g){var h=g.each,i=g.extend,j=g.map,k=g.inArray,l=g.explode,m=e.ie&&e.ie<11,n=!0,o=!1;return function(g){function p(a,b,c,d){var e,f,i=0;if(/^(mceAddUndoLevel|mceEndUndoLevel|mceBeginUndoLevel|mceRepaint)$/.test(a)||d&&d.skip_focus||g.focus(),d=g.fire("BeforeExecCommand",{command:a,ui:b,value:c}),d.isDefaultPrevented())return!1;if(f=a.toLowerCase(),e=H.exec[f])return e(f,b,c),g.fire("ExecCommand",{command:a,ui:b,value:c}),!0;if(h(g.plugins,function(d){if(d.execCommand&&d.execCommand(a,b,c))return g.fire("ExecCommand",{command:a,ui:b,value:c}),i=!0,!1}),i)return i;if(g.theme&&g.theme.execCommand&&g.theme.execCommand(a,b,c))return g.fire("ExecCommand",{command:a,ui:b,value:c}),!0;try{i=g.getDoc().execCommand(a,b,c)}catch(a){}return!!i&&(g.fire("ExecCommand",{command:a,ui:b,value:c}),!0)}function q(a){var b;if(!g.quirks.isHidden()){if(a=a.toLowerCase(),b=H.state[a])return b(a);try{return g.getDoc().queryCommandState(a)}catch(a){}return!1}}function r(a){var b;if(!g.quirks.isHidden()){if(a=a.toLowerCase(),b=H.value[a])return b(a);try{return g.getDoc().queryCommandValue(a)}catch(a){}}}function s(a,b){b=b||"exec",h(a,function(a,c){h(c.toLowerCase().split(","),function(c){H[b][c]=a})})}function t(a,b,c){a=a.toLowerCase(),H.exec[a]=function(a,d,e,f){return b.call(c||g,d,e,f)}}function u(a){if(a=a.toLowerCase(),H.exec[a])return!0;try{return g.getDoc().queryCommandSupported(a)}catch(a){}return!1}function v(a,b,c){a=a.toLowerCase(),H.state[a]=function(){return b.call(c||g)}}function w(a,b,c){a=a.toLowerCase(),H.value[a]=function(){return b.call(c||g)}}function x(a){return a=a.toLowerCase(),!!H.exec[a]}function y(a,b,c){return void 0===b&&(b=o),void 0===c&&(c=null),g.getDoc().execCommand(a,b,c)}function z(a){return F.match(a)}function A(a,b){F.toggle(a,b?{value:b}:void 0),g.nodeChanged()}function B(a){G=E.getBookmark(a)}function C(){E.moveToBookmark(G)}var D,E,F,G,H={state:{},exec:{},value:{}},I=g.settings;g.on("PreInit",function(){D=g.dom,E=g.selection,I=g.settings,F=g.formatter}),i(this,{execCommand:p,queryCommandState:q,queryCommandValue:r,queryCommandSupported:u,addCommands:s,addCommand:t,addQueryStateHandler:v,addQueryValueHandler:w,hasCustomCommand:x}),s({"mceResetDesignMode,mceBeginUndoLevel":function(){},"mceEndUndoLevel,mceAddUndoLevel":function(){g.undoManager.add()},"Cut,Copy,Paste":function(a){var b,c=g.getDoc();try{y(a)}catch(a){b=n}if("paste"!==a||c.queryCommandEnabled(a)||(b=!0),b||!c.queryCommandSupported(a)){var d=g.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");e.mac&&(d=d.replace(/Ctrl\+/g,"\u2318+")),g.notificationManager.open({text:d,type:"error"})}},unlink:function(){if(E.isCollapsed()){var a=g.dom.getParent(g.selection.getStart(),"a");return void(a&&g.dom.remove(a,!0))}F.remove("link")},"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,JustifyNone":function(a){var b=a.substring(7);"full"==b&&(b="justify"),h("left,center,right,justify".split(","),function(a){b!=a&&F.remove("align"+a)}),"none"!=b&&A("align"+b)},"InsertUnorderedList,InsertOrderedList":function(a){var b,c;y(a),b=D.getParent(E.getNode(),"ol,ul"),b&&(c=b.parentNode,/^(H[1-6]|P|ADDRESS|PRE)$/.test(c.nodeName)&&(B(),D.split(c,b),C()))},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(a){A(a)},"ForeColor,HiliteColor,FontName":function(a,b,c){A(a,c)},FontSize:function(a,b,c){var d,e;c>=1&&c<=7&&(e=l(I.font_size_style_values),d=l(I.font_size_classes),c=d?d[c-1]||c:e[c-1]||c),A(a,c)},RemoveFormat:function(a){F.remove(a)},mceBlockQuote:function(){A("blockquote")},FormatBlock:function(a,b,c){return A(c||"p")},mceCleanup:function(){var a=E.getBookmark();g.setContent(g.getContent({cleanup:n}),{cleanup:n}),E.moveToBookmark(a)},mceRemoveNode:function(a,b,c){var d=c||E.getNode();d!=g.getBody()&&(B(),g.dom.remove(d,n),C())},mceSelectNodeDepth:function(a,b,c){var d=0;D.getParent(E.getNode(),function(a){if(1==a.nodeType&&d++==c)return E.select(a),o},g.getBody())},mceSelectNode:function(a,b,c){E.select(c)},mceInsertContent:function(a,b,c){f.insertAtCaret(g,c)},mceInsertRawHTML:function(a,b,c){E.setContent("tiny_mce_marker"),g.setContent(g.getContent().replace(/tiny_mce_marker/g,function(){return c}))},mceToggleFormat:function(a,b,c){A(c)},mceSetContent:function(a,b,c){g.setContent(c)},"Indent,Outdent":function(a){var b,c,d;b=I.indentation,c=/[a-z%]+$/i.exec(b),b=parseInt(b,10),q("InsertUnorderedList")||q("InsertOrderedList")?y(a):(I.forced_root_block||D.getParent(E.getNode(),D.isBlock)||F.apply("div"),h(E.getSelectedBlocks(),function(e){if("false"!==D.getContentEditable(e)&&"LI"!==e.nodeName){var f=g.getParam("indent_use_margin",!1)?"margin":"padding";f="TABLE"===e.nodeName?"margin":f,f+="rtl"==D.getStyle(e,"direction",!0)?"Right":"Left","outdent"==a?(d=Math.max(0,parseInt(e.style[f]||0,10)-b),D.setStyle(e,f,d?d+c:"")):(d=parseInt(e.style[f]||0,10)+b+c,D.setStyle(e,f,d))}}))},mceRepaint:function(){},InsertHorizontalRule:function(){g.execCommand("mceInsertContent",!1," ")},mceToggleVisualAid:function(){g.hasVisual=!g.hasVisual,g.addVisual()},mceReplaceContent:function(a,b,c){g.execCommand("mceInsertContent",!1,c.replace(/\{\$selection\}/g,E.getContent({format:"text"})))},mceInsertLink:function(a,b,c){var d;"string"==typeof c&&(c={href:c}),d=D.getParent(E.getNode(),"a"),c.href=c.href.replace(" ","%20"),d&&c.href||F.remove("link"),c.href&&F.apply("link",c,d)},selectAll:function(){var a,c=D.getRoot();if(E.getRng().setStart){var d=D.getParent(E.getStart(),b.isContentEditableTrue);d&&(a=D.createRng(),a.selectNodeContents(d),E.setRng(a))}else a=E.getRng(),a.item||(a.moveToElementText(c),a.select())},"delete":function(){a.deleteCommand(g)},forwardDelete:function(){a.forwardDeleteCommand(g)},mceNewDocument:function(){g.setContent("")},InsertLineBreak:function(a,b,e){function f(){for(var a,b=new d(p,r),c=g.schema.getNonEmptyElements();a=b.next();)if(c[a.nodeName.toLowerCase()]||a.length>0)return!0}var h,i,j,k=e,l=E.getRng(!0);new c(D).normalize(l);var o=l.startOffset,p=l.startContainer;if(1==p.nodeType&&p.hasChildNodes()){var q=o>p.childNodes.length-1;p=p.childNodes[Math.min(o,p.childNodes.length-1)]||p,o=q&&3==p.nodeType?p.nodeValue.length:0}var r=D.getParent(p,D.isBlock),s=r?r.nodeName.toUpperCase():"",t=r?D.getParent(r.parentNode,D.isBlock):null,u=t?t.nodeName.toUpperCase():"",v=k&&k.ctrlKey;"LI"!=u||v||(r=t,s=u),p&&3==p.nodeType&&o>=p.nodeValue.length&&(m||f()||(h=D.create("br"),l.insertNode(h),l.setStartAfter(h),l.setEndAfter(h),i=!0)),h=D.create("br"),l.insertNode(h);var w=D.doc.documentMode;return m&&"PRE"==s&&(!w||w<8)&&h.parentNode.insertBefore(D.doc.createTextNode("\r"),h),j=D.create("span",{}," "),h.parentNode.insertBefore(j,h),E.scrollIntoView(j),D.remove(j),i?(l.setStartBefore(h),l.setEndBefore(h)):(l.setStartAfter(h),l.setEndAfter(h)),E.setRng(l),g.undoManager.add(),n}}),s({"JustifyLeft,JustifyCenter,JustifyRight,JustifyFull":function(a){var b="align"+a.substring(7),c=E.isCollapsed()?[D.getParent(E.getNode(),D.isBlock)]:E.getSelectedBlocks(),d=j(c,function(a){return!!F.matchNode(a,b)});return k(d,n)!==-1},"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(a){return z(a)},mceBlockQuote:function(){return z("blockquote")},Outdent:function(){var a;if(I.inline_styles){if((a=D.getParent(E.getStart(),D.isBlock))&&parseInt(a.style.paddingLeft,10)>0)return n;if((a=D.getParent(E.getEnd(),D.isBlock))&&parseInt(a.style.paddingLeft,10)>0)return n}return q("InsertUnorderedList")||q("InsertOrderedList")||!I.inline_styles&&!!D.getParent(E.getNode(),"BLOCKQUOTE")},"InsertUnorderedList,InsertOrderedList":function(a){var b=D.getParent(E.getNode(),"ul,ol");return b&&("insertunorderedlist"===a&&"UL"===b.tagName||"insertorderedlist"===a&&"OL"===b.tagName)}},"state"),s({"FontSize,FontName":function(a){var b,c=0;return(b=D.getParent(E.getNode(),"span"))&&(c="fontsize"==a?b.style.fontSize:b.style.fontFamily.replace(/, /g,",").replace(/[\'\"]/g,"").toLowerCase()),c}},"value"),s({Undo:function(){g.undoManager.undo()},Redo:function(){g.undoManager.redo()}})}}),g("w",["1x","9"],function(a,b){function c(b,g){var h,i,j=this;if(b=e(b),g=j.settings=g||{},h=g.base_uri,/^([\w\-]+):([^\/]{2})/i.test(b)||/^\s*#/.test(b))return void(j.source=b);var k=0===b.indexOf("//");0!==b.indexOf("/")||k||(b=(h?h.protocol||"http":"http")+"://mce_host"+b),/^[\w\-]*:?\/\//.test(b)||(i=g.base_uri?g.base_uri.path:new c(a.location.href).directory,""===g.base_uri.protocol?b="//mce_host"+j.toAbsPath(i,b):(b=/([^#?]*)([#?]?.*)/.exec(b),b=(h&&h.protocol||"http")+"://mce_host"+j.toAbsPath(i,b[1])+b[2])),b=b.replace(/@@/g,"(mce_at)"),b=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(b),d(f,function(a,c){var d=b[c];d&&(d=d.replace(/\(mce_at\)/g,"@@")),j[a]=d}),h&&(j.protocol||(j.protocol=h.protocol),j.userInfo||(j.userInfo=h.userInfo),j.port||"mce_host"!==j.host||(j.port=h.port),j.host&&"mce_host"!==j.host||(j.host=h.host),j.source=""),k&&(j.protocol="")}var d=b.each,e=b.trim,f="source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),g={ftp:21,http:80,https:443,mailto:25};return c.prototype={setPath:function(a){var b=this;a=/^(.*?)\/?(\w+)?$/.exec(a),b.path=a[0],b.directory=a[1],b.file=a[2],b.source="",b.getURI()},toRelative:function(a){var b,d=this;if("./"===a)return a;if(a=new c(a,{base_uri:d}),"mce_host"!=a.host&&d.host!=a.host&&a.host||d.port!=a.port||d.protocol!=a.protocol&&""!==a.protocol)return a.getURI();var e=d.getURI(),f=a.getURI();return e==f||"/"==e.charAt(e.length-1)&&e.substr(0,e.length-1)==f?e:(b=d.toRelPath(d.path,a.path),a.query&&(b+="?"+a.query),a.anchor&&(b+="#"+a.anchor),b)},toAbsolute:function(a,b){return a=new c(a,{base_uri:this}),a.getURI(b&&this.isSameOrigin(a))},isSameOrigin:function(a){if(this.host==a.host&&this.protocol==a.protocol){if(this.port==a.port)return!0;var b=g[this.protocol];if(b&&(this.port||b)==(a.port||b))return!0}return!1},toRelPath:function(a,b){var c,d,e,f=0,g="";if(a=a.substring(0,a.lastIndexOf("/")),a=a.split("/"),c=b.split("/"),a.length>=c.length)for(d=0,e=a.length;d=c.length||a[d]!=c[d]){f=d+1;break}if(a.length=a.length||a[d]!=c[d]){f=d+1;break}if(1===f)return b;for(d=0,e=a.length-(f-1);d=0;c--)0!==b[c].length&&"."!==b[c]&&(".."!==b[c]?g>0?g--:h.push(b[c]):g++);return c=a.length-g,f=c<=0?h.reverse().join("/"):a.slice(0,c).join("/")+"/"+h.reverse().join("/"),0!==f.indexOf("/")&&(f="/"+f),e&&f.lastIndexOf("/")!==f.length-1&&(f+=e),f},getURI:function(a){var b,c=this;return c.source&&!a||(b="",a||(b+=c.protocol?c.protocol+"://":"//",c.userInfo&&(b+=c.userInfo+"@"),c.host&&(b+=c.host),c.port&&(b+=":"+c.port)),c.path&&(b+=c.path),c.query&&(b+="?"+c.query),c.anchor&&(b+="#"+c.anchor),c.source=b),c.source}},c.parseDataUri=function(a){var b,c;return a=decodeURIComponent(a).split(","),c=/data:([^;]+)/.exec(a[0]),c&&(b=c[1]),{type:b,data:a[1]}},c.getDocumentBaseUrl=function(a){var b;return b=0!==a.protocol.indexOf("http")&&"file:"!==a.protocol?a.href:a.protocol+"//"+a.host+a.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(b)&&(b=b.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(b)||(b+="/")),b},c}),g("x",["9"],function(a){function b(){}var c,d,e=a.each,f=a.extend;return b.extend=c=function(a){function b(){var a,b,c,e=this;if(!d&&(e.init&&e.init.apply(e,arguments),b=e.Mixins))for(a=b.length;a--;)c=b[a],c.init&&c.init.apply(e,arguments)}function g(){return this}function h(a,b){return function(){var c,d=this,e=d._super;return d._super=m[a],c=b.apply(d,arguments),d._super=e,c}}var i,j,k,l=this,m=l.prototype;d=!0,i=new l,d=!1,a.Mixins&&(e(a.Mixins,function(b){for(var c in b)"init"!==c&&(a[c]=b[c])}),m.Mixins&&(a.Mixins=m.Mixins.concat(a.Mixins))),a.Methods&&e(a.Methods.split(","),function(b){a[b]=g}),a.Properties&&e(a.Properties.split(","),function(b){var c="_"+b;a[b]=function(a){var b,d=this;return a!==b?(d[c]=a,d):d[c]}}),a.Statics&&e(a.Statics,function(a,c){b[c]=a}),a.Defaults&&m.Defaults&&(a.Defaults=f({},m.Defaults,a.Defaults));for(j in a)k=a[j],"function"==typeof k&&m[j]?i[j]=h(j,k):i[j]=k;return b.prototype=i,b.constructor=b,b.extend=c,b},b}),g("y",["9"],function(a){function b(b){function c(){return!1}function d(){return!0}function e(a,e){var f,h,i,k;if(a=a.toLowerCase(),e=e||{},e.type=a,e.target||(e.target=j),e.preventDefault||(e.preventDefault=function(){e.isDefaultPrevented=d},e.stopPropagation=function(){e.isPropagationStopped=d},e.stopImmediatePropagation=function(){e.isImmediatePropagationStopped=d},e.isDefaultPrevented=c,e.isPropagationStopped=c,e.isImmediatePropagationStopped=c),b.beforeFire&&b.beforeFire(e),f=m[a])for(h=0,i=f.length;h0}function f(a,b){var c,g;if(a===b)return!0;if(null===a||null===b)return a===b;if("object"!=typeof a||"object"!=typeof b)return a===b;if(d.isArray(b)){if(a.length!==b.length)return!1;for(c=a.length;c--;)if(!f(a[c],b[c]))return!1}if(e(a)||e(b))return a===b;g={};for(c in b){if(!f(a[c],b[c]))return!1;g[c]=!0}for(c in a)if(!g[c]&&!f(a[c],b[c]))return!1;return!0}return b.extend({Mixins:[c],init:function(b){var c,d;b=b||{};for(c in b)d=b[c],d instanceof a&&(b[c]=d.create(this,c));this.data=b},set:function(b,c){var d,e,g=this.data[b];if(c instanceof a&&(c=c.create(this,b)),"object"==typeof b){for(d in b)this.set(d,b[d]);return this}return f(g,c)||(this.data[b]=c,e={target:this,name:b,value:c,oldValue:g},this.fire("change:"+b,e),this.fire("change",e)),this},get:function(a){return this.data[a]},has:function(a){return a in this.data},bind:function(b){return a.create(this,b)},destroy:function(){this.fire("destroy")}})}),g("27",["x"],function(a){"use strict";function b(a){for(var b,c=[],d=a.length;d--;)b=a[d],b.__checked||(c.push(b),b.__checked=1);for(d=c.length;d--;)delete c[d].__checked;return c}var c,d=/^([\w\\*]+)?(?:#([\w\-\\]+))?(?:\.([\w\\\.]+))?(?:\[\@?([\w\\]+)([\^\$\*!~]?=)([\w\\]+)\])?(?:\:(.+))?/i,e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,f=/^\s*|\s*$/g,g=a.extend({init:function(a){function b(a){if(a)return a=a.toLowerCase(),function(b){return"*"===a||b.type===a}}function c(a){if(a)return function(b){return b._name===a}}function g(a){if(a)return a=a.split("."),function(b){for(var c=a.length;c--;)if(!b.classes.contains(a[c]))return!1;return!0}}function h(a,b,c){if(a)return function(d){var e=d[a]?d[a]():"";return b?"="===b?e===c:"*="===b?e.indexOf(c)>=0:"~="===b?(" "+e+" ").indexOf(" "+c+" ")>=0:"!="===b?e!=c:"^="===b?0===e.indexOf(c):"$="===b&&e.substr(e.length-c.length)===c:!!c}}function i(a){var b;if(a)return a=/(?:not\((.+)\))|(.+)/i.exec(a),a[1]?(b=k(a[1],[]),function(a){return!l(a,b)}):(a=a[2],function(b,c,d){return"first"===a?0===c:"last"===a?c===d-1:"even"===a?c%2===0:"odd"===a?c%2===1:!!b[a]&&b[a]()})}function j(a,e,j){function k(a){a&&e.push(a)}var l;return l=d.exec(a.replace(f,"")),k(b(l[1])),k(c(l[2])),k(g(l[3])),k(h(l[4],l[5],l[6])),k(i(l[7])),e.pseudo=!!l[7],e.direct=j,e}function k(a,b){var c,d,f,g=[];do if(e.exec(""),d=e.exec(a),d&&(a=d[3],g.push(d[1]),d[2])){c=d[3];break}while(d);for(c&&k(c,b),a=[],f=0;f"!=g[f]&&a.push(j(g[f],[],">"===g[f-1]));return b.push(a),b}var l=this.match;this._selectors=k(a,[])},match:function(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o;for(b=b||this._selectors,c=0,d=b.length;c=0;e--)for(j=g[e];o;){if(j.pseudo)for(m=o.parent().items(),k=l=m.length;k--&&m[k]!==o;);for(h=0,i=j.length;h1&&(h=b(h))}return c||(c=g.Collection),new c(h)}});return g}),g("28",["9","27","x"],function(a,b,c){"use strict";var d,e,f=Array.prototype.push,g=Array.prototype.slice;return e={length:0,init:function(a){a&&this.add(a)},add:function(b){var c=this;return a.isArray(b)?f.apply(c,b):b instanceof d?c.add(b.toArray()):f.call(c,b),c},set:function(a){var b,c=this,d=c.length;for(c.length=0,c.add(a),b=c.length;b0&&(a+=" "),a+=this.prefix+this.cls[b];return a},c}),g("29",["5"],function(a){var b,c={};return{add:function(d){var e=d.parent();if(e){if(!e._layout||e._layout.isNative())return;c[e._id]||(c[e._id]=e),b||(b=!0,a.requestAnimationFrame(function(){var a,d;b=!1;for(a in c)d=c[a],d.state.get("rendered")&&d.reflow();c={}},document.body))}},remove:function(a){c[a._id]&&delete c[a._id]}}}),g("2a",["x","9","y","47","28","48","a","49","4a","29"],function(a,b,c,d,e,f,g,h,i,j){"use strict";function k(a){return a._eventDispatcher||(a._eventDispatcher=new c({scope:a,toggleEvent:function(b,d){d&&c.isNative(b)&&(a._nativeEvents||(a._nativeEvents={}),a._nativeEvents[b]=!0,a.state.get("rendered")&&l(a))}})),a._eventDispatcher}function l(a){function b(b){var c=a.getParentCtrl(b.target);c&&c.fire(b.type,b)}function c(){var a=j._lastHoverCtrl;a&&(a.fire("mouseleave",{target:a.getEl()}),a.parents().each(function(a){a.fire("mouseleave",{target:a.getEl()})}),j._lastHoverCtrl=null)}function d(b){var c,d,e,f=a.getParentCtrl(b.target),g=j._lastHoverCtrl,h=0;if(f!==g){if(j._lastHoverCtrl=f,d=f.parents().toArray().reverse(),d.push(f),g){for(e=g.parents().toArray().reverse(),e.push(g),h=0;h=h;c--)g=e[c],g.fire("mouseleave",{target:g.getEl()})}for(c=h;ci.maxW?i.maxW:c,i.w=c,i.innerW=c-d),c=a.h,c!==f&&(c=ci.maxH?i.maxH:c,i.h=c,i.innerH=c-e),c=a.innerW,c!==f&&(c=ci.maxW-d?i.maxW-d:c,i.innerW=c,i.w=c+d),c=a.innerH,c!==f&&(c=ci.maxH-e?i.maxH-e:c,i.innerH=c,i.h=c+e),a.contentW!==f&&(i.contentW=a.contentW),a.contentH!==f&&(i.contentH=a.contentH),b=h._lastLayoutRect,b.x===i.x&&b.y===i.y&&b.w===i.w&&b.h===i.h||(g=m.repaintControls,g&&g.map&&!g.map[h._id]&&(g.push(h),g.map[h._id]=!0),b.x=i.x,b.y=i.y,b.w=i.w,b.h=i.h),h):i},repaint:function(){var a,b,c,d,e,f,g,h,i,j,k=this;i=document.createRange?function(a){return a}:Math.round,a=k.getEl().style,d=k._layoutRect,h=k._lastRepaintRect||{},e=k.borderBox,f=e.left+e.right,g=e.top+e.bottom,d.x!==h.x&&(a.left=i(d.x)+"px",h.x=d.x),d.y!==h.y&&(a.top=i(d.y)+"px",h.y=d.y),d.w!==h.w&&(j=i(d.w-f),a.width=(j>=0?j:0)+"px",h.w=d.w),d.h!==h.h&&(j=i(d.h-g),a.height=(j>=0?j:0)+"px",h.h=d.h),k._hasBody&&d.innerW!==h.innerW&&(j=i(d.innerW),c=k.getEl("body"),c&&(b=c.style,b.width=(j>=0?j:0)+"px"),h.innerW=d.innerW),k._hasBody&&d.innerH!==h.innerH&&(j=i(d.innerH),c=c||k.getEl("body"),c&&(b=b||c.style,b.height=(j>=0?j:0)+"px"),h.innerH=d.innerH),k._lastRepaintRect=h,k.fire("repaint",{},!1)},updateLayoutRect:function(){var a=this;a.parent()._lastRect=null,f.css(a.getEl(),{width:"",height:""}),a._layoutRect=a._lastRepaintRect=a._lastLayoutRect=null,a.initLayoutRect()},on:function(a,b){function c(a){var b,c;return"string"!=typeof a?a:function(e){return b||d.parentsAndSelf().each(function(d){var e=d.settings.callbacks;if(e&&(b=e[a]))return c=d,!1}),b?b.call(c,e):(e.action=a,void this.fire("execute",e))}}var d=this;return k(d).on(a,c(b)),d},off:function(a,b){return k(this).off(a,b),this},fire:function(a,b,c){var d=this;if(b=b||{},b.control||(b.control=d),b=k(d).fire(a,b),c!==!1&&d.parent)for(var e=d.parent();e&&!b.isPropagationStopped();)e.fire(a,b,!1),e=e.parent();return b},hasEventListeners:function(a){return k(this).has(a)},parents:function(a){var b,c=this,d=new e;for(b=c.parent();b;b=b.parent())d.add(b);return a&&(d=d.filter(a)),d},parentsAndSelf:function(a){return new e(this).add(this.parents(a))},next:function(){var a=this.parent().items();return a[a.indexOf(this)+1]},prev:function(){var a=this.parent().items();return a[a.indexOf(this)-1]},innerHtml:function(a){return this.$el.html(a),this},getEl:function(a){var b=a?this._id+"-"+a:this._id;return this._elmCache[b]||(this._elmCache[b]=g("#"+b)[0]),this._elmCache[b]},show:function(){return this.visible(!0)},hide:function(){return this.visible(!1)},focus:function(){try{this.getEl().focus()}catch(a){}return this},blur:function(){return this.getEl().blur(),this},aria:function(a,b){var c=this,d=c.getEl(c.ariaTarget);return"undefined"==typeof b?c._aria[a]:(c._aria[a]=b,c.state.get("rendered")&&d.setAttribute("role"==a?a:"aria-"+a,b),c)},encode:function(a,b){return b!==!1&&(a=this.translate(a)),(a||"").replace(/[&<>"]/g,function(a){return""+a.charCodeAt(0)+";"})},translate:function(a){return m.translate?m.translate(a):a},before:function(a){var b=this,c=b.parent();return c&&c.insert(a,c.items().indexOf(b),!0),b},after:function(a){var b=this,c=b.parent();return c&&c.insert(a,c.items().indexOf(b)),b},remove:function(){var a,b,c=this,d=c.getEl(),e=c.parent();if(c.items){var f=c.items().toArray();for(b=f.length;b--;)f[b].remove()}e&&e.items&&(a=[],e.items().each(function(b){b!==c&&a.push(b)}),e.items().set(a),e._lastRect=null),c._eventsRoot&&c._eventsRoot==c&&g(d).off();var h=c.getRoot().controlIdLookup;return h&&delete h[c._id],d&&d.parentNode&&d.parentNode.removeChild(d),c.state.set("rendered",!1),c.state.destroy(),c.fire("remove"),c},renderBefore:function(a){return g(a).before(this.renderHtml()),this.postRender(),this},renderTo:function(a){return g(a||this.getContainerElm()).append(this.renderHtml()),this.postRender(),this},preRender:function(){},render:function(){},renderHtml:function(){return'
'},postRender:function(){var a,b,c,d,e,f=this,h=f.settings;f.$el=g(f.getEl()),f.state.set("rendered",!0);for(d in h)0===d.indexOf("on")&&f.on(d.substr(2),h[d]);if(f._eventsRoot){for(c=f.parent();!e&&c;c=c.parent())e=c._eventsRoot;if(e)for(d in e._nativeEvents)f._nativeEvents[d]=!0}l(f),h.style&&(a=f.getEl(),a&&(a.setAttribute("style",h.style),a.style.cssText=h.style)),f.settings.border&&(b=f.borderBox,f.$el.css({"border-top-width":b.top,"border-right-width":b.right,"border-bottom-width":b.bottom,"border-left-width":b.left}));var i=f.getRoot();i.controlIdLookup||(i.controlIdLookup={}),i.controlIdLookup[f._id]=f;for(var k in f._aria)f.aria(k,f._aria[k]);f.state.get("visible")===!1&&(f.getEl().style.display="none"),f.bindStates(),f.state.on("change:visible",function(a){var b,c=a.value;f.state.get("rendered")&&(f.getEl().style.display=c===!1?"none":"",f.getEl().getBoundingClientRect()),b=f.parent(),b&&(b._lastRect=null),f.fire(c?"show":"hide"),j.add(f)}),f.fire("postrender",{},!1)},bindStates:function(){},scrollIntoView:function(a){function b(a,b){var c,d,e=a;for(c=d=0;e&&e!=b&&e.nodeType;)c+=e.offsetLeft||0,d+=e.offsetTop||0,e=e.offsetParent;return{x:c,y:d}}var c,d,e,f,g,h,i=this.getEl(),j=i.parentNode,k=b(i,j);return c=k.x,d=k.y,e=i.offsetWidth,f=i.offsetHeight,g=j.clientWidth,h=j.clientHeight,"end"==a?(c-=g-e,d-=h-f):"center"==a&&(c-=g/2-e/2,d-=h/2-f/2),j.scrollLeft=c,j.scrollTop=d,this},getRoot:function(){for(var a,b=this,c=[];b;){if(b.rootControl){a=b.rootControl;break}c.push(b),a=b,b=b.parent()}a||(a=this);for(var d=c.length;d--;)c[d].rootControl=a;return a},reflow:function(){j.remove(this);var a=this.parent();return a&&a._layout&&!a._layout.isNative()&&a.reflow(),this}};return b.each("text title visible disabled active value".split(" "),function(a){r[a]=function(b){return 0===arguments.length?this.state.get(a):("undefined"!=typeof b&&this.state.set(a,b),this)}}),m=a.extend(r)}),g("2b",[],function(){"use strict";var a={};return{add:function(b,c){a[b.toLowerCase()]=c},has:function(b){return!!a[b.toLowerCase()]},create:function(b,c){var d;if("string"==typeof b?(c=c||{},c.type=b):(c=b,b=c.type),b=b.toLowerCase(),d=a[b],!d)throw new Error("Could not find control by type: "+b);return d=new d(c),d.type=b,d}}}),g("2c",[],function(){"use strict";var a=function(a){return!!a.getAttribute("data-mce-tabstop")};return function(b){function c(a){return a&&1===a.nodeType}function d(a){return a=a||u,c(a)?a.getAttribute("role"):null}function e(a){for(var b,c=a||u;c=c.parentNode;)if(b=d(c))return b}function f(a){var b=u;if(c(b))return b.getAttribute("aria-"+a)}function g(a){var b=a.tagName.toUpperCase();return"INPUT"==b||"TEXTAREA"==b||"SELECT"==b}function h(b){return!(!g(b)||b.hidden)||(!!a(b)||!!/^(button|menuitem|checkbox|tab|menuitemcheckbox|option|gridcell|slider)$/.test(d(b)))}function i(a){function b(a){if(1==a.nodeType&&"none"!=a.style.display&&!a.disabled){h(a)&&c.push(a);for(var d=0;d=b.length&&(a=0),b[a]&&b[a].focus(),a}function m(a,b){var c=-1,d=j();b=b||i(d.getEl());for(var e=0;e=0&&(c=b.getEl(),c&&c.parentNode.removeChild(c),c=a.getEl(),c&&c.parentNode.removeChild(c)),b.parent(this)},create:function(b){var c,e=this,g=[];return f.isArray(b)||(b=[b]),f.each(b,function(b){b&&(b instanceof a||("string"==typeof b&&(b={type:b}),c=f.extend({},e.settings.defaults,b),b.type=c.type=c.type||b.type||e.settings.defaultType||(c.defaults?c.defaults.type:null),b=d.create(c)),g.push(b))}),g},renderNew:function(){var a=this;return a.items().each(function(b,c){var d;b.parent(a),b.state.get("rendered")||(d=a.getEl("body"),d.hasChildNodes()&&c<=d.childNodes.length-1?g(d.childNodes[c]).before(b.renderHtml()):g(d).append(b.renderHtml()),b.postRender(),i.add(b))}),a._layout.applyClasses(a.items().filter(":visible")),a._lastRect=null,a},append:function(a){return this.add(a).renderNew()},prepend:function(a){var b=this;return b.items().set(b.create(a).concat(b.items().toArray())),b.renderNew()},insert:function(a,b,c){var d,e,f,g=this;return a=g.create(a),d=g.items(),!c&&b=0&&b'+(a.settings.html||"")+b.renderHtml(a)+"
"},postRender:function(){var a,b=this;return b.items().exec("postRender"),b._super(),b._layout.postRender(b),b.state.set("rendered",!0),b.settings.style&&b.$el.css(b.settings.style),b.settings.border&&(a=b.borderBox,b.$el.css({"border-top-width":a.top,"border-right-width":a.right,"border-bottom-width":a.bottom,"border-left-width":a.left})),b.parent()||(b.keyboardNav=new e({root:b})),b},initLayoutRect:function(){var a=this,b=a._super();return a._layout.recalc(a),b},recalc:function(){var a=this,b=a._layoutRect,c=a._lastRect;if(!c||c.w!=b.w||c.h!=b.h)return a._layout.recalc(a),b=a.layoutRect(),a._lastRect={x:b.x,y:b.y,w:b.w,h:b.h},!0},reflow:function(){var b;if(i.remove(this),this.visible()){for(a.repaintControls=[],a.repaintControls.map={},this.recalc(),b=a.repaintControls.length;b--;)a.repaintControls[b].repaint();"flow"!==this.settings.layout&&"stack"!==this.settings.layout&&this.repaint(),a.repaintControls=[]}return this}})}),g("2e",["a"],function(a){"use strict";function b(a){var b,c,d,e,f,g,h,i,j=Math.max;return b=a.documentElement,c=a.body,d=j(b.scrollWidth,c.scrollWidth),e=j(b.clientWidth,c.clientWidth),f=j(b.offsetWidth,c.offsetWidth),g=j(b.scrollHeight,c.scrollHeight),h=j(b.clientHeight,c.clientHeight),i=j(b.offsetHeight,c.offsetHeight),{width:d
").css({position:"absolute",top:0,left:0,width:p.width,height:p.height,zIndex:2147483647,opacity:1e-4,cursor:o}).appendTo(n.body),a(n).on("mousemove touchmove",k).on("mouseup touchend",j),e.start(d)},k=function(a){return c(a),a.button!==h?j(a):(a.deltaX=a.screenX-l,a.deltaY=a.screenY-m,a.preventDefault(),void e.drag(a))},j=function(b){c(b),a(n).off("mousemove touchmove",k).off("mouseup touchend",j),g.remove(),e.stop&&e.stop(b)},this.destroy=function(){a(f()).off()},a(f()).on("mousedown touchstart",i)}}),g("2f",["a","2e"],function(a,b){"use strict";return{init:function(){var a=this;a.on("repaint",a.renderScroll)},renderScroll:function(){function c(){function b(b,g,h,i,j,k){var l,m,n,o,p,q,r,s,t;if(m=e.getEl("scroll"+b)){if(s=g.toLowerCase(),t=h.toLowerCase(),a(e.getEl("absend")).css(s,e.layoutRect()[i]-1),!j)return void a(m).css("display","none");a(m).css("display","block"),l=e.getEl("body"),n=e.getEl("scroll"+b+"t"),o=l["client"+h]-2*f,o-=c&&d?m["client"+k]:0,p=l["scroll"+h],q=o/p,r={},r[s]=l["offset"+g]+f,r[t]=o,a(m).css(r),r={},r[s]=l["scroll"+g]*q,r[t]=o*q,a(n).css(r)}}var c,d,g;g=e.getEl("body"),c=g.scrollWidth>g.clientWidth,d=g.scrollHeight>g.clientHeight,b("h","Left","Width","contentW",c,"Height"),b("v","Top","Height","contentH",d,"Width")}function d(){function c(c,d,g,h,i){var j,k=e._id+"-scroll"+c,l=e.classPrefix;a(e.getEl()).append('
'),e.draghelper=new b(k+"t",{start:function(){j=e.getEl("body")["scroll"+d],a("#"+k).addClass(l+"active")},drag:function(a){var b,k,l,m,n=e.layoutRect();k=n.contentW>n.innerW,l=n.contentH>n.innerH,m=e.getEl("body")["client"+g]-2*f,m-=k&&l?e.getEl("scroll"+c)["client"+i]:0,b=m/e.getEl("body")["scroll"+g],e.getEl("body")["scroll"+d]=j+a["delta"+h]/b},stop:function(){a("#"+k).removeClass(l+"active")}})}e.classes.add("scroll"),c("v","Top","Height","Y","Width"),c("h","Left","Width","X","Height")}var e=this,f=2;e.settings.autoScroll&&(e._hasScroll||(e._hasScroll=!0,d(),e.on("wheel",function(a){var b=e.getEl("body");b.scrollLeft+=10*(a.deltaX||0),b.scrollTop+=10*a.deltaY,c()}),a(e.getEl("body")).on("scroll",c)),c())}}}),g("2g",["2d","2f"],function(a,b){"use strict";return a.extend({Defaults:{layout:"fit",containerCls:"panel"},Mixins:[b],renderHtml:function(){var a=this,b=a._layout,c=a.settings.html;return a.preRender(),b.preRender(a),"undefined"==typeof c?c='
'+b.renderHtml(a)+"
":("function"==typeof c&&(c=c.call(a)),a._hasBody=!1),'
'+(a._preBodyHtml||"")+c+"
"}})}),g("2h",["48"],function(a){"use strict";function b(b,c,d){var e,f,g,h,i,j,k,l,m,n;return m=a.getViewPort(),f=a.getPos(c),g=f.x,h=f.y,b.state.get("fixed")&&"static"==a.getRuntimeStyle(document.body,"position")&&(g-=m.x,h-=m.y),e=b.getEl(),n=a.getSize(e),i=n.width,j=n.height,n=a.getSize(c),k=n.width,l=n.height,d=(d||"").split(""),"b"===d[0]&&(h+=l),"r"===d[1]&&(g+=k),"c"===d[0]&&(h+=Math.round(l/2)),"c"===d[1]&&(g+=Math.round(k/2)),"b"===d[3]&&(h-=j),"r"===d[4]&&(g-=i),"c"===d[3]&&(h-=Math.round(j/2)),"c"===d[4]&&(g-=Math.round(i/2)),{x:g,y:h,w:i,h:j}}return{testMoveRel:function(c,d){for(var e=a.getViewPort(),f=0;f
0&&g.x+g.w0&&g.y+g.he.x&&g.x+g.we.y&&g.y+g.hb?(a=b-c,a<0?0:a):a}var e=this;if(e.settings.constrainToViewport){var f=a.getViewPort(window),g=e.layoutRect();b=d(b,f.w+f.x,g.w),c=d(c,f.h+f.y,g.h)}return e.state.get("rendered")?e.layoutRect({x:b,y:c}).repaint():(e.settings.x=b,e.settings.y=c),e.fire("move",{x:b,y:c}),e}}}),g("2i",["48"],function(a){"use strict";return{resizeToContent:function(){this._layoutRect.autoResize=!0,this._lastRect=null,this.reflow()},resizeTo:function(b,c){if(b<=1||c<=1){var d=a.getWindowSize();b=b<=1?b*d.w:b,c=c<=1?c*d.h:c}return this._layoutRect.autoResize=!1,this.layoutRect({minW:b,minH:c,w:b,h:c}).reflow()},resizeBy:function(a,b){var c=this,d=c.layoutRect();return c.resizeTo(d.w+a,d.h+b)}}}),g("2j",["2g","2h","2i","48","a","5"],function(a,b,c,d,e,f){"use strict";function g(a,b){for(;a;){if(a==b)return!0;a=a.parent()}}function h(a){for(var b=s.length;b--;){var c=s[b],d=c.getParentCtrl(a.target);if(c.settings.autohide){if(d&&(g(d,c)||c.parent()===d))continue;a=c.fire("autohide",{target:a.target}),a.isDefaultPrevented()||c.hide()}}}function i(){o||(o=function(a){2!=a.button&&h(a)},e(document).on("click touchstart",o))}function j(){p||(p=function(){var a;for(a=s.length;a--;)l(s[a])},e(window).on("scroll",p))}function k(){if(!q){var a=document.documentElement,b=a.clientWidth,c=a.clientHeight;q=function(){document.all&&b==a.clientWidth&&c==a.clientHeight||(b=a.clientWidth,c=a.clientHeight,u.hideAll())},e(window).on("resize",q)}}function l(a){function b(b,c){for(var d,e=0;ec&&(a.fixed(!1).layoutRect({y:a._autoFixY}).repaint(),b(!1,a._autoFixY-c)):(a._autoFixY=a.layoutRect().y,a._autoFixY ').appendTo(b.getContainerElm())),f.setTimeout(function(){c.addClass(d+"in"),e(b.getEl()).addClass(d+"in")}),r=!0),m(!0,b)}}),b.on("show",function(){b.parents().each(function(a){if(a.state.get("fixed"))return b.fixed(!0),!1})}),a.popover&&(b._preBodyHtml='
',b.classes.add("popover").add("bottom").add(b.isRtl()?"end":"start")),b.aria("label",a.ariaLabel),b.aria("labelledby",b._id),b.aria("describedby",b.describedBy||b._id+"-none")},fixed:function(a){var b=this;if(b.state.get("fixed")!=a){if(b.state.get("rendered")){var c=d.getViewPort();a?b.layoutRect().y-=c.y:b.layoutRect().y+=c.y}b.classes.toggle("fixed",a),b.state.set("fixed",a)}return b},show:function(){var a,b=this,c=b._super();for(a=s.length;a--&&s[a]!==b;);return a===-1&&s.push(b),c},hide:function(){return n(this),m(!1,this),this._super()},hideAll:function(){u.hideAll()},close:function(){var a=this;return a.fire("close").isDefaultPrevented()||(a.remove(),m(!1,a)),a},remove:function(){n(this),this._super()},postRender:function(){var a=this;return a.settings.bodyRole&&this.getEl("body").setAttribute("role",a.settings.bodyRole),a._super()}});return u.hideAll=function(){for(var a=s.length;a--;){var b=s[a];b&&b.settings.autohide&&(b.hide(),s.splice(a,1))}},u}),g("1y",["2j","2g","48","a","2e","49","6","5"],function(a,b,c,d,e,f,g,h){"use strict";function i(a){var b,c="width=device-width,initial-scale=1.0,user-scalable=0,minimum-scale=1.0,maximum-scale=1.0",e=d("meta[name=viewport]")[0];g.overrideViewPort!==!1&&(e||(e=document.createElement("meta"),e.setAttribute("name","viewport"),document.getElementsByTagName("head")[0].appendChild(e)),b=e.getAttribute("content"),b&&"undefined"!=typeof n&&(n=b),e.setAttribute("content",a?c:n))}function j(a,b){k()&&b===!1&&d([document.documentElement,document.body]).removeClass(a+"fullscreen")}function k(){for(var a=0;aa.w&&(d=a.x-Math.max(0,b/2),f.layoutRect({w:b,x:d}),e=!0)),g&&(g.layoutRect({w:f.layoutRect().innerW}).recalc(),b=g.layoutRect().minW+a.deltaW,b>a.w&&(d=a.x-Math.max(0,b-a.w),f.layoutRect({w:b,x:d}),e=!0)),e&&f.recalc()},initLayoutRect:function(){var a,b=this,d=b._super(),e=0;if(b.settings.title&&!b._fullscreen){a=b.getEl("head");var f=c.getSize(a);d.headerW=f.width,d.headerH=f.height,e+=d.headerH}b.statusbar&&(e+=b.statusbar.layoutRect().h),d.deltaH+=e,d.minH+=e,d.h+=e;var g=c.getWindowSize();return d.x=b.settings.x||Math.max(0,g.w/2-d.w/2),d.y=b.settings.y||Math.max(0,g.h/2-d.h/2),d},renderHtml:function(){var a=this,b=a._layout,c=a._id,d=a.classPrefix,e=a.settings,f="",g="",h=e.html;return a.preRender(),b.preRender(a),e.title&&(f=''),e.url&&(h=''),"undefined"==typeof h&&(h=b.renderHtml(a)),a.statusbar&&(g=a.statusbar.renderHtml()),'"},fullscreen:function(a){var b,e,g=this,i=document.documentElement,j=g.classPrefix;if(a!=g._fullscreen)if(d(window).on("resize",function(){var a;if(g._fullscreen)if(b)g._timer||(g._timer=h.setTimeout(function(){var a=c.getWindowSize();g.moveTo(0,0).resizeTo(a.w,a.h),g._timer=0},50));else{a=(new Date).getTime();var d=c.getWindowSize();g.moveTo(0,0).resizeTo(d.w,d.h),(new Date).getTime()-a>50&&(b=!0)}}),e=g.layoutRect(),g._fullscreen=a,a){g._initial={x:e.x,y:e.y,w:e.w,h:e.h},g.borderBox=f.parseBox("0"),g.getEl("head").style.display="none",e.deltaH-=e.headerH+2,d([i,document.body]).addClass(j+"fullscreen"),g.classes.add("fullscreen");var k=c.getWindowSize();g.moveTo(0,0).resizeTo(k.w,k.h)}else g.borderBox=f.parseBox(g.settings.border),g.getEl("head").style.display="",e.deltaH+=e.headerH,d([i,document.body]).removeClass(j+"fullscreen"),g.classes.remove("fullscreen"),g.moveTo(g._initial.x,g._initial.y).resizeTo(g._initial.w,g._initial.h);return g.reflow()},postRender:function(){var a,b=this;setTimeout(function(){b.classes.add("in"),b.fire("open")},0),b._super(),b.statusbar&&b.statusbar.postRender(),b.focus(),this.dragHelper=new e(b._id+"-dragh",{start:function(){a={x:b.layoutRect().x,y:b.layoutRect().y}},drag:function(c){b.moveTo(a.x+c.deltaX,a.y+c.deltaY)}}),b.on("submit",function(a){a.isDefaultPrevented()||b.close()}),m.push(b),i(!0)},submit:function(){return this.fire("submit",{data:this.toJSON()})},remove:function(){var a,b=this;for(b.dragHelper.destroy(),b._super(),b.statusbar&&this.statusbar.remove(),j(b.classPrefix,!1),a=m.length;a--;)m[a]===b&&m.splice(a,1);i(m.length>0)},getContentWindow:function(){var a=this.getEl().getElementsByTagName("iframe")[0];return a?a.contentWindow:null}});return l(),o}),g("1z",["1y"],function(a){"use strict";var b=a.extend({init:function(a){a={border:1,padding:20,layout:"flex",pack:"center",align:"center",containerCls:"panel",autoScroll:!0,buttons:{type:"button",text:"Ok",action:"ok"},items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200}},this._super(a)},Statics:{OK:1,OK_CANCEL:2,YES_NO:3,YES_NO_CANCEL:4,msgBox:function(c){function d(a,b,c){return{type:"button",text:a,subtype:c?"primary":"",onClick:function(a){a.control.parents()[1].close(),f(b)}}}var e,f=c.callback||function(){};switch(c.buttons){case b.OK_CANCEL:e=[d("Ok",!0,!0),d("Cancel",!1)];break;case b.YES_NO:case b.YES_NO_CANCEL:e=[d("Yes",1,!0),d("No",0)],c.buttons==b.YES_NO_CANCEL&&e.push(d("Cancel",-1));break;default:e=[d("Ok",!0,!0)]}return new a({padding:20,x:c.x,y:c.y,minWidth:300,minHeight:100,layout:"flex",pack:"center",align:"center",buttons:e,title:c.title,role:"alertdialog",items:{type:"label",multiline:!0,maxWidth:500,maxHeight:200,text:c.text},onPostRender:function(){this.aria("describedby",this.items()[0]._id)},onClose:c.onClose,onCancel:function(){f(!1)}}).renderTo(document.body).reflow()},alert:function(a,c){return"string"==typeof a&&(a={text:a}),a.callback=c,b.msgBox(a)},confirm:function(a,c){return"string"==typeof a&&(a={text:a}),a.callback=c,a.buttons=b.OK_CANCEL,b.msgBox(a)}}});return b}),g("10",["1y","1z"],function(a,b){return function(c){function d(){if(h.length)return h[h.length-1]}function e(a){c.fire("OpenWindow",{win:a})}function f(a){c.fire("CloseWindow",{win:a})}var g=this,h=[];g.windows=h,c.on("remove",function(){for(var a=h.length;a--;)h[a].close()}),g.open=function(b,d){var g;return c.editorManager.setActive(c),b.title=b.title||" ",b.url=b.url||b.file,b.url&&(b.width=parseInt(b.width||320,10),b.height=parseInt(b.height||240,10)),b.body&&(b.items={defaults:b.defaults,type:b.bodyType||"form",items:b.body,data:b.data,callbacks:b.commands}),b.url||b.buttons||(b.buttons=[{text:"Ok",subtype:"primary",onclick:function(){g.find("form")[0].submit()}},{text:"Cancel",onclick:function(){g.close()}}]),g=new a(b),h.push(g),g.on("close",function(){for(var a=h.length;a--;)h[a]===g&&h.splice(a,1);h.length||c.focus(),f(g)}),b.data&&g.on("postRender",function(){this.find("*").each(function(a){var c=a.name();c in b.data&&a.value(b.data[c])})}),g.features=b||{},g.params=d||{},1===h.length&&c.nodeChanged(),g=g.renderTo().reflow(),e(g),g},g.alert=function(a,d,g){var h;h=b.alert(a,function(){d?d.call(g||this):c.focus()}),h.on("close",function(){f(h)}),e(h)},g.confirm=function(a,c,d){var g;g=b.confirm(a,function(a){c.call(d||this,a)}),g.on("close",function(){f(g)}),e(g)},g.close=function(){d()&&d().close()},g.getParams=function(){return d()?d().params:null},g.setParams=function(a){d()&&(d().params=a)},g.getWindows=function(){return h}}}),g("2k",["2a","2h"],function(a,b){return a.extend({Mixins:[b],Defaults:{classes:"widget tooltip tooltip-n"},renderHtml:function(){var a=this,b=a.classPrefix;return'
'+a.encode(a.state.get("text"))+"
"},bindStates:function(){var a=this;return a.state.on("change:text",function(b){a.getEl().lastChild.innerHTML=a.encode(b.value)}),a._super()},repaint:function(){var a,b,c=this;a=c.getEl().style,b=c._layoutRect,a.left=b.x+"px",a.top=b.y+"px",a.zIndex=131070}})}),g("2l",["2a","2k"],function(a,b){"use strict";var c,d=a.extend({init:function(a){var b=this;b._super(a),a=b.settings,b.canFocus=!0,a.tooltip&&d.tooltips!==!1&&(b.on("mouseenter",function(c){var d=b.tooltip().moveTo(-65535);if(c.control==b){var e=d.text(a.tooltip).show().testMoveRel(b.getEl(),["bc-tc","bc-tl","bc-tr"]);d.classes.toggle("tooltip-n","bc-tc"==e),d.classes.toggle("tooltip-nw","bc-tl"==e),d.classes.toggle("tooltip-ne","bc-tr"==e),d.moveRel(b.getEl(),e)}else d.hide()}),b.on("mouseleave mousedown click",function(){b.tooltip().hide()})),b.aria("label",a.ariaLabel||a.tooltip)},tooltip:function(){return c||(c=new b({type:"tooltip"}),c.renderTo()),c},postRender:function(){var a=this,b=a.settings;a._super(),a.parent()||!b.width&&!b.height||(a.initLayoutRect(),a.repaint()),b.autofocus&&a.focus()},bindStates:function(){function a(a){c.aria("disabled",a),c.classes.toggle("disabled",a)}function b(a){c.aria("pressed",a),c.classes.toggle("active",a)}var c=this;return c.state.on("change:disabled",function(b){a(b.value)}),c.state.on("change:active",function(a){b(a.value)}),c.state.get("disabled")&&a(!0),c.state.get("active")&&b(!0),c._super()},remove:function(){this._super(),c&&(c.remove(),c=null)}});return d}),g("2m",["2l"],function(a){"use strict";return a.extend({Defaults:{value:0},init:function(a){var b=this;b._super(a),b.classes.add("progress"),b.settings.filter||(b.settings.filter=function(a){return Math.round(a)})},renderHtml:function(){var a=this,b=a._id,c=this.classPrefix;return''},postRender:function(){var a=this;return a._super(),a.value(a.settings.value),a},bindStates:function(){function a(a){a=b.settings.filter(a),b.getEl().lastChild.innerHTML=a+"%",b.getEl().firstChild.firstChild.style.width=a+"%"}var b=this;return b.state.on("change:value",function(b){a(b.value)}),a(b.state.get("value")),b._super()}})}),g("20",["2a","2h","2m","5"],function(a,b,c,d){return a.extend({Mixins:[b],Defaults:{classes:"widget notification"},init:function(a){var b=this;b._super(a),a.text&&b.text(a.text),a.icon&&(b.icon=a.icon),a.color&&(b.color=a.color),a.type&&b.classes.add("notification-"+a.type),a.timeout&&(a.timeout<0||a.timeout>0)&&!a.closeButton?b.closeButton=!1:(b.classes.add("has-close"),b.closeButton=!0),a.progressBar&&(b.progressBar=new c),b.on("click",function(a){a.target.className.indexOf(b.classPrefix+"close")!=-1&&b.close()})},renderHtml:function(){var a=this,b=a.classPrefix,c="",d="",e="",f="";return a.icon&&(c=' '),a.color&&(f=' style="background-color: '+a.color+'"'),a.closeButton&&(d='\xd7 '),a.progressBar&&(e=a.progressBar.renderHtml()),''+c+'
'+a.state.get("text")+"
"+e+d+"
"},postRender:function(){var a=this;return d.setTimeout(function(){a.$el.addClass(a.classPrefix+"in")}),a._super()},bindStates:function(){var a=this;return a.state.on("change:text",function(b){a.getEl().childNodes[1].innerHTML=b.value}),a.progressBar&&a.progressBar.bindStates(),a._super()},close:function(){var a=this;return a.fire("close").isDefaultPrevented()||a.remove(),a},repaint:function(){var a,b,c=this;a=c.getEl().style,b=c._layoutRect,a.left=b.x+"px",a.top=b.y+"px",a.zIndex=65534}})}),g("11",["20","5","9"],function(a,b,c){return function(d){function e(){if(m.length)return m[m.length-1]}function f(){b.requestAnimationFrame(function(){g(),h()})}function g(){for(var a=0;a0){var a=m.slice(0,1)[0],b=d.inline?d.getElement():d.getContentAreaContainer();if(a.moveRel(b,"tc-tc"),m.length>1)for(var c=1;c0&&(c.timer=setTimeout(function(){c.close()},b.timeout)),c.on("close",function(){var a=m.length;for(c.timer&&d.getWin().clearTimeout(c.timer);a--;)m[a]===c&&m.splice(a,1);h()}),c.renderTo(),h()):c=e,c}},l.close=function(){e()&&e().close()},l.getNotifications=function(){return m},d.on("SkinLoaded",function(){var a=d.settings.service_message;a&&d.notificationManager.open({text:a,type:"warning",timeout:0,icon:""})})}}),g("12",["z","e","9"],function(a,b,c){function d(a,b){return"selectionchange"==b?a.getDoc():!a.inline&&/^mouse|touch|click|contextmenu|drop|dragover|dragend/.test(b)?a.getDoc().documentElement:a.settings.event_root?(a.eventRoot||(a.eventRoot=g.select(a.settings.event_root)[0]),a.eventRoot):a.getBody()}function e(a,b){function c(a){return!a.hidden&&!a.readonly}var e,h=d(a,b);if(a.delegates||(a.delegates={}),!a.delegates[b])if(a.settings.event_root){if(f||(f={},a.editorManager.on("removeEditor",function(){var b;if(!a.editorManager.activeEditor&&f){for(b in f)a.dom.unbind(d(a,b));f=null}})),f[b])return;e=function(d){for(var e=d.target,f=a.editorManager.editors,h=f.length;h--;){var i=f[h].getBody();(i===e||g.isChildOf(e,i))&&c(f[h])&&f[h].fire(b,d)}},f[b]=e,g.bind(h,b,e)}else e=function(d){c(a)&&a.fire(b,d)},g.bind(h,b,e),a.delegates[b]=e}var f,g=b.DOM,h={bindPendingEventDelegates:function(){var a=this;c.each(a._pendingNativeEvents,function(b){e(a,b)})},toggleNativeEvent:function(a,b){var c=this;"focus"!=a&&"blur"!=a&&(b?c.initialized?e(c,a):c._pendingNativeEvents?c._pendingNativeEvents.push(a):c._pendingNativeEvents=[a]:c.initialized&&(c.dom.unbind(d(c,a),a,c.delegates[a]),delete c.delegates[a]))},unbindAllNativeEvents:function(){var a,b=this;if(b.delegates){for(a in b.delegates)b.dom.unbind(d(b,a),a,b.delegates[a]);delete b.delegates}b.inline||(b.getBody().onload=null,b.dom.unbind(b.getWin()),b.dom.unbind(b.getDoc())),b.dom.unbind(b.getBody()),b.dom.unbind(b.getContainer())}};return h=c.extend({},a,h)}),g("13",["9","6"],function(a,b){var c=a.each,d=a.explode,e={f9:120,f10:121,f11:122},f=a.makeMap("alt,ctrl,shift,meta,access");return function(g){function h(a){var g,h,i={};c(d(a,"+"),function(a){a in f?i[a]=!0:/^[0-9]{2,}$/.test(a)?i.keyCode=parseInt(a,10):(i.charCode=a.charCodeAt(0),i.keyCode=e[a]||a.toUpperCase().charCodeAt(0))}),g=[i.keyCode];for(h in f)i[h]?g.push(h):i[h]=!1;return i.id=g.join(","),i.access&&(i.alt=!0,b.mac?i.ctrl=!0:i.shift=!0),i.meta&&(b.mac?i.meta=!0:(i.ctrl=!0,i.meta=!1)),i}function i(b,c,e,f){var i;return i=a.map(d(b,">"),h),i[i.length-1]=a.extend(i[i.length-1],{func:e,scope:f||g}),a.extend(i[0],{desc:g.translate(c),subpatterns:i.slice(1)})}function j(a){return a.altKey||a.ctrlKey||a.metaKey}function k(a){return"keydown"===a.type&&a.keyCode>=112&&a.keyCode<=123}function l(a,b){return!!b&&(b.ctrl==a.ctrlKey&&b.meta==a.metaKey&&(b.alt==a.altKey&&b.shift==a.shiftKey&&(!!(a.keyCode==b.keyCode||a.charCode&&a.charCode==b.charCode)&&(a.preventDefault(),!0))))}function m(a){return a.func?a.func.call(a.scope):null}var n=this,o={},p=[];g.on("keyup keypress keydown",function(a){!j(a)&&!k(a)||a.isDefaultPrevented()||(c(o,function(b){if(l(a,b))return p=b.subpatterns.slice(0),"keydown"==a.type&&m(b),!0}),l(a,p[0])&&(1===p.length&&"keydown"==a.type&&m(p[0]),p.shift()))}),n.add=function(b,e,f,h){var j;return j=f,"string"==typeof f?f=function(){g.execCommand(j,!1,null)}:a.isArray(j)&&(f=function(){g.execCommand(j[0],j[1],j[2])}),c(d(a.trim(b.toLowerCase())),function(a){var b=i(a,e,f,h);o[b.id]=b}),!0},n.remove=function(a){var b=i(a);return!!o[b.id]&&(delete o[b.id],!0)}}}),h("4b",window),g("25",["g"],function(a){var b=a.PluginManager,c=function(a,c){for(var d in b.urls){var e=b.urls[d]+"/plugin"+c+".js";if(e===a)return d}return null},d=function(a,b){var d=c(b,a.suffix);return d?"Failed to load plugin: "+d+" from url "+b:"Failed to load plugin url: "+b},e=function(a,b){a.notificationManager.open({type:"error",text:b})},f=function(a,b){a._skinLoaded?e(a,b):a.on("SkinLoaded",function(){e(a,b)})},g=function(a,b){f(a,"Failed to upload image: "+b)},h=function(a,b){f(a,d(a,b))},i=function(a,b){f(a,"Failed to load content css: "+b[0])},j=function(a){var b=window.console;b&&!window.test&&(b.error?b.error.apply(b,arguments):b.log.apply(b,arguments))};return{pluginLoadError:h,uploadError:g,displayError:f,contentCssError:i,initError:j}}),g("5o",["3s","1k"],function(a,b){var c=function(a){return a.dom.select("*[data-mce-caret]")[0]},d=function(a){a.selection.setRng(a.selection.getRng())},e=function(a,c){c.hasAttribute("data-mce-caret")&&(b.showCaretContainerBlock(c),d(a),a.selection.scrollIntoView(c))},f=function(a,d){var f=c(a);if(f)return"compositionstart"===d.type?(d.preventDefault(),d.stopPropagation(),void e(f)):void(b.hasContent(f)&&e(a,f))},g=function(b){b.on("keyup compositionstart",a.curry(f,b))};return{setup:g}}),g("69",["4","9","1r"],function(a,b,c){return function(c,d){function e(a,b){return a?a.replace(/\/$/,"")+"/"+b.replace(/^\//,""):b}function f(a,b,c,f){var g,h;g=new XMLHttpRequest,g.open("POST",d.url),g.withCredentials=d.credentials,g.upload.onprogress=function(a){f(a.loaded/a.total*100)},g.onerror=function(){c("Image upload failed due to a XHR Transport error. Code: "+g.status)},g.onload=function(){var a;return 200!=g.status?void c("HTTP Error: "+g.status):(a=JSON.parse(g.responseText),a&&"string"==typeof a.location?void b(e(d.basePath,a.location)):void c("Invalid JSON: "+g.responseText))},h=new FormData,h.append("file",a.blob(),a.filename()),g.send(h)}function g(){return new a(function(a){a([])})}function h(a,b){return{url:b,blobInfo:a,status:!0}}function i(a,b){return{url:"",blobInfo:a,status:!1,error:b}}function j(a,c){b.each(p[a],function(a){a(c)}),delete p[a]}function k(b,d,e){return c.markPending(b.blobUri()),new a(function(a){var f,g,k=function(){};try{var l=function(){f&&(f.close(),g=k)},m=function(d){l(),c.markUploaded(b.blobUri(),d),j(b.blobUri(),h(b,d)),a(h(b,d))},n=function(d){l(),c.removeFailed(b.blobUri()),j(b.blobUri(),i(b,d)),a(i(b,d))};g=function(a){a<0||a>100||(f||(f=e()),f.progressBar.value(a))},d(b,m,n,g)}catch(c){a(i(b,c.message))}})}function l(a){return a===f}function m(b){var c=b.blobUri();return new a(function(a){p[c]=p[c]||[],p[c].push(a)})}function n(e,f){return e=b.grep(e,function(a){return!c.isUploaded(a.blobUri())}),a.all(b.map(e,function(a){return c.isPending(a.blobUri())?m(a):k(a,d.handler,f)}))}function o(a,b){return!d.url&&l(d.handler)?g():n(a,b)}var p={};return d=b.extend({credentials:!1,handler:f},d),{upload:o}}}),g("6u",["4"],function(a){function b(b){return new a(function(a,c){var d=function(){c("Cannot convert "+b+" to Blob. Resource might not exist or is inaccessible.")};try{var e=new XMLHttpRequest;e.open("GET",b,!0),e.responseType="blob",e.onload=function(){200==this.status?a(this.response):d()},e.onerror=d,e.send()}catch(a){d()}})}function c(a){var b,c;return a=decodeURIComponent(a).split(","),c=/data:([^;]+)/.exec(a[0]),c&&(b=c[1]),{type:b,data:a[1]}}function d(b){return new a(function(a){var d,e,f;b=c(b);try{d=atob(b.data)}catch(b){return void a(new Blob([]))}for(e=new Uint8Array(d.length),f=0;f0&&b.moveEnd("character",f),b.select()}catch(a){}a.nodeChanged()}}},c=function(c){c.settings.forced_root_block&&c.on("NodeChange",a.curry(b,c))};return{setup:c}}),g("73",["62","4i","4j"],function(a,b,c){var d=function(a,b){return b},e=function(b,c){var d=a.isObject(b)&&a.isObject(c);return d?g(b,c):c},f=function(a){return function(){for(var d=new b(arguments.length),e=0;e'},l=function(a,b){return a.nodeName===b||a.previousSibling&&a.previousSibling.nodeName===b},m=function(a,b){return b&&a.isBlock(b)&&!/^(TD|TH|CAPTION|FORM)$/.test(b.nodeName)&&!/^(fixed|absolute)/i.test(b.style.position)&&"true"!==a.getContentEditable(b)},n=function(a,b,c){var d;a.isBlock(c)&&(d=b.getRng(),c.appendChild(a.create("span",null,"\xa0")),b.select(c),c.lastChild.outerHTML="",b.setRng(d))},o=function(a,b,c){var d,e=c,f=[];if(e){for(;e=e.firstChild;){if(a.isBlock(e))return;1!=e.nodeType||b[e.nodeName.toLowerCase()]||f.push(e)}for(d=f.length;d--;)e=f[d],!e.hasChildNodes()||e.firstChild==e.lastChild&&""===e.firstChild.nodeValue?a.remove(e):i(e)&&a.remove(e)}},p=function(a,c,d){return b.isText(c)===!1?d:a?1===d&&c.data.charAt(d-1)===f.ZWSP?0:d:d===c.data.length-1&&c.data.charAt(d)===f.ZWSP?c.data.length:d},q=function(a){var b=a.cloneRange();return b.setStart(a.startContainer,p(!0,a.startContainer,a.startOffset)),b.setEnd(a.endContainer,p(!1,a.endContainer,a.endOffset)),b},r=function(a){for(;a;){if(1===a.nodeType||3===a.nodeType&&a.data&&/[\r\n\s]/.test(a.data))return a;a=a.nextSibling}},s=function(b){function f(f){function x(a){var b,c,f,h,j=a;if(a){if(e.ie&&e.ie<9&&N&&N.firstChild&&N.firstChild==N.lastChild&&"BR"==N.firstChild.tagName&&g.remove(N.firstChild),/^(LI|DT|DD)$/.test(a.nodeName)){var k=r(a.firstChild);k&&/^(UL|OL|DL)$/.test(k.nodeName)&&a.insertBefore(g.doc.createTextNode("\xa0"),a.firstChild)}if(f=g.createRng(),e.ie||a.normalize(),a.hasChildNodes()){for(b=new d(a,a);c=b.current();){if(3==c.nodeType){f.setStart(c,0),f.setEnd(c,0);break}if(w[c.nodeName.toLowerCase()]){f.setStartBefore(c),f.setEndBefore(c);break}j=c,c=b.next()}c||(f.setStart(j,0),f.setEnd(j,0))}else"BR"==a.nodeName?a.nextSibling&&g.isBlock(a.nextSibling)?((!O||O<9)&&(h=g.create("br"),a.parentNode.insertBefore(h,a)),f.setStartBefore(a),f.setEndBefore(a)):(f.setStartAfter(a),f.setEndAfter(a)):(f.setStart(a,0),f.setEnd(a,0));i.setRng(f),g.remove(h),i.scrollIntoView(a)}}function y(a){var b=s.forced_root_block;b&&b.toLowerCase()===a.tagName.toLowerCase()&&g.setAttribs(a,s.forced_root_block_attrs)}function z(a){var b,c,d,e=L,f=u.getTextInlineElements();if(a||"TABLE"==T||"HR"==T?(b=g.create(a||V),y(b)):b=N.cloneNode(!1),d=b,s.keep_styles===!1)g.setAttrib(b,"style",null),g.setAttrib(b,"class",null);else do if(f[e.nodeName]){if("_mce_caret"==e.id)continue;c=e.cloneNode(!1),g.setAttrib(c,"id",""),b.hasChildNodes()?(c.appendChild(b.firstChild),b.appendChild(c)):(d=c,b.appendChild(c))}while((e=e.parentNode)&&e!=K);return h||(d.innerHTML=' '),b}function A(a){var b,c,e,f;if(f=p(a,L,M),3==L.nodeType&&(a?f>0:fL.childNodes.length-1,L=L.childNodes[Math.min(M,L.childNodes.length-1)]||L,M=W&&3==L.nodeType?L.nodeValue.length:0),K=F(L)){if(t.beforeChange(),!g.isBlock(K)&&K!=g.getRoot())return void(V&&!P||D());if((V&&!P||!V&&P)&&(L=B(L,M)),N=g.getParent(L,g.isBlock),S=N?g.getParent(N.parentNode,g.isBlock):null,T=N?N.nodeName.toUpperCase():"",U=S?S.nodeName.toUpperCase():"","LI"!=U||f.ctrlKey||(N=S,T=U),b.undoManager.typing&&(b.undoManager.typing=!1,b.undoManager.add()),/^(LI|DT|DD)$/.test(T)){if(!V&&P)return void D();if(g.isEmpty(N))return void C()}if("PRE"==T&&s.br_in_pre!==!1){if(!P)return void D()}else if(!V&&!P&&"LI"!=T||V&&P)return void D();V&&N===b.getBody()||(V=V||"P",a.isCaretContainerBlock(N)?(Q=a.showCaretContainerBlock(N),g.isEmpty(N)&&k(N),x(Q)):A()?H():A(!0)?(Q=N.parentNode.insertBefore(z(),N),n(g,i,Q),x(l(N,"HR")?Q:N)):(J=q(I).cloneRange(),J.setEndAfter(N),R=J.extractContents(),E(R),Q=R.firstChild,g.insertAfter(R,N),o(g,v,Q),G(N),g.isEmpty(N)&&k(N),Q.normalize(),g.isEmpty(Q)?(g.remove(Q),H()):x(Q)),g.setAttrib(Q,"id",""),b.fire("NewBlock",{newBlock:Q}),t.typing=!1,t.add())}}}var g=b.dom,i=b.selection,s=b.settings,t=b.undoManager,u=b.schema,v=u.getNonEmptyElements(),w=u.getMoveCaretBeforeOnEnterElements();b.on("keydown",function(a){13==a.keyCode&&f(a)!==!1&&a.preventDefault()})};return{setup:s}}),g("6x",["3s","1n","1j","4z"],function(a,b,c,d){var e=function(a,b){return i(a)&&c.isText(b.container())},f=function(a,b){var c=b.container(),d=b.offset();c.insertData(d,"\xa0"),a.selection.setCursorLocation(c,d+1)},g=function(a,b,c){return!!e(c,b)&&(f(a,b),!0)},h=function(c){var e=b.fromRangeStart(c.selection.getRng()),f=d.readLocation(c.getBody(),e);return f.map(a.curry(g,c,e)).getOr(!1)},i=function(b){return b.fold(a.constant(!1),a.constant(!0),a.constant(!0),a.constant(!1))},j=function(a){return!!a.selection.isCollapsed()&&h(a)};return{insertAtSelection:j}}),g("6g",["3r","6x","6w","p"],function(a,b,c,d){var e=function(e,f){e.on("keydown",function(f){var g=c.match([{keyCode:d.SPACEBAR,action:c.action(b.insertAtSelection,e)}],f);a.find(g,function(a){return a.action()}).each(function(a){f.preventDefault()})})},f=function(a){e(a)};return{setup:f}}),g("5r",["6d","50","6e","6f","6g"],function(a,b,c,d,e){var f=function(f){var g=b.setupSelectedState(f);a.setup(f,g),c.setup(f,g),d.setup(f),e.setup(f)};return{setup:f}}),g("5s",["h","6","5"],function(a,b,c){return function(d){function e(a){var b,c;if(c=d.$(a).parentsUntil(d.getBody()).add(a),c.length===g.length){for(b=c.length;b>=0&&c[b]===g[b];b--);if(b===-1)return g=c,!0}return g=c,!1}var f,g=[];"onselectionchange"in d.getDoc()||d.on("NodeChange Click MouseUp KeyUp Focus",function(b){var c,e;c=d.selection.getRng(),e={startContainer:c.startContainer,startOffset:c.startOffset,endContainer:c.endContainer,endOffset:c.endOffset},"nodechange"!=b.type&&a.compareRanges(e,f)||d.fire("SelectionChange"),f=e}),d.on("contextmenu",function(){d.fire("SelectionChange")}),d.on("SelectionChange",function(){var a=d.selection.getStart(!0);!b.range&&d.selection.isCollapsed()||!e(a)&&d.dom.isChildOf(a,d.getBody())&&d.nodeChanged({selectionChange:!0})}),d.on("MouseUp",function(a){a.isDefaultPrevented()||("IMG"==d.selection.getNode().nodeName?c.setEditorTimeout(d,function(){d.nodeChanged()}):d.nodeChanged())}),this.nodeChanged=function(a){var b,c,e,f=d.selection;d.initialized&&f&&!d.settings.disable_nodechange&&!d.readonly&&(e=d.getBody(),b=f.getStart(!0)||e,b.ownerDocument==d.getDoc()&&d.dom.isChildOf(b,e)||(b=e),c=[],d.dom.getParent(b,function(a){return a===e||void c.push(a)}),a=a||{},a.element=b,a.parents=c,d.fire("NodeChange",a))}}}),g("6h",["1k","5l","1n","a","1j","h","3x","5"],function(a,b,c,d,e,f,g,h){var i=e.isContentEditableFalse;return function(c,e){function f(a,b){var d,e,f,h,i,j=g.collapse(a.getBoundingClientRect(),b);return"BODY"==c.tagName?(d=c.ownerDocument.documentElement,e=c.scrollLeft||d.scrollLeft,f=c.scrollTop||d.scrollTop):(i=c.getBoundingClientRect(),e=c.scrollLeft-i.left,f=c.scrollTop-i.top),j.left+=e,j.right+=e,j.top+=f,j.bottom+=f,j.width=1,h=a.offsetWidth-a.clientWidth,h>0&&(b&&(h*=-1),j.left+=h,j.right+=h),j}function j(){var b,e,f,g,h;for(b=d("*[contentEditable=false]",c),g=0;g ').css(h).appendTo(c),b&&q.addClass("mce-visual-caret-before"),m(),j=g.ownerDocument.createRange(),j.setStart(r,0),j.setEnd(r,0),j):(r=a.insertInline(g,b),j=g.ownerDocument.createRange(),i(r.nextSibling)?(j.setStart(r,0),j.setEnd(r,0)):(j.setStart(r,1),j.setEnd(r,1)),j)}function l(){j(),r&&(b.remove(r),r=null),q&&(q.remove(),q=null),clearInterval(p)}function m(){p=h.setInterval(function(){d("div.mce-visual-caret",c).toggleClass("mce-visual-caret-hidden")},500)}function n(){h.clearInterval(p)}function o(){return".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}"}var p,q,r;return{show:k,hide:l,getCss:o,destroy:n}}}),g("6y",["1g","1j","3x"],function(a,b,c){function d(e){function f(b){return a.map(b,function(a){return a=c.clone(a),a.node=e,a})}if(a.isArray(e))return a.reduce(e,function(a,b){return a.concat(d(b))},[]);if(b.isElement(e))return f(e.getClientRects());if(b.isText(e)){var g=e.ownerDocument.createRange();return g.setStart(e,0),g.setEnd(e,e.data.length),f(g.getClientRects())}}return{getClientRects:d}}),g("6i",["1r","1g","6y","3w","4v","44","1n","3x"],function(a,b,c,d,e,f,g,h){function i(a,b,c,f){for(;f=e.findNode(f,a,d.isEditableCaretCandidate,b);)if(c(f))return}function j(a,d,e,f,g,h){function j(f){var h,i,j;for(j=c.getClientRects(f),a==-1&&(j=j.reverse()),h=0;h