PageSourceSearch

https://vetacademy.online/nassets/25b314e/uploadifive-rewrite.js?v=1765633900

js vetacademy.online collected 2026-09-28 09:03:40 UTC 2,010 bytes, 51 lines download raw bytes

1;(function() {
2	var oUploadifive = jQuery.fn.uploadifive;
3
4	if ( window.file_upload_blocking  ) {
5        $.fn.uploadifive = function () {
6            if ($(this).parents('.gc-comment-form').length > 0) {
7                return oUploadifive.apply(this, arguments);
8            }
9
10            if (Number(window.storage_usage_percent) > 0) {
11				$(this).replaceWith($(
12					'<div class="full-storage-info" style="color: red">'
13					+ Yii.t('common', 'Хранилище заполнено на {percent}%', {percent: window.storage_usage_percent})
14					+ '<br/>'
15					+ Yii.t('common', 'Чтобы загружать файлы нужно') + ' '
16					+ '<a target="_blank" style="font-weight: bold; color: red;text-decoration: underline" href="/saas/account/show?files=1">'
17					+ Yii.t('common', 'увеличить объем хранилища')
18					+ '</a>'
19					+ '</div>'
20				));
21            } else {
22                $(this).replaceWith($("<div class='margin-top-10 text-muted'>" + Yii.t('common', 'Загрузка файлов невозможна — закончилось место в файловом хранилище') + "</div>"));
23            }
24        }
25	}
26	else {
27		if ( window.storage_usage_percent > 75 ) {
28			$.fn.uploadifive = function () {
29				if ( $(this).parents('.gc-comment-form').length > 0 ) {
30					return oUploadifive.apply(this,arguments);
31				}
32
33				if (!window.enabledTariffsPage) {
34					$(
35						'<div class="full-storage-info" style="color: orangered">'
36						+ Yii.t('common', 'Хранилище заполнено на {percent}%', {percent: window.storage_usage_percent})
37						+ '<br/>'
38						+ Yii.t('common', 'Рекомендуем') + ' '
39						+ '<a target="_blank" style="color: orangered;text-decoration: underline" href="/saas/account/show?files=1">'
40						+ Yii.t('common', 'увеличить объем хранилища')
41						+ '</a>'
42						+ '</div>'
43					).appendTo($(this).parent());
44				}
45
46				oUploadifive.apply(this,arguments);
47			}
48
49		}
50	}
51})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.