PageSourceSearch

https://earth-chronicles.ru/.s/src/bottomInfo.min.js

js earth-chronicles.ru collected 2026-09-24 18:55:02 UTC 3,691 bytes, 1 lines download raw bytes

1String.prototype.simpleTemplate=function(t){return this.replace(/\{\{([^\}]*?)\}\}/g,(function(o,e){return t&&t[e]||""}))},function(window,document){if(window.uBottomInfo)return window.uBottomInfo;const BANNER_FOR_SCHOOL_SITES_ID="bannerForSchoolSites";var uBottomInfo=function(){function _dismissLinkClick(t){return this.classList.contains("bottom-info-button-agree")&&(_showModal(this.dataset.modal)||_saveUserPreference(this.dataset.ckey)),_removeBlock(this.parentElement.parentElement),t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0,!1}function _showModal(modal){modal&&eval(modal)}function _showBottomWrapper(){_removeBlock(window.bottomInfoBar);const t=createContainerElement(),o=_getBottomWrapperContent();o&&(document.body.insertAdjacentElement("beforeend",t),t.insertAdjacentHTML("beforeend",o),uCoz.bottomInfoData.filter((({id:t})=>t!==BANNER_FOR_SCHOOL_SITES_ID)).map((function(t){window[t.id]&&(window[t.id+"Agree"].onclick=_dismissLinkClick),window[t.id]&&(window[t.id+"Hide"].onclick=_dismissLinkClick)})))}function _getBottomWrapperContent(){return window.uCoz.bottomInfoData&&uCoz.bottomInfoData.map((function(t){return t.id===BANNER_FOR_SCHOOL_SITES_ID?getBannerForSchoolSiteHTML(t):'<div id={{id}} class="bottom-info-block {{class}}">\n\t\t\t\t\t\t<span class="bottom-info-block-content">{{message}}</span>\n\t\t\t\t\t\t<div class="bottom-info-block-action">\n\t\t\t\t\t\t\t<a href=javascript:; id={{id}}Agree class="bottom-info-button-agree " data-modal="{{modal}}" data-ckey={{cookieKey}}>{{button}}</a>\n\t\t\t\t\t\t\t<a href=javascript:; id={{id}}Hide class="bottom-info-button-hide"></a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>'.simpleTemplate({...t,message:uCoz.sign[t.message],button:uCoz.sign[t.button]})})).join("")}function _removeBlock(t){t&&(t.remove&&!t.remove()||t.parentNode.removeChild(t))}function _saveUserPreference(t){(window.cookieExpiryDate=new Date)&&cookieExpiryDate.setFullYear(cookieExpiryDate.getFullYear()+1)&&(document.cookie=t+"=1; path=/; expires="+cookieExpiryDate.toGMTString())}function createContainerElement(){const t=document.createElement("div");return t.id="bottomInfoBar",t.classList.add("bottom-info-wrapper"),t}function getBannerForSchoolSiteHTML(t){return'\n\t\t\t<section class="school-site-panel">\n\t\t\t\t<div class="school-site-panel__title-background">\n\t\t\t\t\t<div class="school-site-panel__title-block">\n\t\t\t\t\t\t<h2 class="school-site-panel__title">\n\t\t\t\t\t\t\t<img class="school-site-panel__calendar" src="/.s/img/popup/Calendar.svg" alt="Calendar">\n\t\t\t\t\t\t\t[[270548]]\n\t\t\t\t\t\t</h2>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class="school-site-panel__content-background">\n\t\t\t\t\t<div class="school-site-panel__content">\n\t\t\t\t\t\t<p class="school-site-panel__message">[[270549]]</p>\n\t\t\t\t\t\t<p class="school-site-panel__note">\n\t\t\t\t\t\t\t<a class="school-site-panel__note-link" target="_blank" href="https://www.ucoz.ru/help/pro/faq_educational?utm_source=ucoz&utm_medium=system_banner&utm_campaign=school_sites">[[270551]]</a>\n\t\t\t\t\t\t\t<span class="school-site-panel__note-separator">&bull;</span>\n\t\t\t\t\t\t\t<a class="school-site-panel__note-link" target="_blank" href="https://www.ucoz.ru/contact/?utm_source=ucoz&utm_medium=system_banner&utm_campaign=school_sites">[[270550]]</a>\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</section>'.render(uCoz)}var exports={};return exports.showBottomWrapperBar=_showBottomWrapper,exports}();window.uBottomInfo=uBottomInfo}(window,window.document),document.addEventListener("DOMContentLoaded",(function(t){window.uBottomInfo&&uBottomInfo.showBottomWrapperBar&&uBottomInfo.showBottomWrapperBar()}));

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.