Update content of files

This commit is contained in:
GitHub Action 2023-06-15 13:28:02 +00:00
parent 91d49a64a5
commit adc46f795d
8 changed files with 38 additions and 23 deletions

View file

@ -23,7 +23,7 @@
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?236" rel="stylesheet">
<link href="/css/widget-frame.css?66" rel="stylesheet">
<link href="/css/promote.css?65" rel="stylesheet">
<link href="/css/promote.css?66" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -102,13 +102,13 @@
<script src="//telegram.org/js/bootstrap.min.js"></script>
<script src="//telegram.org/js/main-aj.js?68"></script>
<script src="/js/widget-frame.js?62"></script>
<script src="/js/promote.js?57"></script>
<script src="/js/promote.js?58"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?15"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?18"></script>
<script>ajInit({"version":859,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":861,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
Ads.init();

View file

@ -23,7 +23,7 @@
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?236" rel="stylesheet">
<link href="/css/widget-frame.css?66" rel="stylesheet">
<link href="/css/promote.css?65" rel="stylesheet">
<link href="/css/promote.css?66" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -102,13 +102,13 @@
<script src="//telegram.org/js/bootstrap.min.js"></script>
<script src="//telegram.org/js/main-aj.js?68"></script>
<script src="/js/widget-frame.js?62"></script>
<script src="/js/promote.js?57"></script>
<script src="/js/promote.js?58"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?15"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?18"></script>
<script>ajInit({"version":859,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":861,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
openPopup('#login-popup-container');
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});

View file

@ -23,7 +23,7 @@
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?236" rel="stylesheet">
<link href="/css/widget-frame.css?66" rel="stylesheet">
<link href="/css/promote.css?65" rel="stylesheet">
<link href="/css/promote.css?66" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -102,13 +102,13 @@
<script src="//telegram.org/js/bootstrap.min.js"></script>
<script src="//telegram.org/js/main-aj.js?68"></script>
<script src="/js/widget-frame.js?62"></script>
<script src="/js/promote.js?57"></script>
<script src="/js/promote.js?58"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?15"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?18"></script>
<script>ajInit({"version":859,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":861,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
Ads.init();

View file

@ -1869,18 +1869,23 @@ form > .form-group {
padding-top: 0;
}
.pr-budget-amount-wrap {
width: 220px;
padding: 12px 15px;
border-radius: 8px;
background: #f2f5f7;
text-align: center;
margin: 0 auto;
}
.pr-budget-form .pr-budget-amount-wrap {
width: 220px;
}
.pr-budget-amount-wrap .pr-budget-count {
font-size: 22px;
line-height: 33px;
padding: 0;
}
.pr-budget-count .amount-full.disabled {
opacity: 0.3;
}
.pr-budget-amount-wrap .pr-budget-label {
font-size: 13px;
line-height: 19px;
@ -1899,7 +1904,7 @@ form > .form-group {
.pr-budget-form {
flex-direction: row;
}
.pr-budget-amount-wrap {
.pr-budget-form .pr-budget-amount-wrap {
margin-left: 0;
margin-right: 30px;
}

View file

@ -24,7 +24,7 @@
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?236" rel="stylesheet">
<link href="/css/widget-frame.css?66" rel="stylesheet">
<link href="/css/promote.css?65" rel="stylesheet">
<link href="/css/promote.css?66" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -223,13 +223,13 @@
<script src="//telegram.org/js/bootstrap.min.js"></script>
<script src="//telegram.org/js/main-aj.js?68"></script>
<script src="/js/widget-frame.js?62"></script>
<script src="/js/promote.js?57"></script>
<script src="/js/promote.js?58"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?15"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?18"></script>
<script>ajInit({"version":859,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":861,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
Ads.init();

View file

@ -23,7 +23,7 @@
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?236" rel="stylesheet">
<link href="/css/widget-frame.css?66" rel="stylesheet">
<link href="/css/promote.css?65" rel="stylesheet">
<link href="/css/promote.css?66" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -220,13 +220,13 @@
<script src="//telegram.org/js/bootstrap.min.js"></script>
<script src="//telegram.org/js/main-aj.js?68"></script>
<script src="/js/widget-frame.js?62"></script>
<script src="/js/promote.js?57"></script>
<script src="/js/promote.js?58"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?15"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?18"></script>
<script>ajInit({"version":859,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":861,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
Ads.init();

View file

@ -2368,13 +2368,14 @@ var TransferFunds = {
state.amountField.on('keyup.curPage change.curPage input.curPage', TransferFunds.onAmountChange);
state.decrAmountField = state.$form.field('decr_amount');
state.decrAmountField.on('keyup.curPage change.curPage input.curPage', TransferFunds.onAmountChange);
state.curAmountField = state.$form.hasClass('decr') ? 'decr_amount' : 'amount';
Ads.initSelect(state.$form, 'account', {
items: Aj.state.accountItems || [],
noMultiSelect: true,
renderSelectedItem: function(val, item) {
return '<div class="selected-item' + (item.photo ? ' has-photo' : '') + '" data-val="' + cleanHTML(val.toString()) + '">' + (item.photo ? '<div class="selected-item-photo">' + item.photo + '</div>' : '') + '<span class="close"></span><div class="label">' + item.name + '</div></div>';
},
onChange: Account.onChannelChange
onChange: TransferFunds.onAccountChange
});
});
Aj.onUnload(function(state) {
@ -2387,11 +2388,20 @@ var TransferFunds = {
onToggleAmountSign: function(e) {
e.preventDefault();
Aj.state.$form.toggleClass('decr');
Aj.state.curAmountField = Aj.state.$form.hasClass('decr') ? 'decr_amount' : 'amount';
TransferFunds.onAmountChange();
Aj.state.$form.field(Aj.state.curAmountField).focusAndSelectAll();
},
onAccountChange: function(field, value, valueFull) {
if (valueFull.budget) {
$('.js-sel_account_budget', Aj.state.$form).removeClass('disabled').html(valueFull.budget);
} else {
$('.js-sel_account_budget', Aj.state.$form).addClass('disabled').html(Ads.wrapAmount(0));
}
},
onAmountChange: function() {
var decr = Aj.state.$form.hasClass('decr');
var amount = Ads.amountFieldValue(Aj.state.$form, decr ? 'decr_amount' : 'amount') || 0;
var decr = Aj.state.curAmountField == 'decr_amount';
var amount = Ads.amountFieldValue(Aj.state.$form, Aj.state.curAmountField) || 0;
if (amount) {
var button_label = l(decr ? 'WEB_WITHDRAW_AMOUNT_BUTTON' : 'WEB_TRANSFER_AMOUNT_BUTTON', {amount: Ads.wrapAmount(amount)});
} else {

View file

@ -24,7 +24,7 @@
<link href="//telegram.org/css/bootstrap-extra.css?2" rel="stylesheet">
<link href="/css/telegram.css?236" rel="stylesheet">
<link href="/css/widget-frame.css?66" rel="stylesheet">
<link href="/css/promote.css?65" rel="stylesheet">
<link href="/css/promote.css?66" rel="stylesheet">
<link href="/css/jquery-ui.min.css?1" rel="stylesheet">
<link href="/css/tchart.min.css?10" rel="stylesheet">
@ -155,13 +155,13 @@
<script src="//telegram.org/js/bootstrap.min.js"></script>
<script src="//telegram.org/js/main-aj.js?68"></script>
<script src="/js/widget-frame.js?62"></script>
<script src="/js/promote.js?57"></script>
<script src="/js/promote.js?58"></script>
<script src="/js/jquery-ui.min.js?1"></script>
<script src="/js/jquery-ex.js?15"></script>
<script src="/js/tchart.min.js?18"></script>
<script src="/js/health.js?18"></script>
<script>ajInit({"version":859,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":861,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script id="aj_script">l.add({"WEB_AB_WARNING_HEADER":"Turn off ad blocker","WEB_POPUP_CLOSE_BTN":"Close","WEB_AB_WARNING_TEXT":"You appear to be using an ad blocker that may prevent pages on the Telegram Ad Platform from working as expected.<br\/><br\/>Please turn off your ad blocker or add <a href=\"http:\/\/promote.telegram.org\/\">promote.telegram.org<\/a> as an exception to manage your promoted messages."});
window.enableInlineVideo&&$('video').each(function(){enableInlineVideo(this)});
Ads.init();