23012302str += inTwoColumnsHTML.close;2303str += inOneColumnHTML.close;23042305str += '</div>';23062307if (obj.code != '' && obj.code != null && post.disablecomments != 1) {2308str +=2309'<div class="t-feed__post-popup__content-wrapper">' +2310'<div class="t-feed__post-popup__content t-col t-col_8">' +2311'<div class="js-feed-comments t-feed__post-popup__comments">' +2312
'' + obj.code + '</div>' + '</div>' + '</div>'; } if (opts.popup_opts.showRelevants != '') { str += '<div class="js-feed-relevants t-feed__post-popup__relevants"></div>'; } str += '</div>'; if (typeof opts.arrowtop_opts != 'undefined' && opts.arrowtop_opts.isShow) { str += '' + t_feed_drawPostPopupArrowTop(opts); } str += '</div>'; return str;}function t_feed_addPostPopupHeading(opts, post, recid) { var str = ''; str += '' + t_feed_drawPostPopupDateAndParts('beforetitle', opts, post, recid); str += '' + t_feed_drawPostPopupTitle(opts, post); str += '' + t_feed_drawPostPopupDateAndParts('aftertitle', opts, post, recid); return str;}function t_feed_drawPostPopupDateAndParts(position, opts, post, recid) { var tags = ''; var style = opts.popup_opts.subtitleColor ? 'style="color:' + opts.popup_opts.subtitleColor + '"' : ''; post.postparts.forEach(function (item) { tags += '<a href="' + item.parturl + '" class="t-feed__post-popup__tag"><span class="t-uptitle t-uptitle_xs" ' + style + '>' + item.parttitle + '</span></a>'; }); var str = ''; if ((opts.popup_opts.datePos == position && post.date != '') || (opts.popup_opts.partsPos == position && post.postparts.length > 0)) { str += '<div class="t-feed__post-popup__date-parts-wrapper t-feed__post-popup__date-parts-wrapper_' + position + '">'; if (opts.popup_opts.datePos == position) { str += '' + t_feed_drawPostPopupDate(opts, post, recid); } if (opts.popup_opts.partsPos == position) { if (post.postparts.length > 0) { str += tags; } } str += '</div>'; } return str;}function t_feed_drawPostPopupCloseIcon(recid, opts) { var fillColor = opts.popup_opts.iconColor ? opts.popup_opts.iconColor : '#000000'; var str = ''; str += '<button type="button" class="js-feed-popup-close t-popup__close" aria-label="' + t_feed_getDictionary('closedialoglabel', recid) + '">' + '<div class="t-popup__close-wrapper">' + '<svg role="presentation" class="t-popup__close-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg">' + '<path d="M1 1L10 10L1 19" stroke="' + fillColor + '" stroke-width="2"/>' + '</svg>' + '</div>' + '</button>'; return str;}function t_feed_drawPopupTitle(obj, opts) { var title = opts.popup_opts.closeText ? opts.popup_opts.closeText : obj.feedtitle; var decodedtitle = String(title) .replace(/</g, '<') .replace(/>/g, '>') .replace(/"/g, '"') .replace(/&/g, '&'); var titleStyle = ''; if (opts.popup_opts.iconColor) { titleStyle = 'style="color:' + opts.popup_opts.iconColor + '"'; } var str = '<div class="js-feed-popup-close t-feed__post-popup__close-text-wrapper">' + '<div class="js-feed-popup-title t-feed__post-popup__close-text t-descr t-descr_xxs" ' + titleStyle + '>' + decodedtitle +