Update content of files

This commit is contained in:
GitHub Action 2023-06-14 20:27:01 +00:00
parent 91a1e58c02
commit 91d49a64a5
8 changed files with 207 additions and 42 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?64" rel="stylesheet">
<link href="/css/promote.css?65" 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?56"></script>
<script src="/js/promote.js?57"></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":857,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":859,"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?64" rel="stylesheet">
<link href="/css/promote.css?65" 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?56"></script>
<script src="/js/promote.js?57"></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":857,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":859,"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?64" rel="stylesheet">
<link href="/css/promote.css?65" 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?56"></script>
<script src="/js/promote.js?57"></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":857,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":859,"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

@ -807,6 +807,7 @@ a:hover img.emoji {
}
.pr-dropdown-wrap.with-icons ul.dropdown-menu > li > .pr-dropdown-item {
padding-left: 50px;
padding-right: 25px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@ -1334,8 +1335,8 @@ input.pr-form-control:focus {
color: #fff;
}
.pr-form-select .pr-placeholder-label + .select .selected-item {
margin-top: 4px;
margin-bottom: 2px;
margin-top: 3px;
margin-bottom: 1px;
}
.pr-form-select.exclude-select .select .selected-item {
background-color: #D75959;
@ -1388,7 +1389,8 @@ input.pr-form-control:focus {
.pr-form-select .select.select-disabled .pr-form-control[data-placeholder-disabled]:before {
content: attr(data-placeholder-disabled);
}
.form-label > .pr-form-label-hint {
.form-label > .pr-form-label-hint,
.pr-hinted-cell > .pr-cell-hint {
display: inline-block;
vertical-align: top;
position: relative;
@ -1396,7 +1398,12 @@ input.pr-form-control:focus {
border-radius: 9px;
cursor: pointer;
}
.form-label > .pr-form-label-hint:before {
.pr-hinted-cell > .pr-cell-hint {
margin: -2px 1px;
white-space: normal;
}
.form-label > .pr-form-label-hint:before,
.pr-hinted-cell > .pr-cell-hint:before {
content: '';
display: inline-block;
vertical-align: top;
@ -1434,6 +1441,7 @@ input.pr-form-control:focus {
pointer-events: none;
opacity: 0;
}
.pr-cell-hint-tooltip,
.pr-form-label-hint-tooltip,
.pr-form-control-hint-tooltip {
font-size: 13px;
@ -1446,6 +1454,7 @@ input.pr-form-control:focus {
width: max-content;
max-width: 300px;
max-width: min(350px, calc(100vw - 30px));
min-width: 60px;
right: -8px;
bottom: 100%;
z-index: 1;
@ -1456,6 +1465,11 @@ input.pr-form-control:focus {
visibility: hidden;
opacity: 0;
}
.pr-cell-hint-tooltip {
right: -15px;
margin-bottom: 7px;
text-align: left;
}
.pr-form-control-photo-wrap .pr-form-control-hint-tooltip {
right: -4px;
}
@ -1465,11 +1479,13 @@ input.pr-form-control:focus {
margin-bottom: 7px;
}
.form-label > .show-hint .pr-form-label-hint-tooltip,
.pr-hinted-cell > .show-hint .pr-cell-hint-tooltip,
.pr-form-control-wrap > .show-hint .pr-form-control-hint-tooltip {
transform: translateY(0px);
visibility: visible;
opacity: 1;
}
.pr-cell-hint-tooltip > .bubble,
.pr-form-label-hint-tooltip > .bubble,
.pr-form-control-hint-tooltip > .bubble {
position: absolute;
@ -1480,6 +1496,7 @@ input.pr-form-control:focus {
opacity: 0.85;
z-index: -1;
}
.pr-cell-hint-tooltip > .bubble:after,
.pr-form-label-hint-tooltip > .bubble:after,
.pr-form-control-hint-tooltip > .bubble:after {
content: '';
@ -1839,6 +1856,35 @@ form > .form-group {
padding-right: 0;
}
.pr-budget-form {
display: flex;
flex-direction: column;
}
.pr-budget-form .pr-form,
.pr-budget-form .pr-info-block {
max-width: 100%;
align-self: center;
}
.pr-budget-form + .pr-form {
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-amount-wrap .pr-budget-count {
font-size: 22px;
line-height: 33px;
padding: 0;
}
.pr-budget-amount-wrap .pr-budget-label {
font-size: 13px;
line-height: 19px;
}
.pr-popup-edit-form {
margin: 0 -9px;
}
@ -1849,6 +1895,24 @@ form > .form-group {
padding: 8px 0;
margin: 0;
}
@media (min-width: 992px) {
.pr-budget-form {
flex-direction: row;
}
.pr-budget-amount-wrap {
margin-left: 0;
margin-right: 30px;
}
.pr-budget-form {
padding: 25px 0 20px;
}
.pr-budget-form .pr-form {
padding: 0;
}
.pr-budget-form .pr-info-block {
margin: 0;
}
}
.add-funds-form .decr-group,
.add-funds-form.decr .incr-group {
@ -2586,15 +2650,15 @@ fieldset.pr-form-control-wrap .checkbox-item-block {
}
/*.pr-table > tbody > tr:nth-child(even) > td,
.pr-table > tbody > tr:nth-child(even) > th {
background-color: #f0f3f5;
background-color: #f2f5f7;
}
.pr-table > thead + tbody > tr:nth-child(odd) > td,
.pr-table > thead + tbody > tr:nth-child(odd) > th {
background-color: #f0f3f5;
background-color: #f2f5f7;
}*/
.pr-table > tbody > tr:nth-child(odd) > td,
.pr-table > tbody > tr:nth-child(odd) > th {
background-color: #f0f3f5;
background-color: #f2f5f7;
}
/*.pr-table > thead + tbody > tr:nth-child(even) > td,
.pr-table > thead + tbody > tr:nth-child(even) > th,*/
@ -2691,6 +2755,9 @@ body.rtl .pr-sort-marker {
text-overflow: ellipsis;
overflow: hidden;
}
.pr-hinted-cell {
white-space: nowrap;
}
thead > tr > th > .pr-cell,
thead > tr > td > .pr-cell {
padding: 1px 0 0;
@ -2704,7 +2771,8 @@ tbody > tr > td > .pr-cell {
min-width: 180px;
white-space: normal;
}
.pr-cell .pr-link {
.pr-cell .pr-link,
.pr-header-auth .pr-link {
color: inherit;
}
.pr-cell-empty .pr-cell,
@ -2753,7 +2821,7 @@ tbody > tr > td > .pr-cell {
width: 18px;
height: 18px;
position: absolute;
left: 0;
left: -1px;
top: 0;
bottom: 0;
margin: auto 0;
@ -3233,7 +3301,7 @@ body.rtl .pr-review-ad-buttons .btn.dropdown-toggle:after {
}
.pr-page-tabs .pr-link-btn {
line-height: 16px;
margin: 7px 12px;
margin: 6px 14px 5px;
}
.pr-page-tabs + .pr-form {
padding-top: 16px;
@ -3247,6 +3315,9 @@ body.rtl .pr-review-ad-buttons .btn.dropdown-toggle:after {
margin-top: 0;
}
}
.pr-page-tabs .pr-links .pr-link-btn {
font-weight: normal;
}
.pr-tabs > li+li {
margin-left: 4px;
}
@ -3285,7 +3356,7 @@ body.rtl .pr-review-ad-buttons .btn.dropdown-toggle:after {
margin: 0 15px;
}
.pr-decline-block {
margin: 30px 15px -10px;
margin: 25px 13px 0px;
}
.pr-info-block:before,
.pr-decline-block:before {
@ -3419,7 +3490,7 @@ a.pr-popup-account:hover {
line-height: 22px;
font-weight: 600;
-webkit-font-smoothing: antialiased;
padding: 10px 15px;
padding: 10px 13px;
margin: 0;
}
.pr-page-header-wrap > .pr-page-header {
@ -3478,7 +3549,7 @@ a.pr-popup-account:hover {
font-size: 23px;
line-height: 27px;
font-weight: 500;
padding: 0 15px;
padding: 0 13px;
}
.amount-sign {
@ -3488,6 +3559,9 @@ a.pr-popup-account:hover {
position: relative;
top: -1px;
}
.amount-full .amount-frac {
font-size: 80%;
}
.pr-table .amount-sign {
font-weight: 600;
-webkit-font-smoothing: antialiased;
@ -3723,6 +3797,11 @@ a.pr-popup-account:hover {
.pr-layer-popup .checkbox-item-block {
margin: 10px 0;
}
.pr-layer-popup .pr-popup-edit-form .radio-item-block,
.pr-layer-popup .pr-popup-edit-form .checkbox-item-block {
margin-left: 9px;
margin-right: 9px;
}
.pr-layer-edit-title,
.pr-layer-edit-cpm,
.pr-layer-edit-budget {

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?64" rel="stylesheet">
<link href="/css/promote.css?65" 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?56"></script>
<script src="/js/promote.js?57"></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":857,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":859,"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?64" rel="stylesheet">
<link href="/css/promote.css?65" 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?56"></script>
<script src="/js/promote.js?57"></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":857,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":859,"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

@ -32,6 +32,8 @@ var Ads = {
return amount_str;
}
var currency = l('WEB_ADS_DEF_CURRENCY_SIGN', '€');
var parts = amount_str.split('.');
amount_str = parts[0] + (parts[1].length ? '<span class="amount-frac">.' + parts[1] + '</span>' : '');
return '<span class="amount-currency">' + currency + '</span>' + amount_str;
},
amountFieldValue: function($form, field) {
@ -231,6 +233,7 @@ var Ads = {
$fileName.attr('data-filename', '');
$input.removeClass('selected');
}
Ads.hideFieldError($field);
},
eFileReset: function(e) {
var $input = $(this).parents('.upload-input');
@ -239,6 +242,7 @@ var Ads = {
$field.data('file', null).val('');
$fileName.attr('data-filename', '');
$input.removeClass('selected');
Ads.hideFieldError($field);
},
showHint: function($hint, delay, hide_delay) {
hide_delay = hide_delay || 0;
@ -317,7 +321,7 @@ var Ads = {
var $selectInput = $('.input', $selectEl);
options = options || {};
$selectEl.data('selOpts', options);
Aj.onLoad(function(state) {
var onload = function(state) {
var cachedData;
$selectEl.initSelect({
multiSelect: !options.noMultiSelect,
@ -367,10 +371,17 @@ var Ads = {
}
});
Ads.updateField($selectInput);
});
Aj.onUnload(function(state) {
};
var onunload = function(state) {
$selectEl.destroySelect();
});
};
if (options.insideLayer) {
Aj.onLayerLoad(onload);
Aj.onLayerUnload(onunload);
} else {
Aj.onLoad(onload);
Aj.onUnload(onunload);
}
},
getSelectItems: function(method, need_fields) {
var _data = Aj.globalState.adsList;
@ -2459,9 +2470,13 @@ var Audiences = {
state.$searchResults = $('.pr-table tbody');
Ads.fieldInit(state.$searchField);
cont.on('click.curPage', '.pr-cell-sort', Audiences.eSortList);
cont.on('click.curPage', '.js-create-audience-ad-btn', Audiences.createAudienceAd);
cont.on('click.curPage', '.delete-audience-btn', Audiences.deleteAudience);
state.$searchResults.on('mouseover mouseout click', '.js-hint-tooltip', Ads.eHintEvent);
$(document).on('touchstart click', Ads.eHideAllHints);
var listInited = false;
state.listInited = false;
state.needUpdateState = false;
state.$searchField.initSearch({
$results: state.$searchResults,
emptyQueryEnabled: true,
@ -2472,23 +2487,30 @@ var Audiences = {
return false;
},
renderItem: function(item, query) {
return '<td><div class="pr-cell pr-cell-title">' + item.title + '</div></td><td><div class="pr-cell">' + Ads.formatTableDate(item.date) + '</div></td><td><div class="pr-cell">' + item.used + '</div></td><td><div class="pr-cell">' + item.users + '</div></td><td><div class="pr-actions-cell">' + Aj.state.audienceDropdownTpl.replace(/{audience_id}/g, item.audience_id) + '</div></td>';
return '<td><div class="pr-cell pr-cell-title">' + item.title + '</div></td><td><div class="pr-cell">' + Ads.formatTableDate(item.date) + '</div></td><td><div class="pr-cell">' + item.used + '</div></td><td><div class="pr-hinted-cell">' + item.users + (item.processing_hint ? '<span class="pr-cell-hint js-hint-tooltip"><div class="pr-cell-hint-tooltip"><div class="bubble"></div>' + item.processing_hint + '</div></span>' : '') + '</div></td><td><div class="pr-actions-cell">' + (item.need_update ? '' : Aj.state.audienceDropdownTpl.replace(/{audience_id}/g, item.audience_id)) + '</div></td>';
},
getData: function() {
if (!listInited) {
listInited = true;
if (!state.listInited) {
state.listInited = true;
var items = Aj.state.audiencesList;
for (var i = 0; i < items.length; i++) {
var item = items[i];
item.base_url = '/account/audience/' + item.audience_id;
item._values = [item.title.toLowerCase()];
if (item.need_update) {
state.needUpdateState = true;
}
}
Audiences.updateAudiencesState();
}
return Aj.state.audiencesList;
}
});
});
Aj.onUnload(function(state) {
state.$searchResults.off('mouseover mouseout click', '.js-hint-tooltip', Ads.eHintEvent);
$(document).off('touchstart click', Ads.eHideAllHints);
clearTimeout(Aj.state.updateStateTo);
Ads.fieldDestroy(state.$searchField);
state.$searchField.destroySearch();
});
@ -2523,7 +2545,30 @@ var Audiences = {
});
}
},
updateAudience: function(audience) {
updateAudiencesState: function() {
if (!Aj.state || !Aj.state.audiencesList || !Aj.state.needUpdateState) {
return;
}
Aj.state.needUpdateState = false;
Aj.state.updateStateTo = setTimeout(function() {
Aj.apiRequest('updateAudiencesState', {
owner_id: Aj.state.ownerId
}, function(result) {
if (result.error) {
return showAlert(result.error);
}
if (result.audiences) {
for (var i = 0; i < result.audiences.length; i++) {
Audiences.updateAudience(result.audiences[i], true);
}
Audiences.updateAudiencesList();
Aj.state.$searchField.trigger('contentchange');
Audiences.updateAudiencesState();
}
});
}, 400);
},
updateAudience: function(audience, no_update) {
if (!Aj.state || !Aj.state.audiencesList) {
return;
}
@ -2534,8 +2579,14 @@ var Audiences = {
audience.base_url = '/account/audience/' + audience.audience_id;
audience._values = [audience.title.toLowerCase()];
audiencesList[i] = audience;
Audiences.updateAudiencesList();
Aj.state.$searchField.trigger('contentchange');
if (audience.need_update) {
Aj.state.needUpdateState = true;
}
if (!no_update) {
Audiences.updateAudiencesList();
Aj.state.$searchField.trigger('contentchange');
Audiences.updateAudiencesState();
}
return;
}
}
@ -2750,6 +2801,41 @@ var Audiences = {
});
return false;
},
createAudienceAd: function(e) {
e.preventDefault();
var $button = $(this);
if ($button.prop('disabled')) {
return false;
}
var $item = $button.parents('li');
var audience_id = Aj.state.audienceId;
if ($item.size()) {
$item.parents('.open').find('.dropdown-toggle').dropdown('toggle');
audience_id = $(this).parents('[data-audience-id]').attr('data-audience-id');
}
var params = {
owner_id: Aj.state.ownerId,
audience_id: audience_id
};
var onSuccess = function(result) {
$button.prop('disabled', false);
if (result.error) {
return showAlert(result.error);
}
if (result.confirm_text && result.confirm_hash) {
showConfirm(result.confirm_text, function() {
params.confirm_hash = result.confirm_hash;
$button.prop('disabled', true);
Aj.apiRequest('createDraftFromAudience', params, onSuccess);
}, result.confirm_btn);
} else if (result.redirect_to) {
Aj.location(result.redirect_to);
}
};
$button.prop('disabled', true);
Aj.apiRequest('createDraftFromAudience', params, onSuccess);
return false;
},
deletePopup: function (confirm_text, onConfirm) {
var $confirm = $('<div class="popup-container hide alert-popup-container"><section class="pr-layer-popup pr-layer-delete-ad popup-no-close"><h3 class="pr-layer-header">' + l('WEB_DELETE_AUDIENCE_CONFIRM_HEADER') + '</h3><p class="pr-layer-text"></p><div class="popup-buttons"><div class="popup-button popup-cancel-btn">' + l('WEB_POPUP_CANCEL_BTN') + '</div><div class="popup-button popup-primary-btn">' + l('WEB_DELETE_AUDIENCE_CONFIRM_BUTTON') + '</div></div></section></div>');
var confirm = function() {

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?64" rel="stylesheet">
<link href="/css/promote.css?65" 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?56"></script>
<script src="/js/promote.js?57"></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":857,"apiUrl":"\/api?hash=telegram-crawler","unauth":true});</script>
<script>ajInit({"version":859,"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();