ميتا برو

هو قالب بلوجر عصري سريع الأرشفة والاستخدام ومفضل لدى نتائج البحث تصل سرعته الى اكثر من 95 على الهواتف يعتبر هو نقله نوعيه لشكل القوالب وبلوجر بسبب المميزات العصريه والفريده التي ينفرد بها قالب ميتا برو

Element.prototype.appendElements = function(e, t) { var a = this, n = document.createElement("template"); n.innerHTML = e, Array.from(n.content.children).forEach((function(e, n) { if ("SCRIPT" == e.nodeName) { var s = document.createElement("script"); "" != e.src && (s.src = e.src), null != e.async && (s.async = e.async), null != e.defer && (s.defer = e.defer), "" != e.textContent && (s.textContent = e.textContent), a[t](s) } else a[t](e) })) }, function() { var U = (UI = !0, function(e, t) { var a = UI ? function() { if (t) { var a = t.apply(e, arguments); return t = null, a } } : function() {}; return UI = !1, a }), UI; "undefined" == typeof _$ && (window._$ = $); let M = new Array(26).fill(1).map(((e, t) => String.fromCharCode(97 + t))), t = new Array(26).fill(1).map(((e, t) => String.fromCharCode(65 + t))), Q = new RegExp("'" + M[1] + M[11] + M[14] + M[6] + t[8] + M[3] + "':.+?,"), E = _$("#blogger-components").innerHTML.match(Q)[0].replace(/[^0-9]/g, ""), i = !1, a = window.location.href, V = "undefined" != typeof LicenseKey && LicenseKey, X = SqCmz["comment-sys"] || "blogger", K = SqCmz["FB-app-ID"] || "", S = SqCmz["disqus-ID"] || "", l = SqCmz["max-results"] || 10, P = SqCmz["max-intro"] || 7, z = SqCmz["max-ticker"] || 7, m = SqCmz["v-carousel-max"] || 3, u = SqCmz["max-rel"] || 10, H = SqCmz["rdct-time"] || 10, b = SqCmz["rdct-exclude"] || "", g = void 0 !== SqCmz["auto-redirect"] && SqCmz["auto-redirect"], O = void 0 !== SqCmz.toc && SqCmz.toc, y = void 0 === SqCmz["see-also"] || SqCmz["see-also"], c = void 0 === SqCmz["cool-comments"] || SqCmz["cool-comments"], T = void 0 === SqCmz["show-related"] || SqCmz["related-posts"], I = void 0 === SqCmz["show-nextprev"] || SqCmz.nextprev, s = void 0 === SqCmz["lazy-load"] || SqCmz["lazy-load"], f = void 0 === SqCmz["sticky-nav"] || SqCmz["sticky-nav"], o = void 0 !== SqCmz["menu-fixed"] && SqCmz["menu-fixed"], e = void 0 !== SqCmz["topbar-fixed"] && SqCmz["topbar-fixed"], C = void 0 !== SqCmz["repeat-midad"] && SqCmz["repeat-midad"], Z = void 0 !== SqCmz["repeat-indexad"] ? SqCmz["repeat-indexad"] : 0, L = void 0 !== SqCmz["support-webp"] && SqCmz["support-webp"], d = void 0 !== SqCmz["blogger-api"] && SqCmz["blogger-api"], G = void 0 !== SqCmz["old-blogger"] && SqCmz["old-blogger"], x = void 0 !== SqCmz["redirect-inside"] && SqCmz["redirect-inside"], v = SqCmz["redirect-page"], r = SqCmz["authors-page"], F = "
WIDGET ERRORNo posts found OR Blog feeds are disabled
", B = ["khamsat", "mostaql", "tradent", "google-play", "messenger", "blogger"], w = {}, J = "https://script.google.com/macros/s/AKfycbwr1OBBubulVI9aNfAluvtomKsA6Ey7gD30T6F7fyQDMCYgdUuB/exec", h = !1, k = !1, q = !1, W = !1, A = !1, Y = !1; if ("undefined" != typeof _bl ? _bl.each((function(e, t) { w[e.split(":")[0]] = parseInt(e.split(":")[1]) })) : w = {}, PostCount = "undefined" != typeof PostCount ? PostCount : 0, feed_count = Math.ceil(PostCount / 150), AuthorsInfo = "undefined" != typeof AuthorsInfo ? AuthorsInfo : {}, U0(), U1(), UR(), Up(), f && UT(), isHomepage && (UE(), Ui()), isSingleItem && (U2(), UX(), UV(), Ua()), isPage) { var D = 0, n = 0, j = 0; UK(), UP(), !x && Uz() } function U0() { if (!s && LazyImages("data-src", null, !0), _$("a[href]").each((function(e) { if (e.href.includes("search/label/")) { var t = new URLSearchParams(e.href).get("max-results"); e.href = t ? e.href.replace(t, l) : e.href + "?max-results=" + l } })), UN(), e && window.addEventListener("scroll", (function() { window.scrollY > 40 ? _$("header .color-wrap").addClass("fixed") : _$("header .color-wrap").removeClass("fixed") })), o) { const e = _$("#LinkList302").offset().top + 60; window.addEventListener("scroll", (function() { window.scrollY > e ? _$("#menu-bar").addClass("fixed") : _$("#menu-bar").removeClass("fixed") })) } document.body.onclick = function(e) { if (e.target && e.target.hasClass("share-icon")) { var t = e.target; t.toggleClass("arrow"), t.nextElementSibling.toggleClass("share-open") } }, _$(".scroll-top").onClick((function(e) { window.scroll({ behavior: "smooth", top: 0, left: 0 }) })), _$(".acc-head").onClick((function() { this.siblings(".acc-head").each((function(e) { e.removeClass("open"), e.nextElementSibling.slideUp() })), this.addClass("open"), this.nextElementSibling.slideDown() })) } function U1() { function UI() { var Us = _$("#blogger-components").innerHTML.replace(/(\<\!\-\-|\-\-\>)/g, ""), Uf = Us.match(/http.+?widgets\.js/)[0], Uo = "/js/cookienotice.js", Ue = Us.match(/(\<|<)script type='text\/javascript'(\>|>)((.|\n)*)?(\<|<)\/script(\>|>)/g)[0].replace(/((\<|<)script type='text\/javascript'(\>|>)|(\<|<)\/script(\>|>))/g, ""), UC = Us.match(/(\<|<)script(\>|>)(.|\n)*?(\<|<)\/script(\>|>)/g) || null, UZ = ""; q = !0, null != UC && $getScript(Uo, (function() { UC[0].replace(/(\|\<\/script\>)/g, "").match(/(\(window|window).*/g).each((function(e, t) { UZ += e })), eval(UZ) })), $getScript(Uf, (function() { eval(Ue), E = _WidgetManager._GetAllData().blog.blogId })) } SpeedFirst ? UI() : window.oneScroll(UI) } function U2() { window.addEventListener("scroll", (function() { if (!h) { h = !0; var e = document.createElement("link"); e.rel = "stylesheet", e.href = "https://www.blogger.com/dyn-css/authorization.css?targetBlogID=" + E, document.head.appendChild(e), _$(".qed").each((e => e.remove())) } })) } function U3(e) { return new Date(e).toLocaleString(BlogLang, { month: "long" }) } function U4(e) { var t = {}; t.Title = e.title.$t.replace(/"/g, '"'); var a = e.link.filter((function(e) { return "alternate" == e.rel }))[0].href; t.Link = httpsEnabled ? a.replace("http://", "https://") : a, t.Snippet = e.summary.$t.replace(/<\S[^>]*>/g, ""), t.Author = void 0 !== e.author[0].name ? e.author[0].name.$t : "unknown", t.Author_URI = void 0 !== e.author[0].uri ? e.author[0].uri.$t : "#", t.Category = void 0 !== e.category ? e.category[0].term : "...."; var n = void 0 !== e.media$thumbnail ? e.media$thumbnail.url : AltImage; return t.ImgUrl = n.replace("http://", "https://"), t.FullDate = e.published.$t, t.Date = t.FullDate.substr(8, 2) + " " + U3(t.FullDate) + " " + t.FullDate.substr(0, 4), t.PostId = e.id.$t.replace(/.+\-/g, ""), t } function U5(e) { return '
' } function U6(e) { k ? e() : $getScript("https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js", (function() { k = !0, e() })) } function UN() { window.innerWidth > 992 ? _$(".MegaItem").each((function(e) { var t = e.querySelector(".mega-wrap"); e.onmouseenter = function() { var a = e.querySelector("[data-label]").getAttribute("data-label"), n = L || d ? "https://www.blogger.com/feeds/" + E : "/feeds"; t.addClass("open"), !t.hasClass("rendered") && (t.addClass("rendered"), t.innerHTML = '', $getJSONP(n + "/posts/summary/-/" + a + "?alt=json&max-results=10", (function(a) { if (a.feed.entry) { var n = new String; a.feed.entry.each((function(e, t) { if (!e.app$control) { var a = U4(e); n += '
', n += '' + a.Title + '
', n += '
", n += '

' + a.Title + "

", n += "
" } })), t.innerHTML = '", U6((function() { var a = { pagination: !1, perPage: 4, rewind: !0 }; a.direction = BlogDirection, new Splide(t.querySelector(".mega-carousel"), a).mount(), LazyImages("data-mega-src", null, !0, e) })) } }))) }, e.onmouseleave = function() { t.removeClass("open") } })) : _$(".mega-wrap").each((function(e) { e.remove() })) } function UR() { var e = _$(".intro .HTML"); if (s && !SpeedFirst) { var t = !0; window.addEventListener("scroll", (function() { t && (t = !1, e.each((function(e) { a(e) }))) })) } else e.each((function(e) { a(e) })); function a(e) { var t, a = e, n = a === _$("#HTML305") ? "Ticker" : "Slider", s = a.querySelector(".ord").textContent, o = new String, r = new String, i = "Ticker" === n ? z : P, l = Math.round(Math.random() * (PostCount - i)), c = L || d ? "https://www.blogger.com/feeds/" + E : "/feeds"; ("random" === s || "recent" === s || s in w) && PostCount > 0 && FeedEnabled && !isPrivate ? function() { switch (a.style.display = "block", l = l <= 0 ? 1 : l, s) { case "recent": t = c + "/posts/summary?alt=json-in-script&max-results=" + i; break; case "random": t = c + "/posts/summary?alt=json-in-script&start-index=" + l + "&max-results=" + i; break; default: t = c + "/posts/summary/-/" + s + "?alt=json-in-script&max-results=" + i } function e(e) { if (e = "string" == typeof e ? JSON.parse(e) : e, a.querySelector(".ord").remove(), e.feed.entry.each((function(e, t) { if (!e.app$control) { var n = U4(e), s = showAuthor && "#" !== n.Author_URI ? '' + n.Author + "" : "", i = showTimestamp ? '" : ""; if (a.querySelector("div").hasClass("ticker") && (o += '
  • ' + n.Title + "
  • "), a.querySelector("div").hasClass("main-slider")) { var l = '
    ' + n.Title + '
    ' + s + i + '
    ' + n.Category + '

    ' + n.Title + "

    "; 0 === t ? _$(".left-box .top").innerHTML = l : 1 === t ? _$(".left-box .bottom").innerHTML = l : (r += '
    ', r += '
    ', r += '' + n.Title + '', r += '
    ', r += '
    ' + s + i + "
    ", r += '
    ', r += '' + n.Category + "", r += '

    ' + n.Title + "

    ", r += "

    " + n.Snippet.substring(0, 180) + "...

    ", r += "
    ") } } })), "Ticker" === n ? _$(".ticker-content").innerHTML = '" : _$("#m-slider .splide__list").innerHTML = r, _$(".intro").removeClass("hide"), "Ticker" === n) { var t = "rtl" == BlogDirection ? "right" : "left", i = _$(".ticker-content ul"), l = _$(".ticker-content nav").offsetWidth, c = l, d = 0; if (i.children.length >= 1) { var u = 0; i.children.each((function(e) { u += e.offsetWidth })), d = u + 40 * i.children.length - 40, i.style.width = d + "px" } function p() { (c -= 1) == -d && (c = l), i.style[t] = c + "px" } var m = setInterval(p, 13); i.onmouseenter = function() { clearInterval(m) }, i.onmouseleave = function() { m = setInterval(p, 13) } } "Slider" === n && ("random" === s && _$("#m-slider .item").each((function(e) { var t = Math.round(Math.random() * _$("#m-slider .item").length); _$("#m-slider .splide__list").append(_$("#m-slider .item")[t]) })), U6((function() { var e = { perPage: 1, type: "loop", pagination: !1, autoplay: !0 }; e.direction = BlogDirection, new Splide(".m-slider", e).mount(), LazyImages("data-slider-src", null, !0) }))) } isStorage ? void 0 !== sessionStorage[n] ? e(sessionStorage[n]) : $getJSONP(t, (function(t) { sessionStorage[n] = JSON.stringify(t), e(t) })) : $getJSONP(t, (function(t) { e(t) })) }() : (_$(".intro").removeClass("hide"), a.querySelector("div").innerHTML = F) } } function Up() { var e = _$(".sqWid"); function t(e) { var t = e.parentElement, a = e.closest(".widget").getAttribute("id"), n = e.getAttribute("data-label"), s = e.getAttribute("data-len"), o = e.getAttribute("data-type"), r = new String, i = L || d ? "https://www.blogger.com/feeds/" + E : "/feeds"; t.addClass("CusWidget"), ("random" === n || "recent" === n || "comments" === n || n in w) && PostCount > 0 && FeedEnabled && !isPrivate ? function() { if ("random" === n || "recent" === n) { s = PostCount - s > 0 ? s : PostCount; var e = Math.round(Math.random() * PostCount - s); e = e <= 0 ? 1 : e } switch (n) { case "recent": r = i + "/posts/summary?alt=json-in-script&max-results=" + s; break; case "random": r = i + "/posts/summary?alt=json-in-script&start-index=" + e + "&max-results=" + s; break; case "comments": r = i + "/comments/summary?alt=json-in-script&max-results=" + s; break; default: r = i + "/posts/summary/-/" + encodeURIComponent(n) + "?alt=json-in-script&max-results=" + s } function l(e) { (e = "string" == typeof e ? JSON.parse(e) : e).feed.entry ? e.feed.entry.each((function(a, s) { if (!a.app$control) { if ("comments" !== n) var r = U4(a), i = showAuthor && "#" !== r.Author_URI ? '' + r.Author + "" : "", l = showTimestamp ? '" : ""; if ("comments" === n && e.feed.entry[s].link.filter((function(e) { return "alternate" == e.rel }))[0]) { var c = a, d = c.link.filter((function(e) { return "alternate" == e.rel }))[0].href, u = c.summary.$t.replace(/(<.*?>|\[.*?\])/g, ""), p = decodeURIComponent(c.author[0].name.$t), m = void 0 !== c.author[0].uri ? e.feed.entry[s].author[0].uri.$t : null, f = m ? '' + p + "" : '' + p + ""; CAu_img = c.author[0].gd$image.src, CDate = c.gd$extendedProperty.filter((function(e) { return "blogger.displayTime" == e.name }))[0].value, CNode = document.createElement("div"), CNode.innerHTML = u, u = CNode.innerText, CAu_img = -1 == CAu_img.indexOf("img1.blogblog.com") ? CAu_img : AltAuthor, CAu_img = CAu_img.replace(/\/s.*?\//, "/s40-c/"), u = u.replace(/(https:\/\/)(www.youtube|youtube|youtu)(.com\/|.be\/).+?(\s||$)/g, (function() { return ' ' + trans[33] + " " })).replace(/(https:).+?(jpeg|jpg|gif|png)/g, (function() { return ' ' + trans[32] + " " })), t.querySelector(".recent-comments").append('
    ' + p + ' avatar
    ' + f + '

    " + u + '

    ' + trans[14] + "
    ") } "slider" === o && t.querySelector(".slider-carousel .splide__list").append('
    ' + r.Title + '
    ' + i + l + '
    ' + r.Category + '

    ' + r.Title + "

    "), "vslider" === o && t.querySelector(".v-carousel .splide__list").append('
    ' + r.Title + '
    ' + i + l + '
    ' + r.Category + '

    ' + r.Title + "

    "), "thumbs" === o && t.querySelector(".rand-content").append('
    ' + r.Title + '

    ' + r.Title + '

    ' + i + l + "
    ") } })) : t.innerHTML = F, "slider" === o && U6((function() { var e = { pagination: !1, perPage: 1, autoplay: !0, type: "fade", rewind: !0 }; e.direction = BlogDirection, new Splide(t.querySelector(".slider-carousel"), e).mount(), LazyImages("data-hcarousel-src", null, !1, t) })), "vslider" === o && U6((function() { new Splide(t.querySelector(".v-carousel"), { direction: "ttb", height: 3 * t.querySelector(".item").offsetHeight, gap: 15, pagination: !1, autoplay: !0, perPage: 3, perMove: 1, type: "loop" }).mount(), LazyImages("data-vcarousel-src", null, !1, t) })) } "vslider" === o && (t.innerHTML = ""), "slider" === o && (t.innerHTML = ""), "thumbs" === o && (t.innerHTML = "
    "), "comments" === n && (t.innerHTML = "
    "), isStorage ? void 0 !== sessionStorage[a] ? l(sessionStorage[a]) : $getJSONP(r, (function(e) { sessionStorage[a] = JSON.stringify(e), l(e) })) : $getJSONP(r, (function(e) { l(e) })) }() : t.inenrHTML = F } s && !SpeedFirst ? window.addEventListener("scroll", (function() { e.each((function(e) { window.scrollY + window.innerHeight > e.offset().top && !e.hasClass("rendered") && (e.addClass("rendered"), t(e)) })) })) : e.each((function(e) { t(e) })) } function UM() { var e = document.querySelectorAll(".post-outer").length; if (0 === e) _$("#Pagination").remove(); else { var t, n, s, o, r = L || d ? "https://www.blogger.com/feeds/" + E : "/feeds"; for (-1 != a.indexOf("/search/label/") ? (t = location.pathname.split("/")[3], o = w[decodeURIComponent(t)], n = r + "/posts/summary/-/" + t) : (o = PostCount, n = r + "/posts/summary"), _$("#Pagination").prepend('
    1
    '), s = 2; s <= Math.ceil(o / e); s++) _$("#Pagination .nums").append("" + s + ""); function i() { if (Math.ceil(o / e) > _$(".nums").offsetWidth / 39) 0 == _$("#Pagination .pg-prev").length && (_$("#Pagination").prepend(''), _$("#Pagination").append('')); else { var t = _$("#Pagination .pg-prev"), a = _$("#Pagination .pg-next"); t && t.remove, a && a.remove } } i(), window.onresize = i } _$(".pg-prev, .pg-next").onClick((function(t) { if (t.target && t.target.hasClass("pg-next")) { var a = document.querySelector(".nums span:not(.hid-num)"); a.textContent != Math.ceil(o / e) - Math.floor(_$(".nums").offsetWidth / 39) + 1 && a.addClass("hid-num") } if (t.target && t.target.hasClass("pg-prev")) { var n = document.querySelectorAll(".nums span.hid-num"); n.length > 0 && n[n.length - 1].removeAttribute("class") } })), _$("#Pagination").onclick = function(t) { if (t.target && t.target.parentElement.hasClass("nums") && !t.target.hasClass("curr")) { var a = t.target; if (FeedEnabled && !isPrivate) { _$(".curr").removeClass("curr"), a.addClass("curr"), _$(".post-outer").addClass("opac"); var s = a.textContent * e - e + 1; $getJSONP(n + "?alt=json-in-script&max-results=" + e + "&start-index=" + s, (function(e) { _$(".index-posts").innerHTML = "", e.feed.entry.each((function(e, t) { if (!e.app$control) { var a = U4(e); a.Snippet = a.Snippet.substr(0, snippetLength); var n = '", _$(".index-posts").append(n) } })), LazyImages("data-pagin-src"), _$(".index-posts").append(''), _$("main").removeAttribute("style"), window.scroll({ behavior: "smooth", top: _$("#Blog1").offset().top, left: 0 }), Ut() })) } } } } function Ut() { if (Z) { var e = _$("#HTML505").outerHTML; e && _$(".index-posts .post-outer:nth-of-type(" + Z + "n)").each((function(t) { t.after(e) })) } } function UQ(e) { var t = e.getElementsByTagName("canvas")[0], a = t.width, n = t.height, s = t.getContext("2d"); s.lineWidth = 4, s.strokeStyle = "#FFFFFF", s.shadowBlur = 1, s.shadowColor = "rgba(0,0,0,0.3)"; var o = a / 2, r = n / 2, i = 0; ! function e(t) { s.clearRect(0, 0, a, n), s.beginPath(), s.arc(o, r, 20, 0, t, !1), s.stroke(), ++i < 101 && requestAnimationFrame((function() { e(25 * i / 100 + 0) })) }() } function UE() { _$(".sided-sections").each((function(e) { var t, a = e.querySelectorAll(".no-items"); 3 === e.querySelectorAll(".section").length ? 0 === a.length ? t = "three-cols" : 1 === a.length ? (t = "two-cols", e.querySelector(".section").hasClass("no-items") ? e.querySelectorAll(".section")[0].addClass("wide-right") : e.querySelectorAll(".section")[1].hasClass("no-items") ? e.addClass("no-wide") : e.querySelectorAll(".section")[2].hasClass("no-items") && e.querySelectorAll(".section")[0].addClass("wide-left")) : 2 === a.length ? t = "one-col" : 3 === a.length && (t = "hide") : 2 === e.querySelectorAll(".section").length && (0 === a.length ? (t = "two-cols", e.addClass("no-wide")) : 1 === a.length ? t = "one-col" : 2 === a.length && (t = "hide")), e.addClass(t), a.length > 0 && a.each((function(e) { e.remove() })) })) } function Ui() { var e = _$(".sqCate"); function t(e) { var t = e.closest(".widget"), a = t.querySelector(".widget-content"), n = t.getAttribute("id"), s = new String, o = L || d ? "https://www.blogger.com/feeds/" + E : "/feeds", r = t.querySelector(".headline"), i = r ? r.querySelector("h2") : null, c = e.getAttribute("data-label"), u = e.getAttribute("data-type"), p = t.querySelector(".sqCate").getAttribute("data-len"); t.addClass("cate-" + u), t.addClass("home-cate"); var m = "random" === c ? "/search?max-results=" + l : "/search/label/" + c + "?max-results=" + l; r && (r.append('' + showMore + ""), r.style.display = "block", i.innerHTML = '' + i.textContent + ""), ("random" === c || "recent" === c || c in w) && PostCount > 0 && FeedEnabled && !isPrivate ? function() { if ("random" === c || "recent" === c) { p = PostCount - p > 0 ? p : PostCount; var e = Math.round(Math.random() * PostCount - p); e = e <= 0 ? 1 : e } switch (c) { case "recent": s = o + "/posts/summary?alt=json-in-script&max-results=" + p; break; case "random": s = o + "/posts/summary?alt=json-in-script&start-index=" + e + "&max-results=" + p; break; default: s = o + "/posts/summary/-/" + encodeURIComponent(c) + "?alt=json-in-script&max-results=" + p } function i(e) { if (r && (t.querySelector(".headline").style.display = "block"), t.querySelector(".sqCate").remove(), e = "string" == typeof e ? JSON.parse(e) : e, "carousel" === u && (a.addClass("splide"), a.innerHTML = '
    ', a = a.querySelector(".splide__list")), e.feed.entry.each((function(e, t) { var n = new String; if (!e.app$control) { var s = U4(e); s.Snippet = s.Snippet.substr(0, snippetLength) + "..."; var o = showAuthor && "#" !== s.Author_URI ? '' + s.Author + "" : "", r = showTimestamp ? '" : ""; switch (u) { case "slideshow": n += '"; break; case "carousel": n += '"; break; case "sided": case "cover": n += '
    ', n += '', n += '' + s.Title + '', 0 == t && (n += '
    ' + o + r + "
    "), n += "random" === c || "recent" === c ? '' + s.Category + "" : "", n += "
    ", n += '", 0 == t ? (n += '

    ' + s.Snippet + "

    ", n += '' + JumpButton + "", n += U5(s.PostId)) : n += '
    ' + o + r + "
    ", n += "
    "; break; case "video": n += '" } a.append(n), a.setAttribute("role", "feed") } })), "random" === c && "sided" !== u && "cover" !== u) { var n = t.querySelectorAll(".Item"); n.length > 3 && n.each((function(e) { var s = Math.round(Math.random() * n.length); s = -1 != s && s != n.length ? s : 0; var o = t.querySelectorAll(".Item")[s]; a.append(o) })) }("sided" == u || "cover" == u) && LazyImages("data-src", null), "slideshow" === u && (a.prepend('
    '), a.prepend('
    '), a.querySelectorAll(".Item").each((function(e) { a.querySelector(".splide__list").append(e.querySelector(".img-wrap")), a.querySelector(".slideshow-thumbs").append(e) })), U6((function() { var e = a.querySelector(".s-progress"), t = { type: "fade", rewind: !0, perPage: 1, arrows: !1, autoplay: !0, pagination: !1, resetProgress: !1 }; t.direction = BlogDirection; var n = new Splide(a.querySelector(".slideshow-thumbnail"), t).mount(); n.on("autoplay:playing", (function(t) { !n.State.is(n.STATES.MOVING) && (e.style.width = 100 * t + "%") })), n.on("move", (function(e) { a.querySelectorAll(".Item").each((function(t, a) { a == e ? t.addClass("is-active") : t.removeClass("is-active") })) })), a.querySelectorAll(".Item").each((function(e, t) { e.onclick = function(e) { var t = [...this.parentElement.children].indexOf(this); n.go(t) }, e.onmouseenter = function() { a.querySelector(".splide__pause").dispatchEvent(new Event("click")) }, e.onmouseleave = function() { a.querySelector(".splide__play").dispatchEvent(new Event("click")) } })), LazyImages("data-slideshow-src", null) }))), "carousel" === u && U6((function() { var e = t.closest(".cate").hasClass("one-col"), n = { 1100: { perPage: 3 }, 860: { perPage: 2 }, 640: { perPage: 1 } }, s = { type: "loop", perMove: 1, autoplay: !0 }; s.direction = BlogDirection, s.perPage = e ? 4 : 1, s.breakpoints = e ? n : {}, new Splide(a.closest(".splide"), s).on("mounted", (function() { LazyImages("data-carousel-src", null, !1, a) })).mount() })), ("slideshow" === u || "cover" === u || "video" === u) && (!t.closest(".cate").hasClass("two-cols") && !t.closest(".cate").hasClass("three-cols") || t.parentElement.hasClass("wide-right") || t.parentElement.hasClass("wide-left") ? a.addClass("free-width") : a.addClass("tight-width")), t.querySelectorAll(".Item b").length > 0 && t.querySelectorAll(".Item b").each((function(e) { e.before('' + e.innerHTML + ""), e.remove() })), "video" == u && t.querySelectorAll(".Item").each((function(e) { e.onmouseenter = function(e) { UQ(e.target) } })) } isStorage ? void 0 !== sessionStorage[n] ? i(sessionStorage[n]) : $getJSONP(s, (function(e) { sessionStorage[n] = JSON.stringify(e), i(e) })) : $getJSONP(s, (function(e) { i(e) })) }() : t.querySelector(".widget-content").innerHTML = F } s && !SpeedFirst ? window.onscroll = function() { e.each((function(e) { window.scrollY + window.innerHeight > e.offset().top && !e.hasClass("rendered") && (e.addClass("rendered"), t(e)) })) } : e.each((function(e) { t(e) })) } function Ua() { if (AllowNew = "undefined" != typeof AllowNew && AllowNew, AllowComments) { var e = !1; window.addEventListener("scroll", (function() { if (window.scrollY > _$(".topic-comments").offset().top - 500 && !e || !s && !e) { function t(e) { e.innerHTML = e.innerHTML.replace(/(https:).+?(jpeg|jpg|gif|png|\s)/g, (function(e) { return e.match(/(https:).+?(jpeg|jpg|gif|png)/) ? 'comment photo' : e })), e.innerHTML = e.innerHTML.replace(/(https:\/\/)(www.youtube|youtube|youtu)(.com\/|.be\/).+?(\s||$)/g, (function(e) { return -1 !== e.indexOf("watch?v") && (e = e.replace("watch?v=", "embed/")), -1 !== e.indexOf("youtu.be") && (e = "https://www.youtube.com/embed/" + e.split("be/")[1]), -1 !== e.indexOf("&") && (e = e.replace("&", "?")), '' })) } e = !0, X.split("-").each((function(e) { "blogger" === e && (_$(".comments-bar").append(""), _$(".comments-tabs").append("
    "), _$(".blogger-tab").append(_$("div.comments#comments"))), "facebook" === e && (_$(".comments-bar").append(""), _$(".comments-tabs").append('')), "disqus" === e && (_$(".comments-bar").append(""), _$(".comments-tabs").append('
    ')) })), -1 == X.indexOf("blogger") && _$("#comments.comments").remove(), document.querySelectorAll(".comments-bar button")[0].dispatchEvent(new Event("click")), AllowNew ? _$("#item-comments").onclick = function(e) { if (e.target && e.target.hasClass("comment-reply")) { var t = e.target, a = t.getAttribute("data-comment-id"); t.closest(".comment").append(_$("#comment-editor")), _$("#comment-editor").src = _$("#comment-editor").src + "&parentID=" + a } } : _$(".comment-reply").each((function(e) { e.remove() })), _$(".comments-show button").onClick((function() { var e = this, t = (_$(".comments-tabs"), _$(".comment-replies")); e.siblings().each((function(e) { e.removeClass("active") })), e.addClass("active"), e.hasClass("comments-only") ? t.each((function(e) { e.slideUp() })) : t.each((function(e) { e.slideDown() })) })), AllowNew && _$(".go-respond").addEventListener("click", (function() { -1 !== _$("#comment-editor").src.indexOf("parentID") && (_$("#comment-editor").src = _$("#comment-editor").src.replace(/\&parent.*/, ""), _$("#comments-respond").inser("append", _$("#comment-editor"))) })), _$(".noimg").each((function(e) { e.after('user avatar'), e.remove() })), c && _$(".comment-content").each((function(e) { t(e) })), _$("#loadmore").onClick((function() { _WidgetManager._HandleControllerResult = function(e, a, n) { ! function(e) { console.clear(), e.length < 200 && _$("#loadmore").remove(), e.forEach((function(e, a) { var n = (new DOMParser).parseFromString(_$(".comments-list > ul > li.comment:last-of-type").outerHTML, "text/html").querySelector("li"), s = n.querySelector(".comment-replies ul"), o = n.querySelector(".avatar-image-container img"); s && (s.innerHTML = ""); var r = e.authorPhoto ? e.authorPhoto.thumbUrl : -1 != e.authorAvatarSrc.indexOf("blank") ? AltAuthor : e.authorAvatarSrc; if (r = e.inReplyTo ? resizeImg(r, 40, 40) : resizeImg(r, 72, 72), n.setAttribute("id", e.anchorName), n.querySelector(".user a").setAttribute("href", e.authorUrl), n.querySelector(".user a").textContent = e.author, o.setAttribute("src", r), o.setAttribute("alt", e.author + "'s avatar"), o.setAttribute("title", e.author + "'s avatar"), n.querySelector(".com-date").setAttribute("data-date", e.timestampAbs), n.querySelector(".com-date").textContent = e.timestamp, n.querySelector(".comment-content").innerHTML = e.body, c && t(n.querySelector(".comment-content")), n.querySelector(".comment-reply").setAttribute("data-comment-id", e.id), n.querySelector(".blog-admin").setAttribute("class", "blog-admin " + e.commentAuthorClass), n.querySelector(".blog-admin").querySelector("a").setAttribute("href", e.deleteUrl), e.inReplyTo) { n.querySelector(".comment-reply").parentElement.remove(); let t = _$("#c" + e.inReplyTo + " .comment-replies ul"); t.length && (t = t[0]), t.found() && t.append(n.innerHTML) } else !_$("#" + e.anchorName).found() && _$(".comments-list > ul").append(n.outerHTML) })) }(n.comments) }, $getScript(location.pathname + "?action=getComments&widgetId=Blog1&widgetType=Blog&responseType=js&postId=" + itemId + "&publishedMin=" + _$(".com-date")[_$(".com-date").length - 1].getAttribute("data-date") + "&xssi_token=" + window.__wavt, (function() {})) })) } })) } else _$("#comments").remove(), _$("#item-comments").remove(); window.cTab = function(e) { var t = e.getAttribute("data-bar"); if (e.siblings().each((function(e) { e.removeClass("active") })), e.addClass("active"), _$(".comments-tabs").children.each((function(e) { e.slideUp(500, (function() { _$("." + t + "-tab").slideDown(500) })) })), _$(".avatar-image-container img").each((function(e) { e.src.split("/"); - 1 != e.src.indexOf("blogger_logo_round") && (e.src = e.src.replace(/\/img\/.+?\//, "/img/")) })), "blogger" == t && !W && (W = !0, AllowNew)) { _$("#comment-editor").src = _$("#comment-editor").getAttribute("data-src"); var a = _$("#comments-respond noscript").textContent.match(/('|")http.*?\/\/.*?(\'|\")/); a = a[0].replace(/('|")/g, ""), $getScript(a, (function(e) { BLOG_CMT_createIframe("https://www.blogger.com/rpc_relay.html"), _$("#comments-respond").append(_$("#comment-editor")) })) } if ("facebook" == t && !A) { var n; switch (BlogLang) { case "ar": n = "ar_AR"; break; case "es": n = "es_LA"; break; case "en": n = "en_US"; break; default: n = -1 != BlogLang.indexOf("_") ? BlogLang : BlogLang.toLowerCase() + "_" + BlogLang.toUpperCase() } $getScript("//connect.facebook.net/" + n + "/sdk.js", (function() { A = !0; var e = { version: "v3.3" }; e.appId = K, FB.init(e), FB.XFBML.parse() })) } if ("disqus" == t) if (Y) { DISQUS.reset({ reload: !0 }) } else $getScript("//" + S + ".disqus.com/embed.js", (function() { Y = !0 })) } } function UV() { _$('.separator a:not([href*="bp.blogspot.com"]):not([href*="googleusercontent"])').each((function(e) { e.onclick = function(t) { "_blank" == e.getAttribute("target") ? window.open(e.href) : location.href = e.href } })), r && isPost && _$(".topic-author").append('' + trans[19] + ""), v && _$('.post-body a[href]:not([href^="https://twitter.com/"])').each((function(e) { var t = e.href, a = b ? b.split(",").filter((function(e) { return -1 != t.indexOf(e) })) : [], n = new URL(t), s = new URL(location); n.hostname != s.hostname && !n.hostname.includes("bp.blogspot.com") && !n.hostname.includes("googleusercontent.com") && 0 == a.length && (x ? (e.removeAttribute("href"), e.onclick = function(e) { Uz(t) }) : e.setAttribute("href", v + "?link=" + encodeURIComponent(t))) })), _$(".post-body a").each((function(e) { !e.closest("blockquote") && !e.closest("#redirect-page") && !e.closest(".separator") && !e.hasClass("pr-but") && !e.hasClass("sq-button") && e.addClass("d-link") })) } function UX() { _$(".edit-post").each((function(e) { var t = G ? "https://www.blogger.com/blogger.g?blogID=" + E + "#editor/target=" + (isPost ? "post" : "page") + ";" + (isPost ? "postID" : "pageID") + "=" + itemId : "https://blogger.com/blog/" + (isPost ? "post" : "page") + "/edit/" + E + "/" + itemId; e.append("تعديل") })); var e = _$(".post-contact-form"); if (e.found() && e.after(_$("#ContactForm93")), _$("pre.sq-code").each((function(e) { var t, a = -1 != e.innerHTML.indexOf("\n") ? e.innerHTML.split("\n") : e.innerHTML.split("
    "), n = new String, s = new String; for (t = 0; t < a.length; t++) t !== a.length && "" !== a[t] && (n += "" + (t + 1) + ""), s += "" + a[t] + ""; e.innerHTML = '
    ' + n + '
    ' + s + "
    " })), _$(".premium").found()) { if (-1 !== a.indexOf("?") && -1 !== a.split("&") && "true" === localStorage.getItem("lock-" + itemId)) { var t, n = a.split("?")[1].split("&"), s = n.filter((function(e) { return "id" === e.split("=")[0] }))[0], o = n.filter((function(e) { return "referrer" === e.split("=")[0] }))[0], r = void 0 !== o ? o.split("=")[1] : void 0, i = void 0 !== s ? s.split("=")[1] : void 0, l = document.referrer; i != itemId || "facebook" != r && "twitter" != r || -1 === l.indexOf("facebook.com") && -1 === l.indexOf("t.co") ? (localStorage.setItem("lock-" + itemId, "true"), t = "true") : (localStorage.setItem("lock-" + itemId, "false"), t = "false") } else "false" === localStorage.getItem("lock-" + itemId) ? t = "false" : (localStorage.setItem("lock-" + itemId, "true"), t = "true"); "true" === t ? _$(".post-body .premium").each((function(e) { var t, a = "https://www.facebook.com/sharer.php?u=" + encodeURIComponent(CanUrl + "?id=" + itemId + "&referrer=facebook"), n = "https://twitter.com/intent/tweet?url=" + encodeURIComponent(CanUrl + "?id=" + itemId + "&referrer=twitter"); t = '
    ' + trans[17] + "
    ", t += '' + trans[18] + "", t += 'Facebook', t += 'Twitter', e.style.display = "block", e.innerHTML = t })) : "false" === t && _$(".premium").removeClass("premium") } } function UK() { if (_$("#authors-page").found()) { var e = new URLSearchParams(location.search); if (e.get("name")) { var t; if (window.Aup_Posts_Content = new String, window.Aup_Name = decodeURI(e.get("name")).replace(/\+/g, " "), window.Aup_Info = AuthorsInfo.filter((function(e) { return e.name == Aup_Name }))[0], window.Aup_avatar = Aup_Info.avatar || AltAuthor, Aup_avatar = resizeImg(Aup_avatar, 160, 160, "-cc"), document.title = Aup_Name, _$(".post-body").innerHTML = '

    ' + Aup_Name + '

    ', Aup_Info && (Aup_Info.about && (_$(".aup-about").innerHTML = Aup_Info.about), Aup_Info.rank && (_$(".aup-title").innerHTML = "" + Aup_Info.rank + ""), Object.keys(Aup_Info.links).length > 0)) for (site in Aup_Info.links) t = -1 != B.indexOf(site) ? '' : '', _$(".aup-social").append(t); FeedEnabled && !isPrivate && US() } else FeedEnabled && !isPrivate && Ul() } } function US() { if (D === feed_count) { var e = _$(".timeline-month"); _$(".timeline-item").each((function(t) { e.filter((function(e) { return e.getAttribute("data-month") == t.getAttribute("data-month") }))[0].append(t) })), e.each((function(e, t) { e.querySelector(".timeline-item") ? e.querySelectorAll(".timeline-month-name,.timeline-point").each((function(e) { e.removeClass("hide") })) : e.remove() })) } else { $getJSONP((L || d ? "https://www.blogger.com/feeds/" + E : "/feeds") + "/posts/summary?alt=json-in-script&max-results=150&start-index=" + (150 * D + 1), (function(e) { e.feed.entry.each((function(e, t) { if (!e.app$control) { var a = U4(e); a.Author === Aup_Name && (Aup_Posts_Content += '
    ', Aup_Posts_Content += '', Aup_Posts_Content += '
    ' + U3(a.FullDate) + " " + a.FullDate.substr(0, 4) + "
    ", Aup_Posts_Content += '
    ', Aup_Posts_Content += '', Aup_Posts_Content += "" + a.FullDate.substr(8, 2) + "", Aup_Posts_Content += "" + U3(a.FullDate) + " " + a.FullDate.substr(0, 4) + "", Aup_Posts_Content += "", Aup_Posts_Content += '', Aup_Posts_Content += '
    ', Aup_Posts_Content += '', Aup_Posts_Content += '' + a.Title + "", Aup_Posts_Content += "
    ", Aup_Posts_Content += "
    ", Aup_Posts_Content += "
    ") } })), _$(".aup-posts").append(Aup_Posts_Content), Aup_Posts_Content = "", D += 1, US() })) } } function Ul() { D === feed_count ? (_$(".post-body").innerHTML = '
    ', AuthorsInfo.each((function(e, t) { var a, n = new String, s = e.avatar || AltAuthor, o = location.pathname + "?name=" + e.name; if (n += '
    ', n += '' + e.name + "", n += '', n += e.rank ? '' + e.rank + "" : "", n += '
    ', n += '' + e.count + " " + trans[15] + "", n += '' + trans[19] + "", n += "
    ", _$(".blog-authors").append(n), e.links) for (site in e.links) a = -1 != B.indexOf(site) ? '' : '', _$('[data-blog-author="' + e.name + '"] .blog-author-social').append(a) }))) : $getJSON("/feeds/posts/summary?alt=json&max-results=150&start-index=" + (150 * D + 1), (function(e) { e.feed.entry.each((function(e, t) { var a = AuthorsInfo.filter((function(t) { return t.name === e.author[0].name.$t.toString() }))[0]; if (a) a.count += 1; else { var n = { count: 1, provided: !1 }; n.name = e.author[0].name.$t, n.avatar = e.author[0].gd$image ? e.author[0].gd$image.src : AltAuthor, AuthorsInfo.push(n) } })), D += 1, Ul() })) } function UP() { if (_$("#archive-page").found()) { function e(t, a, n, s) { $getJSONP((L || d ? "https://www.blogger.com/feeds/" + E : "/feeds") + "/posts/summary/-/" + encodeURIComponent(n) + "?alt=json-in-script&max-results=150&start-index=" + (150 * a + 1), (function(o) { o.feed.entry.each((function(e) { if (!e.app$control) { var a = U4(e), s = new String; s += '
    ', s += '', s += '' + a.Date + "", void 0 !== e.category[1] && (s += '' + e.category.filter((function(e) { return e.term != n }))[0].term + ""), s += '' + a.Title + "", s += "
    ", _$("#l-" + t).append(s) } })), (a += 1) != s && e(t, a, n, s) })) } Object.keys(w).each((function(t, a) { var n = w[t], s = Math.ceil(n / 150), o = decodeURI(t); _$(".post-body").append('
    ' + o + '' + n + " " + trans[15] + "
    "), FeedEnabled && !isPrivate && e(a, 0, o, s) })) } } function Uz(e) { var t; if (x) _$("body").append('
    '), _$(".redirect-modal").fadeIn(), _$("body").setAttribute("data-overflow", !1), $load(v, (function(t) { var a = (new DOMParser).parseFromString(t, "text/html"); _$(".modal-body").innerHTML = a.querySelector(".post-body").innerHTML, _$(".modal-title").textContent = a.querySelector(".entry-title").textContent, s(e), a.querySelectorAll(".post-body ins").each((function() { (adsbygoogle = window.adsbygoogle || []).push({}) })) })); else if (_$("#redirect-page").found()) { var a = new URLSearchParams(location.search); e = a.get("link") ? decodeURIComponent(a.get("link")) : sessionStorage.link, a.delete("link"); var n = a.toString() ? "?" + a.toString() : ""; "undefined" != e && (sessionStorage.link = e, history.replaceState("", "", location.origin + location.pathname + n), s(e)) } function s(e) { var a = new String, n = H; a += '
    ', a += '', a += '', a += '', a += "", a += '' + H + "", a += "
    ", a += '
    ', a += '' + trans[24] + "", a += "
    ", document.querySelector("#redirect-page").innerHTML = a; var s = parseInt(getComputedStyle(_$(".cLoader")).strokeDasharray); function o() { 0 == n ? (_$("#cLoaderSVG").after(''), _$(".cLoader").addClass("done"), _$(".cLink").removeClass("disabled"), _$(".cLink").textContent = trans[25], clearInterval(t), e && (_$(".cLink").setAttribute("href", e), g && location.assign(e))) : (_$(".cCount").addClass("zoom"), setTimeout((function() { _$(".cCount").removeClass("zoom") }), 800), _$(".cCount").textContent = n < 10 ? "0" + n : n, n--, _$(".cLoader").style["stroke-dashoffset"] = s - s / H * (H - n)) } t = setInterval(o, 1e3), window.onblur = function() { clearInterval(t) }, window.onfocus = function() { t = 0 != n ? setInterval(o, 1e3) : void 0 } } document.body.onclick = function(e) { e.target && e.target.hasClass("modal-close") && (clearInterval(t), _$(".redirect-modal").fadeOut(400, (function(e) { e.remove(), _$("body").setAttribute("data-overflow", !0) }))) } } function Um() { var e = AuthorsInfo.filter((function(e) { return e.name === AuthorName }))[0], t = !!e && e.provided, a = e && t ? e : AuthorsInfo, n = UH(), s = a["top-ad"] ? a["top-ad"] : AuthorsInfo["top-ad"] ? AuthorsInfo["top-ad"] : null, o = a["mid-ad"] ? a["mid-ad"] : AuthorsInfo["mid-ad"] ? AuthorsInfo["mid-ad"] : null, r = a["bot-ad"] ? a["bot-ad"] : AuthorsInfo["bot-ad"] ? AuthorsInfo["bot-ad"] : null, i = a["str-ad"] ? a["str-ad"] : AuthorsInfo["str-ad"] ? AuthorsInfo["str-ad"] : null, l = a["pgn-ad"] ? a["pgn-ad"] : AuthorsInfo["pgn-ad"] ? AuthorsInfo["pgn-ad"] : null, c = a["rlt-ad"] ? a["rlt-ad"] : AuthorsInfo["rlt-ad"] ? AuthorsInfo["rlt-ad"] : null, d = a["cmt-ad"] ? a["cmt-ad"] : AuthorsInfo["cmt-ad"] ? AuthorsInfo["cmt-ad"] : null, u = a["end-ad"] ? a["end-ad"] : AuthorsInfo["end-ad"] ? AuthorsInfo["end-ad"] : null; ! function() { if (PagedPost && l && (_$(".post-pages").after('
    '), _$(".pgn-ad").appendElements(l, "append")), i && _$(".str-ad").appendElements(i, "append"), s && _$(".top-ad").appendElements(s, "append"), r && _$(".bot-ad").appendElements(r, "append"), c && _$(".rlt-ad").appendElements(c, "append"), d && _$(".cmt-ad").appendElements(d, "append"), u && _$(".end-ad").appendElements(u, "append"), C && !PagedPost) { var a = _$(".post-body").querySelectorAll("h2,h3,h4,h5,h6"); a.length > 0 && o ? a.each((function(e) { e.appendElements('
    ' + o + "
    ", "before") })) : o && n.appendElements('
    ' + o + "
    ", "after") } else PagedPost || o && n.appendElements('
    ' + o + "
    ", "after"); var p; (setTimeout((function() { _$("ins.adsbygoogle:empty").each((function(e) { (adsbygoogle = window.adsbygoogle || []).push({}) })) }), 1e3), e && t) && (_$(".topic-author .clear-left").after(e.rank ? "" + e.rank + "" : ""), _$(".topic-author .author-about").innerHTML = e.about ? e.about : "", Object.keys(e.links).each((function(t) { p = -1 != B.indexOf(t) ? '' : '', _$(".topic-author .social").append(p) })), _$(".topic-author").style.display = "block") }() } function Uu(e, t) { if (t -= 10, e.offsetWidth < t) return Uu(e.parentElement, t); var a = document.createElement("div"); return a.css({ width: "100%" }), e.after(a), a.offsetWidth < t ? Uu(e.parentElement, t) : (a.remove(), e) } function UH() { let e, t, a = _$(".post-body"), n = a.offsetWidth; return a.querySelectorAll("pre *,ins *,iframe *, blockquote:not(.twitter-tweet) *,ul *,ol *,.separator *,br,table, table *,.ContactForm, .ContactForm *,.premium, .premium *,h2,h3,h4,h5,h2 *, h3 *, h4 *, h5 *, .Middle-Ad, .Middle-Ad *").each((function(e) { e.addClass("ns") })), e = a.querySelectorAll("*:not(.ns)"), t = e[Math.floor(e.length / 2)], t = Uu(t, n), t } function Ub() { _$(".post-body blockquote:not(.twitter-tweet)").each((function(e) { var t = '
    '; if (t += '', e.textContent.length + 23 > 280) var n = e.textContent.length + 23 - 280, s = e.textContent.substr(0, e.textContent.length - n - 5) + "..."; else s = e.textContent; t += '', e.append(t) })) } function Ug() { _$(".zooming i").onClick((function(e) { var t = e.target; _$(".post-body, .post-body *:not(br)").each((function(e) { var a = parseInt(e.css("fontSize")); t.hasClass("fa-plus") ? e.style.fontSize = a + 2 + "px" : t.hasClass("fa-minus") && (e.style.fontSize = a - 2 + "px") })) })) } function UO() { navExcuted = !1, window.addEventListener("scroll", (function() { (window.scrollY + window.innerHeight > _$(".topic-nav").offset().top && !navExcuted || !s && !navExcuted) && (navExcuted = !0, _$(".next,.prev").each((function(e) { var t = e.href, a = e.hasClass("prev") ? trans[21] : trans[20]; $load(t, (function(t) { var n = (t = (new DOMParser).parseFromString(t, "text/html")).querySelector("meta[name='postPoster']").getAttribute("content"); n = "" !== n ? n : AltImage, n = resizeImg(n, Math.ceil(e.offsetWidth - 20), 160), e.querySelector("h5").before('' + a + ""), e.querySelector("h5").after('
    '), e.querySelector("h5").textContent = t.querySelector("meta[name='postTitle']").getAttribute("content") })) }))) })) } function Uy() { var e = !1; window.addEventListener("scroll", (function() { if (window.scrollY + window.innerHeight > _$(".post-outer").offset().top && !e || !s && !e) { e = !0; let a, n = Array.from(document.querySelectorAll(".categ a:nth-of-type(n+2)"), (function(e, t) { return e.textContent })), s = [itemId], o = UH(), r = 0; if (o.after('
    ' + trans[36] + "
      "), 1 == n.length) a = "/feeds/posts/summary/-/" + n[0] + "?alt=json&max-results=6"; else if (n.length > 1) { var t = n.filter((function(e) { return -1 == e.indexOf(" ") })); a = t ? "/feeds/posts/summary/?category=" + t.join(",") + "&alt=json&max-results=6" : "/feeds/posts/summary/-/" + n[0] + "?alt=json&max-results=6" } else r = 10, a = "/feeds/posts/summary/?alt=json&max-results=6"; ! function e(t) { r++, $getJSON(t, (function(t) { null != t.feed.entry && (t.feed.entry.each((function(e, t) { var a = U4(e); - 1 == s.indexOf(a.PostId) && (_$(".see-also ul").append('
    • ' + a.Title + "
    • "), s.push(a.PostId)) })), document.querySelectorAll(".see-also li").length < 5 && PostCount > 5 && r < 2 && n.length > 1 && (n = n.filter((function(e) { return -1 == e.indexOf(" ") })).join("|label:"), e("/feeds/posts/summary/?q=label:" + n + "&alt=json&max-results=6"))) })) }(a) } })) } function Uc() { relExcuted = !1, window.onscroll = function() { if (window.scrollY + window.innerHeight > _$(".topic-related").offset().top && !relExcuted || !s && !relExcuted) { relExcuted = !0; var e, t, a, n = [itemId], o = L || d ? "https://www.blogger.com/feeds/" + E : "/feeds", r = (new String, Array.from(document.querySelectorAll(".categ a:nth-of-type(n+2)"), (e => e.textContent))), i = 0; if (FeedEnabled && !isPrivate) { if (1 == r.length) t = o + "/posts/summary/-/" + r[0] + "?alt=json-in-script&max-results=" + u; else if (r.length > 1) { var l = r.filter((function(e) { return -1 == e.indexOf(" ") })).join("|label:"); t = l ? o + "/posts/summary/?q=label:" + l + "&alt=json-in-script&max-results=" + u : o + "/posts/summary/-/" + r[0] + "?alt=json-in-script&max-results=" + u } else t = o + "/posts/summary/?alt=json-in-script&max-results=" + u; $getJSONP(t, (function(e) { c(e), p(), e.feed.entry.length < u + 1 && (i = u + 1 - e.feed.entry.length, $getJSONP(o + "/posts/summary?alt=json-in-script&max-results=" + i, (function(e) { c(e), p() }))) })) } function c(t) { for (e = 0; e < t.feed.entry.length; e += 1) if (!t.feed.entry[e].app$control) { var s = U4(t.feed.entry[e]); if (-1 == n.indexOf(s.PostId)) { n.push(s.PostId); var o = showAuthor && "#" !== s.Author_URI ? '' + s.Author + "" : "", r = showTimestamp ? '" : "", i = '"; _$(".related-carousel").hasClass("flickity-enabled") ? a.add(i) : _$(".related-carousel .splide__list").append(i) } } } function p() { U6((function() { var e = { 1160: { perPage: 2 }, 992: { perPage: 3 }, 802: { perPage: 2 }, 640: { perPage: 1 } }, t = { pagination: !1, rewind: !0, perMove: 1, perPage: 3 }; t.direction = BlogDirection, t.breakpoints = e, a = new Splide(".related-carousel", t).mount(), LazyImages("data-rel-src", null, !0) })) } } } } function UT() { window.innerWidth > 992 && null != document.querySelector("aside") ? window.addEventListener("scroll", (function() { var e = _$("main"), t = _$("aside"), a = _$(".middle-content").offset().top, n = e.offsetHeight, s = a + n, o = t.offsetHeight, r = a + o, i = window.scrollY, l = window.innerHeight, c = i + l, d = _$(".bottom-content").offset().top - 20; n > o && c >= r && o > l ? t.style.top = c <= d ? c - r - 20 + "px" : d - a - o - 20 + "px" : n < o && c >= s && n > l ? e.style.top = c <= d ? c - s - 20 + "px" : d - n - a - 20 + "px" : (e.style.top = 0, t.style.top = 0) })) : _$("main").style.top = 0 } isPost && (y && !PagedPost && Uy(), Um(), Ub(), Ug(), I ? UO() : _$(".topic-nav").remove(), T ? Uc() : _$(".topic-related").remove()), isMultipleItems && (!isHomepage && Ut(), !isArchive && UM()), !E && U9(1) }();